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

Figures

 

Preface

P.1

Scanning a raster

xxxvii

 

 

 

 

 

Part 1 – Introduction

1

 

 

 

 

 

1

Raster images

1.1

Pixel arrays

3

 

 

 

 

 

 

 

 

1.2

Aspect ratio

4

 

 

 

 

 

 

 

1.3

The choice of 16:9 aspect ratio

5

 

 

1.4

Cartesian coordinates

6

 

 

 

 

 

1.5

Scene, lens, image plane

7

 

 

 

 

1.6

Digitization

7

 

 

 

 

 

 

 

1.7

Audio taper

8

 

 

 

 

 

 

 

1.8

Grey paint samples 9

 

 

 

 

 

 

1.9

Comparison of aspect ratios

15

 

 

 

1.10

SD to HD pixel mapping

16

 

 

 

1.11

Aspect ratio changes

16

 

 

 

 

 

1.12

When centre-cut

16

 

 

 

 

 

 

1.13

Pan-and-scan 17

 

 

 

 

 

 

1.14

Letterbox format

17

 

 

 

 

 

 

1.15

Pillarbox format

17

 

 

 

 

 

 

1.16

Squeeze to 3/4

17

 

 

 

 

 

 

1.17

A normal image

17

 

 

 

 

 

 

1.18

Stretch to 4/

3

17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

Image acquisition and

2.1

Image acquisition

19

 

 

 

 

 

presentation

2.2

Colour as a dramatic device

21

 

 

 

2.3

Image approval

22

 

 

 

 

 

 

2.4

Stages of production

23

 

 

 

 

 

2.5

Consumer origination

25

 

 

 

3

Linear-light and

3.1

The ITU-R BT.815 pattern

 

30

 

 

perceptual uniformity

3.2

A contrast sensitivity test pattern

31

xxi

 

 

3.3

The “code 100” problem

31

 

 

 

 

3.4

The “code 100” problem is mitigated

31

 

 

3.5

A greyscale ramp 35

 

 

 

 

 

 

3.6

A greyscale ramp, augmented

35

 

4

Quantization

4.1

A Quantizer transfer function

37

 

 

 

4.2

Peak-to-peak, peak, and RMS values

40

 

 

4.3

Full-swing 8-bit quantization

42

 

 

 

4.4

Footroom and headroom

42

 

 

 

 

4.5

A Mid-tread quantizer for CB and CR

46

5

Contrast, brightness,

5.1

Relationship between pixel value and L* 52

 

contrast, and

5.2

Effect of gain control

53

 

 

 

 

brightness

5.3

Effect of offset control

53

 

 

 

 

5.4

Effect of gain control

55

 

 

 

 

 

5.5

Effect of offset control

55

 

 

 

 

5.6

Contrast ratio and lightness (L*) 58

 

 

 

5.7

Black level and white level controls

60

5.8The brightness (or black level) control in video 61

5.9The contrast (or video level) control in video 61

 

 

5.10

The brightness control in Photoshop

63

 

 

5.11

The contrast control in Photoshop

63

 

 

5.12

Photoshop contrast control’s gain factor 64

6

Raster images

6.1

Raster image data

66

 

 

 

 

in computing

6.2

Truecolour (24-bit) graphics

69

 

 

 

6.3

Pseudocolour (8-bit) graphics

71

 

7

Image structure

7.1

“Box” reconstruction

76

 

 

 

 

 

7.2

Gaussian reconstruction

76

 

 

 

 

7.3

Diagonal line reconstruction

77

 

 

 

7.4

Contone image reconstruction 77

 

 

 

7.5

One frame of an animated sequence

78

 

 

7.6

A Moiré pattern

78

 

 

 

 

 

 

7.7

Bitmapped graphic image, rotated 79

 

 

7.8

Gaussian spot size

81

 

 

 

8

Raster scanning

8.1

A dual-bladed shutter

84

 

 

 

 

8.2

Blanking intervals

85

 

 

 

 

 

 

8.3

The Production aperture

87

 

 

 

 

8.4

The Clean aperture 87

 

 

 

 

 

8.5

Interlaced format

88

 

 

 

 

xxii

DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES

 

 

8.6

Twitter

89

 

 

 

 

 

 

 

 

8.7

Horizontal and vertical drive 90

 

 

 

8.8

Progressive and interlaced scanning 91

 

 

 

8.9

Modern image format notation

92

 

9

Resolution

9.1

Magnitude frequency response

98

 

 

 

9.2

Snellen chart

99

 

 

 

 

 

 

9.3

The astronomers’ rule of thumb

100

 

 

 

9.4

The viewing distance

101

 

 

 

 

9.5

The picture angle

101

 

 

 

 

9.6

Picture height

101

 

 

 

 

 

9.7

A Resolution wedge

104

 

 

10

Constant luminance

10.1

Formation of relative luminance

108

 

 

 

10.2

Hypothetical chroma components (linear-

 

 

 

 

light)

109

 

 

 

 

 

 

 

 

10.3

Encoding nonlinearly coded relative

 

 

 

 

luminance

109

 

 

 

 

 

 

10.4

Decoding nonlinearly coded relative

 

 

 

 

luminance

109

 

 

 

 

 

 

10.5

The CRT transfer function 110

 

 

 

 

10.6

Compensating the CRT transfer function

110

 

 

10.7

Rearranged decoder

110

 

 

 

 

10.8

Simplified decoder

111

 

 

 

 

10.9

Rearranged encoder

111

 

 

 

 

10.10

Chroma components

112

 

 

 

 

10.11

Subsampled chroma components 112

 

 

 

10.12

Y’ and CB/CR waveforms at the green-magenta

 

 

 

transition

113

 

 

 

 

 

 

10.13

Luminance waveform at the green-magenta

 

 

 

transition

113

 

 

 

 

 

 

10.14

Failure to adhere to constant luminance

113

11

Picture rendering

11.1

Surround effect

116

 

 

 

 

 

11.2

Imposition of picture rendering at decoder,

 

 

 

hypothetical

118

 

 

 

 

 

11.3

Imposition of picture rendering at encoder 118

12

Introduction to luma

12.1

Chroma subsampling

124

 

 

 

and chroma

12.3

Chroma subsampling notation

125

 

 

 

12.2

Subsampling schemes

126

 

 

 

 

12.4

An Interstitial chroma filter for JPEG/JFIF

127

 

 

12.5

A cosited chroma filter for BT.601, 4:2:2

127

 

 

12.6

A cosited chroma filter for MPEG-2, 4:2:0

127

xxiii

13

Introduction to

13.1

SD digital video rasters

130

 

 

 

 

 

component SD

13.2

SD sample rates

131

 

 

 

 

 

 

 

13.3

Interlacing in 480i

132

 

 

 

 

 

 

13.4

Interlacing in 576i

132

 

 

 

 

 

 

13.5

Interlacing in MPEG-2

132

 

 

 

 

14

Introduction to

14.1

NTSC chroma modulation and frequency

 

 

composite NTSC and

 

interleaving

138

 

 

 

 

 

 

 

PAL

14.2

The S-video interface

139

 

 

 

 

15

Introduction to HD

15.1

HD rasters at 30 and 60 frames per second

142

 

 

15.2

HD rasters at 24 Hz and 25 Hz

144

 

 

16

Introduction to video

16.1

Interpicture coding

152

 

 

 

 

 

compression

 

 

 

 

 

 

 

 

 

 

 

 

 

16.3

An MPEG P-picture

154

 

 

 

 

 

 

16.4

An MPEG B-picture

155

 

 

 

 

 

 

16.5

The three-level MPEG picture hierarchy 155

 

 

16.6

Example GoP

156

 

 

 

 

 

 

 

 

16.7

Example 9-picture GoP without B-pictures

156

 

 

16.8

GoP reordered for transmission

157

 

 

 

 

Part 2 – Theory

189

 

 

 

 

 

 

 

 

20

Filtering and sampling

20.1

Cosine waves less than and greater than

 

 

 

 

0.5fS

192

 

 

 

 

 

193

 

 

 

 

20.2

Cosine waves at exactly 0.5fS

 

 

 

 

 

20.3

Point sampling

 

194

 

 

 

 

 

 

 

20.4

The Box weighting function

194

 

 

 

 

20.5

Boxcar filtering

 

194

 

 

 

 

 

 

 

20.6

Aliasing due to boxcar filtering

195

 

 

 

 

20.7

Frequency response of a boxcar filter

197

 

 

 

20.8

The sinc weighting function

199

 

 

 

 

20.9

A Gaussian function

200

 

 

 

 

 

 

20.10

Waveforms of three temporal extents

200

 

 

 

20.11

Fourier transform pairs

201

 

 

 

 

 

 

20.12

A [1, 1] FIR filter

203

 

 

 

 

 

 

 

20.13

A [1, -1] FIR filter

203

 

 

 

 

 

 

20.14

A [1, 0, 1] FIR filter

203

 

 

 

 

 

 

20.15

A [1, 0, -1] FIR filter 203

 

 

 

 

 

 

20.16

A very simple 5-tap FIR filter

204

 

 

 

 

20.17

A 5-tap FIR filter including multipliers

205

 

 

 

20.18

5-tap FIR filter responses 205

 

 

 

 

 

20.19

A simple comb filter

206

 

 

 

 

xxiv

DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES

 

 

20.20

The simple comb filter’s response

206

 

 

20.21

Linear phase

209

 

 

 

 

 

 

 

 

20.22

An IIR (“recursive”) filter

210

 

 

 

 

 

20.23

Lowpass filter characterization

212

 

 

 

20.24

BT.601 filter templates

213

 

 

 

 

 

20.25

Halfband filter

215

 

 

 

 

 

 

 

20.26

A 25-tap lowpass FIR filter

216

 

 

 

 

20.27

Sampling and reconstruction

217

 

 

 

 

20.28

Reconstruction close to 0.5fS

217

 

 

 

20.29

D-to-A conversion with a boxcar waveform 218

 

 

20.30

“(sin x)/x” correction 219

 

 

 

 

21

Resampling,

21.1

Two-times upsampling

223

 

 

 

 

interpolation, and

21.2

An original signal

223

 

 

 

 

 

 

decimation

21.3

Two-to-one downsampling

223

 

 

 

 

21.4

An analog filter for direct sampling

225

 

 

21.5

An analog filter for 2×-oversampling

225

 

 

21.6

Cubic interpolation

228

 

 

 

 

22

Image digitization and

22.1

Spatiotemporal domains

237

 

 

 

 

reconstruction

22.2

Horizontal domain

238

 

 

 

 

 

 

 

22.3

Vertical domain

238

 

 

 

 

 

 

 

22.4

Temporal domain

238

 

 

 

 

 

 

 

22.5

Spatial domain

238

 

 

 

 

 

 

 

22.6

Horizontal spatial frequency domain

239

 

 

22.7

Vertical spatial frequency domain

240

 

 

22.8

The spatial frequency spectrum of 480i

 

 

 

luma 240

 

 

 

 

 

 

 

 

 

 

22.9

Two samples, vertically arranged

241

 

 

22.10

The response of a [1, 1] FIR filter

242

 

 

22.11

Separable spatial filter examples 242

 

 

 

22.12

Inseparable spatial filter examples

242

23

Perception and visual

23.1

Luminance range of vision

248

 

 

 

acuity

23.2

Adaptation

248

 

 

 

 

 

 

 

 

23.3

A contrast sensitivity test pattern

249

 

 

23.4

Contrast sensitivity

250

 

 

 

 

 

 

23.5

The contrast sensitivity function (CSF)

252

24

Luminance and lightness

24.1

Luminous efficiency functions

257

 

 

 

24.2

Luminance and lightness

260

 

 

 

25

The CIE system

25.1

Example coordinate system

265

 

 

 

of colorimetry

 

 

 

 

 

 

 

 

 

 

xxv

25.2Spectral and tristimulus colour reproduction 267

25.3Spectral constraints 269

25.4

The HPE colour-matching functions 270

 

25.5

CIE 1931, 2° colour-matching functions

271

25.6

Calculation of tristimulus values by matrix

 

multiplication 273

 

25.7

CIE 1931 2° [x, y] chromaticity diagram

274

25.8

CIE [x, y] chart features 275

 

25.9

SPDs of blackbody radiators 276

 

25.10

SPDs of blackbody radiators, normalized

277

25.11CIE illuminants 279

25.12Colour systems 286

26 Colour science for video

26.1

Additive reproduction 289

 

 

 

26.2

The primaries of BT.709 and

 

 

 

 

SMPTE/DCI P3 291

 

 

 

26.3

CMFs for CIE XYZ primaries

300

 

 

26.4

SPDs for CIE XYZ primaries

301

 

 

26.5

CMFs for BT.709 primaries

302

 

 

26.6

SPDs for BT.709 display primaries

303

 

26.7

Relative spectral responses (RSRs) for a real

 

 

camera 304

 

 

 

26.8

Effective response after matrixing

305

27 Gamma

27.1

Display electro-optical function (EOCF) 317

 

27.2

Image reproduction in video

319

 

27.3BT.709 OECF 321

27.4BT.709, sRGB, and CIE L* encoding

 

 

functions

324

 

 

27.5

Gamma in video, CGI, and Macintosh 329

 

27.6

Gamma PC and in classic Mac

331

 

27.7

Linear and nonlinear coding in imaging

 

 

standards

334

 

28 Luma and colour

28.1

RGB and R’G’B’ cubes 336

 

differences

28.2

A Y’PBPR cube 339

 

 

28.3

Y’, B’–Y’, R’–Y’ orthographic views 340

 

28.4

Conventional luma/colour difference

 

 

encoder

341

 

 

28.5

Conventional luma/colour difference

 

 

decoder

342

 

 

28.6

Luminance and luma notation

343

 

28.7

Typesetting Y’CBCR 344

 

xxvi

DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES

 

 

28.8

A luma/colour difference encoder

348

 

 

28.9

A luma/colour difference decoder

349

 

 

28.10

Luma/colour difference flavors

350

 

 

 

Part 3 – Practical matters

355

 

 

 

 

29

Component video

29.1

B’-Y’, R’-Y’ components for SD

359

 

 

colour coding for SD

29.2

PBPR components for SD

360

 

 

 

 

29.3

CBCR components for SD

363

 

 

 

 

29.4

A “full-swing” CBCR quantizer

366

 

 

 

29.5

CBCR “full-range” components

366

 

30

Component video

30.1

B’-Y’, R’-Y’ components for BT.709 HD 370

 

colour coding for HD

30.2

PBPR components for BT.709 HD

371

 

 

30.3

CBCR components for BT.709 HD

372

31

Video signal processing

31.1

Transition samples

379

 

 

 

 

 

 

31.2

Comparison of 7.5% and zero setup

382

 

 

31.3

The 8-bit BT.601 to full-range (computer) R’G’B’

 

 

 

conversion 384

 

 

 

 

 

 

 

31.4

A coring circuit

386

 

 

 

 

 

 

31.5

This matte image example

388

 

 

32

Frame, field, line, and

32.1

Numerology of HD scanning

395

 

 

sample rates

 

 

 

 

 

 

 

 

33

Timecode

33.1

Periodic dropped timecode numbers

401

 

 

33.2

Timecode as displayed 401

 

 

 

34

2-3 pulldown

34.1

“2-3 pulldown”

405

 

 

 

 

34.2“2-3-3-2 pulldown” 407

34.3Vertical/temporal relationships of 2-3

 

 

pulldown

409

 

 

 

34.4

2-3 pulldown, spatial view 410

35 Deinterlacing

35.1

Test scene

413

 

 

 

35.2

Interlaced capture

413

 

35.3

The weave technique 414

 

35.4

Line replication

414

 

35.5

Interfield averaging

414

 

35.6

V·T development

415

 

35.7

V·T domain

415

 

 

 

35.8

Static lattice in the V·T domain 415

 

35.9

Interframe averaging in the V·T domain 415

xxvii

 

 

35.10

Line replication in the V·T domain

416

 

 

35.11

Intrafield averaging in the V·T domain

416

 

 

35.12

Interstitial spatial filter coefficients

417

 

 

35.13

Cosited spatial filter coefficients

417

 

 

 

35.14

A window function

418

 

 

 

36

Colourbars

36.1

The SMPTE EG 1 SD colourbar test signal 419

 

 

36.2

Colourbar R’G’B’ primary components

420

 

 

36.3

The PLUGE element

421

 

 

 

 

 

36.4

Hue and chroma are adjusted

422

 

 

 

36.5

The SMPTE RP 219 SD colourbar test

 

 

 

 

signal 424

 

 

 

 

 

 

Part 4 – Studio standards 425

 

 

 

38

SDI and HD-SDI

38.1

Scan-line waveform for 480i29.97, 4:2:2

 

interfaces

 

component luma

431

 

 

 

 

 

38.2

The BT.656 component digital interface

431

38.3Scan-line waveform for 1080i30 HD component luma 433

38.4BNC connector 440

39

480i

component video

39.1

480i

raster, vertical

449

 

 

 

 

39.1

480i

raster, vertical

449

 

 

 

 

39.2

480i component digital 4:2:2 luma

 

 

 

 

 

waveform

452

 

 

 

 

 

39.3

480i

component analog luma waveform

454

40

576i

component video

40.1

576i

raster, vertical

461

 

 

 

 

40.2

576i component digital 4:2:2 luma

 

 

 

 

 

waveform

464

 

 

 

 

 

40.3

576i

component analog luma waveform

465

41

1280× 720 HD

41.1

720p raster, vertical

470

 

42

1920× 1080 HD

42.1

1080i30 analog line details 477

 

 

 

 

42.2

1080i and 1080p vertical blanking interval 479

44

Component analog HD

44.1

720p60 component analog luma

 

 

interface

 

waveform

486

 

 

44.21080i30/1080p30 component analog luma waveform 486

44.3Filter template for Y’ and R’G’B’ components 488

xxviii

DIGITAL VIDEO AND HD ALGORITHMS AND INTERFACES

 

 

Part 5 – Video compression

489

 

 

 

 

45

JPEG and motion-JPEG

45.1

A JPEG 4:2:0 minimum coded unit

492

 

(M-JPEG) compression

45.2

The DCT concentrates image power

493

 

 

45.3

The JPEG block diagram 494

 

 

 

 

 

45.4

An 8× 8 array of luma samples

496

 

 

 

45.5

The DCT tends to concentrate

496

 

 

 

45.6

A typical JPEG quantizer matrix

497

 

 

45.7

DCT coefficients after quantization

498

 

 

45.8

Zigzag scanning

499

 

 

 

 

 

 

45.9

Zigzag-scanned coefficient string

499

 

 

45.10

VLE {run length, level} pairs

499

 

 

 

45.11

Reconstruction error

500

 

 

 

 

 

 

45.12

Compression ratio control in JPEG

501

 

 

45.13

Because the quantizer is adjustable

502

46

DV compression

46.1

DV superblocks

506

 

 

 

 

 

 

46.2

Chroma samples in 4:1:1 DV

507

 

47

MPEG-2 video

47.1

An MPEG-2 frame picture

518

 

 

 

compression

47.2

An MPEG-2 field picture pair

518

 

 

 

47.3

Chroma subsampling in field-structured

 

 

 

pictures

519

 

 

 

 

 

 

 

 

47.4

The frame DCT type

526

 

 

 

 

 

 

47.5

The field DCT type

527

 

 

 

 

 

 

47.6

Zigzag scan[0]

528

 

 

 

 

 

 

 

47.7

Zigzag scan[1]

528

 

 

 

 

 

 

 

47.8

MPEG encoder and decoder

529

 

 

 

47.9

Buffer occupancy 532

 

 

 

 

 

 

Appendices 565

 

 

 

 

 

 

 

B

Introduction to

B.1

Geometry associated with the definition of

 

radiometry and

 

radiance

575

 

 

 

 

 

 

photometry

B.2

Radiometric and photometric quantities 577

xxix

This page intentionally left blank

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