boofcv.alg.feature.associate
Class AssociateUniqueByScoreAlg
- java.lang.Object
-
- boofcv.alg.feature.associate.AssociateUniqueByScoreAlg
-
public class AssociateUniqueByScoreAlg extends java.lang.ObjectIf multiple associations are found for a single source and/or destination feature then this ambiguity is removed by selecting the association with the best score. If there are multiple best scores for a single feature index then there are no associations for that feature.
-
-
Constructor Summary
Constructors Constructor and Description AssociateUniqueByScoreAlg(MatchScoreType type, boolean checkSource, boolean checkDestination)Configures algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancheckDestination()booleancheckSource()FastQueue<AssociatedIndex>getMatches()voidprocess(FastQueue<AssociatedIndex> matches, int numSource, int numDestination)Given a set of matches, enforce the uniqueness rules it was configured to.
-
-
-
Constructor Detail
-
AssociateUniqueByScoreAlg
public AssociateUniqueByScoreAlg(MatchScoreType type, boolean checkSource, boolean checkDestination)
Configures algorithm.- Parameters:
type- Used to determine which score is bettercheckSource- Should it check source features for uniquenesscheckDestination- Should it check destination features for uniqueness
-
-
Method Detail
-
process
public void process(FastQueue<AssociatedIndex> matches, int numSource, int numDestination)
Given a set of matches, enforce the uniqueness rules it was configured to.- Parameters:
matches- Set of matching featuresnumSource- Number of source featuresnumDestination- Number of destination features
-
getMatches
public FastQueue<AssociatedIndex> getMatches()
-
checkSource
public boolean checkSource()
-
checkDestination
public boolean checkDestination()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG