Do the Dice and Jaccard functions work on my Nifty file?

6 次查看(过去 30 天)
I have 2 CT segmentations of a bladder, one real and one modified for the sake of this test. I want to compute the Jaccard and Dice coefficients but want to be sure that these functions work for my 3D array (512x512x295). Before I go forward I want to be sure my code compares the two segmnetations in 3D space and is not just comparing one slice? Any help is appreciated. The outputs are what I would expect them to be.

回答(1 个)

Divya Gaddipati
Divya Gaddipati 2020-2-13
jaccard supports inputs of size 2-D, 3-D or n-D arrays whereas dice supports 2-D or 3-D inputs.
You can find this information in "Notes" section of the help text of the functions
help jaccard
help dice
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Biomedical Imaging 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by