To find rotational axis of an incomplete point cloud
17 views (last 30 days)
Show older comments
Hello All,
I am new to matlab and I am trying to find solution to a very specific problem. I have a point cloud with approx. 10000 points which has a rotational axis, but is incomplete (this means that the centroid does not lie on the rotation axis, because of incomplete nature of data).
My problem is to find the rotational axis of this point cloud. I have attached images below any kind of help would be really appreciated.
These images show different views of same point cloud and also incomplete nature of point cloud can be seen in here.
3 Comments
darova
on 20 Jan 2020
I think such algorithm will be too complicated (if it exists)
Can't you just manually replace your object to origin and rotate it?
Accepted Answer
Image Analyst
on 20 Jan 2020
I'd use pca() to find the 3 principal axes. You can then rotate the cloud so that the 3rd principal axis lines up with the z direction if you want.
7 Comments
Matt J
on 20 Jan 2020
Edited: Matt J
on 20 Jan 2020
Instead of fitting a circle, you could try minboundcircle from this file exchange submission,
to find the tightest circular envelope around your 2D projected points.. Since your points fill up most of a circle nicely, I'd bet this gives you a much more accurate estimate of the center.
More Answers (0)
See Also
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!