Return the size of particular dimension
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- index
- Type: SystemInt32
Zero-based dimension index (for matrices 0 means number of rows, 1 means number of columns; for images 0 means height, 1 means width).
Return Value
Type: Int32the particular dimension size (number of elements per that dimension).
See Also