The Insight Journal logo

Importing Contours from DICOM-RT Structure Sets

Dowling, Jason, Malaterre, Mathieu, Greer, Peter B, Salvado, Olivier
Publication cover image

Please use this identifier to cite or link to this publication:
New: Prefer using the following doi:
Published in The Insight Journal - 2009 July-December.
Submitted by Jason Dowling on 2009-10-25 20:29:40.

This paper presents parsing software for importing contours from DICOM RT structure set files into binary image files. This is a common requirement for transferring expert manual segmentations from radiotherapy treatment planning software into external image analysis environments (such as ITK). We provide an implementation of RT structure set importing and give some example results from prostate cancer radiotherapy planning volumes. Please note that this implementation requires GDCM 2.0 to be installed (this is trivial; however this requirement is the reason for the low automatic testing score by the Insight-Journal Dashboard). Please Note: Updated June 2010 for a couple of minor issues (pls. see comments in .cxx) and to remove the requirement for image template. This code now reads the dcm directory and creates a 3D volume and associated binary structure volumes (all in NIfTI format). Usage: itkDICOMRT DicomDirectory inputDICOMRTImageFile OutputFilePrefix Feb 2013: Please note that this code won't work with ITK4 and above - instead please see: . There is also a new test DICOM-RT directory with that paper. Mar 2013 Now correctly handles holes within structures. Thanks to Sebastian Steger for the code fix.