# 3D cardiac CT to 4D in 3D Slicer?

**URL:** <https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038>\
**Category:** Support\
**Tags:** registration, transforms\
**Created:** [August 3, 2021, 11:08am UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038 "2021-08-03T11:08:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaolin](https://avatars.discourse-cdn.com/v4/letter/x/c4cdca/32.png) [@xiaolin](https://discourse.slicer.org/u/xiaolin)\
**Post date:** [August 3, 2021, 11:08am UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038/1 "2021-08-03T11:08:20Z")

</div>

Hello, I want to use the 3D cardiac CT to get the 4D data. Does anybody know there is a special module in 3D slicer that can perform? Thanks in advance.

---

<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 3, 2021, 11:51am UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038/2 "2021-08-03T11:51:56Z")

</div>

Do you mean that you would like to warp a cardiac CT to simulate cardiac and respiratory motion?

You can achieve this by getting a transform sequence from a similar 4D CT using SequenceRegistration extension, then apply that transform to your 3D CT image. You can use 4D cardiac CTs in Sample Data module. You need to choose the fixed frame for the sequence registration that is in the same cardiac phase as your single 3D image. Before you apply the transform sequence, you need to align your single 3D image to the fixed frame (for example, using SlicerElastix extension).

---

<div class="post-metadata">

**Author:** ![xiaolin](https://avatars.discourse-cdn.com/v4/letter/x/c4cdca/32.png) [@xiaolin](https://discourse.slicer.org/u/xiaolin)\
**Post date:** [August 3, 2021, 12:21pm UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038/3 "2021-08-03T12:21:14Z")

</div>

Yes, I got the 3D data from the animal cardiac CT, want to simulate the displacement of the heart during the whole cardiac cycle. Thanks for your help, I will try it.

---

<div class="post-metadata">

**Author:** ![xiaolin](https://avatars.discourse-cdn.com/v4/letter/x/c4cdca/32.png) [@xiaolin](https://discourse.slicer.org/u/xiaolin)\
**Post date:** [August 4, 2021, 8:38am UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038/4 "2021-08-04T08:38:53Z")

</div>

Hi Andras, I tried your method, it’s working quite well. Can I ask you a further question? Is it possible to make a beating heart model (or animation) using the 4D CT created from the 3D CT data? 🙏

---

<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 4, 2021, 6:47pm UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038/5 "2021-08-04T18:47:54Z")

</div>

Yes, you can create a beating heart model by segmenting the heart image and then apply the same transform sequence to the segmentation or exported models.

---

<div class="post-metadata">

**Author:** ![xiaolin](https://avatars.discourse-cdn.com/v4/letter/x/c4cdca/32.png) [@xiaolin](https://discourse.slicer.org/u/xiaolin)\
**Post date:** [August 5, 2021, 8:02am UTC](https://discourse.slicer.org/t/3d-cardiac-ct-to-4d-in-3d-slicer/19038/6 "2021-08-05T08:02:36Z")

</div>

Thank you so much. Have a good day.
