Method DecomposeHomographyMat
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DecomposeHomographyMat(InputArray, InputArray, out Mat[], out Mat[], out Mat[])
Decompose a homography matrix to rotation(s), translation(s) and plane normal(s).
public static int DecomposeHomographyMat(InputArray h, InputArray k, out Mat[] rotations, out Mat[] translations, out Mat[] normals)
Parameters
hInputArrayThe input homography matrix between two images.
kInputArrayThe input intrinsic camera calibration matrix.
rotationsMat[]Array of rotation matrices.
translationsMat[]Array of translation matrices.
normalsMat[]Array of plane normal matrices.