Package boofcv.alg.feature.detdesc
Class DetectDescribeSurfPlanar<II extends ImageGray<II>>
java.lang.Object
boofcv.alg.feature.detdesc.DetectDescribeSurfPlanar<II>
- Type Parameters:
II
- Type of integral image
- Direct Known Subclasses:
DetectDescribeSurfPlanar_MT
public class DetectDescribeSurfPlanar<II extends ImageGray<II>> extends Object
Computes a color SURF descriptor from a
Planar
image. Features are detected,
orientation estimated, and laplacian sign computed using a gray scale image. The gray scale image is found by
computing the average across all bands for each pixel. A descriptor is computed inside band individually
and stored in a descriptor which is N*length long. N = number of bands and length = number of
elements in normal descriptor.- See Also:
DescribePointSurfPlanar
-
Field Summary
Fields Modifier and Type Field Description protected DescribePointSurfPlanar<II>
describe
protected DogArray<TupleDesc_F64>
descriptions
protected FastHessianFeatureDetector<II>
detector
protected DogArray_F64
featureAngles
protected List<ScalePoint>
foundPoints
protected OrientationIntegral<II>
orientation
-
Constructor Summary
Constructors Constructor Description DetectDescribeSurfPlanar(FastHessianFeatureDetector<II> detector, OrientationIntegral<II> orientation, DescribePointSurfPlanar<II> describe)
-
Method Summary
Modifier and Type Method Description TupleDesc_F64
createDescription()
protected void
describe(II grayII, Planar<II> colorII)
void
detect(II grayII, Planar<II> colorII)
Detects and describes features inside provide images.DescribePointSurfPlanar<II>
getDescribe()
TupleDesc_F64
getDescription(int index)
Point2D_F64
getLocation(int featureIndex)
int
getNumberOfFeatures()
double
getOrientation(int featureIndex)
double
getRadius(int featureIndex)
boolean
isWhite(int index)
-
Field Details
-
detector
-
orientation
-
describe
-
descriptions
-
foundPoints
-
featureAngles
-
-
Constructor Details
-
DetectDescribeSurfPlanar
public DetectDescribeSurfPlanar(FastHessianFeatureDetector<II> detector, OrientationIntegral<II> orientation, DescribePointSurfPlanar<II> describe)
-
-
Method Details
-
createDescription
-
getDescription
-
isWhite
public boolean isWhite(int index) -
detect
Detects and describes features inside provide images. All images are integral images.- Parameters:
grayII
- Gray-scale integral imagecolorII
- Color integral image
-
describe
-
getDescribe
-
getNumberOfFeatures
public int getNumberOfFeatures() -
getLocation
-
getRadius
public double getRadius(int featureIndex) -
getOrientation
public double getOrientation(int featureIndex)
-