Class FactoryDetectPoint
java.lang.Object
boofcv.factory.feature.detect.interest.FactoryDetectPoint
Creates instances of GeneralFeatureDetector
, which detects the location of
point features inside an image.
NOTE: Sometimes the image border is ignored and some times it is not. If feature intensities are not computed along the image border then it will be full of zeros. In that case the ignore border region needs to be increased for non-max suppression or else it might generate a false positive.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> create
(ConfigPointDetector config, @Nullable Class<T> imageType, @Nullable Class<D> derivType) Creates a point detector from the generic configurationstatic <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createFast
(ConfigGeneralDetector configDetector, @Nullable ConfigFastCorner configFast, Class<T> imageType) Creates a Fast corner detector with feature intensity for additional pruning.static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createGeneral
(GeneralFeatureIntensity<T, D> intensity, ConfigGeneralDetector config) static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createGeneral
(GradientCornerIntensity<D> cornerIntensity, ConfigGeneralDetector config) static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createHarris
(@Nullable ConfigGeneralDetector configDetector, @Nullable ConfigHarrisCorner configCorner, Class<D> derivType) Detects Harris corners.static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createHessianDeriv
(@Nullable ConfigGeneralDetector configDetector, HessianBlobIntensity.Type type, Class<D> derivType) Creates a Hessian based blob detector.static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createHessianDirect
(HessianBlobIntensity.Type type, @Nullable ConfigGeneralDetector configDetector, Class<T> imageType) Creates a Hessian based blob detector.static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createKitRos
(@Nullable ConfigGeneralDetector configDetector, Class<D> derivType) Detects Kitchen and Rosenfeld corners.static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createMedian
(@Nullable ConfigGeneralDetector configDetector, Class<T> imageType) Creates a median filter corner detector.static <T extends ImageGray<T>,
D extends ImageGray<D>>
GeneralFeatureDetector<T,D> createShiTomasi
(@Nullable ConfigGeneralDetector configDetector, @Nullable ConfigShiTomasi configCorner, Class<D> derivType) Detects Shi-Tomasi corners.
-
Constructor Details
-
FactoryDetectPoint
public FactoryDetectPoint()
-
-
Method Details
-
create
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> create(ConfigPointDetector config, @Nullable @Nullable Class<T> imageType, @Nullable @Nullable Class<D> derivType) Creates a point detector from the generic configuration -
createHarris
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createHarris(@Nullable @Nullable ConfigGeneralDetector configDetector, @Nullable @Nullable ConfigHarrisCorner configCorner, Class<D> derivType) Detects Harris corners.- Parameters:
configDetector
- Configuration for feature detector.configCorner
- Configuration for corner intensity computation. If null radius will match detector radiusderivType
- Type of derivative image.- See Also:
-
createShiTomasi
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createShiTomasi(@Nullable @Nullable ConfigGeneralDetector configDetector, @Nullable @Nullable ConfigShiTomasi configCorner, Class<D> derivType) Detects Shi-Tomasi corners.- Parameters:
configDetector
- Configuration for feature extractor.configCorner
- Configuration for corner intensity computation. If null radius will match detector radiusderivType
- Type of derivative image.- See Also:
-
createKitRos
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createKitRos(@Nullable @Nullable ConfigGeneralDetector configDetector, Class<D> derivType) Detects Kitchen and Rosenfeld corners.- Parameters:
configDetector
- Configuration for feature detector.derivType
- Type of derivative image.- See Also:
-
createFast
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createFast(ConfigGeneralDetector configDetector, @Nullable @Nullable ConfigFastCorner configFast, Class<T> imageType) Creates a Fast corner detector with feature intensity for additional pruning. Fast features have minimums and maximums.- Parameters:
configDetector
- Configuration for feature extractor.configFast
- Configuration for FAST feature detectorimageType
- ype of input image.- See Also:
-
createMedian
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createMedian(@Nullable @Nullable ConfigGeneralDetector configDetector, Class<T> imageType) Creates a median filter corner detector.- Parameters:
configDetector
- Configuration for feature detector.imageType
- Type of input image.- See Also:
-
createHessianDeriv
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createHessianDeriv(@Nullable @Nullable ConfigGeneralDetector configDetector, HessianBlobIntensity.Type type, Class<D> derivType) Creates a Hessian based blob detector. Minimums and Maximums. Uses gradient images.- Parameters:
configDetector
- Configuration for feature detector.type
- The type of Hessian based blob detector to use. DETERMINANT often works well.derivType
- Type of derivative image.- See Also:
-
createHessianDirect
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createHessianDirect(HessianBlobIntensity.Type type, @Nullable @Nullable ConfigGeneralDetector configDetector, Class<T> imageType) Creates a Hessian based blob detector. Minimums and Maximums. Direct from input image.- Parameters:
type
- The type of Hessian based blob detector to use. DETERMINANT often works well.configDetector
- Configuration for feature detector.- See Also:
-
createGeneral
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createGeneral(GradientCornerIntensity<D> cornerIntensity, ConfigGeneralDetector config) -
createGeneral
public static <T extends ImageGray<T>,D extends ImageGray<D>> GeneralFeatureDetector<T,D> createGeneral(GeneralFeatureIntensity<T, D> intensity, ConfigGeneralDetector config)
-