Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in brief_match_test.cpp opencv 2.4.2

When trying to compile example : samples/cpp/brief_match_test.cpp in OpenCV 2.4.2 I get an error:

"Unhandled exception at 0x750ab9bc in example.exe: Microsoft C++ exception: cv::Exception at memory location 0x0031d378.."

line :

 Mat H = findHomography(mpts_2, mpts_1, RANSAC, 1, outlier_mask);

seems to be the problem, because when change it to:

Mat H = findHomography(mpts_2, mpts_1, RANSAC);

program compiles.... but effects are very bad.

image description

Is it a bug? Or is it a feature? :)