Get current view point (az,el) of a point cloud displayed in using "pcshow" command

조회 수: 61 (최근 30일)
Hi all,
Could you please let me know how to get the current view point of a point cloud which is displayed using "pcshow" command? Basically, I want to rotate a point cloud manually to get the best view and duplicated the same view point in multiple point clouds. I have tried using below solution but no luck.
Cheers.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 2월 2일
pcshow() returns an Axes object, which you can retrieve the View property of to get the AZ, EL pair, or you can call view() with no argument to get the transformation matrix.
  댓글 수: 2
Randika Vithanage
Randika Vithanage 2018년 2월 15일
편집: Randika Vithanage 2018년 2월 15일
Many thanks Walter. I tired by extracting az,el but it doesn't duplicate the manually rotated view. Instead it gives something different. Therefore, could you please let me know how to rotate using the transformation matrix. Cheers.
Walter Roberson
Walter Roberson 2018년 2월 15일
At the moment I do not know how to take the transformation matrix returned by view() with no parameters and use it in a different axes.

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

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by