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)
hom_mat2d-array -> real
Transformation matrix.


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_translate_local, hom_mat2d_scale, hom_mat2d_scale_local, hom_mat2d_rotate, hom_mat2d_rotate_local, hom_mat2d_slant, hom_mat2d_slant_local


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH