http://www.emgu.com
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.4.2.1777 (2.4.2.1777)

Syntax

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

Parameters

mat
Type: System..::..IntPtr
The matrix to initialize (not necesserily square).
value
Type: Emgu.CV.Structure..::..MCvScalar
The value to assign to the diagonal elements.

See Also