TL;DR
This paper introduces Comp2Comp, an open-source Python package that automates the extraction of quantitative body composition metrics (bone, muscle, visceral and subcutaneous adipose tissue) from routine abdominal CT scans. By providing accessible, validated models and pipelines, Comp2Comp aims to democratize body composition analysis for both clinical and research settings, overcoming the limitations of manual segmentation and proprietary software.
What Problem Does This Paper Address?
Computed tomography (CT) scans are ubiquitous in clinical practice, offering not just diagnostic insights but also a wealth of quantitative data about body composition. However, manually extracting metrics like muscle mass, visceral adipose tissue (VAT), and subcutaneous adipose tissue (SAT) from CT images is a time-consuming and labor-intensive process, making it impractical for widespread clinical use or large-scale research. While proprietary software exists to automate this, its closed-source nature limits accessibility and hinders broader adoption. There's a clear need for an open-source, user-friendly tool that can reliably and efficiently perform these analyses, especially for researchers and clinicians who may not be experts in medical image processing.
Methods
Comp2Comp offers two primary pipelines for automated body composition analysis:
- Pipeline 1: End-to-End Spine, Muscle, and Adipose Tissue Analysis at T12-L5: This pipeline performs a comprehensive analysis from T12 to L5 vertebral levels. It starts with 3D spine segmentation using a pre-trained TotalSegmentator model. From these segmentations, it identifies regions of interest (ROIs) within vertebral bodies to estimate bone mineral density (BMD) via Hounsfield Unit (HU) measurements. It then determines superior-inferior centers for each vertebral level and extracts 6 axial slices for subsequent 2D segmentation of muscle and adipose tissues.
- Pipeline 2: Modular Slice-by-Slice 2D Analysis of Muscle and Adipose Tissue: This pipeline allows users to bypass the spine segmentation step and directly analyze muscle and adipose tissue on user-specified 2D axial slices. This offers flexibility for specific research questions or when only certain anatomical regions are of interest.
Both pipelines utilize pre-trained 2D UNet convolutional neural networks (CNNs) for muscle and adipose tissue segmentation. These models are hosted on Hugging Face and are publicly available. Post-processing steps include hole-filling in segmentation masks and a heuristic for identifying intermuscular adipose tissue (IMAT) based on HU values within muscle regions. The package is designed for easy installation via Anaconda/Miniconda or pip and provides command-line interfaces for processing.
Datasets
The paper does not explicitly detail the datasets used for training the core segmentation models. However, it mentions that the spine segmentation model (TotalSegmentator) was trained on a dataset of 1,082 CT scans with C1-L5 vertebrae labeled. The muscle and adipose tissue segmentation models were trained on axial DICOM slices at the L3 vertebral level. For validation, the authors used:
- Internal Test Set: 40 intravenous contrast-enhanced CT scans from their tertiary center emergency department for evaluating muscle, VAT, and SAT segmentation.
- External Validation Set: 20 CT scans from another institution for external validation of the muscle, VAT, and SAT models.
- Spine Validation: 40 Stanford tertiary center emergency department intravenous contrast-enhanced test set cases were used to validate the superior-inferior vertebral centers.
Key Insights and Ideas
- Democratizing Advanced Analysis: The core idea is to make sophisticated body composition analysis accessible to a broader audience by providing an open-source, easy-to-use tool. This directly addresses the limitations of manual methods and proprietary software.
- Leveraging Existing State-of-the-Art: The integration of TotalSegmentator for spine segmentation demonstrates a pragmatic approach, building upon existing robust models rather than reinventing the wheel.
- Modular Design for Flexibility: Offering two distinct pipelines caters to different user needs, from comprehensive analysis to targeted slice-based assessment.
- Focus on Quality Assurance: The inclusion of polychromatic visualizations (CPRs and segmented axial slices) is crucial for enabling users to visually inspect the quality of segmentations and build trust in the quantitative metrics.
- Clinical Relevance of Body Composition: The paper strongly emphasizes the clinical importance of metrics like bone density (osteoporosis screening), muscle mass (sarcopenia screening), and adipose tissue distribution (metabolic syndrome, cardiovascular risk) derived from routine CT scans.
Key Results
- Segmentation Accuracy: The internal validation showed high Dice scores for muscle (0.97 ± 0.03), VAT (0.96 ± 0.05), and SAT (0.97 ± 0.02) at the L3 vertebral level. External validation also yielded competitive Dice scores across T12-L5 levels, with values generally above 80% for muscle and above 85% for VAT and SAT.
- Metric Accuracy: Errors in computing tissue Hounsfield units and cross-sectional areas averaged below 1% and 2%, respectively, for segmented tissues in internal validation.
- Spine Center Accuracy: The superior-inferior vertebral center error was generally low, with mean absolute errors ranging from 2.68 mm to 5.35 mm across vertebral levels.
- Bone Density Validation: The method for extracting mean HU from ROIs showed mean errors below 7.10 HU (absolute) and 2.57% (relative) compared to equivalent ROIs.
Limitations and Future Work
Limitations:
- Training Data Transparency: The paper could benefit from more detail on the specific datasets used for training the segmentation models.
- IMAT Heuristic: While the IMAT heuristic is functional, it's based on HU thresholds and might not capture all nuances of IMAT. The paper notes that the
abCT_v0.0.1model is better suited for IMAT analysis as it was trained with IMAT labels. - Limited Anatomical Scope: Currently, Comp2Comp focuses on abdominal CT scans and specific tissues (bone, muscle, VAT, SAT).
Future Work:
The authors express a commitment to regularly updating the tool. Planned additions include:
- Health Outcome Risk Scores: Integrating risk scores directly derived from body composition metrics.
- Radiomic Analyses: Incorporating radiomic features for more advanced characterization of tissues.
- Community Contributions: Encouraging pull requests and issues to foster community-driven improvements.
Summary updated