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
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0pfewcqthn5ed60w3rzi80515e-hkdo9i
Direct link to example