How to compare or find out the P.S.N.R. value of two image.
    4 views (last 30 days)
  
       Show older comments
    
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?
Answers (1)
  KALYAN ACHARJYA
      
      
 on 26 Mar 2019
        
      Edited: KALYAN ACHARJYA
      
      
 on 26 Mar 2019
  
      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!   
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!