필터 지우기
필터 지우기

How to smooth plot of data?

조회 수: 2 (최근 30일)
Steven
Steven 2014년 1월 18일
댓글: Image Analyst 2014년 1월 19일
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

채택된 답변

Image Analyst
Image Analyst 2014년 1월 18일
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.
  댓글 수: 3
Steven
Steven 2014년 1월 19일
Thanks so much!
How can I obtain the wavelength for such a plot?
Thanks!
Steven
Image Analyst
Image Analyst 2014년 1월 19일
It looks like there are two wavelengths, a high frequency one, and a lower frequency one that is the envelops. You can take the Fourier transform and look for spikes, which indicate a lot of energy at that wavelength.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jan
Jan 2014년 1월 18일
It depends on what the wanted result is. If you want to smooth the data extremely, use mean. A moving average filter is possible also, or a highpass filter, a Savitzki-Golay-filter or a mean over chunks of the data.

카테고리

Help CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by