Ask Your Question
1

Error in brief_match_test.cpp opencv 2.4.2

asked 2012-10-03 11:00:59 -0500

Perator gravatar image

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? :)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-04-22 17:36:09 -0500

Gino Strato gravatar image

updated 2014-04-22 17:36:38 -0500

Maybe you can find your answer here.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-10-03 11:00:59 -0500

Seen: 594 times

Last updated: Apr 22 '14