Page 1 of 1

3D Model -> 2D segmentation

Posted: Mon Oct 30, 2017 1:13 am
by lukemarkham
Hi all,

I'm having a little difficulty here and was hoping someone might know how to help. SimVascular documentation does not seem to contain the information that I require.

I have an abdominal CT scan from which the aorta has been segmented. The segmentation has been specified along the axis of the aorta (by defining a path along the aorta). My question is two-fold:

1. How can I change the segmentation axis from that of the aorta to the z-axis. I've tried producing a surface from the original segmentation and then projecting that surface down onto my z-axis slices (axial slices), however I can't figure out how to do the projection.

2. How can I export a list of pixel co-ordinates (or an image binary) to denote the location of the segmented aorta in each of the axial slices.

Thanks :)
Luke

Re: 3D Model -> 2D segmentation

Posted: Mon Oct 30, 2017 11:01 am
by gmaher
Hi Luke,

Projecting segmentations onto arbitrary axes/extracting arbitrary cuts is currently not supported in SimVascular.

You could try exporting the polydata of the surface and using VTK along with the VTK cutter to look at cross-sections of the model in specified planes https://www.vtk.org/Wiki/VTK/Examples/Python/vtkCutter

To extract a binary image you could use the vtkPolyDataToImageStencil function https://itk.org/Wiki/VTK/Examples/Pytho ... ataStencil

Best,

Gabriel