how to calculate the long axis of mesh in 3D

1 view (last 30 days)
Hi, I have a segmented longbone and display it as a mesh in matlab. I now would like to calculate the long axis of the bone (sometimes called the inertia axis too - see picture). Does someone know how I could do that with matlab? Is there a toolbox for this kind of information of a mesh?
Thank you very much for your help!

Accepted Answer

Matt J
Matt J on 11 Jan 2022
Edited: Matt J on 11 Jan 2022
One possibility is to fit a cylinder or a 3D line to the surface samples. You can use cylindricalFit() or linear3dFit() available at,

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!