Aligning stereo left and right images and cropping overlap

asked 2014-03-18 17:06:45 -0600

StevenS gravatar image

I'd like to align two stereo left and right images so that when placed on top of one another, with transparency on one of the images, their points will match up as closely as possible.

This would involve moving one of the image along the X and Y axes, and cropping both so there's no overlap.

Can anyone suggest a code example, or better, one with an example Windows binary demonstrating this?

edit retag flag offensive close merge delete

Comments

manually have a look at the two frames to discover point of similarity and then set the two ROIs accordingly.

SpiderGears gravatar imageSpiderGears ( 2014-03-19 14:25:02 -0600 )edit

Thanks for your suggestions. Is there any code examples or documentation you can point me to? Is this something I should be looking at: https://github.com/Itseez/opencv/blob/master/samples/cpp/stereo_match.cpp

StevenS gravatar imageStevenS ( 2014-03-19 19:09:00 -0600 )edit