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.10.1935 (2.4.10.1935)

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
)
F#
static member GetColorCvtCode : 
        srcColorType : Type * 
        destColorType : Type -> COLOR_CONVERSION 

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

Type: COLOR_CONVERSION
The color conversion code for CvInvoke.cvCvtColor function

See Also