L_Matrix_Identity

Summary

Sets the values of the specified L_MATRIX structure to identity.

Syntax

#include "LtPrimitives.h"

L_LTKRN_API L_VOID L_Matrix_Identity(matrix)

Parameters

L_MATRIX* matrix

Pointer to the L_MATRIX to test.

Returns

None.

Comments

An identity matrix has a value of 1 in coefficients [1,1],[2,2],[3,3] and a value of 0 in the rest of the coefficients. This correlates to setting m11 and m22 to 1 and m12, m21, offsetX, and offsetY to 0.

In an affine matrix, coefficients [3,1],[3,2],[3.3] are implied to always have the values 0,0,1 respectively.

image\matrix2.jpg

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Structures

Topics

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.