Stereo rectification without calibration?

asked 2015-09-28 02:33:32 -0600

Yoga gravatar image

Dear all,

I have two older cameras (Canon Ixus 860IS) mounted as a stereo rig. Now I want to use OpenCV to calculate the alignmment of left and right image and then watch the image using a stereo viewer. So I don't want to calculate e.g. where an object is in 3D space, I just want to view the images. I read the stereo tutorials here on opencv.org but they show only the way doing a camera calibration first. Normally I do the stereo aligment using a free software called SPM (http://stereo.jpn.org/eng/stphmkr/). SPM also does not need any camera calibration. I can open the left/right image from any stereo rig and SPM can do the alignment/adjustment. But I need a way to do this without user interaction. So I want to create a Windows Command Line application which can do the stereo alignment for me. The main question I have is how can I do the stereo alignment (like in SPM) without camera calibration? So my App should (same as SPM is doing) correct differences in rotation, size, horizontal/vertical perspective rotation. What steps in OpenCV are necessary for this and which functions I can use?

Thanks a lot for any help!

edit retag flag offensive close merge delete

Comments

Maybe you can look at this samples:

Both are samples for OpenCV 3.0 but you can also found the same samples for previous version of OpenCV. Instead of using the corners detected from a chessboard pattern, you could use keypoints matching (tutorial1, tutorial2) and stereoRectifyUncalibrated.

Eduardo gravatar imageEduardo ( 2015-09-28 03:43:25 -0600 )edit