public class SimpleMatcher extends Object implements Matcher
Constructor and Description |
---|
SimpleMatcher(int numNeighbors) |
Modifier and Type | Method and Description |
---|---|
ArrayList<ArrayList<PointMatch>> |
createCandidates(AbstractPointDescriptor<?,?> pd1,
AbstractPointDescriptor<?,?> pd2) |
double |
getNormalizationFactor(ArrayList<PointMatch> matches,
Object fitResult)
Computes a normalization factor for the case that the different set of
PointMatch es are not comparable
(for example number of neighbors used is not constant) |
int |
getRequiredNumNeighbors() |
public ArrayList<ArrayList<PointMatch>> createCandidates(AbstractPointDescriptor<?,?> pd1, AbstractPointDescriptor<?,?> pd2)
createCandidates
in interface Matcher
ArrayList
of corresponding set of PointMatch
es which contain LinkedPoint
s linking to the actual Point
instance they are created frompublic int getRequiredNumNeighbors()
getRequiredNumNeighbors
in interface Matcher
Matcher
public double getNormalizationFactor(ArrayList<PointMatch> matches, Object fitResult)
Matcher
PointMatch
es are not comparable
(for example number of neighbors used is not constant)getNormalizationFactor
in interface Matcher
matches
- the set of PointMatch
esPointMatch
esCopyright © 2015–2021 Fiji. All rights reserved.