3d point cloud and normal vector to the surface

4 views (last 30 days)
developer
developer on 2 May 2011
Answered: Kenta on 21 Apr 2020
I am using 3d laser scanner , and have x,y and z axis from my sensor these three points which are of 120x160 each, now what i want to know is that how can i build 3d point cloud from my these three points and how can i draw the normal to the surface in the resulting point cloud.

Answers (2)

Kenta
Kenta on 21 Apr 2020
As of now, pcshow is available for displaying point clouds and quiver3 is effective to show the normal vectors.
Please find here for the detail.

Patrick Kalita
Patrick Kalita on 2 May 2011
scatter3 would be useful for drawing the point cloud.
surfnorm and/or quiver3 would be useful for displaying the normals.
  3 Comments
Patrick Kalita
Patrick Kalita on 2 May 2011
Convert your x, y, and z arrays into vectors with the colon operator:
scatter3(x(:), y(:), z(:))
Patrick Kalita
Patrick Kalita on 2 May 2011
http://www.mathworks.com/help/techdoc/ref/colon.html

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!