Realign CT along the femur's centerline

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!

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)