CvSetIdentity Method (CvArr, CvScalar) OpenCvSharp Class Library
Initializes scaled identity matrix

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void SetIdentity(
	CvArr mat,
	CvScalar value
)

Parameters

mat
Type: OpenCvSharpCvArr
The matrix to initialize (not necessarily square).
value
Type: OpenCvSharpCvScalar
The value to assign to the diagonal elements.
See Also

Reference