Hi,
I have binary label files in itk::Image
. I have gone through a few examples in ITK and VTK. What I understood, we need to create the cell type object for generating a specific mesh in both ITK and Vtk. For example, I need to generate a tetrahedron mesh, and I need to choose typedef MeshType::CellType CellType;
in which CellType can be various type of cells.
In VTK, there is an example that they create the mesh cells. However, I do not how to connect the data types between itk and vtk.
How can I create the mesh from itk::Image and from that generate vtkUnstructuredGrid?
Is there any example available to show some tips and tricks?
Thanks