0
4.2kviews
Consider the following image

i. Perform Low Pass Filtering

ii. Perform Median Filtering

iii. Find High Pass Filtered Output

iv. Compare results of (i) and (ii)

enter image description here

1 Answer
0
267views

Given image $f(x,y)$ is,

enter image description here

Zero padding the original image $f(x,y)$

enter image description here

i. Low Pass Filtering:

Low Pass filter mask given as,

enter image description here

for low pass filter,

enter image description here

This is the Low pass filtering result.

ii. Median Filtering:

Step 1: Arrange the original image pixel values in ascending order,

[ 0 3 4 4 5 5 7 7 120 ]

Step 2: Find the Median value

[ 0 3 4 4 $\underline{5}$ 5 7 7 120 ]

Median Value = 5

Step 3: Place the median value in center of original image,

enter image description here

iii. High Pass Filtering:

We know,

Original – LPF Image = HPF Image

enter image description here

Negative Pixel value means it is null pixel i.e. value of pixel is zero, therefore

enter image description here

Comparing result of (i) and (ii): by comparing (i) and (ii), the value of pixel has huge difference result of (i) has high pixel value as compare to the result of (ii), result of (i) is brighter than the result of (ii).

Please log in to add an answer.