Click or drag to resize

Cv2SetIdentity Method

initializes scaled identity matrix

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void SetIdentity(
	InputOutputArray mtx,
	Nullable<Scalar> s = null
)

Parameters

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