public class WrapDescribeSift extends Object implements DescribeRegionPoint<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
|
Class<SurfFeature> |
getDescriptionType()
The type of region descriptor generated
|
ImageType<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(ImageFloat32 image)
Specified the image which is to be processed.
|
public WrapDescribeSift(DescribePointSift alg, SiftImageScaleSpace ss)
public void setImage(ImageFloat32 image)
DescribeRegionPointsetImage in interface DescribeRegionPoint<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<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<ImageFloat32,SurfFeature>public boolean requiresOrientation()
DescribeRegionPointrequiresOrientation in interface DescribeRegionPoint<ImageFloat32,SurfFeature>public ImageType<ImageFloat32> getImageType()
DescribeRegionPointgetImageType in interface DescribeRegionPoint<ImageFloat32,SurfFeature>public Class<SurfFeature> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<SurfFeature>Copyright © 2013. All Rights Reserved.