How to remove unwanted points in point cloud

Hi,
I am a beginner to Matlab and would like some suggestion on how to remove the top point cloud (which is detached from the body) in the figure below
Thanks in advance

 Accepted Answer

You can see that the unwanted points are lying in certain intervel of (x,y,z). Get those indices using logical indexing and remove them.
Example:
x = rand(1,100) ;
x(x>0.5) = [] ; % remove x which are greater than 0.5

More Answers (1)

The cheapest and easiest method is use of brush
Select Points you want to delete
now press delete

3 Comments

Yes. It is but I was looking for method using coding that will automatically generate a refined point cloud
Thanks
see the answer from KSSV
I did but its not generating an accurate result. Therefore, I have decided to do it using the manually with the help of brush.
But thanks anyways for the help

Sign in to comment.

Asked:

on 10 Mar 2021

Commented:

on 17 Mar 2021

Community Treasure Hunt

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

Start Hunting!