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.0.1.0 (2.0.1.0)

Syntax

C#
public static void cvSetIdentity(
	IntPtr mat,
	MCvScalar value
)
Visual Basic (Declaration)
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