Class MatTypeMap
- Namespace
- OpenCvSharp.Internal.Util
- Assembly
- OpenCvSharp.dll
Maps a managed element type to the corresponding MatType.
Shared by the type-parameterized matrix wrappers (Mat<T>, UMat,
SparseMat<T>) so the mapping lives in one place.
public static class MatTypeMap
- Inheritance
-
MatTypeMap
- Inherited Members
Fields
Map
Managed element type to MatType mapping.
public static readonly IReadOnlyDictionary<Type, MatType> Map
Field Value
Methods
Get<T>()
Returns the MatType for T, or throws if unsupported.
public static MatType Get<T>() where T : unmanaged
Returns
Type Parameters
T