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 Center および File ExchangePoint Cloud Processing についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by