Package boofcv.abst.feature.associate
Class ScoreAssociateNccFeature
java.lang.Object
boofcv.abst.feature.associate.ScoreAssociateNccFeature
- All Implemented Interfaces:
ScoreAssociation<NccFeature>
Association scorer for NccFeatures. Computes the normalized cross correlation score.
NOTE: The score's sign is flipped in order to comply with
ScoreAssociation
's requirements that lower
values be preferred.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe type of description it can scoreSpecifies the type of score which is returned.double
score
(NccFeature a, NccFeature b) Compute the fit score between the two features.
-
Constructor Details
-
ScoreAssociateNccFeature
public ScoreAssociateNccFeature()
-
-
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<NccFeature>
- 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<NccFeature>
- Returns:
- Type of association score.
-
getDescriptorType
Description copied from interface:ScoreAssociation
The type of description it can score- Specified by:
getDescriptorType
in interfaceScoreAssociation<NccFeature>
-