nn::y2r::CTR::StandardCoefficient Enumerated Type

Syntax

enum StandardCoefficient;

Value

Value Description
COEFFICIENT_ITU_R_BT_601 Conversion coefficients for ITU-R BT.601. The input values must be in the range 0<=Y,U,V<=255.
COEFFICIENT_ITU_R_BT_709 Conversion coefficients for ITU-R BT.709. The input values must be in the range 0<=Y,U,V<=255.
COEFFICIENT_ITU_R_BT_601_SCALING Conversion coefficients for ITU-R BT.601. The input values must be in the ranges 16<=Y<=235 and 16<=U,V<=240.
COEFFICIENT_ITU_R_BT_709_SCALING Conversion coefficients for ITU-R BT.709. The input values must be in the ranges 16<=Y<=235 and 16<=U,V<=240.
COEFFICIENT_MAX

Description

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.0000.0001.402
G =1.000-0.344-0.714
B =1.0001.7720.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.0000.0001.575
G =1.000-0.187-0.468
B =1.0001.8560.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.1640.0001.596
G =1.164-0.392-0.813
B =1.1642.0170.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.1640.0001.793
G =1.164-0.213-0.533
B =1.1642.1120.000

Revision History

2010/07/11
Listed the values of each conversion coefficient and the range of their input values.
2010/01/07
Initial version.

CONFIDENTIAL