Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 3 . ( 8 ) Median filters are used to remove noise from table [ [ 0 , 0 , 1 , 0

Q3.
(8)
Median filters are used to remove noise from
\table[[0,0,1,0,0,0],[1,0,0,1,0,1],[0,1,1,0,1,0],[1,0,0,1,0,1],[1,0,1,0,0,0]]
image especially salt and pepper noise. However, user has to define the window size before applying filter. On the other hand, adaptive median filter changes size of Sxy (the size of the neighborhood) during operation. The algorithm for adaptive median filter is given below.
Notation
Zmin = minimum gray level value inSxy
Z max = maximum gray level value inSxy
Z med = median of gray levels inSxy
Zxy= gray level at coordinates (x,y)
Smax = maximum allowed size ofSxy
Algorithm
Level A: A1= Zmed - Zmin
A2= Zmed - Zmax
if A1>0 AND A20, go to level B
else increase the window size
if window size Smax, repeat level A
else output Zxy
Level B: B1= Zxy - Zmin
B2= Zxy - Zmax
if B1>0 AND B20, output Zxy
else output Zmed
An 88 image is given in figure below. Apply this algorithm on pixel (5,5) only with original value =112 image. Give final value for this pixel after applying adaptive median filtering.
\table[[10,143,210,0,0,10,110,170]]
142|P| a g e
\table[[110,54,60,0,111,211,139,102],[60,63,111,71,161,105,10,70],[10,11,255,0,0,15,255,70],[0,50,190,0,112,0,6,200],[0,130,10,0,115,175,75,200],[60,0,150,10,200,61,255,50],[255,105,111,41,211,113,201,106]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions