Cv2SetIdentity Method OpenCvSharp Class Library
initializes scaled identity matrix

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

public static void SetIdentity(
	InputOutputArray mtx,
	Nullable<Scalar> s = null
)

Parameters

mtx
Type: OpenCvSharp.CPlusPlusInputOutputArray
The matrix to initialize (not necessarily square)
s (Optional)
Type: SystemNullableScalar
The value to assign to the diagonal elements
See Also

Reference