estimateCameraParameters
Calibrate a single or stereo camera
Syntax
Description
[
returns an object cameraParams
,imagesUsed
,estimationErrors
]
= estimateCameraParameters(imagePoints
,worldPoints
)cameraParams
, containing estimates for
the intrinsic and extrinsic parameters and the distortion coefficients of a
single and stereo camera. The function also returns the images you used to
estimate the camera parameters and the standard estimation errors for the single
camera calibration. The estimateCameraParameters
function
estimates extrinsic and intrinsic parameters.
[
returns stereoParams
,pairsUsed
,estimationErrors
]
= estimateCameraParameters(imagePoints
,worldPoints
)stereoParams
, a stereoParameters
object
containing the parameters of the stereo camera. The function also returns the
images you used to estimate the stereo parameters and the standard estimation
errors for the stereo camera calibration.
specifies options using one or more name-value arguments in addition to any
combination of arguments from previous syntaxes. For example,
cameraParams
= estimateCameraParameters(___,Name=Value
)WorldUnits="mm"
sets the world units to
millimeters.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Algorithms
References
[1]
[2]
[3] Bouguet, J.Y. “Camera Calibration Toolbox for Matlab”, Computational Vision at the California Institute of Technology.
[4] Bradski, G., and A. Kaehler. Learning OpenCV : Computer Vision with the OpenCV Library. Sebastopol, CA: O'Reilly, 2008.
Version History
Introduced in R2014bSee Also
Apps
Objects
Functions
showReprojectionErrors
|showExtrinsics
|undistortImage
|undistortPoints
|detectCheckerboardPoints
|generateCheckerboardPoints
|patternWorldPoints
|reconstructScene
|rectifyStereoImages
|disparityBM
|disparitySGM
|estimateStereoRectification
|estimateFundamentalMatrix
|estimateStereoBaseline