MATLAB Answers

Rotation of points around the three principle axes (x,y,z)

14 views (last 30 days)
Gledson Melotti
Gledson Melotti on 22 Oct 2019
Commented: Gledson Melotti on 7 Nov 2019
Hello, how are you? I have a 3D coordinate system. My system was obtained from a LIDAR sensor. Do I need to project the 3D point clouds on the 2D flat image? I have to project my points considering the LIDAR coordinates as x: forward, y: left and z: up. However, my points were obtained by considering the following coordinates as x: right, y: down and z: forward. So how do I convert / rotate from the second convention (x: right, y: down, and z: forward) to the first convention (x: forward, y: left, and z: up)?
I thank you for your attention,
Gledson

Answers (1)

Hari Krishna Ravuri
Hari Krishna Ravuri on 5 Nov 2019
Point cloud data can be displayed using pcshow.The syntax of pcshow is
pchow(ptCloud)
where ptCloud is a Point cloud object.Once the point cloud data was displayed, you may use your mouse to rotate the points.Please refer https://in.mathworks.com/help/vision/ref/pcshow.html for more information regarding pcshow.
Hope this helps!
  1 Comment
Gledson Melotti
Gledson Melotti on 7 Nov 2019
Hello. You are right.But I need learn how rotate mathematically. I tried to use the right hand rule and couldn't.
Bes regards.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!