Coder Social home page Coder Social logo

use of normal vectors about cpu_tsdf HOT 3 CLOSED

sdmiller avatar sdmiller commented on July 29, 2024
use of normal vectors

from cpu_tsdf.

Comments (3)

sdmiller avatar sdmiller commented on July 29, 2024

Hi Janos,

This is an example of one of those "Relics of a larger library" things. I believe I support normals because the PCL TSDF implementation on the GPU has use of them (for, e.g., the rendering and ICP step), and I wanted to remain compatible. But in my library they aren't used, and it isn't entirely clear what they would benefit.

from cpu_tsdf.

Janos95 avatar Janos95 commented on July 29, 2024

In my experience from using your code, it is tricky to reconstruct very thin objects. From my (shallow) understanding of the algorithm, the signed distance function will interfere with itself if the object is thinner than twice the positive(or negative, I am not entirely sure) truncation distance. I hoped normals would help to ameliorate this problem.

On another note, do you still consider putting the gpu code online at some point?

from cpu_tsdf.

sdmiller avatar sdmiller commented on July 29, 2024

You triggered my memory! I do recall looking into this for a while in grad school -- the idea of tessellating the SDF, so it could keep track of fields separately depending on which angle was being queried.

The way the code is written, it would be relatively easy to experiment with this by creating a new Voxel type which contains an array of numbers (say, the observed SDF from X different angles). But to my knowledge there isn't a standard way of doing this yet -- though, admittedly, I've been out of the academic game for a while.

Unfortunately, I think the GPU code is toast. Though if you look at pcl::KinfuTracker, you might see some remarkable similarities in the way we defined certain methods.

from cpu_tsdf.

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.