public class WrapDescribeSift extends java.lang.Object implements DescribeRegionPoint<boofcv.struct.image.ImageFloat32,SurfFeature>
DescribePointSift for DescribeRegionPoint. Orientation is optionally
also estimated, however only one orientation hypothesis is considered.| Constructor and Description |
|---|
WrapDescribeSift(DescribePointSift alg,
SiftImageScaleSpace ss) |
| 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.ImageFloat32> |
getImageType()
Description of the type of image it can process
|
boolean |
process(double x,
double y,
double orientation,
double scale,
SurfFeature 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(boofcv.struct.image.ImageFloat32 image)
Specified the image which is to be processed.
|
public WrapDescribeSift(DescribePointSift alg, SiftImageScaleSpace ss)
public void setImage(boofcv.struct.image.ImageFloat32 image)
DescribeRegionPointsetImage in interface DescribeRegionPoint<boofcv.struct.image.ImageFloat32,SurfFeature>image - The image which contains the features.public SurfFeature createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<SurfFeature>public boolean process(double x,
double y,
double orientation,
double scale,
SurfFeature storage)
DescribeRegionPointprocess in interface DescribeRegionPoint<boofcv.struct.image.ImageFloat32,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.storage - (output) Storage for extracted feature. Use DescriptorInfo.createDescription() to create descriptor.public boolean requiresScale()
DescribeRegionPointrequiresScale in interface DescribeRegionPoint<boofcv.struct.image.ImageFloat32,SurfFeature>public boolean requiresOrientation()
DescribeRegionPointrequiresOrientation in interface DescribeRegionPoint<boofcv.struct.image.ImageFloat32,SurfFeature>public boofcv.struct.image.ImageType<boofcv.struct.image.ImageFloat32> getImageType()
DescribeRegionPointgetImageType in interface DescribeRegionPoint<boofcv.struct.image.ImageFloat32,SurfFeature>public java.lang.Class<SurfFeature> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<SurfFeature>