# Segment Comparison - Hausdorff

**URL:** <https://discourse.slicer.org/t/segment-comparison-hausdorff/11101>\
**Category:** Support\
**Created:** [April 13, 2020, 1:17pm UTC](https://discourse.slicer.org/t/segment-comparison-hausdorff/11101 "2020-04-13T13:17:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmars](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cmars](https://discourse.slicer.org/u/cmars)\
**Post date:** [April 13, 2020, 1:17pm UTC](https://discourse.slicer.org/t/segment-comparison-hausdorff/11101/1 "2020-04-13T13:17:52Z")

</div>

Hi,  
For the segment comparison, the Hausdorff distance gives the Maximum, Average and 95%. This is from Plastimatch.  
Is this the boundary Hausdorff?

Thanks

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [April 13, 2020, 1:51pm UTC](https://discourse.slicer.org/t/segment-comparison-hausdorff/11101/2 "2020-04-13T13:51:33Z")

</div>

The distances returned in the table are boundary Hausdorff.

---

<div class="post-metadata">

**Author:** ![cmars](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cmars](https://discourse.slicer.org/u/cmars)\
**Post date:** [April 13, 2020, 1:54pm UTC](https://discourse.slicer.org/t/segment-comparison-hausdorff/11101/3 "2020-04-13T13:54:43Z")

</div>

Thank you for your quick reply. I am presuming they are undirected?

---

<div class="post-metadata">

**Author:** ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)\
**Post date:** [April 13, 2020, 2:28pm UTC](https://discourse.slicer.org/t/segment-comparison-hausdorff/11101/4 "2020-04-13T14:28:49Z")

</div>

Yes, it is the undirected distance.
