T - Image band typeII - Integral image typepublic class SurfPlanar_to_DetectDescribePoint<T extends boofcv.struct.image.ImageGray,II extends boofcv.struct.image.ImageGray> extends java.lang.Object implements DetectDescribePoint<boofcv.struct.image.Planar<T>,BrightFeature>
DetectDescribeSurfPlanar for DetectDescribePoint.| Constructor and Description |
|---|
SurfPlanar_to_DetectDescribePoint(DetectDescribeSurfPlanar<II> alg,
java.lang.Class<T> imageType,
java.lang.Class<II> integralType) |
| Modifier and Type | Method and Description |
|---|---|
BrightFeature |
createDescription()
Creates new description instance which can be processed by this class
|
void |
detect(boofcv.struct.image.Planar<T> input)
Detects interest points inside the provided image.
|
BrightFeature |
getDescription(int index)
Returns the feature descriptor at the specified index.
|
java.lang.Class<BrightFeature> |
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 |
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 SurfPlanar_to_DetectDescribePoint(DetectDescribeSurfPlanar<II> alg, java.lang.Class<T> imageType, java.lang.Class<II> integralType)
public void detect(boofcv.struct.image.Planar<T> input)
InterestPointDetectordetect in interface InterestPointDetector<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>>input - Input features are detected inside of.public boolean hasScale()
InterestPointDetectorhasScale in interface InterestPointDetector<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>>public boolean hasOrientation()
InterestPointDetectorhasOrientation in interface InterestPointDetector<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>>public BrightFeature 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.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>index - Which featurepublic BrightFeature createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<BrightFeature>public java.lang.Class<BrightFeature> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<BrightFeature>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 whose