Package boofcv.alg.feature.describe
Class DescribePointRawPixels<T extends ImageGray<T>,D extends TupleDesc<D>>
java.lang.Object
boofcv.alg.feature.describe.DescribePointRawPixelsRectangle<T>
boofcv.alg.feature.describe.DescribePointRawPixels<T,D>
- Direct Known Subclasses:
ImplDescribePointPixelRegion_F32
,ImplDescribePointPixelRegion_U8
public abstract class DescribePointRawPixels<T extends ImageGray<T>,D extends TupleDesc<D>>
extends DescribePointRawPixelsRectangle<T>
Describes a rectangular region using its raw pixel intensities. Score between two regions of this type is typically
computed using Sum of Absolute Differences (SAD). If the descriptor goes outside of the image
bounds those pixels will be set to zero in the descriptor.
-
Field Summary
Fields inherited from class boofcv.alg.feature.describe.DescribePointRawPixelsRectangle
image, offset, radiusHeight, radiusWidth, regionHeight, regionWidth
-
Constructor Summary
ModifierConstructorDescriptionprotected
DescribePointRawPixels
(int regionWidth, int regionHeight) -
Method Summary
Modifier and TypeMethodDescriptionThe type of region descriptor generatedabstract void
Extracts the descriptor from the specified point.Methods inherited from class boofcv.alg.feature.describe.DescribePointRawPixelsRectangle
getDescriptorLength, getRegionHeight, getRegionWidth, setImage
-
Constructor Details
-
DescribePointRawPixels
protected DescribePointRawPixels(int regionWidth, int regionHeight)
-
-
Method Details
-
process
Extracts the descriptor from the specified point.- Parameters:
c_x
- Center of region descriptor.c_y
- Center of region descriptor.desc
- Where the descriptor is written to
-
getDescriptorType
The type of region descriptor generated- Returns:
- Returns the descriptor type.
-