Calculate MSE and PSNR

4 views (last 30 days)
rashed
rashed on 15 Jan 2014
Edited: Walter Roberson on 11 Jan 2016
I have develop a steganography algorithm in C#. Now I want to analysis of my cover image and Stego image (After steganography apply). So i want to calculate MSE, PSNR of these image. I found a code here http://www.mathworks.com/matlabcentral/answers/81048-mse-mean-square-error. Is that is ok? But when i run this code i have the following output
I want to know what the output actually mean.
Thanks in advanced.
  1 Comment
Karbala'a Unvi. Science
Karbala'a Unvi. Science on 7 Mar 2015
that is because you are using an RGB image not a gray level one. You will say how do I know that? I had the same message, then I checked my code I found that each value is for a color band of the color image. When you change your images to gray it will gives you one value... Yours Z

Sign in to comment.

Answers (0)

Categories

Find more on Encryption / Cryptography in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!