Compare experimental and simulated image to estimate error

Hello!
My aim is to compare experimental image with several simulated images to extract the error and to finally make a plot of this error.
More precisely, here is an experimentally obtained map or image:
Now here is the simulation:
So the idea is to compare several (more than two dozens !)simulated images with experimentally obtained one to estimate the error of the distribution or how 'close' it is to that of the experimental image.
Could someone please point me in the right direction or provide some ideas ? I have no prior experience in image processing or analysis.

2 commentaires

You can get both the images to same dimensions...and find the difference?
sandy
sandy le 18 Sep 2020
Modifié(e) : sandy le 18 Sep 2020
Sure I can change the dimension. I don't know how to proceed with a script that compares and find the difference.

Connectez-vous pour commenter.

 Réponse acceptée

Let I1 be your experimental image, I2 be your simulated image.
[m,n,p] = size(I1) ;
I2_resize = imresize(I2,[m n]) ;
dI = I1-I2 ;
imshow(dI)

2 commentaires

Thank you. Your script works but it is not what I am looking for. I am looking for a comparison that is quantified which I can plot to see the margin of difference of several other images with respect to the reference.
The above gives difference right?

Connectez-vous pour commenter.

Plus de réponses (0)

Question posée :

le 18 Sep 2020

Commenté :

le 18 Sep 2020

Community Treasure Hunt

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

Start Hunting!

Translated by