- All Implemented Interfaces:
public class DescribeSift_RadiusAngle<T extends ImageGray<T>> extends Object implements DescribePointRadiusAngle<T,
Allows you to use SIFT features independent of the SIFT detector. A SIFT scale-space is computed with all octaves and most of the scales saved. When a few feature is requested it looks up the closest scale image and uses that as the input image.
Method SummaryModifier and TypeMethodDescriptionCreates new description instance which can be processed by this class
doubleReturns the width of the square (or approximation of) sample region at a scale of one.The type of region descriptor generatedDescription of the type of image it can process
booleanTrue if the descriptor uses orientation information.
booleanIf size information is used when computing the descriptor.
booleanExtract a description of the local image at the given point, scale, and orientation.
voidSpecified the image which is to be processed.
setImagepublic void setImage
(T image)Specified the image which is to be processed.
processpublic boolean process
(double x, double y, double orientation, double radius, TupleDesc_F64 description)Extract a description of the local image at the given point, scale, and orientation. WARNING: Check the returned value to make sure a description was actually computed. Some implementations might now allow features to extend outside the image border and will return false.
- Specified by:
DescribePointRadiusAngle<T extends ImageGray<T>,
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-axis
radius- Radius of the detected object in pixels.
description- (output) Storage for extracted feature. Use
DescriptorInfo.createDescription()to create descriptor.
- true if a descriptor can computed or false if not.
isScalablepublic boolean isScalable()If size information is used when computing the descriptor.
isOrientedpublic boolean isOriented()True if the descriptor uses orientation information.
getImageTypeDescription of the type of image it can process
getCanonicalWidthpublic double getCanonicalWidth()Returns the width of the square (or approximation of) sample region at a scale of one. When multiplied by the scale, pixels outside of the square region should not influence the descriptor's value.
createDescriptionpublic TupleDesc_F64 createDescription()Description copied from interface:
DescriptorInfoCreates new description instance which can be processed by this class
getDescriptionTypeDescription copied from interface:
DescriptorInfoThe type of region descriptor generated