# Clear IJK to RAS

**URL:** <https://discourse.slicer.org/t/clear-ijk-to-ras/13250>\
**Category:** Support\
**Tags:** dicom, transforms\
**Created:** [August 31, 2020, 2:50pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250 "2020-08-31T14:50:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![joachim](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@joachim](https://discourse.slicer.org/u/joachim)\
**Post date:** [August 31, 2020, 2:50pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250/1 "2020-08-31T14:50:30Z")

</div>

My DICOM image serie has a built in transformation, which can be seen in _Volume Information_:

![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/9/f9b480cada6e577850602a6e79cd1b2f388bbe5b.png)

(Or using ImageMagick: `magick identify -verbose file.dcm` shows a tag `dcm:ImageOrientation(Patient)` with this orientation).

How can I clear this orientation in the Slicer application? Because my segmentation becomes bad when the orientation of the image volume and the segmentation volume does not match. I don’t care about the orientation of the image volume. And I don’t care about the orientation in the DICOM files. I only want a plain segmentation using the pixels in the image volume.

---

<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:** [August 31, 2020, 4:18pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250/2 "2020-08-31T16:18:39Z")

</div>

You should not ignore image orientation for many reasons. If you want to segment on slices that are parallel to image axes then click the oblique slice warning icon in the Segment Editor (next to the segmentation node selector). If the warning button is clicked, each slice view is automatically aligned to the closest segment axis.

[![](https://lassoan.github.io/SlicerSegmentationRecipes/ObliqueSliceSegmentation/MisalignmentWarningButton.png) ](https://lassoan.github.io/SlicerSegmentationRecipes/ObliqueSliceSegmentation/MisalignmentWarningButton.png)

---

<div class="post-metadata">

**Author:** ![joachim](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@joachim](https://discourse.slicer.org/u/joachim)\
**Post date:** [September 1, 2020, 1:47pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250/3 "2020-09-01T13:47:40Z")

</div>

OK, and if I press the button below, I see that the segmentation labelmap volume has the same orientation, so it should be aligned with the voxels of the image volume.

But if I click the slice warning icon, the hotlink between my two Views does not work anymore. Is that a bug or correct behaviour? (If I remember correctly, hotlink is implemented in [vtkMRMLSliceLinkLogic.cxx](https://github.com/Slicer/Slicer/blob/43300c7b9a3b27265c2bc736693cb881f05e3ea9/Libs/MRML/Logic/vtkMRMLSliceLinkLogic.cxx)).

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/3/43893e7173a6aa656d4577519e29e58921518757.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:** [September 1, 2020, 10:53pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250/4 "2020-09-01T22:53:40Z")

</div>

Linking synchronizes views that have the same orientation. You can manually rotate any view to a volume axis by clicking the corresponding button in the slice view control widget.

---

<div class="post-metadata">

**Author:** ![joachim](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@joachim](https://discourse.slicer.org/u/joachim)\
**Post date:** [September 11, 2020, 8:36pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250/5 "2020-09-11T20:36:56Z")

</div>

If I remember correctly, clicking the slice warning icon only affects Views having a segmentation overlay. I created [my own layouts](https://github.com/karamellpelle/SlicerRC/blob/998d8e881524aa1a302378be458e2e13cd2aa5f0/slicerrc.py) to do manual segmentations easier. Here I synchronize (i.e. hotlinks) two Views so that one shows segmentation overlays and the other not (this makes it easier to see structures). Reformatting only one View probably breaks the hotlink. I suppose I can copy the reformatted orientation to the other View next time.

---

<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:** [September 11, 2020, 8:51pm UTC](https://discourse.slicer.org/t/clear-ijk-to-ras/13250/6 "2020-09-11T20:51:00Z")

</div>

You can also add one more display node to your segmentation (using Python scripting), which associates the segmentation with additional views, but makes the segments almost completely transparent, so that you can very clearly see your structures.

To make background images easier to see, you can also make segment outlines thinner and filling more transparent; and adjust window/level of the background image.
