public class WrapSiftDetector<T extends boofcv.struct.image.ImageBase> extends java.lang.Object implements InterestPointDetector<T>
SiftDetector for InterestPointDetector.| Constructor and Description |
|---|
WrapSiftDetector(SiftDetector detector,
java.lang.Class<T> inputType) |
| Modifier and Type | Method and Description |
|---|---|
void |
detect(T image)
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 |
getRadius(int featureIndex)
Returns the detected object's circular radius
|
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, java.lang.Class<T> inputType)
public void detect(T image)
InterestPointDetectordetect in interface InterestPointDetector<T extends boofcv.struct.image.ImageBase>image - 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 getRadius(int featureIndex)
FoundPointSOReturns the detected object's circular radius
getRadius in interface FoundPointSOfeatureIndex - Feature whose radius 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.ImageBase>public boolean hasOrientation()
InterestPointDetectorhasOrientation in interface InterestPointDetector<T extends boofcv.struct.image.ImageBase>