Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

By default FlannBasedMatcher works as KDTreeIndex with L2 norm. This is the reason why it works well with SURF descriptors and throws an exception for binary descriptors (that are matched by HAMMING distance) in your experiments. For the binary descriptors you should use flann::LshIndexParams. But there is some bug with it now, see my answer here http://answers.opencv.org/question/503/how-to-use-the-lshindexparams/