Package org.opencv.features2d
Class FlannBasedMatcher
java.lang.Object
org.opencv.core.Algorithm
org.opencv.features2d.DescriptorMatcher
org.opencv.features2d.FlannBasedMatcher
public class FlannBasedMatcher extends DescriptorMatcher
Flann-based descriptor matcher.
This matcher trains cv::flann::Index on a train descriptor collection and calls its nearest search
methods to find the best matches. So, this matcher may be faster when matching a large train
collection than the brute force matcher. FlannBasedMatcher does not support masking permissible
matches of descriptor sets because flann::Index does not support this. :
-
Field Summary
Fields inherited from class org.opencv.features2d.DescriptorMatcher
BRUTEFORCE, BRUTEFORCE_HAMMING, BRUTEFORCE_HAMMINGLUT, BRUTEFORCE_L1, BRUTEFORCE_SL2, FLANNBASED
-
Constructor Summary
Constructors Modifier Constructor Description FlannBasedMatcher()
protected
FlannBasedMatcher(long addr)
-
Method Summary
Modifier and Type Method Description static FlannBasedMatcher
__fromPtr__(long addr)
static FlannBasedMatcher
create()
protected void
finalize()
Methods inherited from class org.opencv.features2d.DescriptorMatcher
add, clear, clone, clone, create, create, empty, getTrainDescriptors, isMaskSupported, knnMatch, knnMatch, knnMatch, knnMatch, knnMatch, knnMatch, match, match, match, match, radiusMatch, radiusMatch, radiusMatch, radiusMatch, radiusMatch, radiusMatch, read, train, write
-
Constructor Details
-
Method Details
-
__fromPtr__
-
create
-
finalize
- Overrides:
finalize
in classDescriptorMatcher
- Throws:
Throwable
-