Git Product home page Git Product logo

Comments (3)

davidstutz avatar davidstutz commented on July 18, 2024

I am not super up-to-date on what code is out there. Based on my experience, you will have a hard time finding an out-of-the-box solution based on some common and well-tested library (otherwise, I wouldn't have written this code). So you will likely need to write parts yourself, or adapt existing code - which is likely to be research code.

Easiest approach using this repository is as follows: convert your files to off files, run this tool with the right parameters, convert the HDF5 output to numpy arrays using h5py. This should not be too much work to get working.

Alternatively, you can try to adapt the code to STL files (only requires rewriting the from_off method in the code and try to save the result to something else than HDF5, also only requiring minor changes. This way you might get a solution that better fits your pipeline, for example, if you need to repeatedly process a lot of data for research.

from mesh-voxelization.

claell avatar claell commented on July 18, 2024

Alright, thanks for your fast and detailed reply!

After some more performance testing, I am currently using binvox on a Linux machine, which is acceptable for a grid size of 128.

I might have the time to look into this again, but it will probably be too time consuming to write the conversion script and look into how to build this.

from mesh-voxelization.

davidstutz avatar davidstutz commented on July 18, 2024

No worries. Thanks for getting back.

from mesh-voxelization.

Related Issues (13)

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.