Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As a first step I would confirm that you are getting good optical flow by drawing them on the screen.

As a second step I would remove bad optical flow vectors before passing them into estimateGlobalMotionRobust. Just loop through features_found and keep the good ones. This may or may not not be necessary, but if you can make life easier for the function then why not.