-
Notifications
You must be signed in to change notification settings - Fork 35
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
Hausdorff distance in ANTsR/ANTsPy? #348
Comments
That would be great, in the past i just used distance transform to
calculate it but quick/easy is better
On Mon, Apr 5, 2021 at 1:47 PM Nick Tustison ***@***.***> wrote:
Hey @stnava <https://github.com/stnava> ,
Based on our WMH work, I'd like to put the Hausdorff distance
functionality from ITK in ANTsR/ANTsPy. First, I didn't find it but I
wanted to make sure it wasn't already implemented somewhere. Second, any
issues with its inclusion? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#348>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPE7VCJGDD7CPTIUK4CJTTHHZU3ANCNFSM42NF3H7Q>
.
--
brian
|
Okay, great. Will start working on it. |
There is a function I included in LESYMAP which computes mask distances (average symmetric distance, Hausdorff, etc.). https://github.com/dorianps/LESYMAP/blob/cd13aa0cfaa3fab582cd2099be07c45339220e1f/R/minSegDistance.R I think I checked that "max" output is exactly corresponding with Hausdorff produced by other tools. You can use that code or copy/rename the entire function if you like. |
Errata: no average symmetric distance in that function, just one way distance of one mask (predicted) from the other (manual). |
Thanks for the heads up @dorianps . I think, though, that I'll stick with the ITK implementation. |
Hey @stnava ,
Based on our WMH work, I'd like to put the Hausdorff distance functionality from ITK in ANTsR/ANTsPy. First, I didn't find it but I wanted to make sure it wasn't already implemented somewhere. Second, any issues with its inclusion? Thanks.
The text was updated successfully, but these errors were encountered: