Open single camera calibration app
cameraCalibrator opens the Camera Calibrator app. You can use this app to estimate camera intrinsic and extrinsic parameters. This app can also be used 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 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.
Folder containing images, specified as a string. The string must contain the path and folder name.
Size of checkerboard square in calibration pattern, specified as a scalar value. If you do not specify the units with the squareSizeUnits input, the app uses millimeters for the size.
Units of checkerboard square, specified as the string 'mm', 'cm', or 'in'.
Saved calibration session MAT file name, specified as a string.