Package boofcv.abst.feature.describe
Class DescribePointConvertTuple<T extends ImageGray<T>,In extends TupleDesc<In>,Out extends TupleDesc<Out>>
java.lang.Object
boofcv.abst.feature.describe.DescribePointConvertTuple<T,In,Out>
- All Implemented Interfaces:
DescribePoint<T,,Out> DescriptorInfo<Out>
public class DescribePointConvertTuple<T extends ImageGray<T>,In extends TupleDesc<In>,Out extends TupleDesc<Out>>
extends Object
implements DescribePoint<T,Out>
Converts the region descriptor type from the
DescribePointRadiusAngle into the desired output using a
ConvertTupleDesc.-
Constructor Summary
ConstructorsConstructorDescriptionDescribePointConvertTuple(DescribePoint<T, In> original, ConvertTupleDesc<In, Out> converter) -
Method Summary
Modifier and TypeMethodDescriptionCreates new description instance which can be processed by this classThe type of region descriptor generatedDescription of the type of image it can processbooleanExtract a description of the local image at the the pixel coordinate of the point.voidSpecified the image which is to be processed.
-
Constructor Details
-
DescribePointConvertTuple
-
-
Method Details
-
setImage
Description copied from interface:DescribePointSpecified the image which is to be processed. -
process
Description copied from interface:DescribePointExtract a description of the local image at the the pixel coordinate of the point. 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:
processin interfaceDescribePoint<T extends ImageGray<T>,In extends TupleDesc<In>> - Parameters:
x- Coordinate of the point.y- Coordinate of the point.description- (output) Storage for extracted feature. UseDescriptorInfo.createDescription()to create descriptor.- Returns:
- true if a descriptor can computed or false if not.
-
createDescription
Description copied from interface:DescriptorInfoCreates new description instance which can be processed by this class- Specified by:
createDescriptionin interfaceDescriptorInfo<T extends ImageGray<T>>- Returns:
- New descriptor
-
getImageType
Description copied from interface:DescribePointDescription of the type of image it can process- Specified by:
getImageTypein interfaceDescribePoint<T extends ImageGray<T>,In extends TupleDesc<In>> - Returns:
- ImageDataType
-
getDescriptionType
Description copied from interface:DescriptorInfoThe type of region descriptor generated- Specified by:
getDescriptionTypein interfaceDescriptorInfo<T extends ImageGray<T>>- Returns:
- Returns the descriptor type.
-