public class WrapSiftDetector extends java.lang.Object implements InterestPointDetector<boofcv.struct.image.ImageFloat32>
SiftDetector for InterestPointDetector.| Constructor and Description |
|---|
WrapSiftDetector(SiftDetector detector,
SiftImageScaleSpace ss) |
| Modifier and Type | Method and Description |
|---|---|
void |
detect(boofcv.struct.image.ImageFloat32 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 WrapSiftDetector(SiftDetector detector, SiftImageScaleSpace ss)
public void detect(boofcv.struct.image.ImageFloat32 input)
InterestPointDetectordetect in interface InterestPointDetector<boofcv.struct.image.ImageFloat32>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<boofcv.struct.image.ImageFloat32>public boolean hasOrientation()
InterestPointDetectorhasOrientation in interface InterestPointDetector<boofcv.struct.image.ImageFloat32>