boofcv.alg.feature.describe
Class DescribePointBinaryCompare<T extends ImageGray>
- java.lang.Object
-
- boofcv.alg.feature.describe.DescribePointBinaryCompare<T>
-
- Direct Known Subclasses:
- ImplDescribeBinaryCompare_F32, ImplDescribeBinaryCompare_U8
public abstract class DescribePointBinaryCompare<T extends ImageGray> extends java.lang.ObjectFor each bit in the descriptor it samples two points inside an image patch and compares their values. A value of 1 or 0 is assigned depending on their relative values. This type of descriptor is referred to as a random tree [1], random fern, and is used in BRIEF.
[1] Y. Amit and D. Geman. Shape Quantization and Recognition with Randomized Trees. Neural Computation, 9(7):1545–1588, 1997.
-
-
Constructor Summary
Constructors Constructor and Description DescribePointBinaryCompare(BinaryCompareDefinition_I32 definition)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description BinaryCompareDefinition_I32getDefinition()voidprocess(int c_x, int c_y, TupleDesc_B feature)Computes the descriptor at the specified point.abstract voidprocessBorder(int c_x, int c_y, TupleDesc_B feature)Called if the descriptor region goes outside the image borderabstract voidprocessInside(int c_x, int c_y, TupleDesc_B feature)Called if the descriptor region is contained entirely inside the imagevoidsetImage(T image)Specifies the image from which feature descriptions are to be created.
-
-
-
Constructor Detail
-
DescribePointBinaryCompare
public DescribePointBinaryCompare(BinaryCompareDefinition_I32 definition)
-
-
Method Detail
-
setImage
public void setImage(T image)
Specifies the image from which feature descriptions are to be created.- Parameters:
image- Image being examined.
-
process
public void process(int c_x, int c_y, TupleDesc_B feature)Computes the descriptor at the specified point. If the region go outside of the image then a description will not be made.- Parameters:
c_x- Center of region being described.c_y- Center of region being described.feature- Where the descriptor is written to.
-
processInside
public abstract void processInside(int c_x, int c_y, TupleDesc_B feature)Called if the descriptor region is contained entirely inside the image
-
processBorder
public abstract void processBorder(int c_x, int c_y, TupleDesc_B feature)Called if the descriptor region goes outside the image border
-
getDefinition
public BinaryCompareDefinition_I32 getDefinition()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG