# Model-to-Model Distance - What is units of distance?

**URL:** <https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837>\
**Category:** Support\
**Created:** [April 11, 2023, 11:00am UTC](https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837 "2023-04-11T11:00:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KAMONCHAT\_APIVANICHK](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamonchat_apivanichk/32/10368_2.png) [@KAMONCHAT\_APIVANICHK](https://discourse.slicer.org/u/KAMONCHAT_APIVANICHK)\
**Post date:** [April 11, 2023, 11:00am UTC](https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837/1 "2023-04-11T11:00:25Z")

</div>

I try to use ‘Model-to-Model Distance’ for measuring the distance between two model. The output showed the color map, so I wonder what is units, maybe mm. or others.

And positive values mean? negative values mean?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 11, 2023, 7:05pm UTC](https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837/2 "2023-04-11T19:05:57Z")

</div>

By default it is millimeter.

The unit is the current length unit that was set in the application settings in menu: Edit / Application settings / Units → Show Advanced Options. You need to scale the length values by `Coefficient` value to get it in the unit specified by the `Suffix` (Coefficient=1, Suffix=mm means the current length unit is millimeters).

If you work with medical images then there is no reason to consider using any other unit than millimeter. But as always, you need to test your data processing workflow on some known data (e.g., measure some known distance using a markup line).

---

<div class="post-metadata">

**Author:** ![KAMONCHAT\_APIVANICHK](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamonchat_apivanichk/32/10368_2.png) [@KAMONCHAT\_APIVANICHK](https://discourse.slicer.org/u/KAMONCHAT_APIVANICHK)\
**Post date:** [August 19, 2023, 3:31pm UTC](https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837/3 "2023-08-19T15:31:42Z")

</div>

Thank you for your answer. By now, I get a problem about the meaning of value. I set the predicted model as source model and the ground truth model as target model, I thought that the negative value means the predicted model is inside the ground truth model. But I got the same result when I switched them (the predicted model as target model and the ground truth model as source model)

I am very confuse. What is wrong?

---

<div class="post-metadata">

**Author:** ![Mohammed\_Abdul\_Majee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohammed_abdul_majee/32/67236_2.png) [@Mohammed\_Abdul\_Majee](https://discourse.slicer.org/u/Mohammed_Abdul_Majee)\
**Post date:** [August 22, 2023, 6:10am UTC](https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837/4 "2023-08-22T06:10:38Z")

</div>

I am sorry but how did you create the colour map with the output file? Opening the ShapePopulationViewer and loading the output ? I try doing so but it takes a very long time to load. Shall I wait?

---

<div class="post-metadata">

**Author:** ![KAMONCHAT\_APIVANICHK](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamonchat_apivanichk/32/10368_2.png) [@KAMONCHAT\_APIVANICHK](https://discourse.slicer.org/u/KAMONCHAT_APIVANICHK)\
**Post date:** [August 24, 2023, 7:31am UTC](https://discourse.slicer.org/t/model-to-model-distance-what-is-units-of-distance/28837/5 "2023-08-24T07:31:43Z")

</div>

I got the VTK output and then I open with the ShapePopulationViewe by choosing the VTK model and click ‘load’
