Estimate the rotation of central axis of a 3D curve

1 次查看(过去 30 天)
I have N points in [x,y,z] and this kind of takes a spiral shape. Is it possible to find the central axis of such a spiral. This is not a regular helix.
My aim is to find the maximum distance of the curve from the central axis. I was trying to solve this by finding the central axis and from this estimate the rotation of this axis from the Z axis. Then rotate the 3D curve to have its central axis as the Z axis, from here I can find project and find the maximum radius from the center.
If there is any other easy way, please let me know.
Thank you.
  2 个评论
Image Analyst
Image Analyst 2016-9-7
My first guess would be to use Principle Components Analysis. I'd think one of the PCs should run down the main axis and the two others would be perpendicular to that. Do you have data you can supply?
UNK
UNK 2016-9-7
Yes, I am attaching the mat file here. Its size is [Nx3] where the columns correspond to x, y and z positions of the 3D curve.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by