Azzera filtri
Azzera filtri

Compare experimental and simulated image to estimate error

3 visualizzazioni (ultimi 30 giorni)
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 Commenti
KSSV
KSSV il 18 Set 2020
You can get both the images to same dimensions...and find the difference?
sandy
sandy il 18 Set 2020
Modificato: sandy il 18 Set 2020
Sure I can change the dimension. I don't know how to proceed with a script that compares and find the difference.

Accedi per commentare.

Risposta accettata

KSSV
KSSV il 18 Set 2020
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 Commenti
sandy
sandy il 18 Set 2020
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.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by