# How do you handle segmented model files across Slicer versions?

**URL:** <https://discourse.slicer.org/t/how-do-you-handle-segmented-model-files-across-slicer-versions/49098>\
**Category:** Community\
**Created:** [November 25, 2026, 5:50pm UTC](https://discourse.slicer.org/t/how-do-you-handle-segmented-model-files-across-slicer-versions/49098 "2026-11-25T17:50:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimsouthcott16](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@rimsouthcott16](https://discourse.slicer.org/u/rimsouthcott16)\
**Post date:** [November 25, 2026, 5:50pm UTC](https://discourse.slicer.org/t/how-do-you-handle-segmented-model-files-across-slicer-versions/49098/1 "2026-11-25T17:50:18Z")

</div>

I’m setting up a small workflow for a lab group at the university and trying to decide how to organize our segmentation work so it survives version changes. We have several people producing label maps and surface models from the same scans, and some of them open files in different Slicer releases. I’m not sure whether to standardize on one save format or keep both model and label map outputs, since I’ve read that some formats don’t round-trip cleanly between versions and I’m worried about losing segment names or colors. My main concern is that a colleague’s older files might load without warnings but still be subtly different from what they intended. I haven’t committed to a scheme yet and don’t want to force everyone onto one version if there’s a simpler habit that works. If you’ve dealt with this in a shared project, what has actually held up for your group?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 25, 2026, 5:58pm UTC](https://discourse.slicer.org/t/how-do-you-handle-segmented-model-files-across-slicer-versions/49098/2 "2026-11-25T17:58:50Z")

</div>

This is exactly the problem [`MorphoDepot`](https://github.com/SlicerMorph/Tutorials/tree/main/MorphoDepot#readme) is created to solve. (Step by step tutorial is in the link).

You can find the overview paper here: [https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210x.70342](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210x.70342)

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [November 25, 2026, 7:26pm UTC](https://discourse.slicer.org/t/how-do-you-handle-segmented-model-files-across-slicer-versions/49098/3 "2026-11-25T19:26:46Z")

</div>

> 🤖 This post was written with AI assistance.

[Imaging Data Commons](https://portal.imaging.datacommons.cancer.gov/) relies on DICOM for storing segmentation results, and DICOM Segmentation is supported in Slicer.

Connect your AI assistant to the hosted IDC MCP to learn more: [Start here | IDC User Guide](https://learn.canceridc.dev/ai-assistants/agents).

Below is the response from Claude (Opus 5.5), grounded in real experience and data we have in IDC, and checked/re-prompted by me - I have expertise in IDC and the relevant capabilities of DICOM.

Full conversation: [https://claude.ai/share/0c030605-cacb-43c8-829d-d4b96c0338bb](https://claude.ai/share/0c030605-cacb-43c8-829d-d4b96c0338bb)

* * *

If your scans are DICOM, I’d suggest **DICOM Segmentation (SEG)** as the format of record. It addresses most of what you’re worried about:

- **Segment names and colors are defined by the DICOM standard, not by a Slicer version.** Each segment carries a label, standard codes for what it represents (e.g. SNOMED “Liver”, “Neoplasm”), and a recommended display color. Pick segment types from Slicer’s terminology selector instead of typing free-text names, and two people’s “liver” will clearly be the same structure.
- **A segmentation can’t quietly end up on the wrong scan.** Each SEG records the UIDs of the image series it was drawn on, so it’s tied to the exact source images.
- **Provenance stays with the file.** Creator, method (manual / semi-automatic / automatic) and algorithm name are stored inside it. Fill these in carefully, though: the standard gives them a place but doesn’t check that they’re correct.
- **Each revision is a new object.** SEGs are write-once, so every edit gets its own series and date, which gives you a record of every version.

**Evidence that it works at scale:** NCI Imaging Data Commons (IDC) uses SEG as its main format for segmentations. The current release (v25) has about 193,000 SEG series with about 9.7 million segments across 70 collections, combining expert manual work and AI output from many groups and tools.

**Size isn’t a real objection.** Most existing SEGs were saved uncompressed, but the standard also supports a LABELMAP type and lossless compression. In IDC, RCC-AID’s compressed labelmap SEGs average about 0.06 MB, versus about 5.8 MB for uncompressed binary SEGs with a similar number of segments on kidney CT. Overlapping segments need the binary type, which can also be compressed.

**Surface models:** DICOM also defines a Surface Segmentation object. IDC doesn’t contain any yet and software support is limited, so for now I’d keep the masks as the primary record and regenerate surfaces from them in Slicer.

**A habit that should hold up:**

1. Edit in `.seg.nrrd`, using coded terminology for segment names.
2. Export a DICOM SEG at each checkpoint and treat that as the official copy.
3. Test a round trip once: export from the newest Slicer release your group uses, open it in the oldest, and compare names, colors and masks. Also check that your setup supports labelmap and compressed SEGs. (Tools: the QuantitativeReporting extension / dcmqi in Slicer; highdicom in Python.)

**Examples you can open in the browser** (source images and segmentation together):

| Example | What it shows |
| --- | --- |
| [RCC-AID, kidney CT](https://viewer.imaging.datacommons.cancer.gov/v3/viewer/?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.3671.4004.276055617216249523101813141367) | Compressed labelmap SEG, 4 segments, ~0.02 MB |
| [TotalSegmentator, NLST chest CT](https://viewer.imaging.datacommons.cancer.gov/v3/viewer/?StudyInstanceUIDs=1.2.840.113654.2.55.21869611586140117852707052775371860162) | 96 coded anatomical segments in one object (uncompressed, ~130 MB) |
| [LIDC-IDRI, chest CT](https://viewer.imaging.datacommons.cancer.gov/v3/viewer/?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.6279.6001.186378343509510052901886052675) | Each radiologist’s nodule outline as its own SEG on the same scan |
| [Pan-Cancer nuclei, TCGA-GBM slide](https://viewer.imaging.datacommons.cancer.gov/slim/studies/2.25.64490252589945153782290037746217138493) | Pathology: SEG mask plus ~55,000 nucleus polygons |
| [Stony Brook TIL map, TCGA-STAD slide](https://viewer.imaging.datacommons.cancer.gov/slim/studies/2.25.192556633057601350687037567350138553949) | Fractional (probability) SEG on a whole-slide image |

To load the CT examples in your own Slicer releases (handy for the round-trip test), paste the study UID into the SlicerIDCBrowser extension.

The same approach is used beyond radiology. IDC has about 27,000 SEGs on pathology slides and about 6.2 billion nucleus polygons stored as DICOM annotation objects.

More detail, including the queries behind these numbers: full [conversation transcript](https://claude.ai/share/0c030605-cacb-43c8-829d-d4b96c0338bb).
