T
- The type of keypoint@Reference(type=Article,author="David Lowe",title="Distinctive image features from scale-invariant keypoints",year="2004",journal="IJCV",pages={"91","110"},month="January",number="2",volume="60") @Reference(type=Inproceedings,author="David Lowe",title="Object recognition from local scale-invariant features",year="1999",booktitle="Proc. of the International Conference on Computer Vision {ICCV}",pages={"1150","1157"}) public class FastBasicKeypointMatcher<T extends Keypoint> extends BasicMatcher<T>
This is the method for determining matches suggested by Lowe in the original SIFT papers.
Modifier and Type | Field and Description |
---|---|
protected ByteNearestNeighboursKDTree |
modelKeypointsKNN |
matches, modelKeypoints, thresh
Constructor and Description |
---|
FastBasicKeypointMatcher()
Construct with a threshold of 8, corresponding to the 0.8 in Lowe's IJCV
paper
|
FastBasicKeypointMatcher(int threshold) |
Modifier and Type | Method and Description |
---|---|
boolean |
findMatches(List<T> keys1)
Given a pair of images and their keypoints, pick the first keypoint from
one image and find its closest match in the second set of keypoints.
|
void |
setModelFeatures(List<T> modelkeys)
Set the features that represent the database to match queries against
|
checkForMatch, getMatches, setThreshold
protected ByteNearestNeighboursKDTree modelKeypointsKNN
public FastBasicKeypointMatcher()
public FastBasicKeypointMatcher(int threshold)
threshold
- threshold for determining matching keypointspublic boolean findMatches(List<T> keys1)
findMatches
in interface LocalFeatureMatcher<T extends Keypoint>
findMatches
in class BasicMatcher<T extends Keypoint>
keys1
- features from the querypublic void setModelFeatures(List<T> modelkeys)
LocalFeatureMatcher
setModelFeatures
in interface LocalFeatureMatcher<T extends Keypoint>
setModelFeatures
in class BasicMatcher<T extends Keypoint>
modelkeys
- database of features