Sørensen-Dice similarity coefficient for image segmentation
computes the Sørensen-Dice similarity coefficient between binary imagessimilarity
= dice(BW1
,BW2
)BW1
andBW2
.
computes the Dice index for each label in label imagessimilarity
= dice(L1
,L2
)L1
andL2
.
computes the Dice index for each category in categorical imagessimilarity
= dice(C1
,C2
)C1
andC2
.