17.12.2018 Views

Image Acquisitionand Proces

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Image</strong> <strong>Proces</strong>sing 123<br />

For example, the image below contains a glare spot, where incident light<br />

has reßected from a glossy surface, creating a blind spot. Equalization can be<br />

used to enhance the image, effectively stretching the equalization range to cover<br />

the complete intensity range, making it much easier to read the underlying text.<br />

The equalization example in Figure 5.55 was achieved using the code shown in<br />

Figure 5.56.<br />

FIGURE 5.56 Equalization example — wiring diagram.<br />

TABLE 5.3<br />

Item<br />

Minimum<br />

Maximum<br />

Description<br />

The minimum value is the smallest intensity to use during equalization. After the<br />

equalization is complete, all pixel values that are less than or equal to the minimum<br />

in the original image are set to 0 for an 8-bit image. In 16-bit and ßoating-point<br />

images, these pixel values are set to the smallest pixel value found in the original<br />

image.<br />

The maximum value is the highest intensity to use during equalization. After the<br />

equalization is complete, all pixel values that are greater than or equal to the<br />

maximum in the original image are set to 255 for an 8-bit image. In 16-bit and<br />

ßoating-point images, these pixel values are set to the largest pixel value found<br />

in the original image.<br />

The equalization range is a cluster containing the elements described in Table<br />

5.3. Equalization can also be used to remove background data when an object’s<br />

intensities are very different from that of the background (Figure 5.57). Notice that<br />

the background is completely removed and the contrast of the leaves has been<br />

increased.

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

Saved successfully!

Ooh no, something went wrong!