Rectify a pair of stereo images
[
returns
undistorted and rectified versions of J1
,J2
]
= rectifyStereoImages(I1
,I2
,stereoParams
)I1
and I2
input
images using the stereo parameters stored in the stereoParams
object.
Stereo image rectification projects images onto a common image plane in such a way that the
corresponding points have the same row
coordinates. This image projection makes the image
appear as though the two cameras are parallel. Use
the disparityBM
or disparitySGM
functions to compute a
disparity map from the rectified images for 3-D
scene reconstruction.
[
uses
additional options specified by one or more J1
,J2
]
= rectifyStereoImages(___,Name,Value
)Name,Value
pair
arguments.
[1] G. Bradski and A. Kaehler, Learning OpenCV : Computer Vision with the OpenCV Library. Sebastopol, CA: O'Reilly, 2008.
Camera
Calibrator | Stereo Camera
Calibrator | disparityBM
| disparitySGM
| estimateCameraParameters
| estimateUncalibratedRectification
| reconstructScene
| stereoParameters