T - Image band typeII - Integral image typepublic class SurfPlanar_to_DescribeRegionPoint<T extends boofcv.struct.image.ImageGray,II extends boofcv.struct.image.ImageGray> extends java.lang.Object implements DescribeRegionPoint<boofcv.struct.image.Planar<T>,BrightFeature>
DescribePointSurfPlanar for DescribeRegionPoint| Constructor and Description |
|---|
SurfPlanar_to_DescribeRegionPoint(DescribePointSurfPlanar<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
|
double |
getCanonicalWidth()
Returns the width of the square (or approximation of) sample region at a scale of one.
|
java.lang.Class<BrightFeature> |
getDescriptionType()
The type of region descriptor generated
|
boofcv.struct.image.ImageType<boofcv.struct.image.Planar<T>> |
getImageType()
Description of the type of image it can process
|
boolean |
process(double x,
double y,
double orientation,
double radius,
BrightFeature description)
Extract a description of the local image at the given point, scale, and orientation.
|
boolean |
requiresOrientation()
True if the descriptor uses orientation information.
|
boolean |
requiresRadius()
If size information is used when computing the descriptor.
|
void |
setImage(boofcv.struct.image.Planar<T> image)
Specified the image which is to be processed.
|
public SurfPlanar_to_DescribeRegionPoint(DescribePointSurfPlanar<II> alg, java.lang.Class<T> imageType, java.lang.Class<II> integralType)
public void setImage(boofcv.struct.image.Planar<T> image)
DescribeRegionPointsetImage in interface DescribeRegionPoint<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>image - The image which contains the features.public boolean process(double x,
double y,
double orientation,
double radius,
BrightFeature description)
DescribeRegionPointprocess in interface DescribeRegionPoint<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>x - Coordinate of the point.y - Coordinate of the point.orientation - Direction the feature is pointing at in radians. 0 = x-axis PI/2 = y-axisradius - Radius of the detected object in pixels.description - (output) Storage for extracted feature. Use DescriptorInfo.createDescription() to create descriptor.public boolean requiresRadius()
DescribeRegionPointrequiresRadius in interface DescribeRegionPoint<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>public boolean requiresOrientation()
DescribeRegionPointrequiresOrientation in interface DescribeRegionPoint<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>public boofcv.struct.image.ImageType<boofcv.struct.image.Planar<T>> getImageType()
DescribeRegionPointgetImageType in interface DescribeRegionPoint<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>public double getCanonicalWidth()
DescribeRegionPointgetCanonicalWidth in interface DescribeRegionPoint<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray>,BrightFeature>public BrightFeature createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<BrightFeature>public java.lang.Class<BrightFeature> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<BrightFeature>