How to find Dice Similarity Coefficient?

2 次查看(过去 30 天)
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?.

回答(1 个)

Image Analyst
Image Analyst 2020-9-13
How do you expect it to determine the union and overlap with grayscale images? You have to segment them into binary images first.

Community Treasure Hunt

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

Start Hunting!

Translated by