Skip to content

Instantly share code, notes, and snippets.

@issakomi
issakomi / loadSEGmesh.py
Last active March 20, 2023 15:58
View DICOM SEG mesh with VTK and pydicom
# View DICOM SEG Surface Segmentation.
#
# Run standalone (VTK Python 3 and pydicom >= 2 are required)
# python3 loadSEGmesh.py <file>
#
# or from Slicer >= 4.11
# Slicer --python-script loadSEGmesh.py <file>
# (caution with Slicer RAS space, s. options below)
#
#