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.2.1.1150 (2.2.1.1150)

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

Return Value

The color conversion code for CvInvoke.cvCvtColor function

See Also