CvGetDimSize Method OpenCvSharp Class Library
Return the size of particular dimension

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int GetDimSize(
	CvArr arr,
	int index
)

Parameters

arr
Type: OpenCvSharpCvArr
Input array.
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: Int32
the particular dimension size (number of elements per that dimension).
See Also

Reference