cameraIntrinsicsToOpenCV
Description
[
converts a MATLAB®
intrinsicMatrix,distortionCoefficients] = cameraIntrinsicsToOpenCV(intrinsics)cameraIntrinsics or cameraParameters object, specified
by intrinsics, to OpenCV camera intrinsic parameters.
The OpenCV spatial coordinate system specifies the upper-left pixel center at
(0,0), whereas the MATLAB spatial coordinate system specifies the pixel center at
(1,1). The cameraIntrinsicsToOpenCV function
compensates for this difference by subtracting 1 from both the x and
y-values for the converted principal point.
OpenCV camera intrinsic parameters do not include the skew of a pinhole camera model. Therefore, only the intrinsics that were estimated without the skew can be exported to OpenCV.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021b