Cv2DecomposeProjectionMatrix Method (Double, Double, Double, Double) OpenCvSharp Class Library
Decomposes the projection matrix into camera matrix and the rotation martix and the translation vector

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void DecomposeProjectionMatrix(
	double[,] projMatrix,
	out double[,] cameraMatrix,
	out double[,] rotMatrix,
	out double[] transVect
)

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.
See Also

Reference