Specialized modalities

RTSTRUCT contour edit metadata

Edit structure-set labels and metadata on an RT Structure Set.

Problem

You have an RT Structure Set (RTSTRUCT) containing regions of interest (ROIs) defined by a radiation oncologist. The ROI names don’t follow your institution’s naming convention — e.g. “Tumor” should be “Target_GTV”. You need to rename ROIs, change their display colors, and delete unused ROIs — all while preserving the contour data and spatial coordinates.

Steps

  1. Open the RTSTRUCT DICOM file (⌘O) — e.g. rt-test.dcm.

  2. Open the RT tab in the right rail. The ROI list is displayed.

  3. Rename an ROI — locate the ROI named “Tumor”, select it, and rename it to Target_GTV.

  4. Change the ROI color — select the renamed ROI and set its display color to red (#ff0000). The viewport reloads to reflect the new color.

  5. Delete an ROI — select Target_GTV (or any unwanted ROI) and delete it. The ROI is removed from the list and the underlying sequence.

Expected Result

  • ROI is renamed in the Structure Set ROI Sequence (3006,0020) with updated ROI Name (3006,0026).
  • ROI display color is updated in the ROI Display Color tag (3006,002A) and rendered in the viewport.
  • Deleted ROI is removed from the sequence entirely — both the ROI entry and its contour data.
  • The structure set metadata row is marked modified (gold highlighting).
  • Contour coordinates (3006,0039) for surviving ROIs are untouched.