Package boofcv.alg.feature.associate
Class AssociateNearestNeighbor_MT<D>
java.lang.Object
boofcv.alg.feature.associate.AssociateNearestNeighbor<D>
boofcv.alg.feature.associate.AssociateNearestNeighbor_MT<D>
- All Implemented Interfaces:
Associate<D>
,AssociateDescription<D>
public class AssociateNearestNeighbor_MT<D> extends AssociateNearestNeighbor<D>
Parallel associate version of AssociateNearestNeighbor_ST
.
-
Field Summary
Fields inherited from class boofcv.alg.feature.associate.AssociateNearestNeighbor
matchesAll
-
Constructor Summary
Constructors Constructor Description AssociateNearestNeighbor_MT(NearestNeighbor<D> alg, Class<D> descType)
-
Method Summary
Modifier and Type Method Description void
associate()
Finds the best match for each item in the source list with an item in the destination list.Class<D>
getDescriptionType()
Returns the type of object it can associatevoid
setDestination(FastAccess<D> 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.void
setSource(FastAccess<D> listSrc)
Sets the list of source features.Methods inherited from class boofcv.alg.feature.associate.AssociateNearestNeighbor
getMatches, getScoreRatioThreshold, getScoreType, getUnassociatedDestination, getUnassociatedSource, isRatioUsesSqrt, setMaxScoreThreshold, setRatioUsesSqrt, setScoreRatioThreshold, uniqueDestination, uniqueSource
-
Constructor Details
-
AssociateNearestNeighbor_MT
-
-
Method Details
-
setSource
Description copied from interface:AssociateDescription
Sets the list of source features. NOTE: A reference to the input list might be saved internally until the next call to this function.- Specified by:
setSource
in interfaceAssociateDescription<D>
- Overrides:
setSource
in classAssociateNearestNeighbor<D>
- Parameters:
listSrc
- List of features
-
setDestination
Description copied from interface:AssociateDescription
Sets the list of destination features NOTE: A reference to the input list might be saved internally until the next call to this function.- Specified by:
setDestination
in interfaceAssociateDescription<D>
- Overrides:
setDestination
in classAssociateNearestNeighbor<D>
- Parameters:
listDst
- List of features
-
associate
public void associate()Description copied from interface:Associate
Finds the best match for each item in the source list with an item in the destination list. -
getDescriptionType
Description copied from interface:Associate
Returns the type of object it can associate
-