image
imagewidth (px) 1.53k
2.74k
|
---|
CSDI: A Fine-Grained Fundus Image Dataset of Cataract Severity and Diagnostic Images
The CSDI Cataract Diagnosis Dataset is a curated collection of 187 fundus images with expert annotations, including cataract severity scores and bilingual diagnostic descriptions (English and Chinese). This dataset supports research in automated cataract screening, grading, and fundus image interpretation using both image and text modalities. This dataset is licensed under CC BY-NC 4.0. See LICENSE for details.
π Dataset Overview
- Total images: 187
- Image formats:
.png
and.jpg
- Annotation file:
CSDI_annotations.csv
- Labels: Cataract severity score (0β10), expert-written diagnoses, optic disc localization, optic disc clarity
π File Structure
CSDI/
βββ original_images/ # Folder containing 187 fundus images (.png and .jpg)
β βββ cataract_001.png
β βββ cataract_002.jpg
β βββ ...
βββ CSDI_annotations.csv # Annotation CSV file (UTF-8 encoded)
βββ README.md # Dataset description
βββ LICENSE.md # Dataset license (CC BY-NC 4.0)
βββ crop_fundus_images.py # Script for cropping fundus images
βββ augment_fundus_images.py # Script for image augmentation
ποΈ CSV Annotation File (CSDI_annotations.csv
)
- The CSV annotation file is encoded in UTF-8 to ensure proper display of English and Chinese characters.
Column Name Description id
Image file name (e.g., cataract_001.png
)score
Cataract severity score (range 0β10) English_diagnosis
Diagnosis in English Chinese_diagnosis
Diagnosis in Chinese original_image_width
Original image width in pixels original_image_height
Original image height in pixels fundus_region_x1 / y1 / x2 / y2
Coordinates of the annotated fundus region in pixels; -1
if not visibleoptic_disc_clear
Optic disc visibility ( visible
/not visible
)optic_disc_x1 / y1 / x2 / y2
Coordinates of the optic disc bounding box in pixels; -1
if not visible
The
score
field supports both regression (exact score prediction) and classification (e.g., mild/moderate/severe).
π Suggested Severity Levels
The cataract severity grading criteria are defined as follows, with decimal scores (to one decimal place) allowing for precise assessment within each range:
Severity Level | Score Range | Quantity | Percentage (%) |
---|---|---|---|
Normal | [0, 1) | 9 | 4.81 |
Acceptable | [1, 3) | 30 | 16.04 |
Mild | [3, 5) | 39 | 20.86 |
Moderate | [5, 7) | 48 | 25.67 |
Severe | [7, 10] | 61 | 32.62 |
- 0β1 (Normal): No cataract; fundus images are clear with no lens opacity affecting image quality.
- 1β3 (Acceptable): Acceptable cataract; images remain clear with subtle blurring, low likelihood of visual impairment.
- 3β5 (Mild): Mild cataract; image clarity decreases, regular visual monitoring recommended, surgery unlikely immediately necessary.
- 5β7 (Moderate): Moderate cataract; noticeable reduction in image clarity, higher probability of visual impairment, elective surgery may be considered.
- 7β10 (Severe): Severe cataract; marked reduction in image clarity, significant impact on visual function, prompt surgical intervention advised.
π Diagnostic Content
Each record contains detailed diagnostic descriptions in both Chinese and English, following a fixed sentence structure evaluating:
- Overall Color: Typical orange-red fundus background; deviation toward yellow-white indicates increased cataract severity.
- Optic Disc and Vessel Clarity: Blurring of optic disc margins and reduced vessel clarity indicate lens opacity affecting image quality.
- Macular Area: Accurate localization and assessment of the macula is crucial; inability to do so suggests advanced cataract.
- Retinal Vessel Clarity and Branching: Severity increases as visualization decreases from fine branch vessels, to major vessels and second-order branches, to only major vessels visible, to complete inability to distinguish vascular structures.
This standardized scoring system and diagnostic protocol were strictly adhered to by annotators to ensure high-quality, reliable annotations.
English and Chinese versions of the diagnostic descriptions are included to support multilingual and cross-lingual research applications.
π» Code Scripts
crop_fundus_images.py: Crop fundus images to remove black borders and save cropping info in CSV.
python crop_fundus_images.py -i csdi_datasets/original_images -o csdi_datasets/cropped_images -p 0 -c crop_info.csv
augment_fundus_images.py: Apply random rotations, zoom-ins, and rotation+zoom augmentations to cropped images.
python augment_fundus_images.py
π― Applications
- Automated cataract screening and grading
- Ophthalmic report generation (image-to-text)
- Fundus image quality analysis
- Cross-modal learning and medical vision-language modeling
- Optic disc detection and segmentation
π¨βπ¬ Authors
Zixun Xie1,2,*, Mingxin Ao3,*, Haiming Tang1,4,*, Xuemin Li3, Xiang Bai1,2, Shanghang Zhang1,β , Dawei Li5,β
1State Key Laboratory of Multimedia Information Processing, School of Computer Science, Peking University, China
2School of Software and Microelectronics, Peking University, China
3Department of Ophthalmology, Peking University Third Hospital, China
4School of Computing, National University of Singapore, Singapore
5School of Future Technology, Peking University, China
* Equal contribution and co-first authors. β Corresponding authors.
π¬ Contact
- Zixun Xie:
[email protected]
- Mingxin Ao:
[email protected]
- Haiming Tang:
[email protected]
- Xuemin Li:
[email protected]
- Xiang Bai:
[email protected]
- Shanghang Zhang:
[email protected]
- Dawei Li:
[email protected]
π Citation
@misc{csdi2025cataract,
title = {CSDI: A Fine-Grained Fundus Image Dataset of Cataract Severity and Diagnostic Images},
author = {Xie, Zixun and Ao, Mingxin and Tang, Haiming and Li, Xuemin and Bai, Xiang and Zhang, Shanghang and Li, Dawei},
year = {2025},
note = {Under review at Scientific Data}
}
- Downloads last month
- 191