T - Image band typeII - Integral image typepublic class SurfMultiSpectral_to_DescribeRegionPoint<T extends boofcv.struct.image.ImageSingleBand,II extends boofcv.struct.image.ImageSingleBand> extends java.lang.Object implements DescribeRegionPoint<boofcv.struct.image.MultiSpectral<T>,SurfFeature>
DescribePointSurfMultiSpectral for DescribeRegionPoint| Constructor and Description |
|---|
SurfMultiSpectral_to_DescribeRegionPoint(DescribePointSurfMultiSpectral<II> alg,
java.lang.Class<T> imageType,
java.lang.Class<II> integralType) |
| Modifier and Type | Method and Description |
|---|---|
SurfFeature |
createDescription()
Creates new description instance which can be processed by this class
|
java.lang.Class<SurfFeature> |
getDescriptionType()
The type of region descriptor generated
|
boofcv.struct.image.ImageType<boofcv.struct.image.MultiSpectral<T>> |
getImageType()
Description of the type of image it can process
|
boolean |
process(double x,
double y,
double orientation,
double scale,
SurfFeature 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 |
requiresScale()
If scale information is used when computing the descriptor.
|
void |
setImage(boofcv.struct.image.MultiSpectral<T> image)
Specified the image which is to be processed.
|
public SurfMultiSpectral_to_DescribeRegionPoint(DescribePointSurfMultiSpectral<II> alg, java.lang.Class<T> imageType, java.lang.Class<II> integralType)
public void setImage(boofcv.struct.image.MultiSpectral<T> image)
DescribeRegionPointsetImage in interface DescribeRegionPoint<boofcv.struct.image.MultiSpectral<T extends boofcv.struct.image.ImageSingleBand>,SurfFeature>image - The image which contains the features.public boolean process(double x,
double y,
double orientation,
double scale,
SurfFeature description)
DescribeRegionPointprocess in interface DescribeRegionPoint<boofcv.struct.image.MultiSpectral<T extends boofcv.struct.image.ImageSingleBand>,SurfFeature>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.description - (output) Storage for extracted feature. Use DescriptorInfo.createDescription() to create descriptor.public boolean requiresScale()
DescribeRegionPointrequiresScale in interface DescribeRegionPoint<boofcv.struct.image.MultiSpectral<T extends boofcv.struct.image.ImageSingleBand>,SurfFeature>public boolean requiresOrientation()
DescribeRegionPointrequiresOrientation in interface DescribeRegionPoint<boofcv.struct.image.MultiSpectral<T extends boofcv.struct.image.ImageSingleBand>,SurfFeature>public boofcv.struct.image.ImageType<boofcv.struct.image.MultiSpectral<T>> getImageType()
DescribeRegionPointgetImageType in interface DescribeRegionPoint<boofcv.struct.image.MultiSpectral<T extends boofcv.struct.image.ImageSingleBand>,SurfFeature>public SurfFeature createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<SurfFeature>public java.lang.Class<SurfFeature> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<SurfFeature>