-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Introduce Boundary loss and Hausdorff loss #3481
Description
Would be great to see the Boundary loss (http://proceedings.mlr.press/v102/kervadec19a.html) introduced into MONAI. Would require a Transform to produce distance maps from labels similar to this function - https://github.com/LIVIAETS/boundary-loss/blob/749602d822fcb097c79a7fb708805b8982c37030/utils.py#L260 and two Loss classes which could be based off of these implementations:
https://github.com/LIVIAETS/boundary-loss/blob/749602d822fcb097c79a7fb708805b8982c37030/losses.py#L76
https://github.com/LIVIAETS/boundary-loss/blob/749602d822fcb097c79a7fb708805b8982c37030/losses.py#L99