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 comentario

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

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 4 de Ag. de 2019

Comentada:

el 4 de Ag. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by