use of boofcv.abst.feature.orientation.OrientationImage in project BoofCV by lessthanoptimal.
the class TestDetectDescribeFusion method checkWithOrientation.
@Test
public void checkWithOrientation() {
final InterestPointDetector<GrayF32> detector = FactoryInterestPoint.fastHessian(null);
final OrientationImage ori = FactoryOrientationAlgs.nogradient(1.0 / 2.0, 5, GrayF32.class);
final DescribeRegionPoint<GrayF32, BrightFeature> desc = FactoryDescribeRegionPoint.surfStable(null, GrayF32.class);
new GenericTestsDetectDescribePoint(true, true, ImageType.single(GrayF32.class), BrightFeature.class) {
@Override
public DetectDescribePoint createDetDesc() {
return new DetectDescribeFusion(detector, ori, desc);
}
}.allTests();
}
use of boofcv.abst.feature.orientation.OrientationImage in project BoofCV by lessthanoptimal.
the class TestDetectDescribeMultiFusion method checkWithOrientation.
@Test
public void checkWithOrientation() {
final InterestPointDetector<GrayF32> detector = FactoryInterestPoint.fastHessian(null);
final OrientationImage ori = FactoryOrientationAlgs.nogradient(5, 5, GrayF32.class);
final DescribeRegionPoint<GrayF32, BrightFeature> desc = FactoryDescribeRegionPoint.surfStable(null, GrayF32.class);
new GenericTestsDetectDescribeMulti(GrayF32.class, BrightFeature.class) {
@Override
public DetectDescribeMulti createDetDesc() {
DetectDescribePoint ddp = new DetectDescribeFusion(detector, ori, desc);
return new DetectDescribeSingleToMulti(ddp);
}
}.allTests();
}
Aggregations