Click or drag to resize
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.Util
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static ColorConversion GetColorCvtCode(
	Type srcColorType,
	Type destColorType
)

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: ColorConversion
The color conversion code for CvInvoke.cvCvtColor function
See Also