What format should the 'spacing' parameter be in the MONAI compute_hausdorff_distance function? #7329
Unanswered
KateElizabeth112
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @KateElizabeth112, perhaps you should specify an array directly or |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use the compute_hausdorff_distance function with the spacing parameter set to the voxel spacing. It worked just fine with spacing set to None, but when I try and set it to my voxel spacing I get an error:
I tried to look at the function impelementation, and it seems that float values should be fine:

Here's how I get the voxel spacing in my own code:
I would really appreciate some guidance on how to format the spacing so it doesn't cause an error.
Beta Was this translation helpful? Give feedback.
All reactions