Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
литература / Digital_Video_and_HD_Second_Edition_Algorithms_and_Interfaces.pdf
Скачиваний:
0
Добавлен:
13.05.2026
Размер:
38.02 Mб
Скачать

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

 

101964

 

2.4

reference white, corresponding to relative luminance of

 

 

 

1.23

about 1.23.

 

 

94064

 

 

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 -15219 and headroom of 238219. (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

Соседние файлы в папке литература