How to find Dice Similarity Coefficient?
Show older comments
I research 3 D volumetric brain tumor image using Brats 2016 and 2017 dataset. I will find dice coefficient .But following error
Error using dice (line 117)
Expected input number 2, B, to be one of these types:
logical, double, categorical
Instead its type was uint8. In dataset, is groundturth image labelTr?.
Answers (1)
Image Analyst
on 13 Sep 2020
0 votes
How do you expect it to determine the union and overlap with grayscale images? You have to segment them into binary images first.
1 Comment
hla hla myint
on 14 Sep 2020
Categories
Find more on Neuroimaging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!