Code covered by the BSD License  

Highlights from
weighted median filter

2.5

2.5 | 2 ratings Rate this file 12 Downloads (last 30 days) File Size: 1.48 KB File ID: #31002
image thumbnail

weighted median filter

by

 

weighted median filter using weighted mask.

| Watch this File

File Information
Description

Weighted Median Filter:
It is same as median filter, only difference is the mask is not empty. It will having some weight (or values) and averaged.
The steps to perform weighted median filtering are as follows:
1) Assume a 3x3 weighted mask.
2) Place the mask at the left hand corner.
3) After convolution (multiplication), Arrange the 9 pixels in ascending or descending order.
4) Chose the median from these nine values.
5) Place this median at the centre.
6) Move the mask through out the image

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
10 Jul 2014 swati

i dont think it is weighted median filter

10 Jul 2014 swati

i dont think it is weighted median filter

28 Mar 2013 Dennis Robert

The code calculates the product of the matrix elements with their corresponding weights in the W matrix? This is not how weighted median should be calculated.

14 May 2012 Thorben

That is not a weighted median as commonly defined. See here: http://www.eecis.udel.edu/~arce/teaching/ELEG833/files/pdf/Essencial%20Guide%20WMF.pdf

19 Oct 2011 Qiao Liyong  

Contact us