hom_mat2d_identity ( : : : HomMat2DIdentity )

Generate the homogeneous transformation matrix of the identical 2D transformation.

hom_mat2d_identity generates the homogeneous transformation matrix HomMat2DIdentity describing the identical 2D transformation:

                     / 1 0 0 \
  HomMat2DIdentity = | 0 1 0 |
                     \ 0 0 1 /


Attention

Note that homogeneous matrices are stored row-by-row as a tuple; the last row is not stored because it is identical for all homogeneous matrices that describe an affine transformation. Thus, HomMat2DIdentity is stored as the tuple [1,0,0,0,1,0].


Parameters

HomMat2DIdentity (output_control)
affine2d-array -> real
Transformation matrix.
Number of elements: 6


Result

hom_mat2d_identity always returns 2 (H_MSG_TRUE).


Parallelization Information

hom_mat2d_identity is reentrant and processed without parallelization.


Possible Successors

hom_mat2d_translate, hom_mat2d_scale, hom_mat2d_rotate, hom_mat2d_slant


Module

Basic operators



Copyright © 1996-2005 MVTec Software GmbH