Ask Your Question

Perator's profile - activity

2012-10-04 01:00:08 -0600 received badge  Student (source)
2012-10-03 11:00:59 -0600 asked a question 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? :)