# \#stereorectify

**URL:** https://forum.opencv.org/tag/stereorectify/92.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Stereo rectify to the left image plane](https://forum.opencv.org/t/stereo-rectify-to-the-left-image-plane/24135)

<div class="topic-metadata">

**Author:** [@vision-researcher](https://forum.opencv.org/u/vision-researcher)\
**Replies:** 0\
**Last updated:** [October 20, 2025, 5:31pm UTC](https://forum.opencv.org/t/stereo-rectify-to-the-left-image-plane/24135 "2025-10-20T17:31:33Z")

</div>

I’m having trouble with stereo rectification, where I want to keep the left camera center stationary and only warp the right image. I’m not sure if there is something I’m missing with the math but I feel like the y and z…

---

## [Problem with disparity map or stereo calibration](https://forum.opencv.org/t/problem-with-disparity-map-or-stereo-calibration/17631)

<div class="topic-metadata">

**Author:** [@watermelon0guy](https://forum.opencv.org/u/watermelon0guy)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 9:40pm UTC](https://forum.opencv.org/t/problem-with-disparity-map-or-stereo-calibration/17631 "2024-05-12T21:40:43Z")

</div>

Good day to everyone. I’ve been trying to solve the problem of surface reconstruction for some time now. I built a sparse point cloud using a simple triangulation. I still want a dense point cloud, so I decided to try di…

---

## [cv2.stereoRectify works only when the rotation and translation are from camera 2 to camera 1](https://forum.opencv.org/t/cv2-stereorectify-works-only-when-the-rotation-and-translation-are-from-camera-2-to-camera-1/17388)

<div class="topic-metadata">

**Author:** [@idanaviv](https://forum.opencv.org/u/idanaviv)\
**Replies:** 1\
**Last updated:** [April 23, 2024, 9:56am UTC](https://forum.opencv.org/t/cv2-stereorectify-works-only-when-the-rotation-and-translation-are-from-camera-2-to-camera-1/17388 "2024-04-23T09:56:10Z")

</div>

I am using the euroc-mav dataset to create a disparity map from stereo images: kmavvisualinertialdatasets – ASL Datasets. In this dataset the cameras are already calibrated (intrinsic and extrinsic) relative to a common…

---

## [Problem with rectifying pinhole and fisheye image](https://forum.opencv.org/t/problem-with-rectifying-pinhole-and-fisheye-image/11928)

<div class="topic-metadata">

**Author:** [@Alfie](https://forum.opencv.org/u/Alfie)\
**Replies:** 3\
**Last updated:** [February 20, 2023, 10:23am UTC](https://forum.opencv.org/t/problem-with-rectifying-pinhole-and-fisheye-image/11928 "2023-02-20T10:23:51Z")

</div>

I have a stereo camera setup which has one pinhole camera and one fisheye camera. The pinhole camera has 40 degrees FoV. The fisheye camera has 120 degrees FoV. In the end, I want to get a depth map from this camera set…

---

## [Stereo cameras calibrate well indivdually, but stereo calibration is distorted](https://forum.opencv.org/t/stereo-cameras-calibrate-well-indivdually-but-stereo-calibration-is-distorted/4480)

<div class="topic-metadata">

**Author:** [@Charles\_R](https://forum.opencv.org/u/Charles_R)\
**Replies:** 4\
**Last updated:** [November 20, 2022, 11:11am UTC](https://forum.opencv.org/t/stereo-cameras-calibrate-well-indivdually-but-stereo-calibration-is-distorted/4480 "2022-11-20T11:11:28Z")

</div>

I am trying to use stereo cameras for 3D position detection. I took 150 clean images at different angles using a 7x12 chessboard. Calculated projection error is 0.094 and 0.097 for the left and right cameras respectively…

---

## [Row not aligned when rectifying images with stereoRectify](https://forum.opencv.org/t/row-not-aligned-when-rectifying-images-with-stereorectify/9238)

<div class="topic-metadata">

**Author:** [@a.gofin](https://forum.opencv.org/u/a.gofin)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 7:38am UTC](https://forum.opencv.org/t/row-not-aligned-when-rectifying-images-with-stereorectify/9238 "2022-06-20T07:38:08Z")

</div>

Hi, I am try to rectify stereo images. I displayed 8 rows and 11 columns calibration pattern on my laptop and used the code from this github repo to calibrate and rectify images. When I plot results of rectification wi…

---

## [StereoRectify : how to compensate a 4 pixel shift?](https://forum.opencv.org/t/stereorectify-how-to-compensate-a-4-pixel-shift/9012)

<div class="topic-metadata">

**Author:** [@felixn](https://forum.opencv.org/u/felixn)\
**Replies:** 7\
**Last updated:** [June 13, 2022, 4:53pm UTC](https://forum.opencv.org/t/stereorectify-how-to-compensate-a-4-pixel-shift/9012 "2022-06-13T16:53:49Z")

</div>

Hi, I’m currently working on a stereo video recording with a rather bad calibration : once undistorted/rectified, the right image is shifted 4 (more precisely 3.8) pixels down (ie on all left-right features matchings, t…

---

## [Fisheye stereo calibration](https://forum.opencv.org/t/fisheye-stereo-calibration/9030)

<div class="topic-metadata">

**Author:** [@embarto](https://forum.opencv.org/u/embarto)\
**Replies:** 0\
**Last updated:** [June 3, 2022, 12:19pm UTC](https://forum.opencv.org/t/fisheye-stereo-calibration/9030 "2022-06-03T12:19:21Z")

</div>

Hello there, i’m desperatly trying to get my fisheye stereo camera working. So far i’ve tried this code, it doesn’t work with his or mine images. I’ve tried to rewrite the opencv stereocalibration example code, no luc…

---

## [Correspondence between the index of pcl and disparity](https://forum.opencv.org/t/correspondence-between-the-index-of-pcl-and-disparity/7182)

<div class="topic-metadata">

**Author:** [@jahad9819](https://forum.opencv.org/u/jahad9819)\
**Replies:** 3\
**Last updated:** [January 19, 2022, 7:52am UTC](https://forum.opencv.org/t/correspondence-between-the-index-of-pcl-and-disparity/7182 "2022-01-19T07:52:30Z")

</div>

I would like to know the correspondence between the index of the point cloud calculated by reprojectImageTo3d and the index of the disparity image, which is the input image. I have used reprojectImageTo3d to generate a …

---

## [Can I calibrate/rectify cameras with different focus and diffrent resolution?](https://forum.opencv.org/t/can-i-calibrate-rectify-cameras-with-different-focus-and-diffrent-resolution/3538)

<div class="topic-metadata">

**Author:** [@Abner](https://forum.opencv.org/u/Abner)\
**Replies:** 1\
**Last updated:** [May 26, 2021, 4:58pm UTC](https://forum.opencv.org/t/can-i-calibrate-rectify-cameras-with-different-focus-and-diffrent-resolution/3538 "2021-05-26T16:58:59Z")

</div>

Hi, I would like to ask some questions about stereoCalibrate and stereoRectify in calib3d library. The detail scene is that I want to calibrate and rectify two cameras with different focus and resolution(i.e. camera1: …

---

## [White disparity map after rectification](https://forum.opencv.org/t/white-disparity-map-after-rectification/2885)

<div class="topic-metadata">

**Author:** [@Clarence\_Chan](https://forum.opencv.org/u/Clarence_Chan)\
**Replies:** 2\
**Last updated:** [April 21, 2021, 2:19am UTC](https://forum.opencv.org/t/white-disparity-map-after-rectification/2885 "2021-04-21T02:19:16Z")

</div>

Hi Forum, I’m working on a school project that uses 2 Flir Lepton cameras (160x120) to create a disparity map. In the program i wrote, i displayed the disparity map before calibrating and rectifying, and it appears like…

---

## [Detecting flat surface object but the depth return is not consistent](https://forum.opencv.org/t/detecting-flat-surface-object-but-the-depth-return-is-not-consistent/2122)

<div class="topic-metadata">

**Author:** [@bubucar](https://forum.opencv.org/u/bubucar)\
**Replies:** 0\
**Last updated:** [March 12, 2021, 1:39am UTC](https://forum.opencv.org/t/detecting-flat-surface-object-but-the-depth-return-is-not-consistent/2122 "2021-03-12T01:39:56Z")

</div>

Hi, i have a stereo camera system capture an object put on table (which is flat surface) but the depth return showns is not consistent From the colormap we can see that the object color is not consistent, however i…
