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

Allowed values for the RGB standard in EasyColor. More...

Inheritance diagram for eVision.ERgbStandard:
Collaboration diagram for eVision.ERgbStandard:

Static Public Attributes

int Ntsc = 0
 NTSC primaries with the following CIE XYZ coordinates: Red: (0.607, 0.299, 0.000), Green: (0.174, 0.587, 0.066), Blue: (0.201, 0.114, 1.117).
int Pal = 1
 PAL primaries with the following CIE XYZ coordinates: Red: (0.4303, 0.2219, 0.0202), Green: (0.3416, 0.7068, 0.1296), Blue: (0.1784, 0.0713, 0.9393).
int Smpte = 2
 SMPTE primaries with the following CIE XYZ coordinates: Red: (0.393, 0.212, 0.019), Green: (0.365, 0.701, 0.112), Blue: (0.192, 0.087, 0.958).
int SRGB = 3
 sRGB primaries with the following CIE XYZ coordinates: Red: (0.412, 0.212, 0.019), Green: (0.357, 0.715, 0.119), Blue: (0.180, 0.072, 0.950).

Detailed Description

Allowed values for the RGB standard in EasyColor.

Remarks:

The definition of the RGB primaries is not unique. In principle, there is one RGB system for each set of phosphors used in color monitors. Anyway, the CCIR has defined standard combinations for use in digital TV broadcast. Before performing a conversion, function eVision.EasyColor.SetRgbStandard can be used to specify the standard used.

Member Data Documentation

◆ Ntsc

int eVision.ERgbStandard.Ntsc = 0
static

NTSC primaries with the following CIE XYZ coordinates: Red: (0.607, 0.299, 0.000), Green: (0.174, 0.587, 0.066), Blue: (0.201, 0.114, 1.117).

NTSC uses the white point "C". When used, color to gray equation is R * 0.299 + G * 0.587 + B * 0.114.

◆ Pal

int eVision.ERgbStandard.Pal = 1
static

PAL primaries with the following CIE XYZ coordinates: Red: (0.4303, 0.2219, 0.0202), Green: (0.3416, 0.7068, 0.1296), Blue: (0.1784, 0.0713, 0.9393).

PAL uses the white point "D65". When used, color to gray equation is R * 0.2219 + G * 0.7068 + B * 0.0713.

◆ Smpte

int eVision.ERgbStandard.Smpte = 2
static

SMPTE primaries with the following CIE XYZ coordinates: Red: (0.393, 0.212, 0.019), Green: (0.365, 0.701, 0.112), Blue: (0.192, 0.087, 0.958).

SMPTE uses the white point "D65". When used, color to gray equation is R * 0.212 + G * 0.701 + B * 0.087.

◆ SRGB

int eVision.ERgbStandard.SRGB = 3
static

sRGB primaries with the following CIE XYZ coordinates: Red: (0.412, 0.212, 0.019), Green: (0.357, 0.715, 0.119), Blue: (0.180, 0.072, 0.950).

sRGB uses the white point "D65". When used, color to gray equation is R * 0.212 + G * 0.715 + B * 0.072.