Class FactoryFeatureExtractor
java.lang.Object
boofcv.factory.feature.detect.extract.FactoryFeatureExtractor
Creates
NonMaxSuppression
for finding local maximums in feature intensity images.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <I extends ImageGray<I>,
D extends ImageGray<D>>
GeneralFeatureDetector<I,D> general
(GeneralFeatureIntensity<I, D> intensity, @Nullable NonMaxSuppression extractorMin, @Nullable NonMaxSuppression extractorMax, FeatureSelectLimitIntensity<Point2D_I16> selector, int maxFeatures) Creates a generalized feature detector/extractor that adds n-best capability toNonMaxSuppression
and performs other house keeping tasks.static NonMaxSuppression
nonmax
(@Nullable ConfigExtract config) Standard non-max feature extractor.static NonMaxSuppression
nonmaxCandidate
(@Nullable ConfigExtract config) Non-max feature extractor which saves a candidate list of all the found local maximums..static NonMaxLimiter
nonmaxLimiter
(@Nullable ConfigExtract configExtract, ConfigSelectLimit configSelect, int maxFeatures) Creates a non-maximum limiter using the specified configuration
-
Constructor Details
-
FactoryFeatureExtractor
public FactoryFeatureExtractor()
-
-
Method Details
-
general
public static <I extends ImageGray<I>,D extends ImageGray<D>> GeneralFeatureDetector<I,D> general(GeneralFeatureIntensity<I, D> intensity, @Nullable @Nullable NonMaxSuppression extractorMin, @Nullable @Nullable NonMaxSuppression extractorMax, FeatureSelectLimitIntensity<Point2D_I16> selector, int maxFeatures) Creates a generalized feature detector/extractor that adds n-best capability toNonMaxSuppression
and performs other house keeping tasks. Handles callingGeneralFeatureIntensity
itself.- Parameters:
intensity
- Feature intensity algorithmextractorMin
- Feature extraction algorithm for local minimumsextractorMax
- Feature extraction algorithm for local maximumsselector
- Selects features when there is more than the maximum allowedmaxFeatures
- Maximum number of features it should return. -1 to return them all.- Returns:
- General feature detector
-
nonmax
Standard non-max feature extractor.- Parameters:
config
- Configuration for extractor- Returns:
- A feature extractor.
-
nonmaxCandidate
Non-max feature extractor which saves a candidate list of all the found local maximums..- Parameters:
config
- Configuration for extractor- Returns:
- A feature extractor.
-
nonmaxLimiter
public static NonMaxLimiter nonmaxLimiter(@Nullable @Nullable ConfigExtract configExtract, ConfigSelectLimit configSelect, int maxFeatures) Creates a non-maximum limiter using the specified configuration- Parameters:
configExtract
- non-maxumum settingsmaxFeatures
- maximum allowed features- Returns:
- The NonMaxLimiter
-