Table of Contents

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

h InputArray

The input homography matrix between two images.

k InputArray

The input intrinsic camera calibration matrix.

rotations Mat[]

Array of rotation matrices.

translations Mat[]

Array of translation matrices.

normals Mat[]

Array of plane normal matrices.

Returns

int