http://www.emgu.com
Get the OpenCV matrix depth enumeration from depth type

Namespace: Emgu.CV.Util
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static MAT_DEPTH GetMatrixDepth(
	Type typeOfDepth
)
Visual Basic
Public Shared Function GetMatrixDepth ( _
	typeOfDepth As Type _
) As MAT_DEPTH
Visual C++
public:
static MAT_DEPTH GetMatrixDepth(
	Type^ typeOfDepth
)

Parameters

typeOfDepth
Type: System..::..Type
The depth of type

Return Value

OpenCV Matrix depth

See Also