Class NonMaxLimiter.LocalExtreme
java.lang.Object
boofcv.abst.feature.detect.extract.NonMaxLimiter.LocalExtreme
- All Implemented Interfaces:
Comparable<NonMaxLimiter.LocalExtreme>
- Enclosing class:
- NonMaxLimiter
public static class NonMaxLimiter.LocalExtreme
extends Object
implements Comparable<NonMaxLimiter.LocalExtreme>
Data structure which provides information on a local extremum.
-
Field Summary
Modifier and TypeFieldDescriptionfloat
Absolute value of image intensityboolean
true if it was a maximum (positive) or minimum (negative intensity) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
float
Returns the value of the feature in the intensity image.set
(float intensity, boolean max, Point2D_I16 location)
-
Field Details
-
intensity
public float intensityAbsolute value of image intensity -
max
public boolean maxtrue if it was a maximum (positive) or minimum (negative intensity) -
location
-
-
Constructor Details
-
LocalExtreme
public LocalExtreme()
-
-
Method Details
-
set
-
getIntensitySigned
public float getIntensitySigned()Returns the value of the feature in the intensity image. Adds the sign back -
compareTo
- Specified by:
compareTo
in interfaceComparable<NonMaxLimiter.LocalExtreme>
-