Error mapping between two images

Hi, I have this task to show the error mapping between reference and distorted image. For example,
ref = imread('pout.tif');
A = imnoise(ref,'salt & pepper', 0.02);
peaksnr = psnr(A,ref);
This code will get me the value of psnr. Is it possible for me to display the error mapping between the two images? So i can see the errors detected by PSNR method.

댓글 수: 1

error=A-ref;
imshow(error);
Or MSE?
"So i can see the errors detected by PSNR method".
Can you elaborate more?

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

답변 (0개)

질문:

2019년 8월 4일

댓글:

2019년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by