eVision Python API
Loading...
Searching...
No Matches
eVision.EColorQuantization Class Reference

Allowed values for the quantization mode in EasyColor. More...

Inheritance diagram for eVision.EColorQuantization:
Collaboration diagram for eVision.EColorQuantization:

Static Public Attributes

int FullRange = 0
 Values are quantized in range 0..255.
int Ccir601 = 1
 Values are quantized in range 16..235 for the R, G, B or Y component, and in range 16..240 for the I, Q, U and y components.

Detailed Description

Allowed values for the quantization mode in EasyColor.

Remarks:

When quantizing the color values for the RGB or YIQ/YUV representation, one usually uses the full 0..255 range. Anyway, the CCIR has defined an alternate convention such that some values in this interval are reserved. Before performing a conversion, functions eVision.EasyColor.SetSrcQuantization and eVision.EasyColor.SetDstQuantization can be used to specify the rule used.

Member Data Documentation

◆ Ccir601

int eVision.EColorQuantization.Ccir601 = 1
static

Values are quantized in range 16..235 for the R, G, B or Y component, and in range 16..240 for the I, Q, U and y components.

◆ FullRange

int eVision.EColorQuantization.FullRange = 0
static

Values are quantized in range 0..255.