Pre- and Post-Treatment Glioma Segmentation with the Medical Imaging Segmentation Toolkit

Adrian Celaya, Tucker Netherton, Dawid Schellingerhout, Caroline Chung, Beatrice Riviere, David Fuentes · 2025

Read Pre- and Post-Treatment Glioma Segmentation with the Medical Imaging Segmentation Toolkit by Adrian Celaya, Tucker Netherton, Dawid Schellingerhout, Caroline Chung, Beatrice Riviere, David Fuentes (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-19626.txt.

Introduction

Adrian Celaya and co-authors present in 2025 the current state of an open toolkit for outlining brain tumors in scans. Fair comparison of outlining methods is hard without shared, flexible tooling, they note. Their toolkit's strength is a cleanup stage that users can shape: small stray blobs can be dropped or swapped, the largest mass kept, and holes filled or edges smoothed.

Steps chain into custom plans, from plain cleanup to per-class pipelines. The team tested three plans on the 2025 challenge for brain tumor outlining before and after treatment, scored by the challenge's own ranking rules. Scores showed how cleanup choices move results, proof that the last polish step deserves the same care as the model itself.

Catalog record

CREATORAdrian Celaya, Tucker Netherton, Dawid Schellingerhout, Caroline Chung, Beatrice Riviere, David Fuentes
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE20 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2507-19626

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Pre- and Post-Treatment Glioma Segmentation with the Medical Imaging Segmentation Toolkit Adrian Celaya, Tucker Netherton, Dawid Schellingerhout, Caroline Chung, Beatrice Riviere, David Fuentes Abstract Medical image segmentation continues to advance rapidly, yet rigorous comparison between methods remains challenging due to a lack of standardized and customizable tooling. In this work, we present the current state of the Medical Imaging Segmentation Toolkit (MIST), with a particular focus on its flexible and modular postprocessing framework designed for the BraTS 2025 pre- and post-treatment glioma segmentation challenge. Since its debut in the 2024 BraTS adult glioma post-treatment segmentation challenge, MIST’s postprocessing module has been significantly extended to support a wide range of transforms, including removal or replacement of small objects, extraction of the largest connected components, and morphological operations such as hole filling and closing. These transforms can be composed into user-defined strategies, enabling fine-grained control over the final segmentation output. We evaluate three such strategies - ranging from simple small-object removal to more complex, class-specific pipelines - and rank their performance using the BraTS ranking protocol. Our results highlight how MIST facilitates rapid experimentation and targeted refinement, ultimately producing high-quality segmentations for the BraTS 2025 challenge. MIST remains open source and extensible, supporting reproducible and scalable research in medical image segmentation. 1 Introduction Medical imaging segmentation is a highly active area of research. Since its introduction in 2015, the U-Net architecture has received nearly 90,000 citations on Google Scholar [ 23 , 12 ] . Other architectures and frameworks like nnUNet have achieved state-of-the-art accuracy in several medical imaging benchmarks such as the Brain Tumor Segmentation (BraTS) and Medical Segmentation Decathlon (MSD) challenges [ 14 , 15 , 1 ] . Since the introduction of nnUNet in 2018, a variety of innovative segmentation methods have emerged, including transformer-based architectures [ 25 ] and advanced loss functions such as boundary and generalized surface losses [ 18 , 9 ] . Despite these advancements, there remains a lack of standardized tools that support consistent, customizable, and reproducible comparisons across segmentation methods. Discrepancies in reported performance - where several works claim improvements over nnUNet [ 24 , 10 , 13 , 27 , 6 ] while others challenge these claims [ 16 ] - highlight the need for a common experimental framework. To address this need, we introduced the Medical Imaging Segmentation Toolkit (MIST), a modular, end-to-end framework for training, testing, and evaluating deep learning-based segmentation methods in a standardized and reproducible manner. Using MIST, we achieved third place in the 2024 BraTS adult glioma post-treatment challenge, validating the framework’s effectiveness in competitive, real-world benchmarks. Since that submission, we have overhauled several key components of MIST to further support rapid experimentation and evaluation. These updates include a redesigned model interface supporting more flexible architecture and loss function customization, an enhanced inference engine with support for different ensembling and test-time augmentation strategies, and an entirely restructured postprocessing module that enables class-specific strategies such as morphological filtering and label reassignment. In this work, we focus on MIST’s redesigned postprocessing framework and its role in producing high-quality segmentations for the BraTS 2025 pre- and post-treatment glioma segmentation challenge [ 17 , 2 , 21 , 5 , 3 , 4 , 26 ] . We present a set of postprocessing strategies composed of modular transforms, such as small object removal, hole filling, and class-specific component filtering. We also evaluate their impact on segmentation performance using the BraTS ranking protocol. Our results show that well-designed postprocessing strategies can improve average segmentation metrics and help address specific failure modes. By enabling fine-grained control over the final segmentation output, MIST allows researchers to iterate quickly and target improvements for specific classes or failure modes. The framework remains open-source and extensible, providing a robust foundation for reproducible and scalable research in 3D medical image segmentation. 2 Methods In this section, we begin by detailing our training protocols used to create our baseline models and results. We then describe MIST’s postprocessing module, define our selected postprocessing strategies, and explain the BraTS ranking system. 2.1 BraTS 2025 Training Protocols Our choice of architecture is the Pocket nnUNet with deep supervision (two supervision heads) and residual convolution blocks [ 7 , 14 ] . MIST automatically selects a patch size of 128 \times 128 \times 128. We use two NVIDIA H100 GPUs with a batch size of four uniformly distributed across the GPUs. Additionally, we use L2 regularization with a penalty parameter equal to 1\times 10^{-5} . Our choice of loss function is the Dice with Cross Entropy loss. We train each model for 10,000 epochs per fold. We use a cosine learning rate schedule with an initial learning rate of 0.001 [ 20 ] . Within each fold, we set aside 2.5% of the training data as a validation set to select the best model. Once training is complete, MIST runs inference on the challenge validation data using test time augmentation (flipping along each axis and averaging each prediction) for each model. Inference uses sliding windows with an overlap of 0.5 with Gaussian blending ( \sigma=0.125 ). The predictions from all five models are averaged to produce a final prediction. All other options and hyperparameters are left at their default values. Please refer to MIST’s documentation for these values. 2.2 Postprocessing Strategies To facilitate reproducible and flexible mask refinement, we redesigned the MIST postprocessing module around a strategy-based architecture that enables users to compose class-specific transformation pipelines in a modular and declarative manner. Each strategy is defined via a JSON configuration file that specifies a sequence of transformations to apply to predicted segmentation masks. Available transformations include the removal of small objects, replacement of small components with a specified label, extraction of the top- k largest connected components, and morphological operations such as hole filling and closing. These transforms can be configured to act globally or selectively on specific segmentation labels (i.e., tumor subregions), and applied either jointly or sequentially across classes. The user can control parameters such as size thresholds, replacement labels, and morphological operation settings directly through the strategy file, allowing for rapid experimentation without modifying code. This design separates postprocessing logic from the training pipeline, enabling efficient tuning of segmentation quality in the final prediction phase. Furthermore, the system is fully extensible—custom postprocessing transforms can be registered via a decorator-based interface within MIST’s internal transform registry. Collectively, this module provides a lightweight and highly configurable framework for optimizing segmentation outputs, which is particularly beneficial in settings like BraTS, where postprocessing can have a substantial impact on both clinical relevance and leaderboard ranking. In this submission, we compare three different postprocessing strategies: • Strategy 1 : Remove small objects in the RC class. We set the size threshold to 100 voxels. • Strategy 2 : Apply Strategy 1, retain the largest connected component in the RC class, and fill holes in the WT class with the SNFH class. • Strategy 3 : Replace small objects in the ET and RC classes with the SNFH class and then remove small objects from the SNFH class. The size thresholds for the RC, ET, and SNFH classes are 100, 100, and 64 voxels, respectively. 2.3 Strategy Ranking We evaluate our baseline results alongside our three

Read the complete text