# Best way to flip entire scene

**URL:** <https://discourse.slicer.org/t/best-way-to-flip-entire-scene/36822>\
**Category:** Support\
**Created:** [June 16, 2024, 10:32am UTC](https://discourse.slicer.org/t/best-way-to-flip-entire-scene/36822 "2024-06-16T10:32:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![evaherbst](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evaherbst/32/65595_2.png) [@evaherbst](https://discourse.slicer.org/u/evaherbst)\
**Post date:** [June 16, 2024, 10:32am UTC](https://discourse.slicer.org/t/best-way-to-flip-entire-scene/36822/1 "2024-06-16T10:32:43Z")

</div>

Hello,

I am having some trouble with incorrect orientations of a scan.

We received a CT scan of the upper body in .IMA format (unfortunately not DICOM). Therefore to load the CT data I converted to .nrrd in ImageJ, then loaded in Slicer.

I noticed that the left and right axes are flipped in the scan - I assume it has to do with something going wrong in the IJK to RAS transformation because the scan was “upside down”, ie when I load it in slicer, superior and inferior are also flipped.

In my original image volume the transform is as follows which seems to be the standard IFK to RAS.  
IJKToRASDirections:  
-1 0 0  
0 -1 0  
0 0 1

Maybe the image was already in RAS and that caused the issues?

Since the last axis is not flipped in the IJK to RAS transform, I created a linear transform and applied it to everything in the scene:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/1/b1df3143122056777c1d2d3c40352c4a14d39ca0.png)

This gives me the correct orientations for superior inferior, left right etc, and the bones are not mirrored incorrectly anymore.

I just wanted to confirm:  
-Do you recommend applying the transform to everything in the scene and continuing working on that scene? Or exporting the transformed image and segmentation data and importing into a new scene?

I already did some segmentation so would like to avoid re-starting from scratch.

**Should I also transform the camera or no?**

Thank you,  
Eva

---

<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:** [June 16, 2024, 1:16pm UTC](https://discourse.slicer.org/t/best-way-to-flip-entire-scene/36822/2 "2024-06-16T13:16:50Z")

</div>

> [@evaherbst](#):
>
> Do you recommend applying the transform to everything in the scene and continuing working on that scene?

Applying and hardening the transform would make sense, because by hardening you permanently fix the position/orientation of the objects.

You don’t have to transform the camera or modify views - they are all good, just the pose of the objects were incorrect.

---

<div class="post-metadata">

**Author:** ![evaherbst](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evaherbst/32/65595_2.png) [@evaherbst](https://discourse.slicer.org/u/evaherbst)\
**Post date:** [June 21, 2024, 10:09am UTC](https://discourse.slicer.org/t/best-way-to-flip-entire-scene/36822/3 "2024-06-21T10:09:54Z")

</div>

Thank you so much Andras.

Best,  
Eva
