cannot use FLANNBASED matcher with binary descriptors
When trying to use the FLANNBASED matcher with a binary descriptor I get the error message:
OpenCV Error: Unsupported format or combination of formats (type=0
) in buildIndex_, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/flann/src/miniflann.cpp, line 315
terminate called after throwing an instance of 'cv::Exception'
what(): /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/flann/src/miniflann.cpp:315: error: (-210) type=0
in function buildIndex_
Although in matcher_base.cpp line 60 there is a conversion to use FLANNBASED matcher with binary descriptors (as flannbased is built with floating point by default), it seems that the conversion is not done.