boofcv.abst.feature.associate
Class ScoreAssociateSad_U8
- java.lang.Object
-
- boofcv.abst.feature.associate.ScoreAssociateSad_U8
-
- All Implemented Interfaces:
- ScoreAssociation<TupleDesc_U8>
public class ScoreAssociateSad_U8 extends java.lang.Object implements ScoreAssociation<TupleDesc_U8>
Computes sum of absolute difference (SAD) score forTupleDesc_U8.
-
-
Constructor Summary
Constructors Constructor and Description ScoreAssociateSad_U8()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MatchScoreTypegetScoreType()Specifies the type of score which is returned.doublescore(TupleDesc_U8 a, TupleDesc_U8 b)Compute the fit score between the two features.
-
-
-
Method Detail
-
score
public double score(TupleDesc_U8 a, TupleDesc_U8 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<TupleDesc_U8>- 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<TupleDesc_U8>- Returns:
- Type of association score.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG