Git Product home page Git Product logo

Comments (2)

LiangliangNan avatar LiangliangNan commented on August 20, 2024

In the current implementation, each branch is separately extracted from the fitted spline curves, and thus branches typically intersect at the joints. Seamlessly stitching the branches in principle is possible by computing the intersections of two generalized cylinders. But this requires to handle a few special cases, which is quite tedious. This is apparently less relevant to our research, so we leave this to the users of AdTree as postprocessing (and thus we may not implement it in this software prototype). However, I can suggest a workaround:

  • step 1: obtain closed surface meshes for each branch, by simply filling the holes at the two end points of the branch (In the result of AdTree, each branch is a connected component. So you need to loop over all branches).
  • step 2: compute the union of all the comments. This will result in a closed and manifold mesh representation of the tree branch structure, from which the volume could be easily computed.

Hope this helps.

from adtree.

HowcanoeWang avatar HowcanoeWang commented on August 20, 2024

Thanks a lot for your kindly reply, I will try this postprocessing as you suggested!

from adtree.

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.