How to calculate MSE (Mean Squared Error)?

2 次查看(过去 30 天)
What is the instruction to calculate mean squared error of two images?
  1 个评论
hudof najeeb
hudof najeeb 2017-1-21
编辑:Walter Roberson 2017-1-21
when I am writing
disp(['MSE ' measerr(CoverImg,stegImg)])
the result is 3. it is error because it must be btw 0 and 1. how to solve it?

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2017-1-20
编辑:Walter Roberson 2017-1-20
  2 个评论
Walter Roberson
Walter Roberson 2017-1-21
measerr can return mean squared error, but it does so as the second output.
[~, MSE] = measerr(CoverImg,stegImg);
fprintf('MSE: %.5g\n', MSE)
hudof najeeb
hudof najeeb 2017-1-22
编辑:hudof najeeb 2017-1-22
Thank you Sir...This is exactly what I wanted

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Encryption / Cryptography 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by