Table of Contents

Method Shape

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Shape()

Returns the shape of the matrix as a MatShape (OpenCV 5), including its data layout and channel count, and distinguishing an empty matrix from a 0-D scalar.

public MatShape Shape()

Returns

MatShape