Camera Calibration with MATLAB

Avinash Nehemiah, MathWorks

Camera calibration is the estimation of a camera’s intrinsic, extrinsic, and lens-distortion parameters. Typical uses of a calibrated camera are to correct optical distortion artifacts, estimate the distance of an object from a camera, measure the size of objects in an image, and construct 3D views for augmented reality systems. Computer Vision System Toolbox™ provides an app and functions to perform all essential tasks in the camera calibration workflow, including:

  • Fully automatic detection and location of checkerboard calibration pattern including corner detection with subpixel accuracy
  • Estimation of all intrinsic and extrinsic parameters including axis skew
  • Calculation of radial and tangential lens distortion coefficients
  • Correction of optical distortion
  • Support for single camera and stereo calibration

The Camera Calibrator app is used to select and filter calibration images, choose the number and type of radial distortion coefficients, view reprojection errors, visualize extrinsic parameters, and export camera calibration parameters.

Camera Calibrator app
Camera Calibration app. You can add or remove calibration images (left), view detected corners and reprojected points (center), plot reprojection errors (top right), and visualize extrinsic parameters (bottom right).

Product Focus

  • Computer Vision System Toolbox