Initializes scaled identity matrix: arr(i,j)=value if i=j, 0 otherwise

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvSetIdentity(
	IntPtr mat,
	MCvScalar value
)
Public Shared Sub cvSetIdentity ( _
	mat As IntPtr, _
	value As MCvScalar _
)
public:
static void cvSetIdentity(
	IntPtr mat, 
	MCvScalar value
)

Parameters

mat
IntPtr
The matrix to initialize (not necesserily square).
value
MCvScalar
The value to assign to the diagonal elements.

See Also