Skip to content

Clarification on HD95 implementation #138

@12k-kushal

Description

@12k-kushal

Hi,

I noticed that the current implementation of the 95% Hausdorff Distance (HD95) in medpy differs from the standard formula (wikipedia.org/wiki/Hausdorff_distance). Specifically, medpy computes the 95th percentile of the combined set of directed distances (from prediction to reference and vice versa), whereas the standard definition usually takes the maximum of the 95th percentiles computed separately for each direction.
In my experiments, this is causing a difference of 10mm when compared to the other implementation approach. Could you please clarify if there is a rationale behind this combined percentile implementation? It would be helpful to understand this design choice.

Thank you for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions