File Exchange

image thumbnail

Lee filter

version 1.0 (1.3 KB) by

Lee filter for reducing speckle noise in images

3.33333
3 Ratings

23 Downloads

Updated

View License

Lee filter for reducing speckle noise in images. Vectorised version of http://www.mathworks.com/matlabcentral/fileexchange/9456-lee-filter

Comments and Ratings (4)

Qiao Liyong

thank you!

not that much useful

Cris Luengo

Cris Luengo (view profile)

I know you just vectorized someone else's code, but you should at least check that code to see if it's useful before reposting it. If you fill out the definition of 'ENLs' into that of 'sx2s' you'll find that 'sx2s' == 0, and if you look at the pixel values for 'sx2s' you'll see that this is true (up to numerical accuracy). Thus, 'fbar' = 'means', you're outputting the result of a mean filter! I'm sure that this is not what a Lee filter is supposed to to.

Bjorn Gustavsson

In the image processing toolbox there is a mathworks supplied function wiener2.m that implements the Lee filter. Since a requirement for using this function is the image processing toolbox I fail to see any utility of this function, when one would already have the image processing toolbox with the Lee-filter if one can run this function. Further that function for example lets me choose the size of the neighbourhood to use for filtering, something this function has hard-coded.

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video