06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

h( x, y) = f(u, v) * g (u, v). (17.5)<br />

Thus one can obtain the noise-free image, when the impulse response<br />

of the filter transfer function is known. A gaussian filter is one of the most<br />

commonly used devices, represented by<br />

g(x, y) = ( 1 / 2 π σ 2 ) exp [ - (x 2 + y 2 ) / 2 σ 2 ] (17.6)<br />

where the st<strong>and</strong>ard deviation σ is a parameter of the user’s choice.<br />

The digital filtering by gaussian function attempts to smooth the<br />

frequency response F (u, v) of the image <strong>and</strong> is thus referred to as smoothing.<br />

We describe different smoothing techniques in the next sub-section.<br />

17.2.1 Smoothing<br />

Smoothing, as evident from its name, is required to reduce the variations in<br />

the amplitude of F(u, v) over a wide range of frequencies u <strong>and</strong> v. Gaussian<br />

filter undoubtedly is a good scheme for smoothing. Besides gaussian filter,<br />

there exist masking techniques for smoothing. Two such masks, referred to as<br />

the 4-point <strong>and</strong> the 8-point masks, are presented below.<br />

1 / 8<br />

1 / 8 1 / 2 1 / 8<br />

1 / 8<br />

1 / 32 3 / 32 1 / 32<br />

3 / 32 1 / 2 3 / 32<br />

1 / 32 3 / 32 1 / 32<br />

(a) (b)<br />

Fig. 17.2: (a) 4-point <strong>and</strong> (b) 8-point masks used for smoothing.<br />

It may be noted from fig. 17.2 that the sum of the weights assigned to<br />

the pixels of a mask must add to unity. A question that naturally arises is how<br />

to employ these masks for smoothing an image. The following steps may be<br />

executed to solve the problem.

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

Saved successfully!

Ooh no, something went wrong!