Skip to content

Add metric hd95_max #139

Open
12k-kushal wants to merge 1 commit intololi:masterfrom
12k-kushal:fix/metric_hd95
Open

Add metric hd95_max #139
12k-kushal wants to merge 1 commit intololi:masterfrom
12k-kushal:fix/metric_hd95

Conversation

@12k-kushal
Copy link
Copy Markdown

  • Adds hd95_max(...) implementation to medpy.metric.binary. hd95_max() computes the symmetric 95% Hausdorff Distance using the more standard definition: max(95th_percentile(A, B), 95th_percentile(B, A))
  • Keeps existing hd95(...) but changed its docstrings slightly.
  • Adds new unit test cases.
  • Fixes Clarification on HD95 implementation #138

@loli
Copy link
Copy Markdown
Owner

loli commented Jul 9, 2025

Splendid, thanks you so much!

I'll review once I find a little bit of time.

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

Successfully merging this pull request may close these issues.

Clarification on HD95 implementation

2 participants