Click here to Skip to main content
15,668,517 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Recently I wrote some codes about Standard Median Filter and Center Weight filter.
I read an article about "Adaptive Median filter". And I am trying to program out how it works.
The problem is algorithm. I can not understand about the following sentence:
Adaptive Median Filter increases size of the window Sxy during filtering depending on certain conditions.

Zmin is minimum gray level value in window Sxy;
Zmax is maximum gray level value in Sxy;
Zmed is median of gray levels in Sxy;
Zxy is gray level value at (x,y);
Smax is maximum allowed size of Sxy.

Like Standard median filter and Center Weight median filter, I used 3x3 filtering windows.

What does it mean that windows size increase?
And what is the "Smax is maximum allowed size of Sxy." meaning?
Does it mean that filtering Window change by 3x3 to 5x5 ?

Best Regards,
Jacky Tai
Updated 31-Jan-21 21:23pm
Kenneth Haugland 3-Aug-12 21:40pm    
We are talking about picture filering right?

1 solution

Most of the concepts that you are aksing about I have described in some fashion here:[^]

You should see if that dosnt help you :)
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900