Package boofcv.abst.feature.associate
Class ScoreAssociateHamming_B
java.lang.Object
boofcv.abst.feature.associate.ScoreAssociateHamming_B
- All Implemented Interfaces:
ScoreAssociation<TupleDesc_B>
Score association between two BRIEF features. Scoring is done using the Hamming distance.
Hamming distance is the number of bits in the descriptor which do not have the same value.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe type of description it can scoreSpecifies the type of score which is returned.double
score
(TupleDesc_B a, TupleDesc_B b) Compute the fit score between the two features.
-
Constructor Details
-
ScoreAssociateHamming_B
public ScoreAssociateHamming_B()
-
-
Method Details
-
score
Description copied from interface:ScoreAssociation
Compute the fit score between the two features. A better fit score will have a lower value.- Specified by:
score
in interfaceScoreAssociation<TupleDesc_B>
- Parameters:
a
- first featureb
- second feature- Returns:
- Quality of fit score. Lower is better.
-
getScoreType
Description copied from interface:ScoreAssociation
Specifies the type of score which is returned.- Specified by:
getScoreType
in interfaceScoreAssociation<TupleDesc_B>
- Returns:
- Type of association score.
-
getDescriptorType
Description copied from interface:ScoreAssociation
The type of description it can score- Specified by:
getDescriptorType
in interfaceScoreAssociation<TupleDesc_B>
-