Skip to main content
QUICK REVIEW

[Paper Review] Comp2Comp: Open-Source Body Composition Assessment on Computed Tomography

Louis Blankemeier, Arjun Desai|arXiv (Cornell University)|Feb 13, 2023
Body Composition Measurement TechniquesMedicine7 citations
TL;DR

Comp2Comp is an open-source Python package for automated, accurate body composition analysis on abdominal CT scans, enabling rapid segmentation of bone, skeletal muscle, visceral adipose tissue (VAT), and subcutaneous adipose tissue (SAT). It offers two pipelines—spine-level (T12–L5) and user-defined axial slices—achieving high Dice scores (mean 0.97 for muscle, 0.96 for VAT, 0.97 for SAT) and sub-1% error in HU and cross-sectional area measurements, with validation on internal and external datasets.

ABSTRACT

Computed tomography (CT) is routinely used in clinical practice to evaluate a wide variety of medical conditions. While CT scans provide diagnoses, they also offer the ability to extract quantitative body composition metrics to analyze tissue volume and quality. Extracting quantitative body composition measures manually from CT scans is a cumbersome and time-consuming task. Proprietary software has been developed recently to automate this process, but the closed-source nature impedes widespread use. There is a growing need for fully automated body composition software that is more accessible and easier to use, especially for clinicians and researchers who are not experts in medical image processing. To this end, we have built Comp2Comp, an open-source Python package for rapid and automated body composition analysis of CT scans. This package offers models, post-processing heuristics, body composition metrics, automated batching, and polychromatic visualizations. Comp2Comp currently computes body composition measures for bone, skeletal muscle, visceral adipose tissue, and subcutaneous adipose tissue on CT scans of the abdomen. We have created two pipelines for this purpose. The first pipeline computes vertebral measures, as well as muscle and adipose tissue measures, at the T12 - L5 vertebral levels from abdominal CT scans. The second pipeline computes muscle and adipose tissue measures on user-specified 2D axial slices. In this guide, we discuss the architecture of the Comp2Comp pipelines, provide usage instructions, and report internal and external validation results to measure the quality of segmentations and body composition measures. Comp2Comp can be found at https://github.com/StanfordMIMI/Comp2Comp.

Motivation & Objective

  • To address the lack of accessible, automated tools for quantitative body composition analysis from routine abdominal CT scans.
  • To overcome the limitations of proprietary software by providing a fully open-source, user-friendly solution.
  • To enable widespread adoption of body composition metrics—such as muscle mass, fat depots, and bone density—for clinical and research applications.
  • To support early detection of sarcopenia and osteoporosis through automated, reproducible segmentation of key tissues on CT.
  • To facilitate large-scale longitudinal studies and clinical integration by streamlining data processing and visualization.

Proposed method

  • Utilizes the TotalSegmentator model for 3D spine segmentation to identify vertebral bodies (T12–L5) and extract anatomical landmarks.
  • Applies a deep learning model (stanford_v0.0.1) fine-tuned on contrast-enhanced CT scans to segment skeletal muscle, VAT, and SAT at axial slices.
  • Employs polychromatic visualization to enable rapid quality assurance of segmentation outputs.
  • Automates batch processing of DICOM-formatted CT studies via command-line interface or SLURM job submission.
  • Implements post-processing heuristics to refine segmentation results and ensure anatomical plausibility.
  • Computes standardized body composition metrics including Hounsfield Unit (HU) averages, cross-sectional areas, and tissue volumes.

Experimental results

Research questions

  • RQ1Can an open-source, automated pipeline achieve high segmentation accuracy comparable to manual or proprietary tools for body composition on abdominal CT?
  • RQ2How well does the model generalize across different institutions and scanner protocols, particularly for muscle and adipose tissue segmentation?
  • RQ3To what extent can automated vertebral body segmentation and HU measurement support osteoporosis screening using routine CT scans?
  • RQ4Can the tool be deployed efficiently in clinical and research workflows without requiring expert medical image processing knowledge?
  • RQ5How accurate are the computed body composition metrics (e.g., HU, cross-sectional area) compared to ground truth in internal and external validation sets?

Key findings

  • The spine pipeline achieved a mean vertical center error of 3.38 mm (L3) and 2.68 mm (L4), with HU ROI error below 4 HU and relative error under 2.6% across all levels.
  • On an internal test set of 40 contrast-enhanced CT scans, the model achieved Dice scores of 0.97 (muscle), 0.96 (VAT), and 0.97 (SAT) at the L3 level.
  • External validation on 20 cases from another institution showed Dice scores of 94.7% (muscle), 94.6% (VAT), and 93.2% (SAT) at L3, with high consistency across levels.
  • The error in Hounsfield unit (HU) measurement was below 1% and cross-sectional area error below 2% for all tissues on the internal test set.
  • The tool demonstrated robust performance across diverse anatomical regions and scan protocols, with minimal user input required.
  • The package enables automated, reproducible, and scalable body composition analysis with polychromatic visual reports for quality control.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.