Package boofcv.abst.feature.associate
Interface AssociateDescription<Desc>
- Type Parameters:
Desc- Feature description type.
- All Superinterfaces:
Associate<Desc>
- All Known Implementing Classes:
AssociateDescriptionAbstract,AssociateNearestNeighbor,AssociateNearestNeighbor_MT,AssociateNearestNeighbor_ST,EnforceUniqueByScore.Describe,WrapAssociateGreedy
Generalized interface for associating features. Finds matches for each feature in the source list to one in the destination list. There is only one match found for each member of source, but multiple matches can be found for destination. If the best match has an error which is too high then a member of source might not be matched.
DESIGN NOTE: FastAccess is used instead of List because in the association
micro benchmark it produced results that were about 20% faster consistently. Which is surprising since
one would think descriptor comparisons would dominate.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetDestination(FastAccess<Desc> listDst) Sets the list of destination features NOTE: A reference to the input list might be saved internally until the next call to this function.voidsetSource(FastAccess<Desc> listSrc) Sets the list of source features.Methods inherited from interface boofcv.abst.feature.associate.Associate
associate, getDescriptionType, getMatches, getScoreType, getUnassociatedDestination, getUnassociatedSource, setMaxScoreThreshold, uniqueDestination, uniqueSource
-
Method Details
-
setSource
Sets the list of source features. NOTE: A reference to the input list might be saved internally until the next call to this function.- Parameters:
listSrc- List of features
-
setDestination
Sets the list of destination features NOTE: A reference to the input list might be saved internally until the next call to this function.- Parameters:
listDst- List of features
-