简体   繁体   中英

Alternative to VTK Marching cubes implementation

I'm looking for an alternative of marching cubes from vtk. It must have binding to python. Does it exist?

pythonisosurfaces contains an implementation here , although it needs a little bit of separation from its webapp trappings. "New BSD" license. I have used this code as a basis for isosurface generation in one of my own projects and it works well... up to a point; the memory consumption associated with it's datastructures somewhat limits its practicality for large meshes, and python isn't the fastest thing in the world. (If you outgrow this implementation you're probably looking for something more numpy compatible, probably implemented at numpy's 'C'-code level.)

The Contour Filter produces an isosurface from a 3D image dataset. Depending on your dataset, the Slice Cubes algorithm should also do the trick.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM