Class BinaryCompareDefinition_I32
java.lang.Object
boofcv.alg.feature.describe.brief.BinaryCompareDefinition_I32
Describes the layout of a BRIEF descriptor. This descriptor is composed of a set of locations where image intensity is sampled and a list of which locations are compared against each other.
NOTE: The data structure here is different than the one implied in the paper. A single list of sample points is provided instead of two lists. This way a single set of points can sample within the same set, reducing the number of samples taken.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Length of the descriptor (or number of bits required to encode it)
-
Field Details
-
radius
public int radius -
samplePoints
-
compare
-
-
Constructor Details
-
BinaryCompareDefinition_I32
public BinaryCompareDefinition_I32(int radius, int numSamples, int numPairs)
-
-
Method Details
-
getLength
public int getLength()Length of the descriptor (or number of bits required to encode it)- Returns:
- Descriptor length.
-