MATLAB Answers

Create organized pointcloud from normal pointcloud

9 views (last 30 days)
Bram Surewaard
Bram Surewaard on 19 Nov 2020
Commented: Bram Surewaard on 27 Nov 2020
For a project I needed to edit the data that came from the Simulation 3D Lidar block in Simulink, however the pointcloud that comes from this block is an organized pointcloud and it is read only. So I created an nomal pointcloud with the XYZ location data from each measurement. However now I need to use the segmentGroundFromLidarData function to remove the ground plane. And this function is only able to work with an organized pointcloud.
So that is where my problem is, I need to find a way to either edit the data while it is still in the organized pointcloud or transform an unorganized pointcloud back into an organized pointcloud. Does anybody know how I can do this?


Sign in to comment.

Answers (1)

Shubham Rawat
Shubham Rawat on 25 Nov 2020
Hi Bram,
You can create Point Cloud object by using xyzPoints coming from simulation 3d lidar. And then directly feed object into the segmentGroundFromLidarData.
You may refer to this link for creating Point Cloud Object:
Hope this Helps!

  1 Comment

Bram Surewaard
Bram Surewaard on 27 Nov 2020
Thanks for your reply.
That could work indeed, howerver I also need to edit the data.
I need to downsample the amount of points and add some displacement to the measurements, and I currently am able to do that by transforming it into an unorganized pointCloud.
So now I need to find a way to downsize the organized pointCloud and edit the data.
Do you know how I can do this?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!