MATLAB File Help: cv.initCameraMatrix2D | Index |
Finds an initial camera matrix from 3D-2D point correspondences
cameraMatrix = cv.initCameraMatrix2D(objectPoints, imagePoints, imageSize)
[...] = cv.initCameraMatrix2D(..., 'OptionName', optionValue, ...)
{{[x,y,z],...}, ...}
.{{[x,y],...}, ...}
.[w,h]
.A = [fx 0 cx; 0 fy cy; 0 0 1]
fx
and fy
are
estimated independently. Otherwise, fx = fy * AspectRatio
.
default 1.0The function estimates and returns an initial camera matrix for the camera calibration process. Currently, the function only supports planar calibration patterns, which are patterns where each object point has z-coordinate=0.