![](http://images-20200215.ebookreading.net/23/1/1/9781482247336/9781482247336__a-computational-introduction__9781482247336__bg1ac.png)
16 A Computational Introduction to Digital Image Processing, Second Edition
A grayscale image of the same size requires:
512 ×512 × 1 = 262,144 bytes
= 262.14 Kb
≈ 0.262 Mb.
If we now turn our attention to color images, each pixel is associated with 3 bytes of color
information. A 512 × 512 image thu s requires
521 ×512 × 3 = 786,432 bytes
= 786.43 Kb
≈ 0.786 Mb.
Many images are of course larger than this; satellite images may be of the order of several
thousand pixels in each direction.
1.10 Image Perception
Much of image processing is concerned with making an image appear “better” to human
beings. We should therefore be aware of the limitations of the human visual system. Image
perception consists of two basic steps:
1. Capturing the image with the eye
2. Recognizing and interpreting the image with the visual cortex in the brain
The combination and immense variability of these steps influences the ways in which we
perceive the world around us.
There are a number of things to bear in mind:
1. Observed intensities vary as to the background. A single block of gray will appear
darker if placed on a white background than if it were placed on a black background.
That is, we don’ t perceive gray scales “as they are,” but rather as they differ from their
surroundings. In Figure 1.20, a gray square is shown on two different backgrounds.
Notice how much darker the square appears when it is surrounded by a light gray.
However, the two central squares have exactly the same intensity.
2. We may observe non-existent intensities as bars in continuously varying gray levels.
See, for example, Figure 1.21. This image varies continuously from light to dark as
we travel from left to right. However, it is impossible for our eyes not to see a few
horizontal edges in this image.
3. Our visual system tends to undershoot or overshoot around the boundary of regions
of different intensities. For example, suppose we had a light gray blob on a dark gray
background. As our eye travels from the dark background to the light region, the
boundary of the region appears lighter than the rest of it. Conversely, going in the
other direction, the boundary of the background appears darker than the rest of it.