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: 4.0.1.3373 (4.0.1.3373)
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