public class DescribeRegionPointConvert<T extends boofcv.struct.image.ImageSingleBand,In extends TupleDesc,Out extends TupleDesc> extends java.lang.Object implements DescribeRegionPoint<T,Out>
DescribeRegionPoint into the desired output using a
ConvertTupleDesc.| Constructor and Description |
|---|
DescribeRegionPointConvert(DescribeRegionPoint<T,In> original,
ConvertTupleDesc<In,Out> converter) |
| Modifier and Type | Method and Description |
|---|---|
Out |
createDescription()
Creates new description instance which can be processed by this class
|
java.lang.Class<Out> |
getDescriptionType()
The type of region descriptor generated
|
boofcv.struct.image.ImageType<T> |
getImageType()
Description of the type of image it can process
|
boolean |
process(double x,
double y,
double orientation,
double scale,
Out storage)
Extract a description of the local image at the given point, scale, and orientation.
|
boolean |
requiresOrientation()
True if the descriptor uses orientation information.
|
boolean |
requiresScale()
If scale information is used when computing the descriptor.
|
void |
setImage(T image)
Specified the image which is to be processed.
|
public DescribeRegionPointConvert(DescribeRegionPoint<T,In> original, ConvertTupleDesc<In,Out> converter)
public void setImage(T image)
DescribeRegionPointsetImage in interface DescribeRegionPoint<T extends boofcv.struct.image.ImageSingleBand,Out extends TupleDesc>image - The image which contains the features.public Out createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<Out extends TupleDesc>public boolean process(double x,
double y,
double orientation,
double scale,
Out storage)
DescribeRegionPointprocess in interface DescribeRegionPoint<T extends boofcv.struct.image.ImageSingleBand,Out extends TupleDesc>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-axisscale - Scale at which the feature was found.storage - (output) Storage for extracted feature. Use DescriptorInfo.createDescription() to create descriptor.public boolean requiresScale()
DescribeRegionPointrequiresScale in interface DescribeRegionPoint<T extends boofcv.struct.image.ImageSingleBand,Out extends TupleDesc>public boolean requiresOrientation()
DescribeRegionPointrequiresOrientation in interface DescribeRegionPoint<T extends boofcv.struct.image.ImageSingleBand,Out extends TupleDesc>public boofcv.struct.image.ImageType<T> getImageType()
DescribeRegionPointgetImageType in interface DescribeRegionPoint<T extends boofcv.struct.image.ImageSingleBand,Out extends TupleDesc>public java.lang.Class<Out> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<Out extends TupleDesc>