Azzera filtri
Azzera filtri

How to compare or find out the P.S.N.R. value of two image.

3 visualizzazioni (ultimi 30 giorni)
How to compare or find out the P.S.N.R. value of two image. Is anybody help in finding out the P.S.N.R. value of two color lmage one is original and another is compressed image.after calculating the value how to plot the the graph?

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 26 Mar 2019
Modificato: KALYAN ACHARJYA il 26 Mar 2019
For Gray level images, there are inbuilt psnr function there.
For color image you can do the way
PSNR_value=PSNR_rgb(noisyImage,resultantImage);
Here PSNR_rgb is a custom user defined function
You have to save the function PSNR_rgb.m in current Matlab directory and call the function in main script.
Note: I have not verified the function definations, if there are any issues, you can easily do the replication or post the issue in comment section.
Second Question?
after calculating the value how to plot the the graph?
You will get 1 numeric PSNR data, now plotting with respect to whom/How?
Hope it Helps!

Community Treasure Hunt

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

Start Hunting!

Translated by