Get the OpenCV matrix depth enumeration from depth type

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

Syntax

C#
public static MAT_DEPTH GetMatrixDepth(
	Type typeOfDepth
)
Visual Basic (Declaration)
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