use of boofcv.alg.feature.detect.interest.SiftScaleSpace in project BoofCV by lessthanoptimal.
the class TestOrientationSiftToImage method generic.
/**
* Tests using generic tests for image orientation
*/
@Test
public void generic() {
ConfigSiftOrientation config = new ConfigSiftOrientation();
double pixelRadiusAtRadius1 = config.sigmaEnlarge / BoofDefaults.SIFT_SCALE_TO_RADIUS;
SiftScaleSpace ss = new SiftScaleSpace(-1, 5, 3, 1.6);
OrientationHistogramSift<GrayF32> orig = FactoryOrientationAlgs.sift(null, GrayF32.class);
OrientationSiftToImage<GrayF32> alg = new OrientationSiftToImage<>(orig, ss, GrayF32.class);
GenericOrientationImageTests tests = new GenericOrientationImageTests();
tests.setup(angleTol, (int) (pixelRadiusAtRadius1 + 0.5), alg, GrayF32.class);
tests.performAll();
}
use of boofcv.alg.feature.detect.interest.SiftScaleSpace in project BoofCV by lessthanoptimal.
the class TestDescribeRegionPoint_SIFT method declare.
private DescribeRegionPoint_SIFT<GrayF32> declare() {
SiftScaleSpace ss = new SiftScaleSpace(0, 4, 3, 1.6);
DescribePointSift<GrayF32> desc = FactoryDescribePointAlgs.sift(null, GrayF32.class);
return new DescribeRegionPoint_SIFT<>(ss, desc, GrayF32.class);
}
Aggregations