# Why stripping lines show up after using ApplyTransform command?

**URL:** <https://discourse.slicer.org/t/why-stripping-lines-show-up-after-using-applytransform-command/42350>\
**Category:** Support\
**Created:** [March 28, 2025, 8:28pm UTC](https://discourse.slicer.org/t/why-stripping-lines-show-up-after-using-applytransform-command/42350 "2025-03-28T20:28:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aiden.zhu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aiden.zhu/32/67145_2.png) [@aiden.zhu](https://discourse.slicer.org/u/aiden.zhu)\
**Post date:** [March 28, 2025, 8:28pm UTC](https://discourse.slicer.org/t/why-stripping-lines-show-up-after-using-applytransform-command/42350/1 "2025-03-28T20:28:31Z")

</div>

Operating system: windows  
Slicer version: 4.11  
Expected behavior: smoothy interpolation  
Actual behavior: strip-line shows up

I did use with python code (3D-image):  
transform2Node = slicer.mrmlScene.AddNode(slicer.vtkMRMLTransformNode())  
then  
transformStitchNode.ApplyTransform( myTransform )  
it is observed that some strip-lines show up like this

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/4/545ebe90f342637ee21b6732ee6498e4a2d6a3c7.jpeg)  
so Question:  
Need I pre-define some interpolation method? and how?

---

<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 29, 2025, 11:10pm UTC](https://discourse.slicer.org/t/why-stripping-lines-show-up-after-using-applytransform-command/42350/2 "2025-03-29T23:10:36Z")

</div>

Please try the latest versions (5.8.1 and the latest preview builds). If you still see the issue, try to reproduce it with publicly shareable data and the exact steps to reproduce.

---

<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:11pm UTC](https://discourse.slicer.org/t/why-stripping-lines-show-up-after-using-applytransform-command/42350/3 "2025-03-31T20:11:28Z")

</div>

It seems to me that image interpolation is disabled! Image interpolation should never be disabled, as interpolation is required to see the original continuous physical image signal. See more detailed explanation here:

> [@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/10):
>
> Interpolated image shows you the faithfully reconstructed continuous signal from the discrete samples. This reconstruction is lossless if sample-rate criterion is satisfied (see more details [here](https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem)). The criterion is not always satisfied - that’s when you see staircase artifacts in the reconstructed image (in both slice views, volume rendering, and reconstructed surfaces): Interpolation is still about the best thing you can do, and definitely provides much more faithful reconstruction …

If you disable interpolation then you will see discrete sample values and the abrupt intensity change at the boundary of every voxel, which were not present in the original continuous physical signal. The diagonal lines are also voxel boundaries, they appear like this when the slice view orientation is not aligned with the volume axis orientation. These lines are not real, they appear because you chose to see the sampled values instead of the reconstructed continuous signal.

So, everything is good, just make sure to keep interpolation enabled if you want to see the actual image (not the raw data that has not been reconstructed into image signal yet).

---

<div class="post-metadata">

**Author:** ![aiden.zhu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aiden.zhu/32/67145_2.png) [@aiden.zhu](https://discourse.slicer.org/u/aiden.zhu)\
**Post date:** [April 3, 2025, 1:58pm UTC](https://discourse.slicer.org/t/why-stripping-lines-show-up-after-using-applytransform-command/42350/4 "2025-04-03T13:58:37Z")

</div>

Thanks a lot. Not big issue anyway. Yes, interpolation will be there applied to get such lines off. 🙂
