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

 Akzeptierte Antwort

KSSV
KSSV am 10 Mär. 2021

1 Stimme

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

Weitere Antworten (1)

Mehmed Saad
Mehmed Saad am 10 Mär. 2021

0 Stimmen

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

3 Kommentare

Shaurab Show
Shaurab Show am 15 Mär. 2021
Bearbeitet: Shaurab Show am 15 Mär. 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 am 17 Mär. 2021
see the answer from KSSV
Shaurab Show
Shaurab Show am 17 Mär. 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

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 10 Mär. 2021

Kommentiert:

am 17 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by