Reputation: 179
I've set of vtk polygonal data files for segmented vessels:-
How to (voxelize) convert it to itk image with specific (size, origin and spacing)?
Upvotes: 1
Views: 736
Reputation: 434
This is not a trivial problem. It is not possible to do that given your raw contours. If you can convert your contours to a closed surface, then you can use vtkVoxelModeller to create a vtkImage. Then you can create an itk image using vtkITKImageFilter.
Alternatively, you can fit a closed geometry to your contours and create voxels based on the parameterization of your geometry: http://www.mit.edu/~adalca/files/papers/nerve_segmentation.pdf
Upvotes: 2