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 (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static COLOR_CONVERSION GetColorCvtCode(
	Type srcColorType,
	Type destColorType
)
Visual Basic
Public Shared Function GetColorCvtCode ( _
	srcColorType As Type, _
	destColorType As Type _
) As COLOR_CONVERSION
Visual C++
public:
static COLOR_CONVERSION GetColorCvtCode(
	Type^ srcColorType, 
	Type^ destColorType
)

Parameters

srcColorType
Type: System..::..Type
The source color type. Must be a type inherited from IColor
destColorType
Type: System..::..Type
The dest color type. Must be a type inherited from IColor

Return Value

The color conversion code for CvInvoke.cvCvtColor function

See Also