public class ModelPointDescriptor<P extends Point> extends AbstractPointDescriptor<P,ModelPointDescriptor<P>>
index| Constructor and Description |
|---|
ModelPointDescriptor(P basisPoint,
ArrayList<P> orderedNearestNeighboringPoints,
TranslationInvariantModel<?> model,
SimilarityMeasure similarityMeasure,
Matcher matcher)
Creates a
ModelPointDescriptor that can perform matching using a Model
For the computational process it only modifies the world coordinates of its own descriptorPoints,
thus providing the opportunity for multi-threading. |
| Modifier and Type | Method and Description |
|---|---|
TranslationInvariantModel<?> |
fitMatches(ArrayList<PointMatch> matches)
Computes a fit between this these
PointMatches, this method is called by the Matcher |
boolean |
resetWorldCoordinatesAfterMatching()
Tells if the descriptormatching should reset the world coordinates after the matching
|
boolean |
useWorldCoordinatesForDescriptorBuildUp()
Tells if the build up of the descriptor should use the world coordinates or rather the local coordinates
|
descriptorDistance, getBasisPoint, getBestPointMatchSet, getDescriptorPoint, getId, getOrderedNearestNeighboringPoints, getSimilarityMeasure, numDimensions, numNeighbors, resetWorldCoordinates, setSimilarityMeasure, toStringpublic ModelPointDescriptor(P basisPoint, ArrayList<P> orderedNearestNeighboringPoints, TranslationInvariantModel<?> model, SimilarityMeasure similarityMeasure, Matcher matcher) throws NoSuitablePointsException
ModelPointDescriptor that can perform matching using a Model
For the computational process it only modifies the world coordinates of its own descriptorPoints,
thus providing the opportunity for multi-threading.basisPoint - - the center PointorderedNearestNeighboringPoints - - the Points used to create the ModelPointDescriptormodel - - the Model that should be used for matching, it is cloned upon initializationNoSuitablePointsException - if the dimensionality of the Points does not fit the Model or the amount of Points for the Model is too lowpublic TranslationInvariantModel<?> fitMatches(ArrayList<PointMatch> matches)
AbstractPointDescriptorPointMatches, this method is called by the MatcherfitMatches in class AbstractPointDescriptor<P extends Point,ModelPointDescriptor<P extends Point>>matches - - The Points to matchpublic boolean resetWorldCoordinatesAfterMatching()
AbstractPointDescriptorresetWorldCoordinatesAfterMatching in class AbstractPointDescriptor<P extends Point,ModelPointDescriptor<P extends Point>>public boolean useWorldCoordinatesForDescriptorBuildUp()
AbstractPointDescriptoruseWorldCoordinatesForDescriptorBuildUp in class AbstractPointDescriptor<P extends Point,ModelPointDescriptor<P extends Point>>Copyright © 2015–2021 Fiji. All rights reserved.