Cross Segmentation Explorer is a 3D Slicer extension for the visual inspection and comparison of multiple segmentations on the same volume. The extension is designed for CT volumes and segmentations in DICOM SEG format. This extension has been tested exclusively on CT volumes.
- Download the latest stable build of 3D Slicer from https://download.slicer.org and install it.
- Open the Extension Manager by clicking “Install Extensions” on the left side of the welcome screen, or by clicking the blue button with the “E” and puzzle-piece icon in the toolbar.
- Install the “QuantitativeReporting” extension. This will automatically install the DCMQI dependency as well. Restart 3D Slicer after the installation.
- Clone this Git repository https://github.com/ImagingDataCommons/CrossSegmentationExplorer.git to your local machine.
- After restarting Slicer, click the “Customize Slicer” icon (see Screenshot above).
- Open the “Modules” tab, and on the right side under “Additional module paths,” click the arrow button with the two arrowheads and select “Add.”
- Navigate to the cloned CrossSegmentationExplorer repository and select the subfolder "CrossSegmentationExplorer" that contains the CrossSegmentationExplorer module, then click “Open.”
- Restart 3D Slicer again.
- After the restart, the CrossSegmentationExplorer extension should appear in the module drop-down menu under “Segmentation.”
Download the dataset released with the paper “In search of truth: Evaluating concordance of AI-based anatomy segmentation models” from Zenodo (https://doi.org/10.5281/zenodo.17401359). This dataset includes 18 CT volumes from the NLST Dataset and corresponding segmentations suitable for immediate use with the module.
- Through the IDC web portal: https://portal.imaging.datacommons.cancer.gov
- Via the SlicerIDCBrowser extension by pasting a Study Instance UID into the study field (see forum topic)
- Programmatically using:
pip install --upgrade idc-index idc download-from-selection --study-instance-uid <UID> --download-dir .
You can also use your own imaging studies with this module. If no segmentation is available, you can generate one directly inside Slicer using AI-based segmentation extensions such as SlicerMOOSE, MONAIAuto3DSeg, or TotalSegmentator. These extensions produce DICOM SEG files that are compatible with this module.
- On the 3D Slicer Welcome screen, click “Add DICOM Data” to open the DICOM module.
- In the DICOM module, click “Import DICOM Files”.
- Select the top-level folder that contains all DICOM files for your dataset (Slicer will automatically detect and organize all subfolders). Wait for Slicer to import the data. Depending on the number and size of the files, this may take some time.
- After the import is complete, use the DICOM browser to load all data for a patient, only a specific study,or individual series/files. Once the intended data is selected, click “Load” to bring it into the Slicer workspace.
CrossSegmentationExplorer.mp4
- Select the volume you want to review. After selecting the volume, the module lists the number of associated segmentations and provides the option to load them. Segmentations that are already loaded are detected and not reloaded.
# referencedSegmentations = self.getAssociatedSegmentationFileNumber()
# self.ui.lableSegdicomRef.setText(str(referencedSegmentations) + " DICOM SEG series referencing this volume found")-
Select one or more segmentation files OR segmentation models to automatically display three orthogonal 2D views (axial, sagittal, and coronal) for each selected item
- The first dropdown menu displays all loaded segmentations associated with the selected volume and allows you to select the segmentation file
- The second dropdown menu is to select segmentation models. Segmentation models group one or more segmentations into a single model representation. This is useful when AI-based segmentation methods produce multiple output files.Segmentations are automatically assigned to models based on keywords found in their series description.
- Models and associated keywords can be created, modified, or deleted by clicking the plus icon next to the segmentation dropdown. This opens a configuration table, where models
can be edited or added. Keywords used for matching should be entered as comma-separated values.

-
OPTIONAL: Modify the Layout:
-
By default, three orthogonal 2D views (axial, sagittal, coronal) will be created for each selected segmentation or segmentation model, displaying the CT volume overlaid with the corresponding segmentation
-
In the “Enable 2D & 3D Views” section, you can also enable 3D views. When selected, one 3D view is created for each segmentation file or model, with the corresponding segmentations rendered in that view
-
Each view type (2D or 3D) can be toggled on or off independently.
⚠️ At least one view must be enabled to visualize the data. -
Additionally, selecting the "Vertical/horizontal Layout" checkbox arranges the 2D views in a vertical layout instead of the default horizontal layout.
-
Below the main controls, two collapsible sections — Options and Segment-wise comparison across models — provide additional functionality to support review and analysis workflows:
Options allows you to adjust how the segmentations in the 2D views are displayed and how views behave:
- Link Views: Synchronize camera movements across all active 3D or 2D views.
- Change Segmentation Representation to Outline: Switches the segmentation display from filled regions to outlines.
The Segment-wise comparison across models panel enables detailed, review across the individual segments available in the loaded segmentations.
Key Features:
- Select Segmentation Group: Choose an anatomical group (e.g., "Ribs") or select "All" to include all available segments. The table will display only the segments that
belong to the selected group, along with the number of segmentations in which each segment is present.
Segmentation groups can be adjusted/changed similarly to segmentation models:
- Click the "+" button to open a configuration pop-up.
- Each group is defined by a set of keywords. Segments whose names contain one of the keywords will be assigned to that group.
- The group "All" is always available and contains all segments, while "Other" includes all segments that do not match any defined keyword group.
- Segment Navigation: Use the Previous and Next buttons to step through the segments one by one. Each selected segment is displayed simultaneously in all views, allowing for side by-side comparison across segmentations or models.
- Show Neighboring Segments: When the "Show neighboring segments semi-transparent" option is enabled, spatially adjacent structures are shown in semi-transparent mode.
Example of the "Ribs" segmentation group: all segments with names containing keywords like "rib" are automatically grouped and displayed in the views when selected.

Structure-wise comparison of a single rib segment with neighboring segments shown semi-transparent. Neighboring structures are computed separately for each segmentation or model, based on the available segmentations. As each segmentation may contain a different set of anatomical structures, neighboring segments can vary — for example, one model might display adjacent ribs, while another includes nearby organs such as the lungs.


