-
compute_hausdorff_distance calculates the unit returned by the Euclidean distance. If the spacing is not set, is the default spacing=(1.,1.,1.)? Is the unit of the final result in mm? |
Beta Was this translation helpful? Give feedback.
Answered by
KumoLiu
Aug 14, 2023
Replies: 1 comment
-
Hi @LReion, thanks for your interest. MONAI/monai/metrics/hausdorff_distance.py Lines 165 to 171 in faf6f74 Hope it helps, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LReion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @LReion, thanks for your interest.
Yes, you are right, if
spacing
is None, spacing of unity is used for all images in the batch. And the actual distance measurements can vary based on your data.MONAI/monai/metrics/hausdorff_distance.py
Lines 165 to 171 in faf6f74