Click or drag to resize

Cv2DecomposeProjectionMatrix Method (Double, Double, Double, Double, Double, Double, Double, Double)

Decomposes the projection matrix into camera matrix and the rotation martix and the translation vector

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void DecomposeProjectionMatrix(
	double[,] projMatrix,
	out double[,] cameraMatrix,
	out double[,] rotMatrix,
	out double[] transVect,
	out double[,] rotMatrixX,
	out double[,] rotMatrixY,
	out double[,] rotMatrixZ,
	out double[] eulerAngles
)

Parameters

projMatrix
Type: SystemDouble
3x4 input projection matrix P.
cameraMatrix
Type: SystemDouble
Output 3x3 camera matrix K.
rotMatrix
Type: SystemDouble
Output 3x3 external rotation matrix R.
transVect
Type: SystemDouble
Output 4x1 translation vector T.
rotMatrixX
Type: SystemDouble
Optional 3x3 rotation matrix around x-axis.
rotMatrixY
Type: SystemDouble
Optional 3x3 rotation matrix around y-axis.
rotMatrixZ
Type: SystemDouble
Optional 3x3 rotation matrix around z-axis.
eulerAngles
Type: SystemDouble
ptional three-element vector containing three Euler angles of rotation in degrees.
See Also