public class WrapFHtoInterestPoint<T extends boofcv.struct.image.ImageSingleBand,II extends boofcv.struct.image.ImageSingleBand> extends java.lang.Object implements InterestPointDetector<T>
FastHessianFeatureDetector for InterestPointDetector.| Constructor and Description |
|---|
WrapFHtoInterestPoint(FastHessianFeatureDetector<II> detector) |
| Modifier and Type | Method and Description |
|---|---|
void |
detect(T input)
Detects interest points inside the provided image.
|
georegression.struct.point.Point2D_F64 |
getLocation(int featureIndex)
The center location of the feature inside the image.
|
int |
getNumberOfFeatures()
Returns the number of interest points found.
|
double |
getOrientation(int featureIndex)
Returns the features found orientation.
|
double |
getScale(int featureIndex)
Scale of the detected feature in scale space.
|
boolean |
hasOrientation()
If the interest point detector estimates the feature's orientation
|
boolean |
hasScale()
Does the interest point detector have scale information
|
public WrapFHtoInterestPoint(FastHessianFeatureDetector<II> detector)
public void detect(T input)
InterestPointDetectordetect in interface InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>input - Input features are detected inside of.public int getNumberOfFeatures()
FoundPointSOgetNumberOfFeatures in interface FoundPointSOpublic georegression.struct.point.Point2D_F64 getLocation(int featureIndex)
FoundPointSOThe center location of the feature inside the image.
WARNING: Do not save the returned reference, copy instead. The returned point can be recycled each time this function is called.
getLocation in interface FoundPointSOfeatureIndex - The feature's index.public double getScale(int featureIndex)
FoundPointSOScale of the detected feature in scale space. This is the standard deviation of the Gaussian blur applied to the image when the feature was detected. While the object's size is not exactly defined, multiplying this number by 2.5 or 3 is typically considered the object's radius.
NOTE: In the future this might be changed to getRadius() to remove any ambiguity over the detected object's size.
getScale in interface FoundPointSOfeatureIndex - Feature whose scale is being requested.public double getOrientation(int featureIndex)
FoundPointSOgetOrientation in interface FoundPointSOfeatureIndex - Feature whosepublic boolean hasScale()
InterestPointDetectorhasScale in interface InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>public boolean hasOrientation()
InterestPointDetectorhasOrientation in interface InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>