public class AssociateNearestNeighbor_ST<D> extends AssociateNearestNeighbor<D>
Matches features using a
NearestNeighbor search from DDogleg. The source features are processed
as a lump using
NearestNeighbor.setPoints(java.util.List, boolean) while destination features
are matched one at time using
NearestNeighbor.Search.findNearest(Object, double, org.ddogleg.nn.NnData).
Typically the processing of source features is more expensive and should be minimized while looking up
destination features is fast. Multiple matches for source features are possible while there will only
be a unique match for each destination feature.
An optional ratio test inspired from  can be used. The ratio between the best and second best score is found. if the difference is significant enough then the match is accepted. This this is a ratio test, knowing if the score is squared is important. Please set the flag correctly. Almost always the score is Euclidean distance squared.
 Lowe, David G. "Distinctive image features from scale-invariant keypoints." International journal of computer vision 60.2 (2004): 91-110.
Modifier and Type Method Description
()Finds the best match for each item in the source list with an item in the destination list.
()Returns the type of object it can associate
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.
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
setSourceDescription copied from interface:
AssociateDescriptionSets the list of source features. NOTE: A reference to the input list might be saved internally until the next call to this function.
setDestinationDescription copied from interface:
AssociateDescriptionSets the list of destination features NOTE: A reference to the input list might be saved internally until the next call to this function.
associatepublic void associate()Description copied from interface:
AssociateFinds the best match for each item in the source list with an item in the destination list.
getDescriptionTypeDescription copied from interface:
AssociateReturns the type of object it can associate