Table of Contents

Method SetIdentity

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

SetIdentity(InputOutputArray, Scalar?)

initializes scaled identity matrix

public static void SetIdentity(InputOutputArray mtx, Scalar? s = null)

Parameters

mtx InputOutputArray

The matrix to initialize (not necessarily square)

s Scalar?

The value to assign to the diagonal elements