function cameraCalibrator(varargin)
%cameraCalibrator Single camera calibration app.
%
% cameraCalibrator invokes a camera calibration app. The app
% can be used to estimate camera intrinsic and extrinsic parameters,
% and to compute parameters needed to remove the effects of lens
% distortion from an image.
%
% cameraCalibrator(imageFolder, squareSize) invokes the app and
% immediately loads the calibration images from imageFolder. squareSize
% is a scalar specifying the size of the checkerboard square in the
% calibration pattern in millimeters.
%
% cameraCalibrator(imageFolder, squareSize, squareSizeUnits) additionally
% specifies the unis of the square size as a string. The valid units are
% 'mm' (default), 'cm', and 'in'.
%
% cameraCalibrator(sessio