CvGetDims Method (CvArr, 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 static int GetDims(
	CvArr arr,
	out int[] sizes
)

Parameters

arr
Type: OpenCvSharpCvArr
Input array.
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