meyerls / pc-skeletor

Skeletonization of 3D Point Clouds
MIT License
151 stars 18 forks source link

Exception point of skeleton data #21

Closed pengssy1 closed 8 months ago

pengssy1 commented 8 months ago

Hi,

I got the skeleton data using your methods. But for some individual tree skeleton data, I found some exception point. For example, the point at the red arrow. My original point cloud has not these exception point. The reason from Laplcian or else?

6545ea4a89a112838b1e112073cb307

Cross fingers!

meyerls commented 8 months ago

My first guess is that some points get contracted to some centers. I have also encountered the same behavior. My quick hack was too just delete points which all have the same coordinate (Mostly this are 100 of points in the same little region or all in (0,0,0)). What position do your points have?

pengssy1 commented 8 months ago

These are position of exception point. So, accually, only mannualy remove these points?

image

meyerls commented 8 months ago

You could also use open3d's remove statistical outlier function to remove these points.

pengssy1 commented 8 months ago

ok. Thanks!