make cv::findHomography stable

A friend of mine told me how to make cv::findHomography more stable.

The solution is very easy, comment lines 91-121 of module/calib3d/fundam.cpp and then compile. The unstability is due to the new algorithm to compute the homography. From the function name, it checks subset of corresponding points maybe. After comment the function contents, cv::findHomography gets much more stable 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s