Class FactoryInterestPoint
java.lang.Object
boofcv.factory.feature.detect.interest.FactoryInterestPoint
Factory for creating interest point detectors which conform to the InterestPointDetector
interface
NOTE: Higher level interface than GeneralFeatureDetector. This will automatically
compute image derivatives across scale space as needed, unlike GeneralFeatureDetector which
just detects features at a particular scale and requires image derivatives be passed in.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageGray<T>>
InterestPointDetector<T>createFast(@Nullable ConfigFastCorner configFast, int featureLimitPerSet, @Nullable ConfigSelectLimit configSelect, Class<T> imageType) Creates a Fast corner detector with no non-maximum suppressionstatic <T extends ImageGray<T>>
InterestPointDetector<T>fastHessian(ConfigFastHessian config, Class<T> imageType) Creates aFastHessianFeatureDetectordetector which is wrapped inside anInterestPointDetectorstatic <T extends ImageGray<T>,D extends ImageGray<D>>
InterestPointDetector<T>generic(ConfigDetectInterestPoint config, Class<T> inputType, @Nullable Class<D> derivType) static <T extends ImageGray<T>>
InterestPointDetector<T>sift(@Nullable ConfigSiftScaleSpace configSS, @Nullable ConfigSiftDetector configDet, Class<T> imageType) static <T extends ImageGray<T>,D extends ImageGray<D>>
InterestPointDetector<T>wrapDetector(FeatureLaplacePyramid<T, D> feature, double[] scales, boolean pyramid, Class<T> inputType) WrapsFeatureLaplacePyramidinside anInterestPointDetector.static <T extends ImageGray<T>,D extends ImageGray<D>>
InterestPointDetector<T>wrapDetector(FeaturePyramid<T, D> feature, double[] scales, boolean pyramid, Class<T> inputType) WrapsFeaturePyramidinside anInterestPointDetector.static <T extends ImageGray<T>,D extends ImageGray<D>>
InterestPointDetector<T>wrapPoint(GeneralFeatureDetector<T, D> feature, double scaleRadius, Class<T> inputType, @Nullable Class<D> derivType) WrapsGeneralFeatureDetectorinside anInterestPointDetector.
-
Constructor Details
-
FactoryInterestPoint
public FactoryInterestPoint()
-
-
Method Details
-
generic
public static <T extends ImageGray<T>,D extends ImageGray<D>> InterestPointDetector<T> generic(ConfigDetectInterestPoint config, Class<T> inputType, @Nullable @Nullable Class<D> derivType) -
createFast
public static <T extends ImageGray<T>> InterestPointDetector<T> createFast(@Nullable @Nullable ConfigFastCorner configFast, int featureLimitPerSet, @Nullable @Nullable ConfigSelectLimit configSelect, Class<T> imageType) Creates a Fast corner detector with no non-maximum suppression- Parameters:
configFast- Configuration for FAST feature detectorimageType- ype of input image.- See Also:
-
wrapPoint
public static <T extends ImageGray<T>,D extends ImageGray<D>> InterestPointDetector<T> wrapPoint(GeneralFeatureDetector<T, D> feature, double scaleRadius, Class<T> inputType, @Nullable @Nullable Class<D> derivType) WrapsGeneralFeatureDetectorinside anInterestPointDetector.- Parameters:
feature- Feature detector.scaleRadius- Radius of descriptor used by scale invariant featuresinputType- Image type of input image.derivType- Image type for gradient.- Returns:
- The interest point detector.
-
wrapDetector
public static <T extends ImageGray<T>,D extends ImageGray<D>> InterestPointDetector<T> wrapDetector(FeatureLaplacePyramid<T, D> feature, double[] scales, boolean pyramid, Class<T> inputType) WrapsFeatureLaplacePyramidinside anInterestPointDetector.- Parameters:
feature- Feature detector.scales- Scales at which features are detected at.pyramid- Should it be constructed as a pyramid or scale-spaceinputType- Image type of input image.- Returns:
- The interest point detector.
-
wrapDetector
public static <T extends ImageGray<T>,D extends ImageGray<D>> InterestPointDetector<T> wrapDetector(FeaturePyramid<T, D> feature, double[] scales, boolean pyramid, Class<T> inputType) WrapsFeaturePyramidinside anInterestPointDetector.- Parameters:
feature- Feature detector.scales- Scales at which features are detected at.pyramid- Should it be constructed as a pyramid or scale-spaceinputType- Image type of input image.- Returns:
- The interest point detector.
-
fastHessian
public static <T extends ImageGray<T>> InterestPointDetector<T> fastHessian(ConfigFastHessian config, Class<T> imageType) Creates aFastHessianFeatureDetectordetector which is wrapped inside anInterestPointDetector- Parameters:
config- Configuration for detector. Pass in null for default options.- Returns:
- The interest point detector.
- See Also:
-
sift
public static <T extends ImageGray<T>> InterestPointDetector<T> sift(@Nullable @Nullable ConfigSiftScaleSpace configSS, @Nullable @Nullable ConfigSiftDetector configDet, Class<T> imageType)
-