Skip to content
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

Question: Default percentile of 95% in HausdorffDistanceImageToImageMetric #5

Open
loli opened this issue Feb 17, 2015 · 3 comments
Open

Comments

@loli
Copy link

loli commented Feb 17, 2015

I wonder if someone could highlight to me the reasoning behind the default percentile of 95% in the Hausdorff distance (HD) ImageToImageMetric.

Intuitively, I would expect the HD to reveal me the largest error e.g. to denote outliers in a image segmnentation task. But with a default percentile value of 95%, the results show something else (I am not quite sure what). Is there any reason behind disregarding the 5% most distant errors?

I personally think a default percentile value of 100% would lead to less surprises and is more consistent with the classical HD definitions (e.g. http://en.wikipedia.org/wiki/Hausdorff_distance).

@prastawa
Copy link
Member

Hi,

We use a more robust percentile rather than the max to avoid issues with noisy segmentations. We've had cases where people submit segmentations that look good qualitatively but has a few stray voxels. Using the max penalizes these cases heavily and for that challenge we decided that it wasn't a good approach.

The Hausdorff distance metric should be customized for different applications. Should the clinical task calls for heavier penalty for noisy segmentations, the users can adjust the parameter closer to the 100 percentile.

M

@loli
Copy link
Author

loli commented Feb 19, 2015

Thank you for the answer. I understand your reasoning. Maybe one could add a warning / note somewhere in the source code to make the user aware of the 95% perdentile?

@Marjaneh-T
Copy link

Hey Guys,

I was wondering does anyone know how we can change the 95% in percentile Hausdorff distance to the other number?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants