Skip to main content
QUICK REVIEW

[Paper Review] SA-Med2D-20M Dataset: Segment Anything in 2D Medical Imaging with 20 Million masks

Ye Jin, Junlong Cheng|arXiv (Cornell University)|Nov 20, 2023
COVID-19 diagnosis using AIMedicine14 citations
TL;DR

SA-Med2D-20M is a large-scale 2D medical image segmentation dataset with 4.6 million images and 19.7 million masks, designed to bring medical knowledge into SAM-style segmentation through broad modality and anatomical coverage.

ABSTRACT

Segment Anything Model (SAM) has achieved impressive results for natural image segmentation with input prompts such as points and bounding boxes. Its success largely owes to massive labeled training data. However, directly applying SAM to medical image segmentation cannot perform well because SAM lacks medical knowledge -- it does not use medical images for training. To incorporate medical knowledge into SAM, we introduce SA-Med2D-20M, a large-scale segmentation dataset of 2D medical images built upon numerous public and private datasets. It consists of 4.6 million 2D medical images and 19.7 million corresponding masks, covering almost the whole body and showing significant diversity. This paper describes all the datasets collected in SA-Med2D-20M and details how to process these datasets. Furthermore, comprehensive statistics of SA-Med2D-20M are presented to facilitate the better use of our dataset, which can help the researchers build medical vision foundation models or apply their models to downstream medical applications. We hope that the large scale and diversity of SA-Med2D-20M can be leveraged to develop medical artificial intelligence for enhancing diagnosis, medical image analysis, knowledge sharing, and education. The data with the redistribution license is publicly available at https://github.com/OpenGVLab/SAM-Med2D.

Motivation & Objective

  • Motivate bridging the gap between Segment Anything Model (SAM) and medical imaging by providing a large, diverse medical segmentation dataset.
  • Create a broad, multi-modality 2D medical dataset to train and adapt foundation models for medical image analysis.
  • Describe data collection, normalization, and mask processing pipelines to ensure usable, scalable segmentation resources.
  • Provide comprehensive dataset statistics to guide researchers in leveraging SA-Med2D-20M for downstream medical applications.

Proposed method

  • Collect 2D medical image segmentation datasets from web resources (e.g., TCIA, OpenNeuro, NITRC, Grand Challenge, Synapse, GitHub).
  • Normalize images to PNG using Self-Min-Max normalization and unify dimensions by 2D/3D slice handling.
  • Process masks by converting multi-label masks to binary, separating connected components, consolidating overlaps, and filtering small regions.
  • Record mask category information in a JSON file and adopt a uniform naming convention for images and masks.
  • Provide a release-ready dataset with detailed statistics and a consideration of modality and anatomical structure coverage.

Experimental results

Research questions

  • RQ1How large and diverse must a medical image segmentation dataset be to effectively support medical vision foundation models?
  • RQ2Can a SAM-style segmentation framework benefit from a large-scale, multi-modality 2D medical image dataset?
  • RQ3What are the data processing steps required to standardize heterogeneous medical datasets for segmentation tasks?

Key findings

  • SA-Med2D-20M comprises 4.6 million 2D medical images and 19.7 million masks.
  • The dataset covers 10 modalities, 31 main organs, and 271 labeled classes across over 200 categories.
  • CT and MR modalities dominate both images and masks in the collection.
  • Masks are processed to binary components, with removal of small targets and alignment to a consistent format.
  • Dataset statistics reveal a long-tailed label distribution with many categories having fewer than 1000 masks, and 47 categories in the 100k–1M range.
  • The data are normalized to PNG and organized with a JSON record for category mappings to support reproducible research.

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.