Azzera filtri
Azzera filtri

Calculation of axis of an object

1 visualizzazione (ultimi 30 giorni)
Tim Navr
Tim Navr il 7 Apr 2016
Risposto: Tim Navr il 7 Apr 2016
Hi I have a point cloud representing the end part of a femur (thigh bone).
I have the surface point cloud fir it and I need to calculate its axis. The amount you can see on the picture is as much as I have. As you can see its shape is wider at the end. Anyway, I need to calculate its central axis, ie the line which runs parallel to the bone. I was thinking to apply the cylinder first, but not sure how to do it properly.
Any and all ideas are welcome Thank you

Risposte (2)

Image Analyst
Image Analyst il 7 Apr 2016
Is this your actual image, with annotation and everything? If not, let's see the actual image. In general, you can use regionprops() and get the centroid, MajorAxisLength, and Orientation.
  1 Commento
Tim Navr
Tim Navr il 7 Apr 2016
I cannot upload the actual image as I only have the stl file. The image is just for the ilustration purposes. There are no annotations, just the shape of the bone and the amount of bone shown is as much as I have. will have a look at the commands you have provided. Thank you

Accedi per commentare.


Tim Navr
Tim Navr il 7 Apr 2016
Thanks for your time. Found the answer through using principal component analysis

Community Treasure Hunt

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

Start Hunting!

Translated by