MATLAB: How to smooth plot of data

Image Processing Toolboxintensitysmooth

Hi How can I smooth the following data? This is the gray intensity of an image. I could not use "smooth" function for that.
Is there any function for that or shall I use any filtering?
Thanks!
Steven

Best Answer

I can't tell what is signal and what is noise from that profile. Can you post the entire image? Like Jan said, it depends on what the image looks like. There are tons of filters you could use from simple linear filters like a moving box filter, to the non-linear median filter, to more complicated filters like Knn, sigma, to even more complicated (and better) filters like BM3D, K-SVD, K-LLD, non-local means, UINTA, ets.
Related Question