Number of neighbors

Feel free to ask any question here
Post Reply
westergu
Posts: 25
Joined: Tue Oct 24, 2017 8:52 am

Number of neighbors

Post by westergu »

Hi,
I don't know if this topic has been discussed previously, but I have a question about the tool Geometric features|Number of neighbors. It seems that the algorithm never outputs value 0 in the scalar field. In cases where the search distance is less than the distance to the closest points, one would assume that that particular point would have no neighbor. Or Is it so that every point include itself as a neighbor? Or have I understand the algorithm completely wrong?

Best regards,
Gustav
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Number of neighbors

Post by daniel »

Hi,

Yes, you are correct, the 'number of neighbors' includes the point itself (since it's used to compute local density, a value of '0' would be weird).
Daniel, CloudCompare admin
westergu
Posts: 25
Joined: Tue Oct 24, 2017 8:52 am

Re: Number of neighbors

Post by westergu »

Thank you for fast reply!
Post Reply