Why dice similarity is so low for those two images?

1 vue (au cours des 30 derniers jours)
Stelios Fanourakis
Stelios Fanourakis le 12 Sep 2019
Modifié(e) : Image Analyst le 16 Sep 2019
Please see attached images. Even in the eye seem that are very close one image to the other since they are more or less the same with different post processing values.
Yet the dice(x,y) gives me only 0.00272479564032698
where it should give me close to 1. With that number it tells me that those two have nothing in common which is not true.
What am I doing wrong?
  1 commentaire
Stelios Fanourakis
Stelios Fanourakis le 12 Sep 2019
Has something to do with the Bitdepth? At one pic is 8 and the other is 1.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 12 Sep 2019
Because not many of the white pixels are in the same location in the two images. Maybe you can try imregister() first to align them, and then try again.
  15 commentaires
Stelios Fanourakis
Stelios Fanourakis le 15 Sep 2019
So I might stick with SSIM. I believe it is more accurate for my occasion. Thanks Image Analyst
Image Analyst
Image Analyst le 16 Sep 2019
Modifié(e) : Image Analyst le 16 Sep 2019
You might also want ot check out htis Universal Image Quality Index:

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by