image processing

조회 수: 2 (최근 30일)
SAPANA NIKHADE
SAPANA NIKHADE 2011년 6월 13일
hello i wnt to plot graph of psnr vs noise, also mse vs noise, hw can i do it, plz giv me command. also i wnt to prepare table of psrn at noise density. can i get prepared table in matlab? i guess in workspace i can do that bt hw i dnt kw. plz help

답변 (1개)

Walter Roberson
Walter Roberson 2011년 6월 13일
You can plot graphs using plot()
If you want the table to show up in a graphic interface, you can use uitable(). If you want the table to be plain text, you should use fprintf() with fixed width formats such as %15f
Which definitions of "psnr" and "mse" and "noise" are you using, and how have you chosen to implement them?
  댓글 수: 1
SAPANA NIKHADE
SAPANA NIKHADE 2011년 6월 15일
m using median filter to remove salt n pepper noise from digital image.
psnr= 10log((255^2)/mse)
%mae(mean absolute error)
d1=imabsdiff(i2,i1);
sum2=sum(sum(d1));
mae=sum2/(M.*N)
SSIM=1.48.*(((2.*(m1).*(m2))+c1)).*((2.*(sd_both))+c2)/(((m12+m22)+c1).*(sd11+sd12+c2))
user ll give input as noise density and i m calculatng psnr, mse and ssim for inputed density. i wnt to plot all values of these parameter vs noise density. for that i might hv to sav all values of these parameters in matlab file so dat at density 90% i ll get plot.

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

Community Treasure Hunt

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

Start Hunting!

Translated by