EasyColor::RgbToYsh

Convert a color from RGB to another system.

Namespace: Euresys::Open_eVision

[C++]

void RgbToYsh(
   ERGB colorIn,
   EYSH& colorOut
)

void RgbToYsh(
   EC24 colorIn,
   EC24& colorOut
)

Parameters

colorIn

Input color.

colorOut

Output color, as defined by the corresponding structure.

Remarks

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current ERgbStandard and the associated white point if necessary.

EasyColor.RgbToYsh

Convert a color from RGB to another system.

Namespace: Euresys.Open_eVision

[C#]

void RgbToYsh(
   Euresys.Open_eVision.ERGB colorIn,
   out Euresys.Open_eVision.EYSH colorOut
)

void RgbToYsh(
   Euresys.Open_eVision.EC24 colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

Parameters

colorIn

Input color.

colorOut

Output color, as defined by the corresponding structure.

Remarks

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current ERgbStandard and the associated white point if necessary.