Package boofcv.abst.feature.associate
Class ScoreAssociateCorrelation
java.lang.Object
boofcv.abst.feature.associate.ScoreAssociateCorrelation
- All Implemented Interfaces:
ScoreAssociation<TupleDesc_F64>
Scores two possible associations using
DescriptorDistance.correlation(boofcv.struct.feature.TupleDesc_F64, boofcv.struct.feature.TupleDesc_F64).
NOTE: The score's sign is flipped in order to comply with ScoreAssociation's requirements that lower
values be preferred.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe type of description it can scoreSpecifies the type of score which is returned.doublescore(TupleDesc_F64 a, TupleDesc_F64 b) Compute the fit score between the two features.
-
Constructor Details
-
ScoreAssociateCorrelation
public ScoreAssociateCorrelation()
-
-
Method Details
-
score
Description copied from interface:ScoreAssociationCompute the fit score between the two features. A better fit score will have a lower value.- Specified by:
scorein interfaceScoreAssociation<TupleDesc_F64>- Parameters:
a- first featureb- second feature- Returns:
- Quality of fit score. Lower is better.
-
getScoreType
Description copied from interface:ScoreAssociationSpecifies the type of score which is returned.- Specified by:
getScoreTypein interfaceScoreAssociation<TupleDesc_F64>- Returns:
- Type of association score.
-
getDescriptorType
Description copied from interface:ScoreAssociationThe type of description it can score- Specified by:
getDescriptorTypein interfaceScoreAssociation<TupleDesc_F64>
-