# Interpolation between slices not active when load image

**URL:** <https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148>\
**Category:** Support\
**Created:** [October 20, 2020, 12:10am UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148 "2020-10-20T00:10:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayan](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@rayan](https://discourse.slicer.org/u/rayan)\
**Post date:** [October 20, 2020, 12:10am UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/1 "2020-10-20T00:10:33Z")

</div>

Operating system:Windows 10  
Slicer version:4.1120200930  
Expected behavior:In previous versions, when I load an image, it was automatically interpolating the slices i.e. “Interpolate” option in Volume module was checked.  
Actual behavior:In the latest version, this option is not active by default, and I have to check every time I load image. Is there a way to have it always activated w/o actually activating all the time?

Thanks,  
Rayan

---

<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:** [October 20, 2020, 12:21am UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/2 "2020-10-20T00:21:15Z")

</div>

It is due to SlicerMorph overriding some default settings - see [Volume display - Interpolate turned off by default in newest stable?](https://discourse.slicer.org/t/volume-display-interpolate-turned-off-by-default-in-newest-stable/13918).

@muratmaga Please change SlicerMorph so that it does not silently override application settings (disabling interpolation is particularly undesirable, but other settings may be unexpected, too), If you want to expose additional application settings to users then you can do that by a few short Python code snippets, for example:

- Create new settings panel: [https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/DICOM/DICOM.py#L295-L350](https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/DICOM/DICOM.py#L295-L350)
- Add it to application settings: [https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/DICOM/DICOM.py#L77-L82](https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/DICOM/DICOM.py#L77-L82)

---

<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:** [October 20, 2020, 12:38am UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/3 "2020-10-20T00:38:52Z")

</div>

There is already a SlicerMorph panel that all of this can be disabled. (Application Settings-\>SlicerMorph uncheck use SlicerMorph specific customizations ).

@pieper can we make this opt-in instead of opt-out? It is automatically enabled when SlicerMorph is installed.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/5/756d3ec5d5d6205d140381eb107b835220ddfa53.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:** [October 20, 2020, 1:36am UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/4 "2020-10-20T01:36:59Z")

</div>

It would be better to show the actual settings, one by one, each with its own checkbox, instead of a single all-or-nothing “SlicerMorph customization” option.

---

<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:** [October 20, 2020, 1:41pm UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/5 "2020-10-20T13:41:58Z")

</div>

Yes, we have full control over the customization options and can choose what to expose with a UI and what to leave as code for advanced use cases.

---

<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:** [October 20, 2020, 4:35pm UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/6 "2020-10-20T16:35:54Z")

</div>

I’ve checked [SlicerMorph customizations](https://github.com/SlicerMorph/SlicerMorph/blob/master/.slicerrc.py) and they should be mostly moved to Slicer core:

- Use compression in saved files by default =\> we should add to Slicer core application settings
- Default file format for models: this can cause data loss, as it changes file format used in mrb files to ply, which means that you lose all scalar data associated with cells and points when you save the scene as mrb =\> this should be disabled by default until we implement at least a warning reporting mechanism from inside mrb file saving (that we want to implement anyway)
- Interpolated image display - we have already discussed this =\> we should show the image grid instead of introducing artifacts (voxel edge boundaries) in the displayed image
- Hiding Slicer logo =\> we should fix this in Slicer core (move it where it does not take extra space)
- additional menu shortcuts: OK to do it for SlicerMorph (you don’t change any core behavior, just add SlicerMorph specific content)
- Data probe collapsed by default =\> should be an application option (or just remember the last state in application settings)
- Cycle segment editor effects =\> we cshuld add it to default segment editor shortcuts (useful for digitizer boards and wheels)

---

<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:** [October 20, 2020, 4:38pm UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/7 "2020-10-20T16:38:07Z")

</div>

> [@lassoan](#):
>
> Use compression in saved files by default =\> we should add to Slicer core application settings

Actually we disable compression by default.

---

<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:** [October 20, 2020, 4:42pm UTC](https://discourse.slicer.org/t/interpolation-between-slices-not-active-when-load-image/14148/8 "2020-10-20T16:42:14Z")

</div>

Also that file slightly out date and is now replaced with [this](https://github.com/SlicerMorph/SlicerMorph/blob/master/MorphPreferences/Resources/SlicerMorphRC.py) that has few additional customizations.
