CvToolboxGetColorCvtCode Method |
http://www.emgu.com
Given the source and destination color type, compute the color conversion code for CvInvoke.cvCvtColor function
Namespace: Emgu.CV.UtilAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static ColorConversion GetColorCvtCode(
Type srcColorType,
Type destColorType
)
Public Shared Function GetColorCvtCode (
srcColorType As Type,
destColorType As Type
) As ColorConversion
public:
static ColorConversion GetColorCvtCode(
Type^ srcColorType,
Type^ destColorType
)
static member GetColorCvtCode :
srcColorType : Type *
destColorType : Type -> ColorConversion
Parameters
- srcColorType
- Type: SystemType
The source color type. Must be a type inherited from IColor - destColorType
- Type: SystemType
The dest color type. Must be a type inherited from IColor
Return Value
Type:
ColorConversionThe color conversion code for CvInvoke.cvCvtColor function
See Also