boofcv.abst.feature.detect.extract
Class NonMaxLimiter
- java.lang.Object
-
- boofcv.abst.feature.detect.extract.NonMaxLimiter
-
public class NonMaxLimiter extends java.lang.ObjectAdds the ability to specify the maximum number of points that you wish to return. The selected points will be sorted by feature intensity. If maximums and minimums are found then the total number refers to the total combined number of features. The intensity that it sorts by is the absolute value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classNonMaxLimiter.LocalExtremeData structure which provides information on a local extremum.
-
Constructor Summary
Constructors Constructor and Description NonMaxLimiter(NonMaxSuppression nonmax, int maxTotalFeatures)Configures the limiter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FastQueue<NonMaxLimiter.LocalExtreme>getLocalExtreme()intgetMaxTotalFeatures()NonMaxSuppressiongetNonmax()voidprocess(GrayF32 intensity)Extracts local max and/or min from the intensity image.voidsetMaxTotalFeatures(int maxTotalFeatures)
-
-
-
Constructor Detail
-
NonMaxLimiter
public NonMaxLimiter(NonMaxSuppression nonmax, int maxTotalFeatures)
Configures the limiter- Parameters:
nonmax- Non-maximum suppression algorithmmaxTotalFeatures- The total number of allowed features it can return. Set to a value ≤ 0 to disable.
-
-
Method Detail
-
process
public void process(GrayF32 intensity)
Extracts local max and/or min from the intensity image. If more than the maximum features are found then only the most intense ones will be returned- Parameters:
intensity- Feature image intensity
-
getLocalExtreme
public FastQueue<NonMaxLimiter.LocalExtreme> getLocalExtreme()
-
getMaxTotalFeatures
public int getMaxTotalFeatures()
-
setMaxTotalFeatures
public void setMaxTotalFeatures(int maxTotalFeatures)
-
getNonmax
public NonMaxSuppression getNonmax()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG