Interface Matcher
- All Known Implementing Classes:
ModelPriorMatcher,ModelPriorSubsetMatcher,SimpleMatcher,SubsetMatcher
public interface Matcher
-
Method Summary
Modifier and TypeMethodDescriptioncreateCandidates(AbstractPointDescriptor<?, ?> pd1, AbstractPointDescriptor<?, ?> pd2) doublegetNormalizationFactor(ArrayList<mpicbg.models.PointMatch> matches, Object fitResult) Computes a normalization factor for the case that the different set ofPointMatches are not comparable (for example number of neighbors used is not constant)int
-
Method Details
-
createCandidates
ArrayList<ArrayList<mpicbg.models.PointMatch>> createCandidates(AbstractPointDescriptor<?, ?> pd1, AbstractPointDescriptor<?, ?> pd2) - Parameters:
pd1- - pointdescriptor 1pd2- - pointdescriptor 2- Returns:
- An
ArrayListof corresponding set ofPointMatches which containLinkedPoints linking to the actualPointinstance they are created from
-
getNormalizationFactor
Computes a normalization factor for the case that the different set ofPointMatches are not comparable (for example number of neighbors used is not constant)- Parameters:
matches- the set ofPointMatchesfitResult- - potential data needed to compute it- Returns:
- The normalization factor for a certain set of
PointMatches
-
getRequiredNumNeighbors
int getRequiredNumNeighbors()- Returns:
- The number of nearest neighbors required for this
Matcher
-