Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions monai/metrics/hausdorff_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class HausdorffDistanceMetric:
`y_preds` is expected to have binarized predictions and `y` should be in one-hot format.
You can use suitable transforms in ``monai.transforms.post`` first to achieve binarized values.

The implementation refers to `DeepMind's implementation <https://github.com/deepmind/surface-distance>`_.

Args:
include_background: whether to include distance computation on the first channel of
the predicted output. Defaults to ``False``.
Expand Down
1 change: 1 addition & 0 deletions monai/metrics/surface_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def compute_average_surface_distance(
under the default setting.
In addition, if sets ``symmetric = True``, the average symmetric surface distance between
these two inputs will be returned.
The implementation refers to `DeepMind's implementation <https://github.com/deepmind/surface-distance>`_.

Args:
y_pred: input data to compute, typical segmentation model output.
Expand Down