- •Contents
- •Figures
- •Tables
- •Preface
- •Acknowledgments
- •1. Raster images
- •Aspect ratio
- •Geometry
- •Image capture
- •Digitization
- •Perceptual uniformity
- •Colour
- •Luma and colour difference components
- •Digital image representation
- •Square sampling
- •Comparison of aspect ratios
- •Aspect ratio
- •Frame rates
- •Image state
- •EOCF standards
- •Entertainment programming
- •Acquisition
- •Consumer origination
- •Consumer electronics (CE) display
- •Contrast
- •Contrast ratio
- •Perceptual uniformity
- •The “code 100” problem and nonlinear image coding
- •Linear and nonlinear
- •4. Quantization
- •Linearity
- •Decibels
- •Noise, signal, sensitivity
- •Quantization error
- •Full-swing
- •Studio-swing (footroom and headroom)
- •Interface offset
- •Processing coding
- •Two’s complement wrap-around
- •Perceptual attributes
- •History of display signal processing
- •Digital driving levels
- •Relationship between signal and lightness
- •Algorithm
- •Black level setting
- •Effect of contrast and brightness on contrast and brightness
- •An alternate interpretation
- •Brightness and contrast controls in LCDs
- •Brightness and contrast controls in PDPs
- •Brightness and contrast controls in desktop graphics
- •Symbolic image description
- •Raster images
- •Conversion among types
- •Image files
- •“Resolution” in computer graphics
- •7. Image structure
- •Image reconstruction
- •Sampling aperture
- •Spot profile
- •Box distribution
- •Gaussian distribution
- •8. Raster scanning
- •Flicker, refresh rate, and frame rate
- •Introduction to scanning
- •Scanning parameters
- •Interlaced format
- •Interlace and progressive
- •Scanning notation
- •Motion portrayal
- •Segmented-frame (24PsF)
- •Video system taxonomy
- •Conversion among systems
- •9. Resolution
- •Magnitude frequency response and bandwidth
- •Visual acuity
- •Viewing distance and angle
- •Kell effect
- •Resolution
- •Resolution in video
- •Viewing distance
- •Interlace revisited
- •10. Constant luminance
- •The principle of constant luminance
- •Compensating for the CRT
- •Departure from constant luminance
- •Luma
- •“Leakage” of luminance into chroma
- •11. Picture rendering
- •Surround effect
- •Tone scale alteration
- •Incorporation of rendering
- •Rendering in desktop computing
- •Luma
- •Sloppy use of the term luminance
- •Colour difference coding (chroma)
- •Chroma subsampling
- •Chroma subsampling notation
- •Chroma subsampling filters
- •Chroma in composite NTSC and PAL
- •Scanning standards
- •Widescreen (16:9) SD
- •Square and nonsquare sampling
- •Resampling
- •NTSC and PAL encoding
- •NTSC and PAL decoding
- •S-video interface
- •Frequency interleaving
- •Composite analog SD
- •15. Introduction to HD
- •HD scanning
- •Colour coding for BT.709 HD
- •Data compression
- •Image compression
- •Lossy compression
- •JPEG
- •Motion-JPEG
- •JPEG 2000
- •Mezzanine compression
- •MPEG
- •Picture coding types (I, P, B)
- •Reordering
- •MPEG-1
- •MPEG-2
- •Other MPEGs
- •MPEG IMX
- •MPEG-4
- •AVC-Intra
- •WM9, WM10, VC-1 codecs
- •Compression for CE acquisition
- •AVCHD
- •Compression for IP transport to consumers
- •VP8 (“WebM”) codec
- •Dirac (basic)
- •17. Streams and files
- •Historical overview
- •Physical layer
- •Stream interfaces
- •IEEE 1394 (FireWire, i.LINK)
- •HTTP live streaming (HLS)
- •18. Metadata
- •Metadata Example 1: CD-DA
- •Metadata Example 2: .yuv files
- •Metadata Example 3: RFF
- •Metadata Example 4: JPEG/JFIF
- •Metadata Example 5: Sequence display extension
- •Conclusions
- •19. Stereoscopic (“3-D”) video
- •Acquisition
- •S3D display
- •Anaglyph
- •Temporal multiplexing
- •Polarization
- •Wavelength multiplexing (Infitec/Dolby)
- •Autostereoscopic displays
- •Parallax barrier display
- •Lenticular display
- •Recording and compression
- •Consumer interface and display
- •Ghosting
- •Vergence and accommodation
- •20. Filtering and sampling
- •Sampling theorem
- •Sampling at exactly 0.5fS
- •Magnitude frequency response
- •Magnitude frequency response of a boxcar
- •The sinc weighting function
- •Frequency response of point sampling
- •Fourier transform pairs
- •Analog filters
- •Digital filters
- •Impulse response
- •Finite impulse response (FIR) filters
- •Physical realizability of a filter
- •Phase response (group delay)
- •Infinite impulse response (IIR) filters
- •Lowpass filter
- •Digital filter design
- •Reconstruction
- •Reconstruction close to 0.5fS
- •“(sin x)/x” correction
- •Further reading
- •2:1 downsampling
- •Oversampling
- •Interpolation
- •Lagrange interpolation
- •Lagrange interpolation as filtering
- •Polyphase interpolators
- •Polyphase taps and phases
- •Implementing polyphase interpolators
- •Decimation
- •Lowpass filtering in decimation
- •Spatial frequency domain
- •Comb filtering
- •Spatial filtering
- •Image presampling filters
- •Image reconstruction filters
- •Spatial (2-D) oversampling
- •Retina
- •Adaptation
- •Contrast sensitivity
- •Contrast sensitivity function (CSF)
- •24. Luminance and lightness
- •Radiance, intensity
- •Luminance
- •Relative luminance
- •Luminance from red, green, and blue
- •Lightness (CIE L*)
- •Fundamentals of vision
- •Definitions
- •Spectral power distribution (SPD) and tristimulus
- •Spectral constraints
- •CIE XYZ tristimulus
- •CIE [x, y] chromaticity
- •Blackbody radiation
- •Colour temperature
- •White
- •Chromatic adaptation
- •Perceptually uniform colour spaces
- •CIE L*a*b* (CIELAB)
- •CIE L*u*v* and CIE L*a*b* summary
- •Colour specification and colour image coding
- •Further reading
- •Additive reproduction (RGB)
- •Characterization of RGB primaries
- •BT.709 primaries
- •Leggacy SD primaries
- •sRGB system
- •SMPTE Free Scale (FS) primaries
- •AMPAS ACES primaries
- •SMPTE/DCI P3 primaries
- •CMFs and SPDs
- •Normalization and scaling
- •Luminance coefficients
- •Transformations between RGB and CIE XYZ
- •Noise due to matrixing
- •Transforms among RGB systems
- •Camera white reference
- •Display white reference
- •Gamut
- •Wide-gamut reproduction
- •Free Scale Gamut, Free Scale Log (FS-Gamut, FS-Log)
- •Further reading
- •27. Gamma
- •Gamma in CRT physics
- •The amazing coincidence!
- •Gamma in video
- •Opto-electronic conversion functions (OECFs)
- •BT.709 OECF
- •SMPTE 240M OECF
- •sRGB transfer function
- •Transfer functions in SD
- •Bit depth requirements
- •Gamma in modern display devices
- •Estimating gamma
- •Gamma in video, CGI, and Macintosh
- •Gamma in computer graphics
- •Gamma in pseudocolour
- •Limitations of 8-bit linear coding
- •Linear and nonlinear coding in CGI
- •Colour acuity
- •RGB and R’G’B’ colour cubes
- •Conventional luma/colour difference coding
- •Luminance and luma notation
- •Nonlinear red, green, blue (R’G’B’)
- •BT.601 luma
- •BT.709 luma
- •Chroma subsampling, revisited
- •Luma/colour difference summary
- •SD and HD luma chaos
- •Luma/colour difference component sets
- •B’-Y’, R’-Y’ components for SD
- •PBPR components for SD
- •CBCR components for SD
- •Y’CBCR from studio RGB
- •Y’CBCR from computer RGB
- •“Full-swing” Y’CBCR
- •Y’UV, Y’IQ confusion
- •B’-Y’, R’-Y’ components for BT.709 HD
- •PBPR components for BT.709 HD
- •CBCR components for BT.709 HD
- •CBCR components for xvYCC
- •Y’CBCR from studio RGB
- •Y’CBCR from computer RGB
- •Conversions between HD and SD
- •Colour coding standards
- •31. Video signal processing
- •Edge treatment
- •Transition samples
- •Picture lines
- •Choice of SAL and SPW parameters
- •Video levels
- •Setup (pedestal)
- •BT.601 to computing
- •Enhancement
- •Median filtering
- •Coring
- •Chroma transition improvement (CTI)
- •Mixing and keying
- •Field rate
- •Line rate
- •Sound subcarrier
- •Addition of composite colour
- •NTSC colour subcarrier
- •576i PAL colour subcarrier
- •4fSC sampling
- •Common sampling rate
- •Numerology of HD scanning
- •Audio rates
- •33. Timecode
- •Introduction
- •Dropframe timecode
- •Editing
- •Linear timecode (LTC)
- •Vertical interval timecode (VITC)
- •Timecode structure
- •Further reading
- •34. 2-3 pulldown
- •2-3-3-2 pulldown
- •Conversion of film to different frame rates
- •Native 24 Hz coding
- •Conversion to other rates
- •Spatial domain
- •Vertical-temporal domain
- •Motion adaptivity
- •Further reading
- •36. Colourbars
- •SD colourbars
- •SD colourbar notation
- •Pluge element
- •Composite decoder adjustment using colourbars
- •-I, +Q, and Pluge elements in SD colourbars
- •HD colourbars
- •References
- •38. SDI and HD-SDI interfaces
- •Component digital SD interface (BT.601)
- •Serial digital interface (SDI)
- •Component digital HD-SDI
- •SDI and HD-SDI sync, TRS, and ancillary data
- •Analog sync and digital/analog timing relationships
- •Ancillary data
- •SDI coding
- •HD-SDI coding
- •Interfaces for compressed video
- •SDTI
- •Switching and mixing
- •Timing in digital facilities
- •Summary of digital interfaces
- •39. 480i component video
- •Frame rate
- •Interlace
- •Line sync
- •Field/frame sync
- •R’G’B’ EOCF and primaries
- •Luma (Y’)
- •Picture center, aspect ratio, and blanking
- •Halfline blanking
- •Component digital 4:2:2 interface
- •Component analog R’G’B’ interface
- •Component analog Y’PBPR interface, EBU N10
- •Component analog Y’PBPR interface, industry standard
- •40. 576i component video
- •Frame rate
- •Interlace
- •Line sync
- •Analog field/frame sync
- •R’G’B’ EOCF and primaries
- •Luma (Y’)
- •Picture center, aspect ratio, and blanking
- •Component digital 4:2:2 interface
- •Component analog 576i interface
- •Scanning
- •Analog sync
- •Picture center, aspect ratio, and blanking
- •R’G’B’ EOCF and primaries
- •Luma (Y’)
- •Component digital 4:2:2 interface
- •Scanning
- •Analog sync
- •Picture center, aspect ratio, and blanking
- •R’G’B’ EOCF and primaries
- •Luma (Y’)
- •Component digital 4:2:2 interface
- •43. HD videotape
- •HDCAM (D-11)
- •DVCPRO HD (D-12)
- •HDCAM SR (D-16)
- •JPEG blocks and MCUs
- •JPEG block diagram
- •Level shifting
- •Discrete cosine transform (DCT)
- •JPEG encoding example
- •JPEG decoding
- •Compression ratio control
- •JPEG/JFIF
- •Motion-JPEG (M-JPEG)
- •Further reading
- •46. DV compression
- •DV chroma subsampling
- •DV frame/field modes
- •Picture-in-shuttle in DV
- •DV overflow scheme
- •DV quantization
- •DV digital interface (DIF)
- •Consumer DV recording
- •Professional DV variants
- •47. MPEG-2 video compression
- •MPEG-2 profiles and levels
- •Picture structure
- •Frame rate and 2-3 pulldown in MPEG
- •Luma and chroma sampling structures
- •Macroblocks
- •Picture coding types – I, P, B
- •Prediction
- •Motion vectors (MVs)
- •Coding of a block
- •Frame and field DCT types
- •Zigzag and VLE
- •Refresh
- •Motion estimation
- •Rate control and buffer management
- •Bitstream syntax
- •Transport
- •Further reading
- •48. H.264 video compression
- •Algorithmic features, profiles, and levels
- •Baseline and extended profiles
- •High profiles
- •Hierarchy
- •Multiple reference pictures
- •Slices
- •Spatial intra prediction
- •Flexible motion compensation
- •Quarter-pel motion-compensated interpolation
- •Weighting and offsetting of MC prediction
- •16-bit integer transform
- •Quantizer
- •Variable-length coding
- •Context adaptivity
- •CABAC
- •Deblocking filter
- •Buffer control
- •Scalable video coding (SVC)
- •Multiview video coding (MVC)
- •AVC-Intra
- •Further reading
- •49. VP8 compression
- •Algorithmic features
- •Further reading
- •Elementary stream (ES)
- •Packetized elementary stream (PES)
- •MPEG-2 program stream
- •MPEG-2 transport stream
- •System clock
- •Further reading
- •Japan
- •United States
- •ATSC modulation
- •Europe
- •Further reading
- •Appendices
- •Cement vs. concrete
- •True CIE luminance
- •The misinterpretation of luminance
- •The enshrining of luma
- •Colour difference scale factors
- •Conclusion: A plea
- •Radiometry
- •Photometry
- •Light level examples
- •Image science
- •Units
- •Further reading
- •Glossary
- •Index
- •About the author
Owing to the dependence of the optimum end-to-end power function upon viewing conditions, there here ought to be a user control for rendering intent – perhaps even replacing brightness and contrast – but there isn’t!
the display primaries must be the same as – or at least very similar to – the interchange primaries.
The transfer functions of the decoder (or the CRT) are intertwined with gamma correction. As explained on page 115, an end-to-end power function having an exponent of about 1.2 is appropriate for typical television acquired at studio lighting levels and viewed at 100 nt in a dim surround. The encoder of Figure 28.8 imposes a 0.5-power function; the decoder of
Figure 28.9 imposes a 2.4-power function. The product of these implements the end-to-end power function. If the native EOCF of a display device differs from that of a CRT, then decoding should include a transfer function that is the composition of a 2.4-power function and the inverse transfer function of the display device.
When viewing a rather bright display (say 320 nt) in an average surround (say 20%), a 1.1 end-to-end power is appropriate; a 2.2-power EOCF (like that of sRGB) is appropriate. When viewing in a dark (0%) surround,
a 1.3 end-to-end power is appropriate; a 2.6-power EOCF (like that of digital cinema) is appropriate.
If the display primaries match the interchange primaries, the decoder’s 3× 3 tristimulus matrix is not needed. If a display has primaries not too different from the interchange primaries, then it may be possible to compensate the primaries by applying a 3× 3 matrix in the nonlinear domain. But if the primaries are quite different, it will be necessary to apply the transform between primaries in the tristimulus domain; see Transforms among RGB systems, on page 309.
|
|
|
|
640 |
|
|
|
|
|
|
|
|
|
|
|
||||||
|
601Y’CBCR |
720 |
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
1920 |
|||||||||
|
|
|
|
|
|
|
|||||||||||||||
480 |
|
|
SD |
|
|
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
709Y’CBCR |
HD |
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
1080 |
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||
Figure 28.10 Luma/colour difference flavors
SD and HD luma chaos
Although the concepts of Y’PBPR and Y’CBCR coding are identical in SD and HD, the BT.709 standard established a new set of luma coefficients for HD. That set differs dramatically from the luma coefficients for SD specified in BT.601. There are now two flavors of Y’CBCR coding, as suggested by Figure 28.10 in the margin;
I denote the flavors 601Y’CBCR for SD, and 709Y’CBCR for HD. Similarly, there are two flavors of Y’PBPR for analog systems, 601Y’PBPR for SD, and 709Y’PBPR for HD.
In my view, it is extremely unfortunate that different coding was adopted: Image coding and decoding now depend on whether the picture is small (conventional
350 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
It’s sensible to use the term colourbar test signal (or pattern) instead of colourbar test image, because the signal is standardized, not the image.
System |
Luma |
EOCF |
Primary |
coefficients |
chromaticities |
||
|
|
|
|
SD 480i |
BT.601 |
unspecified |
SMPTE RP 145 |
SD 576i |
BT.601 |
unspecified |
EBUTech. 3213 |
HD 720p, |
BT.709 |
BT.1886 |
BT.709 |
1080i, |
|
|
|
1080p |
|
|
|
|
|
|
|
Table 28.1 luma coefficients, EOCF, and primary chromaticities for video decoding and display circa 2011 are summarized. Encoding in all systems should be accomplished through forming R’G’B’ values that yield the intended image appearance in the reference display and viewing conditions. For SD, there is no effective standard for either the reference EOCF or the viewing conditions. For HD, BT.1886 standardizes the reference EOCF, but not the viewing conditions.
video, SD) or large (HD); that dependence erodes the highly useful concept of resolution-independent production in the Y’CBCR 4:2:2 and 4:2:0 domains. In my opinion, HD should have been standardized with the BT.601 luma coefficients. With things as they stand, the smorgasbord of colour-encoding parameters makes accurate image interchange extremely difficult. The situation is likely to get worse with time, not better.
Table 28.1 above summarizes the standards for primary chromaticities, transfer functions, and luma coefficients that are either implicit or explicit in several SD and HD standards. When video is converted among these standards, appropriate processing should be performed in order to preserve the intended colour.
The colourbar test signal is standardized in the R’G’B’ domain, without any reference to primaries, transfer function, or luma coefficients. The colours of the bars depend upon which primary chromaticities are in use; the luma and colour difference levels of the bars depend upon which luma coefficients are in use. When colour conversions and standards conversions are properly performed, the colours and levels of the colourbar test signal will change!
CHAPTER 28 |
LUMA AND COLOUR DIFFERENCES |
351 |
Luma/colour difference component sets
These colour difference component sets, all based upon B’-Y’ and R’-Y’, are in use:
•Y’PBPR coding is used in component analog video; PB and PR are scaled to have excursion nominally identical to that of luma. Y’PBPR can be potentially based upon either BT.601 (for SD) or BT.709 (for HD). In 480i29.97
SD, three different analog interface standards are in use: EBU N10 “SMPTE,” Sony, and Panasonic.
•Y’CBCR coding is used for component digital video; CB and CR are scaled to have excursion 224⁄219 that of luma. A “full-range” variant is used in JPEG/JFIF. Y’CBCR
can be potentially based upon BT.601 or BT.709 luma coefficients.
In Chapter 5, NTSC and PAL Chroma modulation, of Composite NTSC and PAL: Legacy Video Systems, I detail two additional component sets, now obsolete, whose proper use was limited to composite SD NTSC and PAL:
•Y’UV components are only applicable to composite NTSC and PAL systems. B’-Y’ and R’-Y’ are scaled so as to limit the excursion of the composite (luma plus modulated chroma) signal. Y’UV coding is always based upon BT.601 luma coefficients.
•Y’IQ components were historically used in composite NTSC systems from 1953 to about 1970. UV components were rotated 33°, and axis-exchanged, to enable wideband-I transmission. This obsolete technique has not been practiced since about 1970. Y’IQ coding was always based upon the luma coefficients now documented in BT.601.
The bewildering set of scale factors and luma coefficients in use is set out in Table 28.2A opposite for analog SD, Table 28.2B overleaf for digital SD and computing systems, and Table 28.2C for analog and digital HD. The following two chapters detail component colour coding for SD and HD, respectively.
352 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
System |
Notation |
Colour difference scaling |
||
|
|
|
|
|
1 Component analog video, 480i |
601Y’ |
P P , |
The EBU N10 standard calls for 7:3 picture- |
|
(EIA/CEA-770 and “SMPTE”) and |
700 |
145 |
B R |
to-sync ratio, 700 mV luma excursion with |
576i EBU N10; also, 480i |
601Y’ |
P P |
zero setup. PB and PR components are |
|
Panasonic M-II, zero setup |
700 |
EBU B R |
scaled individually to range ±350 mV, an |
|
(Japan)a |
|
|
|
excursion identical to luma. |
2 Component analog video, 480i |
601 |
|
|
Sony de facto standards call for 10:4 |
Sony, 7.5% setupa |
661Y’145PBPR |
picture-to-sync ratio, 7.5% setup, and |
||
|
|
|
|
black-to-white luma excursion of |
|
|
|
|
approximately 661 mV. PB and PR |
|
|
|
|
components are scaled individually to |
|
|
|
|
range 4⁄ times ±350 mV, that is, |
|
|
|
|
3 |
|
|
|
|
±4662⁄3 mV. |
3 Component analog video, 480i |
601 |
|
|
Sony de facto standards call for 10:4 |
Sony, zero setup (Japan)a |
714Y’145PBPR |
picture-to-sync ratio, zero setup, and |
||
|
|
|
|
black-to-white luma excursion of |
|
|
|
|
approximately 714 mV. PB and PR |
|
|
|
|
components are scaled individually to |
|
|
|
|
range 4⁄ times ±350 mV, that is, |
|
|
|
|
3 |
|
|
|
|
±4662⁄3 mV. |
4 Component analog video, 480i |
601 |
|
|
Panasonic de facto standards call for 7:3 |
Panasonic, 7.5% setupa |
647Y’145PBPR |
picture-to-sync ratio, 7.5% setup, and |
||
|
|
|
|
black-to-white luma excursion of |
|
|
|
|
approximately 647.5 mV. PB and PR |
|
|
|
|
components are scaled individually to |
|
|
|
|
range 37⁄40 times ±350 mV, that is, |
|
|
|
|
±323.75 mV. |
5 Composite analog NTSC, PAL |
various, typ. |
U and V are scaled to meet a joint |
||
video (incl. S-video) |
601Y’ |
UV, |
constraint: Scaling is such that peak |
|
|
700 |
EBU |
composite video – luma plus modulated |
|
|
601Y’ |
|
||
|
IQ, |
chroma – is limited to 4⁄3 of the blanking- |
||
|
714 |
145 |
|
to-white excursion. Rotation and exchange |
|
761041Y’145UV |
|||
|
of axes (e.g., I and Q) cannot be |
|||
|
|
|
|
distinguished after analog encoding. There |
is no standard component interface.
Table 28.2A Colour difference systems for analog SD. The EBU N10 levels indicated in the shaded (first) row are sensible but unpopular. Designers of 480i SD studio equipment were forced to implement configuration settings for three interface “standards”: EBU N10 (“SMPTE”), Sony, and Panasonic.
aThe component analog interface for consumer equipment (such as DVD players) is properly
scaled Y’PBPR, according to EIA/CEA-770.2 (cited on page 454). Some consumer equipment
was engineered and deployed with incorrect Y’PBPR scaling. Certain consumer devices have rear-panel connectors labelled Y, B-Y, R-Y, or YUV; these designations are plainly wrong.
CHAPTER 28 |
LUMA AND COLOUR DIFFERENCES |
353 |
System |
Notation |
Colour difference scaling |
|||
|
|
|
|||
6 Component digital video: 4:2:0, |
601 |
BT.601 calls for luma range 0…219, offset |
|||
4:1:1, BT.601 4:2:2 |
219Y’145CBCR |
+16 at the interface. C |
and C are scaled |
||
(incl. M-JPEG, MPEG, DVD, |
|
|
|
B |
R |
|
individually to range ±112, an excursion |
||||
DVC) |
|
224⁄219 of luma, offset +128 at the |
|||
|
|
interface. Codes 0 and 255 are prohibited. |
|||
7 Component digital stillframe |
601 |
There is no comprehensive standard. Luma |
|||
JPEG (incl. JFIF 1.02), typical |
255Y’709CBCR |
reference range is typically 0 through 255. |
|||
desktop publishing and the web. |
|
CB and CR are typically scaled individually |
|||
Transfer functions vary; see the |
|
to a “full-swing” of ±128, an excursion |
|||
marginal note on page 335. |
|
256⁄ |
255 |
that of luma. C |
and C codes +128 |
|
|
|
B |
R |
|
are clipped; fully saturated blue and fully saturated red cannot be represented.
Table 28.2B Colour difference systems for digital SD and computing. The scaling indicated in the first row is recommended. For details of obsolete SD systems, see the table Colour difference systems for analog composite SD and digital 4fSC SD, in Chapter 14 of Composite NTSC and PAL: Legacy Video Systems. (Row numbering here is discontinuous so as to mesh with that table.)
|
System |
Notation |
|
Colour difference scaling |
|
|
|
|
|
|
|
11 |
Component analog HD |
709 |
|
7:3 picture-to-sync ratio, 700 mV luma |
|
|
|
700Y’709PBPR |
excursion with zero setup. P |
and P |
|
|
|
|
|
B |
R |
|
|
|
|
components are scaled individually to |
|
|
|
|
|
range ±350 mV, an excursion identical to |
|
|
|
|
|
luma. |
|
12 |
Component digital HD |
709 |
|
BT.709 calls for luma range 0…219, offset |
|
|
(BT.709/BT.1886) |
219Y’709CBCR |
+16 at the interface. C and C are scaled |
||
|
|
|
|
B |
R |
|
|
|
|
individually to range ±112, an excursion |
|
|
|
|
|
224⁄219 of luma, offset +128 at the |
|
|
|
|
|
interface. Codes 0 and 255 are prohibited. |
|
13 |
Component digital HD (xvYCC) |
xvYCCY’ |
C C |
xvYCC Y’CBCR is identical to BT.709 |
|
|
|
2219 709 |
B R |
Y’C C , except that some codewords |
|
B R
outside the R’G’B’ unit cube represent wide-gamut colours.
Table 28.2C Colour difference systems for HD. The luma coefficient set for HD differs significantly from that of SD.
354 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
Part 3
Practical matters
29Component video colour coding for SD 357
30Component video colour coding for HD 369
31Video signal processing 377
32Frame, field, line, and sample rates 389
33Timecode 399
342-3 pulldown 405
35Deinterlacing 413
36Colourbars 419
This page intentionally left blank
Video uses the symbols U and V to represent certain colour difference components. The CIE defines the pairs [u, v], [u’, v’], and [u*, v*]. All of these pairs represent chromatic or chroma information, but they are all numerically and functionally different. Video [U, V] components are neither directly based upon, nor superseded by, any of the CIE colour spaces.
Component video
colour coding for SD |
29 |
Various scale factors are applied to the basic colour difference components B’-Y’ and R’-Y’ for different applications. In the previous chapter, I introduced luma and colour difference coding; in this chapter, I will detail the following coding systems:
•B’-Y’, R’-Y’ components form the numerical basis for all the other component sets; otherwise, they are not directly used.
•PBPR components are used for component analog video (including analog interfaces in devices such as
DVD players and set-top boxes).
•CBCR components as defined in BT.601 and BT.709 are used for component digital video, including studio
video, DV, MPEG, and H.264.
•“Full-swing” (or “full-range”) CBCR components are used in JPEG/JFIF.
•UV components are used for composite NTSC or PAL, as described in UV components, in Chapter 5 of
Composite NTSC and PAL: Legacy Video Systems.
•IQ components were historically used for composite NTSC until about 1970, as described in Chapter 4, NTSC Y’IQ system, of Composite NTSC and PAL: Legacy Video Systems.
Y’UV and Y’IQ are intermediate quantities toward the formation of composite NTSC, PAL, and S-video. Neither Y’UV nor Y’IQ has a standard component interface, and neither is appropriate when the components are kept separate. Unfortunately, the Y’UV nomenclature has come to be used rather loosely, and some people use Y’UV to denote any scaling of B’-Y’ and R’-Y’.
357
For a discussion of primary chromaticities, see page 290.
The coding systems described in this chapter can be applied to various RGB primary sets – EBU 3213, SMPTE RP 145 (or potentially even BT.709). BT.601 does not specify primary chromaticities: SMPTE RP 145 primaries are implicit in 480i SD, and EBU 3213 primaries are implicit in 576i SD. However, virtually all of modern consumer receivers interpret content – whether SD or HD – according to BT.709 primaries. As I write, program content created in North America is mastered with SMPTE primaries (contrary to the spirit and letter of ITU-R, SMPTE, and ATSC standards) and content created in Europe is mastered to EBU primaries. However, all of this content is displayed in the consumer domain using BT.709 primaries. We look forward to the day when content creators actually master using the BT.709 colour space.
The equations for [Y’, B’-Y’, R’-Y’], Y’PBPR, and Y’CBCR can be based upon either the BT.601 luma coefficients of SD or the BT.709 coefficients of HD. The equations and figures of this chapter are based upon the BT.601 coefficients. Unfortunately, the luma coefficients that have been standardized for HD are different from those of BT.601. Concerning the HD luma coefficients, see BT.709 luma on page 346; for details of HD colour difference components, see the following chapter, Component video colour coding for HD, on page 369.
Chroma components are properly ordered B’-Y’ then R’-Y’; or PB then PR; or CB then CR. Blue associates with U, and red with V; U and V are ordered alphabetically. The subscripts in CBCR and PBPR are often written in lowercase. In my opinion, this compromises readability, so I write them in uppercase. The B in CB serves as a tag, not a variable, so I set it in Roman type (that is, upright, not italic). Authors with great attention to detail sometimes “prime” CBCR and PBPR to indicate their nonlinear origin, but no standard or deployed image coding system has employed linear-light colour differences, nor would that be sensible for perceptual reasons, so I omit the primes.
358 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
