This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

Camera Calibrator

Estimate geometric parameters of a single camera


The Camera Calibrator app allows you to estimate camera intrinsics, extrinsics, and lens distortion parameters. You can use these camera parameters for various computer vision applications. These applications include removing the effects of lens distortion from an image, measuring planar objects, or reconstructing 3-D scenes from multiple cameras.

Open the Camera Calibrator App

  • MATLAB® Toolstrip: On the Apps tab, under Image Processing and Computer Vision, click the app icon.

  • MATLAB command prompt: Enter cameraCalibrator.


expand all

This example shows you the two ways to open the Camera Calibrator app.

Type cameraCalibrator on the MATLAB command line or select it from the MATLAB desktop Apps tab.

Related Examples

Programmatic Use

expand all

cameraCalibrator opens the Camera Calibrator app, which enables you to compute parameters needed to remove the effects of lens distortion from an image.

cameraCalibrator(imageFolder,squareSize) invokes the camera calibration app and loads calibration images from the imageFolder. The squareSize input must be a scalar in millimeters that specifies the size of the checkerboard square in the calibration pattern.

cameraCalibrator(sessionFile) invokes the app and loads a saved camera calibration session. Set the sessionFile to the name of the saved session file. The name must include the path to the MAT file containing the saved session.

Introduced in R2013b