MatSetIdentity Method OpenCvSharp Class Library
initializes scaled identity matrix (not necessarily square).

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

public void SetIdentity(
	Nullable<Scalar> s = null
)

Parameters

s (Optional)
Type: SystemNullableScalar
The value to assign to the diagonal elements
See Also

Reference