# Realign CT along the femur's centerline

**URL:** <https://discourse.slicer.org/t/realign-ct-along-the-femurs-centerline/14691>\
**Category:** Support\
**Tags:** dicom\
**Created:** [November 19, 2020, 4:14pm UTC](https://discourse.slicer.org/t/realign-ct-along-the-femurs-centerline/14691 "2020-11-19T16:14:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobbyZhang26](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bobbyzhang26/32/8892_2.png) [@BobbyZhang26](https://discourse.slicer.org/u/BobbyZhang26)\
**Post date:** [November 19, 2020, 4:14pm UTC](https://discourse.slicer.org/t/realign-ct-along-the-femurs-centerline/14691/1 "2020-11-19T16:14:59Z")

</div>

Hi, I have a sequence of CT scans of a patient’s femur. The original scans are aligned with conventional axial axis. I wish to realign the CT scan along the femur’s centerline which is a curve from condyles to the center of femur head. I do not know how to do it, please can you offer some advise ? Thanks!

---

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [March 21, 2023, 1:27pm UTC](https://discourse.slicer.org/t/realign-ct-along-the-femurs-centerline/14691/2 "2023-03-21T13:27:17Z")

</div>

I think you could create a femur segmentation with the segment editor module. Then export a 3D model and then use vmtk extract centerline module from vmtk extension (maybe you’ll need also to smooth the curve you get to clean some noise)
