Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Feature Matching with FLANN Tutorial


Feature Matching with FLANN Tutorial


Hello all!

I've tried this tut: http://docs.opencv.org/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html#feature-flann-matcher .

When I'm adding: equalizeHist(img_1,img_1) after loading the images, the program will crash. This crash at "matcher.match( descriptors_1, descriptors_2, matches );" with error: "OpenCV Error: Unsupported format or combination of formats (type=0) in unknown function, file ......\src\opencv\modules\flann\src\miniflann.cpp, line 315"

What changes in format does equalizeHist() do? Do you have some hints for me, to evade this error? Thanks in advance. Wish you a nice weekend.

Immi

Feature Matching with FLANN Tutorial

Hello all!

I've tried this tut: http://docs.opencv.org/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html#feature-flann-matcher .

When I'm adding: equalizeHist(img_1,img_1) after loading the images, the program will crash. This crash at "matcher.match( descriptors_1, descriptors_2, matches );" with error: "OpenCV Error: Unsupported format or combination of formats (type=0) in unknown function, file ......\src\opencv\modules\flann\src\miniflann.cpp, line 315"

What changes in format does equalizeHist() do? Do you have some hints for me, to evade this error? Thanks in advance. Wish you a nice weekend.

Solution: http://answers.opencv.org/question/11449/flann-algorithm-cannot-find-any-descriptor/ I was using the same image. Immi