T
- public class BasicQuantisedKeypointMatcher<T extends QuantisedLocalFeature<?>> extends Object implements LocalFeatureMatcher<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowMultiple |
protected List<Pair<T>> |
matches |
protected gnu.trove.map.hash.TIntObjectHashMap<List<T>> |
modelKeypoints |
Constructor and Description |
---|
BasicQuantisedKeypointMatcher(boolean allowMultiple)
Match quantised keypoints
|
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
|
protected gnu.trove.map.hash.TIntObjectHashMap<List<T extends QuantisedLocalFeature<?>>> modelKeypoints
protected List<Pair<T extends QuantisedLocalFeature<?>>> matches
protected boolean allowMultiple
public BasicQuantisedKeypointMatcher(boolean allowMultiple)
allowMultiple
- public List<Pair<T>> getMatches()
LocalFeatureMatcher
getMatches
in interface LocalFeatureMatcher<T extends QuantisedLocalFeature<?>>
public boolean findMatches(List<T> keys1)
LocalFeatureMatcher
findMatches
in interface LocalFeatureMatcher<T extends QuantisedLocalFeature<?>>
keys1
- features from the querypublic void setModelFeatures(List<T> modelkeys)
LocalFeatureMatcher
setModelFeatures
in interface LocalFeatureMatcher<T extends QuantisedLocalFeature<?>>
modelkeys
- database of features