Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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:

  1. Take one picture
  2. Move the cam horizontally 10cm
  3. 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, of possible:

  1. Correct differences in rotation and translation of the images
  2. Correct lens distortion (but without camera calibration! (if possible))
  3. Align the two images vertically
  4. Align the two images horizontally to get comfortable stereo images
  5. Convert to red/cyan

Since I am brand new to OpenCV it would be great if someone can give me smoe hints how to achive this. A list of OpenCV functions to call would be great.

Thanks a lot!

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:

  1. Take one picture
  2. Move the cam horizontally 10cm
  3. 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, of if possible:

  1. Correct differences in rotation and translation of the images
  2. Correct lens distortion (but without camera calibration! (if possible))
  3. Align the two images vertically
  4. Align the two images horizontally to get comfortable stereo images
  5. Convert to red/cyan

Since I am brand new to OpenCV it would be great if someone can give me smoe hints how to achive this. A list of OpenCV functions to call would be great.

Thanks a lot!

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:

  1. Take one picture
  2. Move the cam horizontally 10cm
  3. 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:

  1. Correct differences in rotation and translation of the images
  2. Correct lens distortion (but without camera calibration! (if possible))
  3. Align the two images vertically
  4. Align the two images horizontally to get comfortable stereo images
  5. Convert to red/cyan

Since I am brand new to OpenCV it would be great if someone can give me smoe some hints how to achive achieve this. A list of OpenCV functions to call consider/call would be great.

Thanks a lot!

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:

  1. Take one picture
  2. Move the cam horizontally 10cm
  3. 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:

  1. Correct differences in rotation and translation of the images
  2. Correct differences in contrast / hue / saturation / white balance / etc.
  3. Correct lens distortion (but without camera calibration! (if possible))
  4. Align the two images vertically
  5. Align the two images horizontally to get comfortable stereo images
  6. 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!