Transform 3D point cloud
Show older comments
I have a point cloud and a rotation matrix like this:
rot=[ -0.48664090 0.36675647 0.79288739;
-0.67601788 -0.73296887 -0.075871207;
-0.55333579 0.57292831 -0.60462612 ]
How can I transform the point cloud using this rotation matrix? I cannot use this matrix with pctrasform and rigid3d.
3 Comments
Matt J
on 17 Mar 2021
I cannot use this matrix with pctrasform and rigid3d.
Why not?
Ernest Porqueras
on 17 Mar 2021
Ernest Porqueras
on 17 Mar 2021
Accepted Answer
More Answers (1)
Bjorn Gustavsson
on 17 Mar 2021
If you have a 3-x-n array of point-coordinates you can rotate them in 2 ways, either rotate the points or the coordinate system.
For example like this:
r_rotated = rot*r_points;
HTH
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!