how to set projection of point cloud visualization?

1 次查看(过去 30 天)
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
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