Get the OpenCV matrix depth enumeration from depth type

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

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