public class AssociateDescTo2D<D> extends java.lang.Object implements AssociateDescription2D<D>
AssociateDescription that allows it to be used inside of AssociateDescription2D| Constructor and Description |
|---|
AssociateDescTo2D(AssociateDescription<D> alg) |
| Modifier and Type | Method and Description |
|---|---|
void |
associate()
Finds the best match for each item in the source list with an item in the destination list.
|
org.ddogleg.struct.FastQueue<AssociatedIndex> |
getMatches()
List of associated features.
|
MatchScoreType |
getScoreType()
Specifies the type of score which is returned.
|
org.ddogleg.struct.GrowQueue_I32 |
getUnassociatedDestination()
Indexes of features in the destination set which are not associated.
|
org.ddogleg.struct.GrowQueue_I32 |
getUnassociatedSource()
Indexes of features in the source set which are not associated.
|
void |
setDestination(org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> location,
org.ddogleg.struct.FastQueue<D> descriptions)
Provide the location and descriptions for destination features.
|
void |
setSource(org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> location,
org.ddogleg.struct.FastQueue<D> descriptions)
Provide the location and descriptions for source features.
|
void |
setThreshold(double score)
Associations are only considered if their score is less than or equal to the specified threshold.
|
boolean |
uniqueDestination()
If at most one match is returned for each destination feature.
|
boolean |
uniqueSource()
If at most one match is returned for each source feature.
|
public AssociateDescTo2D(AssociateDescription<D> alg)
public void setSource(org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> location,
org.ddogleg.struct.FastQueue<D> descriptions)
AssociateDescription2DsetSource in interface AssociateDescription2D<D>location - Feature locations.descriptions - Feature descriptions.public void setDestination(org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> location,
org.ddogleg.struct.FastQueue<D> descriptions)
AssociateDescription2DsetDestination in interface AssociateDescription2D<D>location - Feature locations.descriptions - Feature descriptions.public void associate()
Associatepublic org.ddogleg.struct.FastQueue<AssociatedIndex> getMatches()
AssociategetMatches in interface Associatepublic org.ddogleg.struct.GrowQueue_I32 getUnassociatedSource()
AssociategetUnassociatedSource in interface Associatepublic org.ddogleg.struct.GrowQueue_I32 getUnassociatedDestination()
AssociategetUnassociatedDestination in interface Associatepublic void setThreshold(double score)
AssociatesetThreshold in interface Associatescore - The threshold.public MatchScoreType getScoreType()
AssociategetScoreType in interface Associatepublic boolean uniqueSource()
AssociateuniqueSource in interface Associatepublic boolean uniqueDestination()
AssociateuniqueDestination in interface Associate