How to find Dice Similarity Coefficient?

4 views (last 30 days)
hla hla myint
hla hla myint on 13 Sep 2020
Commented: hla hla myint on 14 Sep 2020
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
Image Analyst on 13 Sep 2020
How do you expect it to determine the union and overlap with grayscale images? You have to segment them into binary images first.

Categories

Find more on Agriculture in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!