Desc - Feature description type.public interface AssociateDescription<Desc> extends Associate
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: FastQueue 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.
| Modifier and Type | Method and Description |
|---|---|
void |
setDestination(org.ddogleg.struct.FastQueue<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.
|
void |
setSource(org.ddogleg.struct.FastQueue<Desc> listSrc)
Sets the list of source features.
|
associate, getMatches, getScoreType, getUnassociatedDestination, getUnassociatedSource, setThreshold, uniqueDestination, uniqueSourcevoid setSource(org.ddogleg.struct.FastQueue<Desc> listSrc)
listSrc - List of featuresvoid setDestination(org.ddogleg.struct.FastQueue<Desc> listDst)
listDst - List of features