[vtkusers] Generation of Tet Mesh from Stack of Binary Images

Dominik Szczerba dominik at itis.ethz.ch
Sat Jan 10 14:38:13 EST 2009


Michael,

See the recent post by Bryn - he explained it very well.

In short: there is no easy magic. The general approach is to contour the 
voxel data and then feed it to a volume mesher, but there area a lot of 
pre- and post- processing tricks possible that can greatly influence the 
quality of the end mesh.

Dominik

Michael Jackson wrote:
> I'm getting into some new territory for myself so I was hoping to get a 
> "push" in the proper direction from the vtk community.
> 
> I have a stack of binary images (black and white). I would like to turn 
> this into a "TetMesh" in order to feed that tetmesh into an Finite 
> Element analysis program.
> 
> Question: what is the basic workflow/pipeline or what filters do I need 
> to use to get there. From searching around in the VTK docs it looks like 
> I should be able to use the vtkRectilinearGridToTetrahedra class. 
> Getting the my image stack into the vtkRectilinearGrid is straight 
> forward code.
> 
> Is this the correct approach?
> 
> Also could anyone comment on the amount of memory usage based on stack 
> size? For instance the initial stack of images would be 7700px X 8720px 
> X 870px. Lets assume about 30% to 40% of the volume is the phase that I 
> want meshed. Trying to figure out if this is even doable on a "PC" (even 
> one with 32GB of RAM and 64 Bit OS) or if I need to go to a 
> "SuperComputer" to get the mesh complete. There is a possibility of 
> reducing the XY pixel size by resampling the image if that would help.
> 
> Thanks in advance for any comments or words of wisdom.
> 
> Respectfully
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 

-- 
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation
http://www.itis.ethz.ch



More information about the vtkusers mailing list