Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dice_average #1

Closed
xuexuezhouzhou opened this issue Aug 24, 2021 · 1 comment
Closed

dice_average #1

xuexuezhouzhou opened this issue Aug 24, 2021 · 1 comment

Comments

@xuexuezhouzhou
Copy link

hello,I want to ask if dice_average code is correct?

@ShuyueG
Copy link
Collaborator

ShuyueG commented Aug 24, 2021

It is correct. Note: the arrays AreaR and Dice should have the same length. For i-th case, AreaR(i) is the area ratio (see code comments for its computation) of objects in the image of i-th segmented ground truth (the binary label), Dice(i) is the Dice coefficient computed by using the i-th predicted segmentation result and its ground truth. bin_width depends on the distribution of AreaR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants