Borrar filtros
Borrar filtros

dice similarity index between segmented image and ground truth

5 visualizaciones (últimos 30 días)
Helo I have an segmented image , trying to find dice similarity index between the segmented image and ground truth.

Respuesta aceptada

Anand
Anand el 26 de Mzo. de 2013
Editada: Anand el 26 de Mzo. de 2013
How about this:
dice = 2*nnz(segIm&grndTruth)/(nnz(segIm) + nnz(grndTruth))
This expects segIm and grndTruth to be of the same size. They must also be numeric or logical.
  2 comentarios
Tabish Raza
Tabish Raza el 26 de Mzo. de 2013
but how to put segIm image value is that whole image
Image Analyst
Image Analyst el 26 de Mzo. de 2013
I don't understand. segIm is what he called your final segmented image - your final binary image after all processing has been done. What do you mean by "how to put is that whole image"? There is nothing to put, it is just a variable. And you stick the variable into the equation.

Iniciar sesión para comentar.

Más respuestas (1)

APOORVA SAFAI
APOORVA SAFAI el 17 de Oct. de 2014
how to make the two images of same size if they differ?
  3 comentarios
KM Shofuan
KM Shofuan el 16 de Mayo de 2019
how to calculate (segIm&grndTruth) ? is it a multiplication operation ?
Diah Junaidi
Diah Junaidi el 1 de Ag. de 2019
(segIm&grndTruth) :
segIm = image that we wanna reference with
grndTruth = image that being reference
just determine what is segIm and grndTruth after you obtain them, just concatenate them (segIm&grndTruth)

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by