IDC User Guide
Comment on page

DICOM Segmentations

DICOM Segmentation object (SEG) can be identified by SOPClassUID= 1.2.840.10008. Unlike most "original" image objects that you will find in IDC, SEG belongs to the family of enhanced multiframe image objects, which means that it stores all of the frames (slices) in a single object. SEG can contain multiple segments, a segment being a separate label/entity being segmented, with each segment containing one or more frames (slices). All of the frames for all of the segments are stored in the PixelData attribute of the object.
If you use the IDC Portal, you can select cases that include SEG objects by selecting "Segmentations" in the "Modality" section (filter link) under the "Original" tab . Here is a sample study that contains a SEG series.
You can further explore segmentations available in IDC via the "Derived" tab of the Portal by filtering those by specific types and anatomic locations. As an example, this filter will select cases that contain segmentations of a nodule.
# get the viewer URL for a random study that
# contains SEG modality
ANY_VALUE(CONCAT("", StudyInstanceUID)) as viewer_url
StudyInstanceUID IN (
# select a random DICOM study that includes a SEG object
SOPClassUID = "1.2.840.10008."


Metadata describing the segments is contained in the SegmentSequence of the DICOM object, and is also available in the BigQuery table view maintained by IDC in the bigquery-public-data.idc_current.segmentations BigQuery table. That table contains one row per segment, and for each segment includes metadata such as algorithm type and structure segmented.

Conversion into alternative representations

We recommend you use one of the following tools to interpret the content of the DICOM SEG and convert it into alternative representations:
  • dcmqi: open source DCMTK-based C++ library and command line converters that aim to help with the conversion between imaging research formats and the standard DICOM representation for image analysis results
  • highdicom: high-level DICOM abstractions for the Python programming language
  • DCMTK: C++ library that provides API abstractions for reading and writing SEG objects
Tools referenced above can be used to 1) extract volumetrically reconstructed mask images corresponding to the individual segments stored in DICOM SEG; 2) extract segment-specific metadata describing its content; 3) generate standard-compliant DICOM SEG objects from research formats.
SEG-specific metadata attributes are available in the table views maintained by IDC. See details here.