Align stereo images taken from one camera
Hi,
I am brand new to OpenCV and want to know if it is possible to align two stereo images taken by one after the other by a single camera (as know as cha-cha technique). The steps is as follows:
- Take one picture
- Move the cam horizontally 10cm
- Take a second picture
(Of course only stills can be taken this way, no images of moving objects)
My question now, how can I align these two pictures using OpenCV to create a comfortable anaglyph red / cyan stereo image?
OpenCV should do following, if possible:
- Correct differences in rotation and translation of the images
- Correct differences in contrast / hue / saturation / white balance / etc.
- Correct lens distortion (but without camera calibration! (if possible))
- Align the two images vertically
- Align the two images horizontally to get comfortable stereo images
- Convert to red/cyan
Since I am brand new to OpenCV it would be great if someone can give me some hints how to achieve this. A list of OpenCV functions to consider/call would be great.
Thanks a lot!
What the horizontal align you want if you move your camera at 10 cm?
Hi Vistor1234,
may I explained not well enough. I have one digital camera in my hand and take the 1st picture. Then I move myself 10cm to the right and take the 2nd picture also by hand. Since the camera is not fixed on a tripod or something else, there will be a horizontal, vertical and rotational difference between 1st and 2nd picture. So I cannot do any camera calibration, I need to correct ever image pair. This I want to do by functions of OpenCV, but I don't know where to start.
Thanks again for further help...