- Type Parameters:
Desc- Feature description type.
- All Known Implementing Classes:
public interface ScoreAssociation<Desc>
Scores the fit quality between two feature descriptions. A lower score always indicate a better match a larger one. Thus scoreA < scoreB will return true if scoreA is a better score than scoreB. The range of possible scores is not specified by this interface. For example, correlation based scores can take on both positive and negative values while Euclidean will always be positive or zero. NOTES: To ensure that lower is better, correlation scores undergo a sign flip.
scoreCompute the fit score between the two features. A better fit score will have a lower value.
a- first feature
b- second feature
- Quality of fit score. Lower is better.
getScoreTypeMatchScoreType getScoreType()Specifies the type of score which is returned.
- Type of association score.
getDescriptorTypeThe type of description it can score