QMRITools`
QMRITools`

DiceSimilarity

DiceSimilarity[ref,pred]

gives the Dice Similarity between 1 and 0 of segmentations ref and pred for class equals 1.

DiceSimilarity[x,y,class]

gives the Dice Similarity of segmentations ref and pred for class.

DiceSimilarity[x,y,{class,..}]

gives the Dice Similarity of segmentations ref and pred for the list of gives classes.

Examples