![](http://images-20200215.ebookreading.net/23/1/1/9781482247336/9781482247336__a-computational-introduction__9781482247336__bg18.png)
6 A Computational Introduction to Digital Image Processing, Second Edition
The sampling rate will of course affect the final resolution of the image; we discuss this in
Chapter 3. In order to obtain a sampled (digital) image, we may start with a continuous
representation of a scene. To view the scene, we record the energy reflected from it; we may
use visible light, or some other energy source.
Using Light
Light is the predominant energy source for images; simply because it is the energy source
that human beings can observe directly. We are all familiar with photographs, which are a
pictorial record of a visual scene.
Many digital images are captured using visible light as the energy source; this has
the advantage of being safe, cheap, easily detected, and readily processed with suitable
hardware. Two very popular methods of producing a digital image are with a digital camera
or a flat-bed scanner.
CCD camera. Such a camera has, in place of the usual film, an array of photosites; these
are silicon electronic devices whose voltage output is proportional to the intensity of
light falling on them.
For a camera attached to a computer, information from the photosites is then output
to a suitable storage medium. Generally this is done on hardware, as being much
faster and more efficient than software, using a frame-grabbing card. This allows a
large number of images to be captured in a very short time—in the order of one
ten-thousandth of a second each. The images can then be copied onto a permanent
storage device at some later time.
This is shown schematically in Figure 1.9.
Digital output
CCD array
FIGURE 1.9: Capturing an image with a CCD array
The output will be an array of values; each representing a sampled point from the
original scene. The elements of this array are called picture elements, or more simply
pixels.
Digital still cameras use a range of devices, from floppy discs and CDs, to various
specialized cards and “memory sticks.” The information can then be downloaded
from these devices to a computer hard disk.
Flat bed scanner. This works on a principle similar to the CCD camera. Instead of the
entire image being captured at once on a large array, a single row of photosites is moved
across the image, capturing it row-by-row as it moves. This is shown schematically in
Figure 1.10.
Since this is a much slower process than taking a picture with a camera, it is quite
reasonable to allow all capture and storage to be processed by suitable software.