Package boofcv.alg.feature.describe
Class DescribePointPixelRegionNCC<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.feature.describe.DescribePointRawPixelsRectangle<T>
boofcv.alg.feature.describe.DescribePointPixelRegionNCC<T>
- Direct Known Subclasses:
ImplDescribePointPixelRegionNCC_F32
,ImplDescribePointPixelRegionNCC_U8
public abstract class DescribePointPixelRegionNCC<T extends ImageGray<T>>
extends DescribePointRawPixelsRectangle<T>
Describes a rectangular region using its raw pixel intensities which have been normalized for intensity. This
allows the descriptor to be light invariant. The entire region must be inside the image for a descriptor to be computed
because any outside values will change its intensity normalization.
-
Field Summary
Fields inherited from class boofcv.alg.feature.describe.DescribePointRawPixelsRectangle
image, offset, radiusHeight, radiusWidth, regionHeight, regionWidth
-
Constructor Summary
ModifierConstructorDescriptionprotected
DescribePointPixelRegionNCC
(int regionWidth, int regionHeight) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isInBounds
(int c_x, int c_y) The entire region must be inside the image because any outside pixels will change the statisticsabstract void
process
(int c_x, int c_y, NccFeature desc) Extracts the descriptor at the specified location.Methods inherited from class boofcv.alg.feature.describe.DescribePointRawPixelsRectangle
getDescriptorLength, getRegionHeight, getRegionWidth, setImage
-
Constructor Details
-
DescribePointPixelRegionNCC
protected DescribePointPixelRegionNCC(int regionWidth, int regionHeight)
-
-
Method Details
-
isInBounds
public boolean isInBounds(int c_x, int c_y) The entire region must be inside the image because any outside pixels will change the statistics -
process
Extracts the descriptor at the specified location.- Parameters:
c_x
- Center of the descriptor region.c_y
- Center of the descriptor region.desc
- Where the description is written to.
-