How to calculate MSE (Mean Squared Error)?

1 visualizzazione (ultimi 30 giorni)
hudof najeeb
hudof najeeb il 20 Gen 2017
Modificato: hudof najeeb il 22 Gen 2017
What is the instruction to calculate mean squared error of two images?
  1 Commento
hudof najeeb
hudof najeeb il 21 Gen 2017
Modificato: Walter Roberson il 21 Gen 2017
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?

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 20 Gen 2017
Modificato: Walter Roberson il 20 Gen 2017
  2 Commenti
Walter Roberson
Walter Roberson il 21 Gen 2017
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 il 22 Gen 2017
Modificato: hudof najeeb il 22 Gen 2017
Thank you Sir...This is exactly what I wanted

Accedi per commentare.

Categorie

Scopri di più su Encryption / Cryptography in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by