how can a wiener filter be designed for reduction of noise on images; the output should be the one with reduced noise on image and the input being a noisy image with gaussian noise

3 ビュー (過去 30 日間)
What I have done is......I took 2 images....one image corrupted by Gaussian noise and the other is the original image.....and then I calculated the mean square error and peak signal to noise ratio.....these values are produced as output.... But I require the output as an image with reduced noise.....the solution what I found is taking some pixels from the noisy image and calculating the MSE and PSNR.....and replacing these pixels with their values so that the particular pixel values make some difference in the final image.....so can anyone of you help me with the code in MATLAB

回答 (1 件)

Image Analyst
Image Analyst 2015 年 3 月 5 日
But the code is so, so very simple, even for complete beginners - it's like 3 lines of code: a call to each function. Did you look up the functions in the help and try any of the example code? Look up wiener2(), immse(), and psnr() and try the example code. If you really can't figure it out, come back here with your attempt at code.
  5 件のコメント
Image Analyst
Image Analyst 2015 年 3 月 10 日
I had that psnr function before they included it in MATLAB, so that's help. Did you not notice the psnr.m file that was attached? I don't really want to code up my own wiener2 function for you so I won't. You can do that yourself with fft2() if you want, though I warn you, fft2() is a built in function "directly available in MATLAB" so that may mean you don't want to use it. You can program up your own fft2() function if you want. Please read this link: http://www.mathworks.com/matlabcentral/answers/38787-what-can-be-programmed-without-any-built-in-functions
Jasper  Schilling
Jasper Schilling 2017 年 12 月 11 日
Pyla, were you able to ever figure out how to code the Wiener2 function without built in functions?

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

Community Treasure Hunt

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

Start Hunting!

Translated by