T
- public class FastEuclideanKeypointMatcher<T extends Keypoint> extends Object implements LocalFeatureMatcher<T>
Constructor and Description |
---|
FastEuclideanKeypointMatcher(int threshold) |
Modifier and Type | Method and Description |
---|---|
boolean |
findMatches(List<T> keys1)
Attempt to find matches between the model features from the database, and
given query features.
|
List<Pair<T>> |
getMatches()
Get the matches detected by the underlying algorithm
|
void |
setModelFeatures(List<T> modelkeys)
Set the features that represent the database to match queries against
|
void |
setThreshold(int threshold)
Set the matching threshold
|
public FastEuclideanKeypointMatcher(int threshold)
threshold
- threshold for determining matching keypointspublic void setModelFeatures(List<T> modelkeys)
LocalFeatureMatcher
setModelFeatures
in interface LocalFeatureMatcher<T extends Keypoint>
modelkeys
- database of featurespublic boolean findMatches(List<T> keys1)
LocalFeatureMatcher
findMatches
in interface LocalFeatureMatcher<T extends Keypoint>
keys1
- features from the querypublic List<Pair<T>> getMatches()
LocalFeatureMatcher
getMatches
in interface LocalFeatureMatcher<T extends Keypoint>
public void setThreshold(int threshold)
threshold
- the threshold