我在MATLAB中构建一个GUI,我想在这个GUI中的图中显示点云。 GUI可以播放3D录制内容,并可以暂停/播放,更改速度并更改我正在播放的视频。如何在MATLAB GUI中显示点云?
到目前为止,我用pcplayer来显示点云。例如:
player = pcplayer(xlimits, ylimits, zlimits, 'MarkerSize', 100);
view(player,point_cloud);
然而,这开辟了一个新的数字。我已经使用pcshow尝试:
pcshow(point_cloud, 'Parent', axes_to_plot);
这个工作,但只适用于视频的第一帧。后来,我收到一个错误:
Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element.
这不是我试图画出云彩的问题:他们是不是空的,并且除了试图得出同样的云两次导致同样的错误。那里发生了一些我不明白的事情。
有谁知道如何解决我的问题?
我正在使用MATLAB版本2016a。