public class WrapDetectDescribeSift extends java.lang.Object implements DetectDescribePoint<boofcv.struct.image.ImageFloat32,SurfFeature>
DetectDescribeSift for DetectDescribePoint.| Constructor and Description |
|---|
WrapDetectDescribeSift(DetectDescribeSift alg) |
| Modifier and Type | Method and Description |
|---|---|
SurfFeature |
createDescription()
Creates new description instance which can be processed by this class
|
void |
detect(boofcv.struct.image.ImageFloat32 input)
Detects interest points inside the provided image.
|
SurfFeature |
getDescription(int index)
Returns the feature descriptor at the specified index.
|
java.lang.Class<SurfFeature> |
getDescriptionType()
The type of region descriptor generated
|
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 WrapDetectDescribeSift(DetectDescribeSift alg)
public SurfFeature createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<SurfFeature>public SurfFeature getDescription(int index)
DetectDescribePointReturns the feature descriptor at the specified index.
WARNING: The returned data structure is recycled each time InterestPointDetector.detect(boofcv.struct.image.ImageBase)
is called. Create a copy if this is a problem.
getDescription in interface DetectDescribePoint<boofcv.struct.image.ImageFloat32,SurfFeature>index - Which featurepublic java.lang.Class<SurfFeature> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<SurfFeature>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>