Filter löschen
Filter löschen

Compare experimental and simulated image to estimate error

3 Ansichten (letzte 30 Tage)
sandy
sandy am 18 Sep. 2020
Kommentiert: KSSV am 18 Sep. 2020
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 Kommentare
KSSV
KSSV am 18 Sep. 2020
You can get both the images to same dimensions...and find the difference?
sandy
sandy am 18 Sep. 2020
Bearbeitet: sandy am 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

KSSV
KSSV am 18 Sep. 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 Kommentare
sandy
sandy am 18 Sep. 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.
KSSV
KSSV am 18 Sep. 2020
The above gives difference right?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by