|  | 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
Syntaxpublic 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
)
Public Shared Sub DecomposeProjectionMatrix ( 
	projMatrix As Double(,),
	<OutAttribute> ByRef cameraMatrix As Double(,),
	<OutAttribute> ByRef rotMatrix As Double(,),
	<OutAttribute> ByRef transVect As Double(),
	<OutAttribute> ByRef rotMatrixX As Double(,),
	<OutAttribute> ByRef rotMatrixY As Double(,),
	<OutAttribute> ByRef rotMatrixZ As Double(,),
	<OutAttribute> ByRef eulerAngles As Double()
)
public:
static void DecomposeProjectionMatrix(
	array<double,2>^ projMatrix, 
	[OutAttribute] array<double,2>^% cameraMatrix, 
	[OutAttribute] array<double,2>^% rotMatrix, 
	[OutAttribute] array<double>^% transVect, 
	[OutAttribute] array<double,2>^% rotMatrixX, 
	[OutAttribute] array<double,2>^% rotMatrixY, 
	[OutAttribute] array<double,2>^% rotMatrixZ, 
	[OutAttribute] array<double>^% eulerAngles
)
static member DecomposeProjectionMatrix : 
        projMatrix : float[,] * 
        cameraMatrix : float[,] byref * 
        rotMatrix : float[,] byref * 
        transVect : float[] byref * 
        rotMatrixX : float[,] byref * 
        rotMatrixY : float[,] byref * 
        rotMatrixZ : float[,] byref * 
        eulerAngles : float[] byref -> unit 
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
See Also