# Reslice dicom data given computed axis

**URL:** https://discourse.slicer.org/t/reslice-dicom-data-given-computed-axis/31806
**Category:** Support
**Tags:** segmentation, dicom
**Created:** [September 20, 2023, 3:42pm UTC](https://discourse.slicer.org/t/reslice-dicom-data-given-computed-axis/31806 "2023-09-20T15:42:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![winnfr](https://avatars.discourse-cdn.com/v4/letter/w/eb8c5e/32.png) [@winnfr](https://discourse.slicer.org/u/winnfr)
#### Post date: [September 20, 2023, 3:42pm UTC](https://discourse.slicer.org/t/reslice-dicom-data-given-computed-axis/31806/1 "2023-09-20T15:42:33Z")

</div>

Hello,

I think this question has been asked many times but I can’t find a post answering it.  
Here’s my workflow:

- I use slicer to segment an organ from CT Scan
- then export the STL
- this STL is processed by a programm of mine. It gives me 3 vectors as usual reference frame to display this organ.

Here I don’t know what to do. The slices of the CT scan are not perpendicular to the computed frame.  
I’d like to resample, rotate and translate the initial CT scan or compute a new CT Scan so that the slice are perpendicular of my frame.  
What module can I use to archieve that?  
Thanks

---

<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: [September 20, 2023, 8:53pm UTC](https://discourse.slicer.org/t/reslice-dicom-data-given-computed-axis/31806/2 "2023-09-20T20:53:27Z")

</div>

If you know these vectors you can create a matrix to transform the CT and the segmentation for display. If you want you can resample the data [through this transform](https://slicer.readthedocs.io/en/latest/user_guide/modules/resamplescalarvectordwivolume.html).

---

<div class="post-metadata">

### Author: ![winnfr](https://avatars.discourse-cdn.com/v4/letter/w/eb8c5e/32.png) [@winnfr](https://discourse.slicer.org/u/winnfr)
#### Post date: [September 21, 2023, 1:01pm UTC](https://discourse.slicer.org/t/reslice-dicom-data-given-computed-axis/31806/3 "2023-09-21T13:01:24Z")

</div>

thanks for your reply.  
It’s seems to be what I’m looking for but is there another tutorial or explanation how to use it. I’m bit lost…
