# What interpolation does Slicer use for visualisation

**URL:** <https://discourse.slicer.org/t/what-interpolation-does-slicer-use-for-visualisation/35382>\
**Category:** Support\
**Tags:** interpolation\
**Created:** [April 9, 2024, 8:16am UTC](https://discourse.slicer.org/t/what-interpolation-does-slicer-use-for-visualisation/35382 "2024-04-09T08:16:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![koeglfryderyk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/koeglfryderyk/32/14638_2.png) [@koeglfryderyk](https://discourse.slicer.org/u/koeglfryderyk)\
**Post date:** [April 9, 2024, 8:16am UTC](https://discourse.slicer.org/t/what-interpolation-does-slicer-use-for-visualisation/35382/1 "2024-04-09T08:16:21Z")

</div>

What kind of interpolation does Slicer use for visualization of slices?

E.g. I have a linear transformation and apply it to a volume - what interpolation method is used for the displayed voxels in the RGY views?

---

<div class="post-metadata">

**Author:** ![rfenioux](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rfenioux/32/70007_2.png) [@rfenioux](https://discourse.slicer.org/u/rfenioux)\
**Post date:** [April 9, 2024, 3:36pm UTC](https://discourse.slicer.org/t/what-interpolation-does-slicer-use-for-visualisation/35382/2 "2024-04-09T15:36:19Z")

</div>

By default, the views apply a linear interpolation.  
It can be disabled using this button (a nearest neighbor interpolation is then used), but this can result in aliasing artifacts when rotating the slices or the volume :

![Screenshot 2024-04-09 173229](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/b/0bb2d1a8f025c0202782abb84f9e582ed177a3c6.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:** [April 10, 2024, 4:01am UTC](https://discourse.slicer.org/t/what-interpolation-does-slicer-use-for-visualisation/35382/3 "2024-04-10T04:01:29Z")

</div>

You can find some more details on interpolation in slice views in [this topic](https://discourse.slicer.org/t/volume-display-interpolate-turned-off-by-default-in-newest-stable/13918/17). There is also a code snippet to enable higher-order interpolation if that is of interest. Interpolation should not be disabled (you would then see the signal sampling points, not the signal itself).
