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
PointMatch es, 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, toString
public 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 Point
orderedNearestNeighboringPoints
- - the Point
s used to create the ModelPointDescriptor
model
- - the Model
that should be used for matching, it is cloned upon initializationNoSuitablePointsException
- if the dimensionality of the Point
s does not fit the Model
or the amount of Point
s for the Model
is too lowpublic TranslationInvariantModel<?> fitMatches(ArrayList<PointMatch> matches)
AbstractPointDescriptor
PointMatch
es, this method is called by the Matcher
fitMatches
in class AbstractPointDescriptor<P extends Point,ModelPointDescriptor<P extends Point>>
matches
- - The Point
s to matchpublic boolean resetWorldCoordinatesAfterMatching()
AbstractPointDescriptor
resetWorldCoordinatesAfterMatching
in class AbstractPointDescriptor<P extends Point,ModelPointDescriptor<P extends Point>>
public boolean useWorldCoordinatesForDescriptorBuildUp()
AbstractPointDescriptor
useWorldCoordinatesForDescriptorBuildUp
in class AbstractPointDescriptor<P extends Point,ModelPointDescriptor<P extends Point>>
Copyright © 2015–2021 Fiji. All rights reserved.