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