EasyColor::Quantize

Convert an unquantized color of a given color system to a quantized color.

Namespace: Euresys::Open_eVision

[C++]

void Quantize(
   ERGB colorIn,
   EC24& colorOut
)

void Quantize(
   EXYZ colorIn,
   EC24& colorOut
)

void Quantize(
   EYUV colorIn,
   EC24& colorOut
)

void Quantize(
   EYIQ colorIn,
   EC24& colorOut
)

void Quantize(
   ELSH colorIn,
   EC24& colorOut
)

void Quantize(
   EVSH colorIn,
   EC24& colorOut
)

void Quantize(
   EISH colorIn,
   EC24& colorOut
)

void Quantize(
   EYSH colorIn,
   EC24& colorOut
)

void Quantize(
   ELAB colorIn,
   EC24& colorOut
)

void Quantize(
   ELCH colorIn,
   EC24& colorOut
)

void Quantize(
   ELUV colorIn,
   EC24& colorOut
)

Parameters

colorIn

Input unquantized color, as defined by the corresponding structure.

colorOut

Output quantized color.

Remarks

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval.
Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current ERgbStandard.

EasyColor.Quantize

Convert an unquantized color of a given color system to a quantized color.

Namespace: Euresys.Open_eVision

[C#]

void Quantize(
   Euresys.Open_eVision.ERGB colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.EXYZ colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.EYUV colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.EYIQ colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.ELSH colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.EVSH colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.EISH colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.EYSH colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.ELAB colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.ELCH colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

void Quantize(
   Euresys.Open_eVision.ELUV colorIn,
   out Euresys.Open_eVision.EC24 colorOut
)

Parameters

colorIn

Input unquantized color, as defined by the corresponding structure.

colorOut

Output quantized color.

Remarks

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval.
Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current ERgbStandard.