08.01.2013 Views

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 23.9 Linear and<br />

nonlinear coding in computer<br />

graphics standards. In the<br />

PHIGS and CGM standards,<br />

code [128, 128, 128] produces<br />

luminance halfway up the<br />

physical scale, a relative luminance<br />

of 0.5. In JPEG, code<br />

[128, 128, 128] produces luminance<br />

halfway up the perceptual<br />

scale, only about 0.18 in<br />

relative luminance. Values are<br />

denoted RGB in both cases;<br />

however, the values are not<br />

comparable. This exemplifies<br />

a serious problem in the<br />

exchange of image files.<br />

point), performs gamma correction in software, then<br />

writes gamma-corrected values into the framebuffer.<br />

A unity ramp is loaded into the LUT of the framebuffer<br />

associated with the image. This arrangement maximizes<br />

perceptual performance, and produces rendered<br />

imagery without the quantization artifacts of 8-bit<br />

linear-light coding.<br />

Professional video software on Macintosh or SGI platforms<br />

ordinarily loads the output LUT with a ramp function;<br />

code values are then interpreted as in video.<br />

Unfortunately, colors are altered in image data or interface<br />

elements that assume the default gamma of the<br />

platform.<br />

Linear and nonlinear coding in CGI<br />

Computer graphic standards such as PHIGS and CGM<br />

make no mention of transfer function, but linear-light<br />

coding is implicit. In the JPEG standard there is also no<br />

mention of transfer function, but nonlinear (video-like)<br />

coding is implicit: Unacceptable results are obtained<br />

when JPEG is applied to linear-light data. All of these<br />

standards deal with RGB quantities; you might consider<br />

their RGB values to be comparable, but they’re not!<br />

Figure 23.9 sketches two systems displaying the same<br />

RGB triple, [128, 128, 128]. A photometer reading the<br />

luminance displayed by a PHIGS or CGM system is<br />

CHAPTER 23 GAMMA 279

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!