In-context learning for medical image segmentation

Eichi Takaya, Shinnosuke Yamamoto
12/17/2024
eess.IVcs.AIcs.CV

No official code found. Best implementation: zymissy/CCViM (64 stars, Apache-2.0, last commit 2025-08-01).

Abstract

Annotation of medical images, such as MRI and CT scans, is crucial for evaluating treatment efficacy and planning radiotherapy. However, the extensive workload of medical professionals limits their ability to annotate large image datasets, posing a bottleneck for AI applications in medical imaging. To address this, we propose In-context Cascade Segmentation (ICS), a novel method that minimizes annotation requirements while achieving high segmentation accuracy for sequential medical images. ICS builds on the UniverSeg framework, which performs few-shot segmentation using support images without additional training. By iteratively adding the inference results of each slice to the support set, ICS propagates information forward and backward through the sequence, ensuring inter-slice consistency. We evaluate the proposed method on the HVSMR dataset, which includes segmentation tasks for eight cardiac regions. Experimental results demonstrate that ICS significantly improves segmentation performance in complex anatomical regions, particularly in maintaining boundary consistency across slices, compared to baseline methods. The study also highlights the impact of the number and position of initial support slices on segmentation accuracy. ICS offers a promising solution for reducing annotation burdens while delivering robust segmentation results, paving the way for its broader adoption in clinical and research applications.

View on arXivView PDF

Code Implementations(1)

zymissy/CCViMCommunity71%
Apache-2.0

Merging Context Clustering with Visual State Space Models for Medical Image Segmentation

647PythonDec 30, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{takaya2024incontext,
  title  = {In-context learning for medical image segmentation},
  author = {Eichi Takaya and Shinnosuke Yamamoto},
  year   = {2024},
  eprint = {2412.13299},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13299v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.13299.svg)](https://codeofpaper.com/paper/2412.13299)

Discussion