CoolFace
Datasetpublic

Kaphathy/Dataset

MM-OphBench: Multi-Center Multimodal Clinical Ophthalmic Benchmark Dataset A Large-Scale, Standardized Multi-Center Benchmark Covering 7 Imaging Modalities & 4.3M+ Clinical Records 1. Executive Summary & Repository Overview The MM-OphBench repository hosts a petabyte-scale, clinically harmonized ophthalmic image archive compiled from leading ophthalmic hospitals and benchmark cohorts. It spans 4,307,415 high-resolution diagnostic images and multimodal… See the full description on the dataset page: https://huggingface.co/datasets/Kaphathy/Dataset.

sourceHugging Facecc-by-nc-sa-4.0updated 10h agoView on Hugging Face
2likes21kdownloads
Dataset Card

MM-OphBench: Multi-Center Multimodal Clinical Ophthalmic Benchmark Dataset

<div align="center">

A Large-Scale, Standardized Multi-Center Benchmark Covering 7 Imaging Modalities & 4.3M+ Clinical Records

![Hugging Face Dataset](https://huggingface.co/datasets/Kaphathy/Dataset) ![License: CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) ![Modalities]() ![Images]()

</div>


1. Executive Summary & Repository Overview

The MM-OphBench repository hosts a petabyte-scale, clinically harmonized ophthalmic image archive compiled from leading ophthalmic hospitals and benchmark cohorts. It spans 4,307,415 high-resolution diagnostic images and multimodal pairs across 7 distinct imaging modalities, with comprehensive clinical metadata, expert lesion segmentations, and hierarchical diagnostic taxonomies.

All archives are compressed into high-speed Zstandard chunks (.tar.zst) with pre-indexed SHA-256 manifests. A centralized, fully de-identified master index is provided in metadata/adapter_manifest_reviewed.parquet (39.9 MB), allowing instant cross-cohort querying across imaging modalities, device models, scan protocols, and clinical diagnoses without requiring massive raw downloads.


2. Multi-Center Clinical Provenance & Ethical Governance

All patient identifiable information (PII) including patient names, hospital record numbers (MRNs), national identity codes, and date-of-birth timestamps have been removed or replaced with deterministic SHA-256 cryptographic hashes (patient_hash, study_id), strictly complying with HIPAA Safe Harbor and GDPR pseudonymization principles.

Key Contributing Clinical Centers & Cohorts

  1. 1.The Second Affiliated Hospital of Zhejiang University School of Medicine (浙二眼科)
  2. 2.Contributions: Longitudinal FFA/ICGA dynamic angiography sequences (Final_eryuan_FFA), 17-class retinal disease benchmark (eryuanFundusT17RDCls), anterior segment photography.
  3. 3.Clinical Leads: Certified ophthalmologists (Prof. Wang Guoping and retinal angiography specialist team).
  4. 4.Beijing Tongren Hospital, Capital Medical University (北京同仁医院)
  5. 5.Contributions: Longitudinal multi-condition clinical cohorts (tongren_archives), 66-class fine-grained disease screening benchmark (trhd3_FRD_Cls66_Train), and the standard 95-disease clinical taxonomy (tongren95_taxonomy.csv).
  6. 6.The Second Xiangya Hospital of Central South University (中南大学湘雅二医院)
  7. 7.Contributions: High-frequency ocular B-scan ultrasonography with detailed diagnostic text reports (BUltrasound).
  8. 8.InEye Hospital of Chengdu University of TCM (成都中医药大学附属银海眼科医院)
  9. 9.Contributions: Comprehensive Ultra-Widefield (UWF) Optos color imaging (yinhai_uwf, 274.6 GB), FFA dynamic sequences, and ocular B-scans.
  10. 10.Chengdu First People's Hospital (成都市第一人民医院)
  11. 11.Contributions: 50MHz Ultrasound Biomicroscopy (UBM) ciliary body and anterior chamber angle quantitative morphometry (ChengduShiyiUBM).
  12. 12.Handan Eye Hospital (河北邯郸眼科医院)
  13. 13.Contributions: Fluorescein angiography paired cohorts (handan_ffa, handan_ffa2) and epidemiological diabetic retinopathy screenings.
  14. 14.Zhongshan Hospital, Fudan University (复旦大学附属中山医院)
  15. 15.Contributions: Multimodal cohort comprising 419,014 clinical visits with cross-system validation.

3. Optical Modalities & Hardware Instrumentation

The dataset captures full optical, acoustic, and angiography representations across the anterior and posterior segments of the human eye:

Modality SubtypePhysical Imaging PrinciplePrimary Acquisition HardwareTypical Clinical Protocol & ResolutionSample Count
Standard Color Fundus (CFP)45° Broadband White Flash PhotographyCanon CR6-45NM, CR-DGi, Topcon TRC-NW845° macular/disc centered; 2048x1536 to 4096x3072 px2,332,938
OCT B-scanSwept-Source (1050nm) & Spectral-Domain (870nm) OCTTopcon DRI OCT Triton, Optovue RTVue XR Avanti, Heidelberg Spectralis3D Macula (512x256), 6x6mm / 12mm radial lines; axial res 2.6-7.0 μm939,312
Ultrasound Biomicroscopy (UBM)50 MHz High-Frequency Acoustic UltrasoundTianjin Suowei SW-3200, MEDA MD-300LAnterior chamber angle, ciliary body, ACD depth, 50 MHz probe449,588
Ultra-Widefield Fundus (UWF)Dual-wavelength (532/635nm) Confocal Scanning LaserOptos 200Tx / California (200° Field of View)Non-mydriatic 200° peripheral retina; 3900x3072 px206,215
Ocular B-Scan Ultrasound10–20 MHz Pulse-Echo Acoustic TransducerSonomed Escalon, Quantel Medical, MadaVitreous opacity, retinal detachment, axial length112,612
External Anterior PhotographyDiffuse Visible Light IlluminationTopcon / Slit Lamp Imaging CameraCornea, iris, lens, cataract grading, external eye207,001
Reflectance SLO (En-face)820 nm Infrared Scanning Laser OphthalmoscopyHeidelberg Spectralis HRA, OptosEn-face confocal infrared reflectance (IR-SLO)36,024
Fluorescein Angiography (FFA/ICGA)Dynamic Fluorescein Sodium (490/520nm) & ICG (790/830nm)Heidelberg Spectralis HRA2, Topcon TRC-50DXDynamic perfusion sequence: early (0-30s), mid (1-3m), late (>5m)19,406
OCT / OCTA En-Face C-scansMotion-contrast decorrelation & slab projectionOptovue AngioVue, Topcon DRI TritonSuperficial/deep capillary plexus, outer retina slab3,000

4. Archive Directory & Shard Inventory

Archives are organized into self-contained sub-directories chunked at ~1024 MiB boundaries. Each shard is compressed using zstd -3 for fast decompressibility and high compression efficiency:

Dataset DirectoryModality FocusShardsTotal SizePrimary Source CenterKey Files Included
archives/yinhai_uwf/Ultra-Widefield (UWF)55274.6 GBChengdu Yinhai Eye Hospital200° Optos color scans (55 tar.zst shards)
archives/data0410/ + data0410_shard7/CFP, OCT Buckets, Comorbidity21287.4 GBMulti-center clinicalfundus_hcw.zip, octBuckets.zip (15 split parts), diagnosis Excel
archives/tongren_archives/Longitudinal Retinal Cohort2133.0 GBBeijing Tongren HospitalRaw longitudinal image archives (external.zip, fundus.zip)
archives/zhanghuan_selected_public/Public Benchmark Suites109106.8 GBInternational public sets109 standardized shards (Messidor, ODIR, DDR, CHAKSU, etc.)
archives/Final_eryuan_FFA/Dynamic FFA/ICGA Sequences1976.4 GBZJU-2 Eye CenterFull dynamic FFA frames + output2.jsonl, visionoph4.jsonl
archives/eryuanFundusT17RDCls/17-Class Retinal Disease CFP7447.4 GBZJU-2 Eye Center17-category labeled fundus images for benchmark training
archives/ChengduShiyiUBM/50MHz Anterior UBM25539.3 GBChengdu 1st People's Hospital50MHz ultrasound sweeps + ChengduShiyiUBM.json (ACD mm)
archives/OCTA-500/3D OCTA + Projection Slabs4437.0 GBNJUST / Public benchmark6mm & 3mm OCTA volumes with vascular masks (<=1GB shards)
archives/tongren16G95DFundus/16-Class 95-Subtype Gold-Standard3635.2 GBBeijing Tongren Hospital16 primary diagnostic families & 95 clinical subtypes aligned with metadata/tongren95_taxonomy.csv
archives/OCTA500_OCT/Structural OCT Volumes2928.6 GBNJUST / Public benchmarkStructural OCT volumes paired with OCTA-500 (29 split parts)
archives/WLOA/Wide-Field OCT Angiography1817.0 GBBenchmark suiteWide-field OCTA scans (18 split parts)
archives/DDR/Diabetic Retinopathy Lesion Seg1015.0 GBDDR Benchmark10-part partitioned DDR images and lesion segmentation masks
archives/FQ_Datasets/Fundus Quality & Artifact Grading1413.2 GBMulti-center QA teamHuman-curated validFundus (12.6GB) and invalidFundus (0.6GB)
archives/BUltrasound/Ocular B-Scan Ultrasound3811.3 GBXiangya-2 & YinhaiB-scan ultrasounds + XiangyaBscan.json, YinhaiBscan.json
archives/kaggle_glaucoma_v4/Multi-Source Glaucoma Suite v4109.4 GBMulti-source benchmark21,566 fundus images covering glaucoma screening and CDR metrics
archives/YinhaiUBM/50MHz UBM + Clinical Diagnostics109.2 GBChengdu Yinhai Eye Hospital83,752 UBM frames + comprehensive clinical diagnostic JSON annotations
archives/trhd3_FRD_Cls66_Train/66-Class Fine-Grained CFP87.8 GBTongren & Handan Eye Hospital66-disease multiclass training set with splits
archives/UBM_SW3200L/Noise-Reduced 50MHz UBM Suite87.7 GBMulti-center UBMDenoised UBM ciliary body scans (SW3200L transducer suites)
archives/RFMiD1/Multi-Disease Identifier 187.5 GBRFMiD benchmark suiteMulti-label 46-disease fundus images (Training, Evaluation, Test)
archives/AIChallenger/Retinal Disease Classification54.5 GBAI Challenger benchmarkFull partitioned retinal challenge images
archives/handan_ffa/FFA Dynamic Series54.5 GBHandan Eye HospitalHandan clinical FFA angiograms
archives/handan_ffa2/FFA Dynamic Series 232.7 GBHandan Eye HospitalLongitudinal follow-up FFA
archives/deepdrid/Dual-View DR Grading Benchmark22.0 GBDeepDRiD benchmark suite2,058 paired macula-centered and disc-centered fundus images
archives/ODIR/Ocular Disease Intelligent 5K21.3 GBShanggong / BenchmarkMulti-disease paired left/right fundus images (ODIR-5K.zip)
archives/chengdu_ffa/FFA Dynamic Series21.2 GBChengdu Yinhai Eye HospitalChengdu clinical FFA angiograms
archives/DGOCF/Optic Disc & Glaucoma CFP10.8 GBBenchmark suiteOptic nerve head center annotations
archives/yinhai_ffa/FFA Dynamic Series20.5 GBChengdu Yinhai Eye HospitalHigh-resolution FFA sequences

5. Master Metadata (metadata/) & Clinical Crosswalks

Instead of downloading multi-hundred-gigabyte archives to inspect sample attributes, download the lightweight parquet files in metadata/:

1. metadata/adapter_manifest_reviewed.parquet (39.9 MB)

Contains 4,307,415 rows mapping every asset with standard schema:

python
import duckdb

con = duckdb.connect()
# Query device distribution across modalities
con.execute("""
    SELECT modality_subtype, device_vendor, device_model, count(*) AS count
    FROM 'metadata/adapter_manifest_reviewed.parquet'
    GROUP BY 1, 2, 3
    ORDER BY count DESC
    LIMIT 10
""").df()

2. metadata/tongren95_taxonomy.csv (12 KB)

Comprehensive 95-class disease taxonomy mapping local clinical diagnoses (raw_zh) to standardized English terms (canonical_en), abbreviations (AMD, PDR, RVO, CSC), disease families (family_en), and specificity levels.

3. metadata/labeled_assets_summary.json (2.0 KB)

Complete breakdown of 1,817,159 instruction-tuned samples and 1,459,879 downstream high-confidence diagnostic splits.


6. Benchmark Evaluation Tasks

  1. 1.17-Class Retinal Disease Classification (`eryuanFundusT17RDCls`): Standardized 17-class classification for common and sight-threatening retinal conditions (Normal, DR, AMD, RVO, Pathological Myopia, Macular Hole, Epiretinal Membrane, Retinal Detachment, Retinitis Pigmentosa, etc.).
  2. 2.66-Class Multi-Center Fine-Grained Diagnosis (`trhd3_FRD_Cls66_Train`): Challenging 66-class classification covering rare and subtle ophthalmic pathologies validated across Beijing Tongren and Handan populations.
  3. 3.95-Class Clinical Semantic Classification (`tongren16G95DFundus`, `tongren95_taxonomy`): Full-spectrum hospital diagnostic classification aligning free-text clinical reports and fundus photographs across 16 major disease families and 95 clinical subcategories.
  4. 4.Dynamic FFA Vessel & Microvascular Leakage Segmentation (`Final_eryuan_FFA`, `handan_ffa`): Temporal sequence segmentation across early, arteriovenous, and late phases.
  5. 5.Quantitative Anterior Chamber Morphometry & Angle-Closure Risk (UBM): Automated measurement of Anterior Chamber Depth (ACD in mm), Trabecular-Iris Angle (TIA), and angle-closure risk assessment across ChengduShiyiUBM, YinhaiUBM, and UBM_SW3200L.
  6. 6.Ophthalmic Image Quality & Pre-Filtering Assessment (`FQ_Datasets`): Automated detection of non-diagnostic fundus images, lens opacity, uneven illumination, and motion artifacts for reliable clinical pipeline pre-filtering.
  7. 7.Dual-View Diabetic Retinopathy Grading (`deepdrid`): Multi-field consistency and lesion grading combining macular and optic disc perspectives.
  8. 8.Multi-Center Glaucoma Screening & Cup-to-Disc Ratio Estimation (`kaggle_glaucoma_v4`, `DGOCF`): Optic nerve head segmentation, vertical cup-to-disc ratio (vCDR) calculation, and multi-device glaucoma detection.

7. Quick Start: Extraction & Usage Guide

A. Download & Extract Archives (Linux / macOS)

To extract multi-part .tar.zst archives with maximum parallelism:

bash
# Install zstd if not present
sudo apt-get install -y zstd  # Ubuntu/Debian
brew install zstd             # macOS

# Extract all shards for a specific dataset (e.g., BUltrasound)
cat archives/BUltrasound/BUltrasound-*.tar.zst | tar -I zstd -xvf - -C /path/to/destination/

B. Python Fast Metadata Query

python
import pandas as pd

# Read metadata directly from Hugging Face or local path
df = pd.read_parquet("metadata/adapter_manifest_reviewed.parquet", 
                     columns=["image_id", "modality_subtype", "device_model", "hospital_domain"])

# Filter for SS-OCT B-scans from Topcon Triton
topcon_oct = df[(df["modality_subtype"] == "oct_bscan") & (df["device_model"] == "DRI OCT Triton")]
print(f"Loaded {len(topcon_oct)} Topcon SS-OCT B-scans")

8. Citation & Acknowledgments

If you use this benchmark or any subsets in your research, please cite:

bibtex
@dataset{mm_ophbench2026,
  title={MM-OphBench: A Multi-Center Multimodal Clinical Ophthalmic Benchmark Dataset},
  author={Zhejiang University, Beijing Tongren Hospital, InEye Hospital, Xiangya Hospital, and Contributors},
  year={2026},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/Kaphathy/Dataset}}
}

9. License & Terms of Use

  • The aggregated metadata and clinical annotations are made available under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
  • Research use only. Not for direct diagnostic or medical intervention without regulatory clearance.