How to calculate MSE (Mean Squared Error)?

조회 수: 3 (최근 30일)
hudof najeeb
hudof najeeb 2017년 1월 20일
편집: hudof najeeb 2017년 1월 22일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by