# Changing image spacing of image segmentations

**URL:** https://discourse.slicer.org/t/changing-image-spacing-of-image-segmentations/42385
**Category:** Support
**Tags:** segmentation
**Created:** [March 31, 2025, 6:13pm UTC](https://discourse.slicer.org/t/changing-image-spacing-of-image-segmentations/42385 "2025-03-31T18:13:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jps](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jps/32/79253_2.png) [@jps](https://discourse.slicer.org/u/jps)
#### Post date: [March 31, 2025, 6:13pm UTC](https://discourse.slicer.org/t/changing-image-spacing-of-image-segmentations/42385/1 "2025-03-31T18:13:22Z")

</div>

Hello!

I mistakenly began segmenting on volumes without specifying the correct image spacing. Currently they are set to 1 mm and I learned how to change them to 0.002 mm by editing the volume properties.

How do I apply this to my segmentations? I have messed around with the specify geometry option with little success. Thank you!

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [March 31, 2025, 6:29pm UTC](https://discourse.slicer.org/t/changing-image-spacing-of-image-segmentations/42385/2 "2025-03-31T18:29:51Z")

</div>

Probably easiest is to export to labelmap, change the spacing, and then re-convert to segmentation.

---

<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 31, 2025, 8:15pm UTC](https://discourse.slicer.org/t/changing-image-spacing-of-image-segmentations/42385/3 "2025-03-31T20:15:34Z")

</div>

You can also apply and harden a scaling transform (linear transform with scaling factors in the first 3 values of the diagonal) to both your image and the segmentation.

Or, save the segmentation as .nhdr file and edit the spacing in the header using a text editor. The .nrrd file is not suitable for modification in a text editor, because it also contains binary data, which is often corrupted by text editors.
