how to set projection of point cloud visualization?

조회 수: 3 (최근 30일)
Valter Hesselmark
Valter Hesselmark 2018년 12월 21일
댓글: Valter Hesselmark 2019년 1월 7일
I'm using pcplayer to visualize a colored point cloud.
player1 = pcplayer([-1 1],[-1 1],[-1 1]);
view(player1,vertices,color)
I cannot find a way to set projection and camera angle for pcplayer - is it possible? If not, is there another solution?

채택된 답변

Anand
Anand 2019년 1월 7일
You need to use the axes of the pcplayer object.
For example,
% Create a pcplayer viewer
player = pcplayer([0 1], [0 1], [0 1]);
% View a point cloud
view(player, rand(1000,3));
% Query camera view angle
camva(player.Axes)
% Set camera view angle
camva(player.Axes, 15)
  댓글 수: 1
Valter Hesselmark
Valter Hesselmark 2019년 1월 7일
Thanks, perfect. And to set projection it seems
camproj(player.Axes,'perspective')
works. Ok I think I get it, thanks!

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by