Calculation of axis of an object

4 ビュー (過去 30 日間)
Tim Navr
Tim Navr 2016 年 4 月 7 日
回答済み: Tim Navr 2016 年 4 月 7 日
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

回答 (2 件)

Image Analyst
Image Analyst 2016 年 4 月 7 日
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 件のコメント
Tim Navr
Tim Navr 2016 年 4 月 7 日
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

サインインしてコメントする。


Tim Navr
Tim Navr 2016 年 4 月 7 日
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