FlannBasedMatcher and OrbDescriptorExtractor (Bug #1946)
Description
The OpenCV feature matching tutorial works perfectly fine for SIFT and SURF features but it crashes when trying to use ORB features.
I simply replaced the SurfFeatureDetector by the OrbFeatureDetector and the SurfDescriptorExtractor by the OrbDescriptorExtractor. When I execute the application then match method of the FlannBasedMatcher throws an exception:
OpenCV Error: Unsupported format or combination of formats (type=0) in unknown function, file ..\..\..\src\opencv\modules\flann\src\miniflann.cpp, line 299
..\..\..\src\opencv\modules\flann\src\miniflann.cpp:299: error: (-210) type=0
It seems that I am not the only one who encountered this problem
OpenCV 2.4.0
Visual Studio 2008
Windows XP 32 bit
Related issues
duplicates Bug #1947: FLANN index with uchar, int or other data than float | Cancelled | 2012-05-16 |
Associated revisions
Merge pull request #1946 from asmorkalov:android_manager_version_inc3
History
Updated by Andrey Kamaev almost 13 years ago
This tutorial is not compatible with ORB features/descriptors.
Closing ticket as duplicate.
- Status changed from Open to Cancelled
- Target version set to 2.4.1
- Category set to documentation
- Assignee set to Andrey Kamaev
Updated by Stefan Siegel almost 13 years ago
I referenced the tutorial for simplicity in order to spare you from dealing with different sample code.
1.
Why do you set this issue as a duplicate of this issue ?
2.
Is it because the OrbDescriptorExtractor produces Mat objects of type uchar?
3.
If you answer 2.) with yes, then I would consider this issue even more severe.