Click or drag to resize

Cv2DecomposeProjectionMatrix Method (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
)

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