Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does Camera intrinsic parameter change during process?

Hello,

i have two undistorted images from the same camera. I also have both the camera intrinsic matrix and distortion coefficients as well.
I want to do stereo rectification.

Both raw pictures are:
image description image description

My workflow is like:

  1. Use the undistort()-function to undistort the image and then turn the image to 90° using t()-method.
  2. Seems to work well, the result is shown below:
    image description image description

    The second image has also a good result.

  3. Then i found some image matches. Looks also right. image description

  4. Then i try to rectify the images using stereoRectify(), but it doesn't work well. I just got black images with just few dots on the left upper corner.
    image description image description

My guess is, that the camera matrix (mainly just the cx, cy) have change during the rotation of 90°, so i use the wrong camera matrix. Does anyone know how the camera matrix should change after the rotation of 90°?

How does Camera intrinsic parameter change during process?

Hello,

i have two undistorted images from the same camera. I also have both the camera intrinsic matrix and distortion coefficients as well.
I want to do stereo rectification.

Both raw pictures are:
image description image description

My workflow is like:

  1. Use the undistort()-function to undistort the image and then turn the image to 90° using t()-method.
  2. Seems to work well, the result is shown below:
    image description image description

    The second image has also a good result.

  3. Then i found some image matches. Looks also right. image description

  4. Then i try to rectify the images using stereoRectify(), but it doesn't work well. I just got black images with just few dots on the left upper corner.
    image description image description

My guess is, that the camera matrix (mainly just the cx, cy) have did change during the rotation of 90°, so i use the wrong camera matrix. Does anyone know how the camera matrix should change after the rotation of 90°?

How does Camera intrinsic parameter change during process?after image rotation?

Hello,

i have two undistorted images from the same camera. I also have both the camera intrinsic matrix and distortion coefficients as well.
I want to do stereo rectification.

Both raw pictures are:
image description image description

My workflow is like:

  1. Use the undistort()-function to undistort the image and then turn the image to 90° using t()-method.
  2. Seems to work well, the result is shown below:
    image description image description

    The second image has also a good result.

  3. Then i found some image matches. Looks also right. image description

  4. Then i try to rectify the images using stereoRectify(), but it doesn't work well. I just got black images with just few dots on the left upper corner.
    image description image description

My guess is, that the camera matrix (mainly just the cx, cy) did change during the rotation of 90°, so i use the wrong camera matrix. Does anyone know how the camera matrix should change after the rotation of 90°?