Use of 3D slicer for creating surface meshes of wood from micro tomograph imagery

Hello,
I am not a current user of slicer3D but I am looking for a software to transform the output of a college doing microtomograph to, ideally a surface mesh of different sections of a scan of wood.

the scans are generated in .tiff format so they are a stack of images, I have experience in meshing but engineering models from CAD or from pre-existing surface meshes so, even thought it is a new world for me I have a slight understanding of it.

currently i am looking for ideally an open source solution to go from the stack of images up to a volumetric mesh for doing numerical simulations, FEM/FVM. as a long time user of paraview, i came across slicer 3D which looks like the correct tool for what i am looking for but i have some questions:
the images looks like this:

some clarification for better understanding of anyone reading for better communication:

  • surface mesh: a triangular (or quadrilateral) mesh of a 3D object, it is on 3D space but it is only the shell of the object.
  • watertight mesh: a surface mesh that one can define an inside and outside of it (closed volume).
  • conformal mesh: a mesh that does not have any non manifold elements, such as hanging elements of surfaces elements that do not close into a volume
  • volumetric mesh: a tetrahedral (or hexahedral/polyhedral) mesh of a 3D object, it is on 3D space but in difference to the surface mesh it is filled up with elements.

my questions about the software are:

  1. from the tiff images can i generate 3D surfaces meshes?

  2. as it can be seen in the image, there are different sections on a wood material, is it possible to divide it by grey scale to distinguish the different ‘materials’ inside the wood and generate separated meshes? (for example if the images are circular with half white half black, can i generate automatically (by setting some thresholds) 2 meshes where each of them will be half a cylinder?

  3. surface meshes (ideally with separated regions question 2.) would allow me to develop the complete workflow, i have other tools to generate the volumetric mesh, but is it possible to generate them in 3D slicer directly? what are the algorithms integrated in case there exists?

  4. is the procedure I mentioned in 1. multi-thread? or GPU accelerated or something similar, where i can speed it up with a workstation? the imagery is quite large in weight as the resolution is really fine

  5. are the surfaces meshes generated, water tight? ideally conformal?

  6. there are scans that are over time, to measure the penetration of liquid inside the material, is something that the software can work on? like deform the surface mesh/ remesh it at each time step?

  7. how easy is the python scripting of slicer 3D? I use almost daily paraview with python, is it similar to it to program with?

  8. to what extend would this kind of work fully automatizable with slicer 3D? (I mean up to the point of getting a watertight surface mesh for each region separately.)

  9. is there any similar tutorials or applications that have been explored already in this kind of application? i saw only medical imagery, but slicer 3D looks quite promising for this kind of application

sorry if i have not being clear enough about any of my questions please do not hesitate as i can complete them with more information if necessary. sadly right now i dont have a file to provide as it is a work i will do in the following months.

thanks in advance,

Big picture is yes, Slicer could be a good tool since many of the features you listed are standard. But your domain is enough different that you may need to adapt things. Slicer is quite configurable, finding application in topics from geology to astrology and many fields of medicine so probably it can do what you want but only you will be able to know the details by trying.

  1. from the tiff images can i generate 3D surfaces meshes?

Yes, see, for example, the ImageStacks feature of SlicerMorph.

  1. as it can be seen in the image, there are different sections on a wood material, is it possible to divide it by grey scale to distinguish the different ‘materials’ inside the wood and generate separated meshes? (for example if the images are circular with half white half black, can i generate automatically (by setting some thresholds) 2 meshes where each of them will be half a cylinder?

Yes, see the Threshold effect in the Segment Editor. Also the Islands too.

  1. surface meshes (ideally with separated regions question 2.) would allow me to develop the complete workflow, i have other tools to generate the volumetric mesh, but is it possible to generate them in 3D slicer directly? what are the algorithms integrated in case there exists?

See the SegmentMesher extension. It’s not perfect at making volumetric meshes for all purposes but it’s a good start and you can compare with other tools.

  1. is the procedure I mentioned in 1. multi-thread? or GPU accelerated or something similar, where i can speed it up with a workstation? the imagery is quite large in weight as the resolution is really fine

Surface mesh generation in Slicer is multithreaded and the new SurfaceNets option is very fast.

  1. are the surfaces meshes generated, water tight? ideally conformal?

Segment surfaces are independent by default in Slicer are primarily for visualization so close but not assured to be watertight in the extreme (look up the JointSmoothing option for details). The Cleaver tool in SegmentMesher will give you a single mesh with material labels. Volumetric meshing in Slicer is an evolving topic, with lots of interest as more simulation tools are being integrated.

  1. there are scans that are over time, to measure the penetration of liquid inside the material, is something that the software can work on? like deform the surface mesh/ remesh it at each time step?

You can certainly do that with a script.

  1. how easy is the python scripting of slicer 3D? I use almost daily paraview with python, is it similar to it to program with?

Slicer python scripting is very powerful. It’s different from Paraview but not hugely. See these examples.

  1. to what extend would this kind of work fully automatizable with slicer 3D? (I mean up to the point of getting a watertight surface mesh for each region separately.)

Yes, this shouldn’t be a problem.

  1. is there any similar tutorials or applications that have been explored already in this kind of application? i saw only medical imagery, but slicer 3D looks quite promising for this kind of application

Tons of different examples, too many to list here. I think you can just browse slicer.org, slicermorph.github.io, and projectweek.na-mic.org to get ideas. Yes, mostly medical but really what you describe is not that much different.

Please do share example data and we can be much more specific about what might or might not be easy to do in Slicer.