Create organized pointcloud from normal pointcloud

Hey,
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?
Thanks

답변 (1개)

Shubham Rawat
Shubham Rawat 2020년 11월 25일

0 개 추천

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!

댓글 수: 2

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?
Hello to all, and thank you for the information.
As a follow up, I created Mx3 pointclouds using xyz-Points, however in order to use functions like segmentGroundFromLidarData, an organized MxNx3 pointcloud is needed. The few questions answered here either do not explain how to convert from unorganized to organized, or move on to different topics (like a suggestion for pcfitplane).
Is it possible at all to convert the pt.Location from Mx3 to MxNx3?
Thank you in advance for your reply & patience.

댓글을 달려면 로그인하십시오.

카테고리

제품

릴리스

R2020a

질문:

2020년 11월 19일

댓글:

2021년 1월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by