Enumerated type that indicates the standard conversion coefficient.
The conversion coefficients are as follows. Choose appropriate conversion coefficients based on the range of your input values.
COEFFICIENT_ITU_R_BT_601
Assumes that the luminance signal Y is defined by the equation
Y = 0.299R + 0.587G + 0.114B, that the YUV values fall in the range
0≦Y,U,V≦255, and that the U and V offsets are 128.
| Y | ( U - 128 ) | ( V - 128 ) |
|---|
| R = | 1.000 | 0.000 | 1.402 |
|---|
| G = | 1.000 | -0.344 | -0.714 |
|---|
| B = | 1.000 | 1.772 | 0.000 |
|---|
COEFFICIENT_ITU_R_BT_709
Assumes that the luminance signal Y is defined by the equation
Y = 0.2126R + 0.7152G + 0.0722B, that the YUV values fall in the range
0≦Y,U,V≦255, and that the U and V offsets are 128.
| Y | ( U - 128 ) | ( V - 128 ) |
|---|
| R = | 1.000 | 0.000 | 1.575 |
|---|
| G = | 1.000 | -0.187 | -0.468 |
|---|
| B = | 1.000 | 1.856 | 0.000 |
|---|
COEFFICIENT_ITU_R_BT_601_SCALING
Assumes that the luminance signal Y is defined by the equation
Y = 0.299R + 0.587G + 0.114B, that the YUV values fall in the ranges
16≦Y≦235 and
16≦U,V≦240, and that the U and V offsets are 128.
| ( Y - 16 ) | ( U - 128 ) | ( V - 128 ) |
|---|
| R = | 1.164 | 0.000 | 1.596 |
|---|
| G = | 1.164 | -0.392 | -0.813 |
|---|
| B = | 1.164 | 2.017 | 0.000 |
|---|
COEFFICIENT_ITU_R_BT_709_SCALING
Assumes that the luminance signal Y is defined by the equation
Y = 0.2126R + 0.7152G + 0.0722B, that the YUV values fall in the ranges
16≦Y≦235 and
16≦U,V≦240, and that the U and V offsets are 128.
| ( Y - 16 ) | ( U - 128 ) | ( V - 128 ) |
|---|
| R = | 1.164 | 0.000 | 1.793 |
|---|
| G = | 1.164 | -0.213 | -0.533 |
|---|
| B = | 1.164 | 2.112 | 0.000 |
|---|