How to show noise spectrum from a grayimage

1 回表示 (過去 30 日間)
Helen Sky
Helen Sky 2015 年 12 月 1 日
コメント済み: Helen Sky 2015 年 12 月 4 日
Hello, please help me solve this problem. I have a grayimage with lots of noise (don't know the type of noise). I want to draw noise spectrum. So how can i do?

採用された回答

Image Analyst
Image Analyst 2015 年 12 月 1 日
First get the noise image alone. To get this you'll have to know/have the noise-free image. Then call fft2(). If you don't have a noise-free image, then the best you can do is to get the spectrum of the noise+(true image) together, rather than the noise alone.
  3 件のコメント
Image Analyst
Image Analyst 2015 年 12 月 1 日
How do you know that's not true signal? Of course we know that all images have noise. If you want, you can synthesize an image where you have uniform gray levels in the regions, then subtract that "perfect" image from your actual image. Then call fft2()
noiseImage = double(actualImage) - double(perfectImage);
fftImage = fft2(noiseImage);
magSpectrum = log(abs(fftImage));
imshow(magSpectrum, []);
Helen Sky
Helen Sky 2015 年 12 月 4 日
Thank you very much. Now i understand what to do.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by