Jpeg?: What I S - .
Jpeg?: What I S - .
JPEG?
David Austin
The image below consists of a rectangular array of R 1.0 0.0 1.40210
3,871,488 pixels. The color of each pixel is deter- G = 1.0 −0.34414 −0.71414
mined by red, green, and blue components, each B 1.0 1.77180 0.0
requiring one byte of computer memory. Naive-
Y
ly, we expect the image to require 11,614,464 × Cb − 128 .
bytes. However, the size of the JPEG file contain- Cr − 128
ing this image is only 734,268 bytes, roughly 16
times smaller. We will describe the compression Notice that the luminance contributes equally to
algorithm, developed by the Joint Photographic the three color components. To help visualize this
Experts Group (JPEG), that allows the image to be
transformation, we show the colors that result
stored so compactly.
from fixing the luminance and mixing various
chrominance values.
Cr Cr
Cb Cb
Y =0 Y = 100
The algorithm proceeds by dividing the image
Rather than specifying the red, green, and blue into 8 by 8 blocks of pixels that are independently
components of a color, it is convenient to use three processed. Here is a sample block.
different quantities: luminance Y , which is closely
related to the brightness of the color, and blue
and red chrominances Cb and Cr , which roughly
determine the hue. An invertible affine transform
translates between the two representations; for
instance, to recover the red R, green G, and blue
B components, we use
David Austin is professor of mathematics at Grand Valley The (Y , Cb , Cr ) components in our sample 8 by 8
State University. His email address is david@merganser. block are shown below; lighter regions correspond
math.gvsu.edu. to larger values.
LL
HL
HL
LH HH