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

조회 수: 2 (최근 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