Computer Vision System Toolbox

Camera Calibration

Camera calibration is the estimation of a camera’s intrinsic, extrinsic, and lens-distortion parameters. Typical uses of a calibrated camera are correction of optical distortion artifacts, estimating distance of an object from a camera, measuring the size of objects in an image, and constructing 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:

  • 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.

The Camera Calibration app in Computer Vision System Toolbox.

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).

Diameter of various objects measured using a single calibrated camera.

Diameter of various objects measured using a single calibrated camera. A calibrated camera can be used to measure planar objects in world units; an example of this application is measuring the size of parts on a conveyor belt.

Camera Calibration with MATLAB 4:56
Explore camera calibration capabilities in MATLAB®. Calibrate a camera using the camera calibrator app, perform image undistortion, and measure the actual size of an object using a calibrated camera.

Next: Stereo Vision

Try Computer Vision System Toolbox

Get trial software

Computer Vision Made Easy

View webinar