# Keep the hand-drawn segmentation after interpolation

**URL:** <https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605>\
**Category:** Support\
**Created:** [March 29, 2026, 2:28pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605 "2026-03-29T14:28:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrrezaie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mrrezaie/32/17032_2.png) [@mrrezaie](https://discourse.slicer.org/u/mrrezaie)\
**Post date:** [March 29, 2026, 2:28pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/1 "2026-03-29T14:28:12Z")

</div>

Hello all. I’m working with a non-isotropic MRI, only the sagittal view with 31 slices. More info can be found in this post: [Segmentation using curves](https://discourse.slicer.org/t/segmentation-using-curves/46511) . I drew the segmentation on each slice, however, the 3D shape is not smoothed and there are lots of steps and many holes:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/6/a6166434f98bab8a65cee68cd6421941e3db471e.jpeg)

One suggestion was to interpolate the slices using Crop module. This ended up with hundreds of slices (e.g., 600), but I don’t want to go through all. I want to interpolate the segmentation as well.

My plane now is to keep the initial hand-drawn segmentation and Fill between the intermediate slices after interpolation. However, my initial segmentation appears in all intermediate slices and the “Fill between slices” doesn’t actually work.

By any chance, is there any way to handle this? (I can draw the segmentation after interpolation, but I cannot find the original slices)

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![mrrezaie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mrrezaie/32/17032_2.png) [@mrrezaie](https://discourse.slicer.org/u/mrrezaie)\
**Post date:** [March 29, 2026, 2:46pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/2 "2026-03-29T14:46:30Z")

</div>

Here is a video that better explains the issue.

This also happens even if I draw segmentation on only one slice after interpolation.

---

<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 31, 2026, 12:56am UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/3 "2026-03-31T00:56:20Z")

</div>

With one slice there is nothing to interpolate. THat’s why it simply copies to the next one I suppose. You need to segment every 5-10 slices for fill between slices to work properly.

---

<div class="post-metadata">

**Author:** ![mrrezaie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mrrezaie/32/17032_2.png) [@mrrezaie](https://discourse.slicer.org/u/mrrezaie)\
**Post date:** [March 31, 2026, 1:56pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/4 "2026-03-31T13:56:05Z")

</div>

Thanks for the reply. That’s true. But I want to do segmentation on the original images, then apply it on the interpolated images. Any suggestion? Is there any option to reduce the width of the original segmentation to one interpolated slice?

---

<div class="post-metadata">

**Author:** ![mikebind](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Post date:** [March 31, 2026, 5:37pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/5 "2026-03-31T17:37:47Z")

</div>

> [@mrrezaie](#):
>
> Is there any option to reduce the width of the original segmentation to one interpolated slice?

Using python, you could get the binary labelmap representation of the upsampled segmentation and blank out most of the slices (i.e. just keep the central slice of each upsampled layer, set the others to zeros), then apply the interpolation. For example, if you upsampled 5x, you could keep every 5th slice.

---

<div class="post-metadata">

**Author:** ![mrrezaie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mrrezaie/32/17032_2.png) [@mrrezaie](https://discourse.slicer.org/u/mrrezaie)\
**Post date:** [April 7, 2026, 1:18pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/6 "2026-04-07T13:18:53Z")

</div>

Hello all,

I simply resampled the images, and drew the segmentation afterwards on a few slices followed by “Fill between slices“, and the output is good enough. I was wondering if there is any way to resample the segmentation in the same way as volume (e.g., BSpline). I tried some coding, but I didn’t manage to get it working.

Any suggestion? Thanks.

---

<div class="post-metadata">

**Author:** ![mrrezaie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mrrezaie/32/17032_2.png) [@mrrezaie](https://discourse.slicer.org/u/mrrezaie)\
**Post date:** [April 7, 2026, 2:14pm UTC](https://discourse.slicer.org/t/keep-the-hand-drawn-segmentation-after-interpolation/46605/7 "2026-04-07T14:14:23Z")

</div>

Update: I converted the segmentation to label map. Resample Scalar Volume worked, but the output is not resampled along the slices.
