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