3d point cloud and normal vector to the surface

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.

답변 (2개)

Kenta
Kenta 2020년 4월 21일

1 개 추천

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 2011년 5월 2일

0 개 추천

scatter3 would be useful for drawing the point cloud.
surfnorm and/or quiver3 would be useful for displaying the normals.

댓글 수: 3

developer
developer 2011년 5월 2일
but scatter3 works for vector and i have 120x160 set of values for x,y and z
Convert your x, y, and z arrays into vectors with the colon operator:
scatter3(x(:), y(:), z(:))
http://www.mathworks.com/help/techdoc/ref/colon.html

댓글을 달려면 로그인하십시오.

질문:

2011년 5월 2일

답변:

2020년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by