Given the source and destination color type, compute the color conversion code for CvInvoke.cvCvtColor function
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1062 (2.2.1.1062)
Syntax
C# | Visual Basic | Visual C++ |
public static COLOR_CONVERSION GetColorCvtCode( Type srcColorType, Type destColorType )
Public Shared Function GetColorCvtCode ( _ srcColorType As Type, _ destColorType As Type _ ) As COLOR_CONVERSION
public: static COLOR_CONVERSION GetColorCvtCode( Type^ srcColorType, Type^ destColorType )
Parameters
- srcColorType
- Type
The source color type. Must be a type inherited from IColor
- destColorType
- Type
The dest color type. Must be a type inherited from IColor