Resources
We are strong believers in open science, and we share most of our code and weights of the developed models publicly. Our shared code ranges from segmentation networks through foundation model fine-tuning guides to image similarity metrics. We provide our code under different licences, including Apache 2.0 and CC-BY-NC 4.0. Please contact us if you need a commercial license to the code publicly available under a non-commercial license. We have also publicly shared medical imaging datasets.

Datasets

Breast-Cancer-Screening-DBT
Here, we share a curated dataset of digital breast tomosynthesis images that includes normal, actionable, biopsy-proven benign, and biopsy-proven cancer cases. The dataset contains four components:
(1) DICOM images
(2) Spreadsheet indicating which group each case belongs to
(3) Annotation boxes
(4) Image paths for patients/studies/views.

Duke-Breast-Cancer-MRI
The dataset is a single-institutional, retrospective collection of 922 biopsy-confirmed invasive breast cancer patients, over a decade, having the following data components:
(1) Imaging features from DCE-MRI: A set of 529 computer-extracted imaging features by inhouse software
(2) Demographic, clinical, pathology, treatment, outcomes, and genomic data
(3) Pre-operative dynamic contrast enhanced (DCE)-MRI
(4) Locations of lesions in DCE-MRI

Software

SegmentWithSAM
SegmentWithSAM is an open source 3D Slicer Extension that incorporates highly impactful SAM & SAM-2 models into the popular software for the visualization and annotation of medical images, 3D Slicer. It is designed to reduce manual annotation time thanks to the models it provides integration for.

CT Muscle and Fat Segmentation
This tool provides an open-source approach for segmenting skeletal muscle, subcutaneous adipose tissue (SAT), and visceral adipose tissue (VAT) in axial CT of the chest, abdomen, and pelvis. It also enables the extraction of diverse body composition metrics, such as muscle density, visceral-to-subcutaneous fat (VAT/SAT) ratio, muscle area and volume, and skeletal muscle index (SMI). It supports 2D evaluation at L3 and 3D analysis from T12 to L4.

Finetune SAM: Adapting Segment Anything for Medical Image Segmentation
This project provides an easy-to-use pipeline for fine-tuning the Segment Anything Model (SAM) on your customized medical imaging datasets. We explore three real-world scenarios: (1) single labeled dataset; (2) multiple labeled datasets for different tasks; and (3) mixed labeled and unlabeled datasets, by fine-tuning SAM for domain-specific clinical applications.

SegmentAnyBone: Foundation Model for Automated Bone Segmentation on MRI
SegmentAnyBone is an open-source foundation model designed for automated bone segmentation on MRI scans. Built on top of the Segment Anything framework, it provides zero-shot generalization across diverse musculoskeletal regions, enabling fast, consistent bone segmenting for downstream tasks.

ContourDiff: Unpaired Image-to-Image Translation with Structural Consistency for Medical Imaging
In this study, we introduce ContourDiff, a diffusion-based unpaired image translation framework tailored for medical imaging. By conditioning on domain-invariant contours (e.g., Canny edges), our method ensures structural consistency across domains. ContourDiff achieves up to 0.13 higher Dice on downstream segmentation tasks than CycleGAN—while requiring only target-domain training data.

DBTex Challenge: Digital Breast Tomosynthesis Tumor Detection
This repository compiles all of the released codebases for the algorithms and models which competing teams created for the DBTex Digital Breast tomosynthesis (DBT) tumor detection challenge. This also includes codebases for the baseline detection algorithms used in the competition, including DenseNet and Faster R-CNN models.

GuidedMorph: Two-Stage Deformable Registration for Breast MRI
In this study we propose a novel two-stage registration framework, GuidedMorph, designed to better align dense tissue in Breast MRI. In addition to a single-scale network for global structure alignment, we introduce a framework that utilizes dense tissue information to track breast movement. The model demonstrates notable improvements by over 13.01% in dense tissue Dice and 3.13% in breast Dice compared to the best learning-based baseline.

Fréchet Radiomic Distance (FRD)
This repository provides code for our novel metric for comparing medical image datasets/distributions: Fréchet Radiomic Distance, or FRD. As shown in our paper, FRD outperforms existing metrics such as FID, RadFID, KID, etc. in a wide range of applications in medical image analysis such as generative model evaluation and out-of-domain detection, while also possessing superior characteristics such as stability and computational efficiency at low sample sizes, sensitivity to image corruptions and adversarial attacks, feature interpretability, and correlation with radiologist-perceived image quality.

SegGuidedDiff: Segmentation Guided Diffusion
This repository provides code for our MICCAI 2024 paper, Anatomically-Controllable Medical Image Generation with Segmentation-Guided Diffusion Models. Our simple, powerful approach outperforms SPADE and ControlNet in faithfully generating medical images conditioned on detailed or incomplete segmentation masks, excelling across diverse anatomies and imaging modalities by operating directly in native image space.

SLM-SAM 2: Accelerating Medical Image Annotation via Short-long Memory SAM2
In this study, we propose SLM-SAM 2, a memory-augmented framework built upon SAM 2 to accelerate 3D medical image annotation. By incorporating both short-term and long-term memory banks, SLM-SAM 2 enables robust propagation of user prompts across volumetric slices. Our method improves Dice by up to 14.1% over SAM 2 and significantly reduces boundary errors during slice transitions.

