PNSR formula psnr=20.0* (log10(255/sqrt(mse)));
2 次查看(过去 30 天)
显示 更早的评论
Can we type the formula like this: psnr=20.0* (log10(1/sqrt(mse)));
I mean can we write 1 intstead of 255.
Plz explain.
0 个评论
采纳的回答
Murugan C
2019-5-31
Hi Faizullah
We can use 1 instead of 255, if your input image is logical (max pixel range is 1 ) or your image is uint8 then you should use maximum of image pixel range is 255.
3 个评论
Murugan C
2019-6-3
Hi,
PSNR shoud be more than 100. Please find max value from your output image and use it as below
psnr= 10.0* (log10((max(max(output_img))/sqrt(mse)));
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!