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

 Réponse acceptée

KSSV
KSSV le 10 Mar 2021
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

Plus de réponses (1)

Mehmed Saad
Mehmed Saad le 10 Mar 2021

0 votes

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

3 commentaires

Shaurab Show
Shaurab Show le 15 Mar 2021
Modifié(e) : Shaurab Show le 15 Mar 2021
Yes. It is but I was looking for method using coding that will automatically generate a refined point cloud
Thanks
Mehmed Saad
Mehmed Saad le 17 Mar 2021
see the answer from KSSV
Shaurab Show
Shaurab Show le 17 Mar 2021
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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by