- •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
pluge: Picture line-up generator, see page 421. ITU-R BT-814.2 standardizes a suitable test pattern. My proce dure involves only the negative pluge bar, and is independent of its excursion. Traditional standards such as SMPTE RP 167 call for setting “so that the darker [negative] patch of the pluge just merges with the reference black level, but the brighter [positive] patch is clearly distinguishable.” In my view the “but” phrase is not properly part of the optimization; instead, it provides a crosscheck after the fact.
Here I use standard digital studio video levels, not computing levels.
See Relative luminance, on page 258, and Display white reference, on page 310. Astonishingly, no current studio standard specifies the luminance of reference white. I suggest 100 nt.
Decreasing brightness leads to a darker image. Ignoring “shadow
detail,” a naïve viewer may find the resulting picture superior!
Black level setting
To set brightness (or black level) in the studio, display a pattern containing pluge (levels -0.02, 0, +0.02) on a test image having average relative luminance of about 0.01 (1%). Set black level high, then reduce it until the -0.02 and 0 pluge levels become just barely indistinguishable. You’re finished.
If you have no pluge pattern, display a picture that is predominantly or entirely black. Set black level to its minimum, then increase its level until the display barely shows a hint of dark grey, then back off a smidge.
Historically, black level setting was somewhat dependent upon ambient light. However, modern displays have such low faceplate reflectance that ambient light contributes very little unwanted luminance, and the black level setting is no longer very sensitive to ambient light. Modern display equipment is very stable; frequent adjustment is unnecessary.
In the end, eight-bit codes 0 through 16 are expected to be indistinguishable. Code 16 (NDDL 0) is supposed to produce luminance that is visually indistinguishable from that of the negative-going bar of pluge (8-bit interface code 12, NDDL -0.02): The positivegoing bar of pluge (8-bit interface code 20,
NDDL +0.02) is expected to be visible.
Once black level is set correctly, contrast can be set to whatever level is appropriate for comfortable viewing, provided that clipping is avoided. In the studio, the contrast control can be used to achieve the desired luminance of reference white, typically around 100 cd·m–2. (Historically, Europe used a somewhat lower reference white luminance, perhaps 80 cd·m–2.)
Effect of contrast and brightness on contrast and brightness
To explore the visual effect of contrast and brightness controls, consider an ideal, properly adjusted 8-bit HD studio display.
Decreasing brightness from its optimum setting causes clipping of video content lying just above reference black. Clipping doesn’t impair contrast ratio per se, but stripping out image content “in the shadows”
56 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
produces obvious artifacts, so we won’t explore decreasing brightness.
Let’s compute the effect of contrast on contrast ratio. Assume a typical studio contrast ratio of 3333 (100 nt white, 0.03 nt black). Decreasing contrast by 20% reduces the white video signal to 0.8, yielding
a relative luminance of 0.585. Increasing contrast by 20% increases the white signal to 1.25, yielding
a relative luminance of 1.71. Starting with a contrast ratio of 3333, adjusting contrast ±20% decreases contrast ratio to about 1950 or increases it to about 5700.
Let’s compute the effect of contrast on “brightness,” as estimated by L*. Adjusting contrast ±20% yields L* ranging from 81 to 118.
To compute the effect of increasing brightness on contrast ratio, increasing brightness by 20% takes the y-intercept of the 2.4-gamma curve of Figure 5.1 from -5 to +3. Reference black code now produces relative luminance of about 0.00332; reference white produces relative luminance of about 1.08. Increasing brightness thus causes contrast ratio to drop from 3333 to
1/0.00332, that is, to 325.
Finally, increasing brightness by +20% causes the reference white signal to increase L* to 103.
Increasing contrast by 20% takes contrast ratio from 3333 to 5700, roughly a factor of 2. Increasing brightness by 20% drops contrast ratio from 3333 to 325, roughly a factor of 10. A 20% change in brightness has much more effect on contrast ratio than a 20% change in contrast.
Increasing brightness by 20% takes L* from 100 to 103, but increasing contrast by 20% takes L* from 100 to 118. The results are summarized in table 5.1:
|
Contrast ratio |
Ref. black L* |
Ref. white L* |
Nominal |
3333 |
0 3 |
100 |
Decrease |
1950 |
0.5 |
81 |
contrast 20% |
|||
Increase |
5700 |
0.2 |
118 |
contrast 20% |
|||
Increase |
325 |
2.8 |
103 |
brightness 20% |
|||
|
|
|
|
Table 5.1 Effect of adjusting contrast and brightness
CHAPTER 5 |
CONTRAST, BRIGHTNESS, contrast, AND brightness |
57 |
|
5000 |
|
|
|
|
5000 |
ratio |
2000 |
|
|
|
|
2000 |
|
|
|
|
|
|
|
Contrast |
1000 |
|
|
|
|
1000 |
500 |
|
|
|
|
500 |
|
|
200 |
20 |
40 |
60 |
80 |
200 |
|
0 |
100 |
0 |
20 |
40 |
60 |
80 |
100 |
|
120 |
|
|
|
|
|
120 |
|
|
|
|
|
|
100 |
|
|
|
|
|
100 |
|
|
|
|
|
L* |
80 |
|
|
|
|
|
80 |
|
|
|
|
|
Lightness, |
|
|
|
|
|
|
|
|
|
|
||
60 |
|
|
|
|
|
60 |
|
|
|
|
|
|
40 |
|
|
|
|
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
20 |
|
|
|
|
|
|
0 |
20 |
40 |
60 |
80 |
100 |
0 |
20 |
40 |
60 |
80 |
100 |
|
0 |
0 |
||||||||||
|
|
|
CONTRAST |
|
|
|
|
BRIGHTNESS |
|
|
||
|
0.5 |
|
|
1 |
|
2.0 |
-0.2 |
-0.1 |
|
0 |
0.1 |
0.2 |
|
|
|
|
m |
|
|
|
|
|
b |
|
|
Figure 5.6 Contrast ratio and lightness (L*) are graphed in the upper and lower pairs, as a function of the m parameter ranging from 0.5 to 2 (with the typical contrast setting 0 to 100) graphed at the left, and the b parameter with a range of ±0.2 (with the typical brightness setting 0 to 100) graphed at the right. The display EOCF underlying these graphs clips at about 109% of the video signal, that is, at a relative luminance of about 1.092.4 or 1.23. The light grey vertical lines indicate the default m = 1, b = 0 (that is, contrast 50 and brightness 50).
|
|
|
|
This numerical example is elaborated by the four |
|
|
|
|
graphs of Figure 5.6, which show the effect on contrast |
|
|
|
|
ratio (at the top) and lightness (L*, at the bottom) of |
|
|
|
|
adjusting contrast (at the left) and brightness (at the |
|
|
|
|
right), with the contrast and brightness scales corre- |
|
|
|
|
sponding to the mappings to m and b of Equation 5.2. |
|
|
|
|
The optimization of contrast ratio by choosing the |
|
|
|
|
appropriate brightness setting is clearly evident in the |
|
|
|
|
peak of the top-right graph. The other three graphs |
|
|
|
|
show saturation (clipping), which for this example is |
|
|
|
|
taken to set in at the studio video level of 109% of |
|
1019− 64 |
|
2.4 |
reference white, corresponding to relative luminance of |
|
|
|
≈ 1.23 |
about 1.23. |
|
||||
|
940− 64 |
|
|
|
From the right-hand halves of the two top graphs it is evident that an adjustment to brightness above its optimum setting causes contrast ratio to decrease at roughly three times the rate that contrast ratio increases when contrast is adjusted (in its nonclipped region):
58 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
Contrast ratio is more responsive to brightness than to contrast. From the bottom graphs, adjusting either contrast or brightness upwards increases the lightness of white (until clipping sets in), but the contrast control is more responsive.
An alternate interpretation
In Figures 5.4 and 5.5, I interpreted the contrast and brightness controls as changing the display’s characteristics for a fixed scale of input pixel values (normalized DDLs). Let’s turn that around, and consider the display characteristic to be a fixed function of display reference values ranging 0 through 1. equation 5.1 implements
a linear operation on the x-axis of figure 5.1. Adjustment of contrast and brightness can be interpreted as scaling and offsetting along that axis.
We can establish a parameter B (accessible to the user as black level) to control the display reference value intended to be produced by NDDL 0, and parameter W (accessible to the user as white level) to control the display reference value intended to be produced by NDDL 1.
Figure 5.7 overleaf shows the new interpretation. The x-axis in Figures 5.4 and 5.5 has been relabelled
Display reference value; underneath that is the Pixel value (normalized DDL) scale. The NDDL scale is now squeezed and offset. The example of Figure 5.5 has black level of 0.1 and white level of 0.9. Black level has been elevated so that NDDL 0 produces an L* value of about 3; white level is set so that NDDL 1 produces an L* value of about 90.
The reparameterized version of Equation 5.1 is this:
y = (W − B) x + B |
Eq 5.3 |
To implement an offset range comparable to a conventional brightness control, and to allow treatment of input signals that have black-level errors, settings for B should have a range of about ±0.2. To be comparable to the gain range of a conventional contrast control, settings for W should extend from 0.5 to 2.0. Most displays will be expected to exhibit clipping at W values greater than about 1.1, and it may be desirable to limit the user setting to such a value.
CHAPTER 5 |
CONTRAST, BRIGHTNESS, contrast, AND brightness |
59 |
|
|
100 |
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
L* |
60 |
|
|
|
|
|
|
|
Lightness, |
|
|
|
|
|
|
|
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
-0.2 |
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1.0 |
1.2 |
|
|
|
|
Display reference value |
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1.0 |
|
|
|
|
|
Pixel value, normalized DDL |
|
|
|
|
Figure 5.7 Black level and white level controls. The display is viewed as having a fixed conversion from display reference values (0 to slightly more than 1) to lightness. Black level and white level controls (indicated by the black and white triangles) set the display values corresponding to normalized interface pixel values 0 and 1. In this example, black level is set to 0.1 and white level to 0.9; m is computed as 0.8 and b as 0.1.
Concerning user adjustment of “poor sources,” consider Poynton’s Fourth Law: Once a program is approved and packaged, errors in mastering are indistinguishable from expressions of creative intent.
For consumer equipment, the black levels of modern source material are quite stable, and user adjustment to compensate for poor sources is no longer required. The diffuse ambient reflectance of modern displays is so low – around 0.01 – that ambient illuminance has
a minor effect on contrast ratio. User adjustment to compensate for ambient light is now rarely necessary. Manufacturers should therefore consider relegating black level to an internal or service adjustment.
In a display, black level is normally used to compensate for the display, not the input signal, and so it should be effected downstream of the gain (contrast) control.
In processing equipment, it is sometimes necessary to correct errors in black level in an input signal while maintaining unity gain: A black level control should be implemented prior to the application of gain (and should not be called brightness). Figures 5.8 and 5.9 plot the transfer functions of contrast and brightness controls in the video signal path, disregarding the typical 2.4-power function of the display.
60 |
DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES |
Figure 5.8 The brightness
(or black level) control in video applies an offset, roughly ±20% of full scale, to R’G’B’ components. Though this function is evidently a straight line, the input and output video signals are normally in the gamma-corrected (perceptual) domain; the values are not proportional to intensity. At the minimum and maximum settings, I show clipping to the BT.601 footroom of -15⁄219 and headroom of 238⁄219. (Light power cannot go negative, but electrical and digital signals can.)
Figure 5.9 The contrast
(or video level) control in video applies a gain factor between roughly 0.5 and 2.0 to R’G’B’ components. The output signal clips if the result would fall outside the range allowed for the coding in use. Here
I show clipping to the BT.601 headroom limit.
1 |
|
|
|
Output |
|
+20% |
|
|
0 |
20% |
|
|
|
||
|
|
|
|
|
|
|
- |
0 |
|
|
|
0 |
|
|
1 |
|
|
|
Input |
1 |
|
|
|
|
x |
2 |
|
Output |
|
|
|
|
x |
1 |
|
|
|
||
|
|
|
|
|
|
|
5 |
|
|
|
. |
|
|
|
0 |
|
|
|
x |
0 |
|
|
|
0 |
|
|
1 |
|
|
|
Input |
CHAPTER 5 |
CONTRAST, BRIGHTNESS, contrast, AND brightness |
61 |
