29.01.2013 Views

LITERATURE SURVEY OF AUTOMATIC FACE RECOGNITION ...

LITERATURE SURVEY OF AUTOMATIC FACE RECOGNITION ...

LITERATURE SURVEY OF AUTOMATIC FACE RECOGNITION ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CHAPTER XIX<br />

THE ALGORITHM<br />

As in all the other filters, the adaptive median filter also works in a<br />

rectangular window area Sxy. The adaptive median filter change (increases) the<br />

size of Sxy during filter operation, depending on certain condition as listed below.<br />

The output of the filter is a single value which replaces the current pixel value at<br />

(x, y), the particular point on which the window Sxy is centered at a given time.<br />

Zmin = Minimum gray level value in Sxy.<br />

Zmax = Maximum gray level value in Sxy<br />

Zmed = Median of gray levels in Sxy<br />

Zxy = gray level at coordinates (x, y)<br />

Smax = Maximum allowed size of Sxy<br />

B as follows:<br />

The adaptive median filter works in two levels denoted Level A and Level<br />

Level A: A1= Zmed ­ Zmin<br />

A2= Zmed ­ Zmax<br />

If A1 > 0 AND A2 < 0, Go to level B<br />

Else increase the window size<br />

If window size 0 AND B2 < 0 output Zxy<br />

Else output Zmed.<br />

60

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

Saved successfully!

Ooh no, something went wrong!