# Margin tool stopped reporting the pixel units

**URL:** <https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749>\
**Category:** Support\
**Created:** [March 19, 2020, 6:49pm UTC](https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749 "2020-03-19T18:49:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 19, 2020, 6:49pm UTC](https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749/1 "2020-03-19T18:49:50Z")

</div>

In about a month ago, Margin tool used to have a field that converted margins to actual pixel based on the voxel dimension:

This now disappeared, which is sort of a big deal for our use cases with sub-millimeter voxel sizes:

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/4/a4638606abf206be8ff77846c41e21bdba2a4fda.png)

---

<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:** [March 19, 2020, 7:59pm UTC](https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749/2 "2020-03-19T19:59:54Z")

</div>

The actual size is still reported, below the spinbox:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/c/cc4c844459b4e7f58977f762a500f55d82d17a78.png)

Do you miss the size in pixels?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 19, 2020, 8:07pm UTC](https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749/3 "2020-03-19T20:07:54Z")

</div>

Yes, because the memory consumption seems to be tied into the how big the margin is, and it is sort uninformative just to have the millimeters…

---

<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:** [March 19, 2020, 8:19pm UTC](https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749/4 "2020-03-19T20:19:01Z")

</div>

Execution time used to depend on margin size in pixels, but this should not be the case anymore.

Regardless, we could still add display of margin size in pixels. @Sunderlandkyl, could you add this (just in parentheses after the mm values; in Margin, Hollow, Smoothing effects)?

---

<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:** [March 25, 2020, 4:27pm UTC](https://discourse.slicer.org/t/margin-tool-stopped-reporting-the-pixel-units/10749/5 "2020-03-25T16:27:09Z")

</div>

The margin size in pixels should now be displayed in the latest release.
