Get the OpenCV matrix depth enumeration from depth type

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

Syntax

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

Parameters

typeOfDepth
Type
The depth of type

Return Value

OpenCV Matrix depth

See Also