Coder Social home page Coder Social logo

KDTreeFlann about cupoch HOT 12 CLOSED

neka-nat avatar neka-nat commented on July 18, 2024
KDTreeFlann

from cupoch.

Comments (12)

neka-nat avatar neka-nat commented on July 18, 2024

You could replace it with brute force nn.
https://github.com/neka-nat/cupoch/blob/master/src/cupoch/geometry/bruteforce_nn.h
I haven't tried it, so it may not be faster.

from cupoch.

xiaopeige avatar xiaopeige commented on July 18, 2024

Thank you, but I found that building kdtree in cupoch on gpu; and kdtree in open3d on cpu, the latter is faster, how should I explain this?

from cupoch.

neka-nat avatar neka-nat commented on July 18, 2024

Yes.
It depends on the number of points. the GPU is effective only when the number of points is more than 0.1~1 million.

from cupoch.

xiaopeige avatar xiaopeige commented on July 18, 2024

My point count is always around 2000, so can change it to build kdtree on cpu?

from cupoch.

neka-nat avatar neka-nat commented on July 18, 2024

For that number, the cpu is the better choice. faster.

from cupoch.

xiaopeige avatar xiaopeige commented on July 18, 2024

Yes, I want to use the cpu version of kdtree in Cupoch. Is this feasible?

from cupoch.

neka-nat avatar neka-nat commented on July 18, 2024

The cpu version is not implemented, so please use open3d or scipy's kdtree.

from cupoch.

xiaopeige avatar xiaopeige commented on July 18, 2024

I put the kdtree of open3d in the 3rdparty of Cupoch, and then recompile, is this feasible?

from cupoch.

neka-nat avatar neka-nat commented on July 18, 2024

I'm sure you can.

from cupoch.

xiaopeige avatar xiaopeige commented on July 18, 2024

ok ,thank you

from cupoch.

xiaopeige avatar xiaopeige commented on July 18, 2024

Build kdtree on cpu and gpu respectively. The difference lies in uploadtreetoGPU. This step takes more time, for a small number of point clouds (around 2000). I have completed the compilation of the cpu version of kdtree in Cupoch, but there is a problem with the operation, because the modules in the cupoch (such as EstimateNormals and ComputeFPFHFeature) are completed in the GPU, but the search kdtree is completed in the cpu, which is incompatible. Do you have any suggestions?

from cupoch.

neka-nat avatar neka-nat commented on July 18, 2024

If the number of points is about 2000, it would be faster to use the CPU for calculations other than kdtree.

from cupoch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.