Class FactoryBriefDefinition
java.lang.Object
boofcv.alg.feature.describe.brief.FactoryBriefDefinition
Creates different brief descriptors. The original paper proposed several different configurations. The
best one were randomly generated with a gaussian distribution.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryCompareDefinition_I32
Creates a descriptor by randomly selecting points inside a square region using a Gaussian distribution with a sigma of (5/2)*radius.static BinaryCompareDefinition_I32
-
Constructor Details
-
FactoryBriefDefinition
public FactoryBriefDefinition()
-
-
Method Details
-
gaussian
Creates a descriptor by randomly selecting points inside a square region using a Gaussian distribution with a sigma of (5/2)*radius. This is done exactly as is described in the paper where twice as many points are sampled as are compared..- Parameters:
rand
- Random number generator.radius
- Radius of the square region. width = 2*radius+1.numPairs
- Number of sample point pairs.- Returns:
- Definition of a BRIEF feature.
-
gaussian2
-