CvArrGetDims Method (Int32) OpenCvSharp Class Library
Return number of array dimensions and their sizes

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

public int GetDims(
	out int[] sizes
)

Parameters

sizes
Type: SystemInt32
Optional output vector of the array dimension sizes. For 2d arrays the number of rows (height) goes first, number of columns (width) next.

Return Value

Type: Int32
number of array dimensions.
See Also

Reference