MATLAB: Editing / adding Point Cloud ‘Location’

lidarpointcloudread-only

Hi there!
I am working with LiDAR data gahtered using an Ouster sensor and Matlab's "Computer Vision Toolbox".
I would like to plot a recorded point cloud as a "movie", i.e. showing the different frames one after the other.
Since the "VelodyneReader" does not work for Ouster data, I tried to edit the point cloud manually, i.e. I tried to merge different frames of a point cloud to one single point cloud. Therefore, I tried to access the 'Location' in the Point Cloud using 'ptCloud.Location'. However, the 'Location' is a read-only property.
Does any one know how to change the 'Location' property of a 'pointCloud' from read-only to something that I can edit?
Thanks a lot for your help!
Cheers,
Raffi

Best Answer

I guess it would be better if you can access the Location property and store it in a MATLAB variable, make desired modifications and create a new point-cloud object using the modified points.