How do I perform erosion and dilation on point cloud

27 views (last 30 days)
I have a point cloud representing top view of two nearby objects. Performing segmentation using pcsegdist identifies them as one segment. I feel like I would be able to separate them into two objects after applying erosion. How can I achieve erosion in pointclouds?
Thanks!

Accepted Answer

Yazan
Yazan on 17 Jul 2021
Transform the point cloud into an image, then you can use Matlab image processing tools and functions.
A quick search on the File Exchange lead me to this function, but I have not tested it myself.
  6 Comments
Farah Saeed
Farah Saeed on 19 Jul 2021
@DGM This can be useful if we can convert the point clouds into voxel/grid representation. If you have any ideas about conversion from point clouds to voxel/grid, you may share here.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!