채택된 답변

Ameer Hamza
Ameer Hamza 2018년 4월 26일

1 개 추천

m = ...; % set values of m, n, f, s
n = ...;
f = ...;
s = ...;
msq = 0
for i=1:n
for j=1:m
msq = msq + (f(i, j) - s(i, j)).^2
end
end
msq = msq/(m*n);

댓글 수: 2

Thank you very much i also noticed that it says f(i,j) is the original image and s(i,j) is the noisy image does it matter
Ameer Hamza
Ameer Hamza 2018년 4월 26일
No, the equation will remain same.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2018년 4월 26일

댓글:

2018년 4월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by