1
1
Aaron Stevens
22 February 2011
With Thanks to John Magee and his dog Cody
CS101 Lecture 14: Digital Images
2
What Youll Learn Today What is digital information? How to - - PDF document
CS101 Lecture 14: Digital Images Aaron Stevens 22 February 2011 With Thanks to John Magee and his dog Cody 1 What Youll Learn Today What is digital information? How to describe an image What is color? How do pictures get
1
22 February 2011
With Thanks to John Magee and his dog Cody
2
3
4
5
6
Example: Analog Thermometer The mercury (or alcohol) rises continuously in direct proportion to the temperature. What exactly is this reading?
7
Example: Digital Thermometer
This reading is discrete. Some
detail is lost in converting to digital information. What is the actual temperature?
8
9
10
11
12
13
14
Several million pixels….
15
Why do zoomed images appear pixelated? Because once the image is digitized, we cannot recover information between the pixels.
17
18
Spectra of visible light (in nm)
19
20
21
22
The standard 16 CGA colors
23
24
25
– Bitmap (BMP), GIF, JPEG, and PNG, for example
– Typical size might be 1024 by 768 pixels (~ 800,000 pixels) – At 3 bytes per pixel, that’s 2,400,000 bytes for one picture. – A 10Mpixel picture would be 30,000,000 bytes.
26
27 28
29