# Interpolation algorithm for Segment Editor Oversampling

**URL:** <https://discourse.slicer.org/t/interpolation-algorithm-for-segment-editor-oversampling/49097>\
**Category:** Support\
**Tags:** interpolation\
**Created:** [November 25, 2026, 5:50pm UTC](https://discourse.slicer.org/t/interpolation-algorithm-for-segment-editor-oversampling/49097 "2026-11-25T17:50:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liam\_Menz](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/liam_menz/32/83148_2.png) [@Liam\_Menz](https://discourse.slicer.org/u/Liam_Menz)\
**Post date:** [November 25, 2026, 5:50pm UTC](https://discourse.slicer.org/t/interpolation-algorithm-for-segment-editor-oversampling/49097/1 "2026-11-25T17:50:00Z")

</div>

Hey,

I was wondering what the interpolation algorithm is (linear, nearest-neighbour, spline etc.) for the oversampling feature in the Segment Editor (Segmentation Geometry). I want to understand what is going on behind the scenes in a little more detail to determine the applicability of the tool.

Thanks!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 25, 2026, 5:53pm UTC](https://discourse.slicer.org/t/interpolation-algorithm-for-segment-editor-oversampling/49097/2 "2026-11-25T17:53:27Z")

</div>

@liam when you are splitting voxels to make them smaller (oversampling) or merging them into larger ones (downsampling), you have to come with a mathematical method of objectively estimating what the new values in new voxels be. That’s the funciton of interpolation. For rest (such how they work, and the differences), I suggest you look interpolation functions and how they work in Wikipedia, along with image resampling.
