public class BinaryCompareDefinition_I32
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
georegression.struct.point.Point2D_I32[] |
compare |
int |
radius |
georegression.struct.point.Point2D_I32[] |
samplePoints |
| Constructor and Description |
|---|
BinaryCompareDefinition_I32(int radius,
int numSamples,
int numPairs) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Length of the descriptor (or number of bits required to encode it)
|