boofcv.abst.feature.associate
Class ScoreAssociateNccFeature
- java.lang.Object
-
- boofcv.abst.feature.associate.ScoreAssociateNccFeature
-
- All Implemented Interfaces:
- ScoreAssociation<NccFeature>
public class ScoreAssociateNccFeature extends java.lang.Object implements ScoreAssociation<NccFeature>
Association scorer for NccFeatures. Computes the normalized cross correlation score. NOTE: The score's sign is flipped in order to comply withScoreAssociation's requirements that lower values be preferred.
-
-
Constructor Summary
Constructors Constructor and Description ScoreAssociateNccFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MatchScoreTypegetScoreType()Specifies the type of score which is returned.doublescore(NccFeature a, NccFeature b)Compute the fit score between the two features.
-
-
-
Method Detail
-
score
public double score(NccFeature a, NccFeature b)
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<NccFeature>- Parameters:
a- first featureb- second feature- Returns:
- Quality of fit score. Lower is better.
-
getScoreType
public MatchScoreType getScoreType()
Description copied from interface:ScoreAssociationSpecifies the type of score which is returned.- Specified by:
getScoreTypein interfaceScoreAssociation<NccFeature>- Returns:
- Type of association score.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG