Method SetIdentity
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SetIdentity(InputOutputArray, Scalar?)
initializes scaled identity matrix
public static void SetIdentity(InputOutputArray mtx, Scalar? s = null)
Parameters
mtxInputOutputArrayThe matrix to initialize (not necessarily square)
sScalar?The value to assign to the diagonal elements