Method EyeMat
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
EyeMat(int, int, MatType)
Returns an identity matrix of the specified size and type as Mat.
Unlike Eye(int, int, MatType), this method returns a Mat directly,
so a single using statement is sufficient to manage its lifetime.
public static Mat EyeMat(int rows, int cols, MatType type)
Parameters
Returns
EyeMat(Size, MatType)
Returns an identity matrix of the specified size and type as Mat.
Unlike Eye(Size, MatType), this method returns a Mat directly,
so a single using statement is sufficient to manage its lifetime.
public static Mat EyeMat(Size size, MatType type)
Parameters
sizeSizeAlternative to the matrix size specification Size(cols, rows).
typeMatTypeCreated matrix type.