Main Content

Camera Calibration and 3-D Vision

Estimate camera intrinsics, distortion coefficients, and camera extrinsics, extract 3-D information from 2-D images, perform fisheye calibration, stereo rectification, depth estimation, 3-D reconstruction, triangulation, and structure from motion

Camera calibration is the process of estimating parameters of the camera using images of a special calibration pattern. The parameters include camera intrinsics, distortion coefficients, and camera extrinsics. 3-D vision is the process of reconstructing a 3-D scene from two or more views of the scene. Using the Computer Vision Toolbox™, you can perform dense 3-D reconstruction using a calibrated stereo pair of cameras. You can also reconstruct the scene using an uncalibrated stereo pair of cameras, up to unknown scale. Finally, you can compute a sparse 3-D reconstruction from multiple images, using a single-calibrated camera.

Use the Camera Calibrator app to estimate camera intrinsics, extrinsics, and lens distortion parameters. Use these camera parameters to remove lens distortion effects from an image, measure planar objects, reconstruct 3-D scenes from multiple cameras, and perform other computer vision applications.

Use the Stereo Camera Calibrator app to calibrate a stereo camera. You can then use the camera to recover depth from images. The app estimates the parameters of each of the two cameras. It also calculates the position and orientation of camera 2 relative to camera 1.

Featured Examples