Method Eye
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Eye(Size, MatType)
Returns an identity matrix of the specified size and type.
public static MatExpr Eye(Size size, MatType type)
Parameters
sizeSizeAlternative to the matrix size specification Size(cols, rows) .
typeMatTypeCreated matrix type.
Returns
Eye(int, int, MatType)
Returns an identity matrix of the specified size and type.
public static MatExpr Eye(int rows, int cols, MatType type)