Det neighbours within radius of each point , radius changes per point relating to c value. Sk-learn to slow anything faster?

StackOverflow https://stackoverflow.com/questions/18901919

문제

I am working on a point cloud simplification algorithm that preserves features.

In the one aspect I am searching through each xyzc point, at each point i search the nearest neighbours within a radius - this radius is related to the points c value.

I have been using sk-learn nearest neighbours but it is super slow!!!

Is there any other library I can use that is much faster? Thanks

도움이 되었습니까?

해결책

If exact nearest neighbors search is too slow you should probably try approximate nearest neighbors search instead, for instance using the flann library.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top