Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('imagefolder', {}), NamedSplit('test'): ('csv', {})}
Error code:   FileFormatMismatchBetweenSplitsError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

🩺 RFMiD β€” Retinal Fundus Multi-Disease Image Dataset

Merged Dataset Samples

Image: Dataset Samples.

The Retinal Fundus Multi-Disease Image Dataset (RFMiD) is designed for multi-disease detection and classification in retinal fundus photographs.
It includes 3,200 high-quality color images with 46 labeled retinal disease conditions, curated by expert ophthalmologists from India.
This dataset enables development of generalized deep learning models for comprehensive retinal disease screening.


πŸ“˜ Overview

Field Details
Full Name Retinal Fundus Multi-Disease Image Dataset (RFMiD)
Focus Multi-label classification of retinal diseases
Condition Types 46 disease classes including diabetic retinopathy, glaucoma, AMD, hypertensive retinopathy, myopia, and others
Collection Site Ophthalmology centers in Maharashtra, India
Devices Used TOPCON 3D OCT-2000 (2144Γ—1424), Kowa VX-10Ξ± (4288Γ—2848), TOPCON TRC-NW300 (~2048Γ—1536)
Field of View (FOV) ~45°–50Β°
Image Type Color fundus photographs (JPG, RGB)
Total Images 3,200
Annotations Expert ophthalmologist-verified, multi-label (each image may contain multiple conditions)
License CC BY 4.0
Source MDPI Paper Β· IEEE Dataport

πŸ—‚οΈ Dataset Structure

The RFMiD dataset includes images and corresponding metadata files organized as follows:

RFMiD/
β”‚
β”œβ”€β”€ Images/
β”‚ β”œβ”€β”€ Training_Set/
β”‚ β”‚ β”œβ”€β”€ IDRiD_001.jpg
β”‚ β”‚ β”œβ”€β”€ IDRiD_002.jpg
β”‚ β”‚ └── ...
β”‚ β”‚
β”‚ β”œβ”€β”€ Validation_Set/
β”‚ β”‚ β”œβ”€β”€ IDRiD_801.jpg
β”‚ β”‚ β”œβ”€β”€ IDRiD_802.jpg
β”‚ β”‚ └── ...
β”‚ β”‚
β”‚ └── Test_Set/
β”‚ β”œβ”€β”€ IDRiD_901.jpg
β”‚ β”œβ”€β”€ IDRiD_902.jpg
β”‚ └── ...
β”‚
β”œβ”€β”€ Groundtruths/
β”‚ β”œβ”€β”€ RFMiD_Training_Labels.csv
β”‚ β”œβ”€β”€ RFMiD_Validation_Labels.csv
β”‚ └── RFMiD_Test_Labels.csv
β”‚
└── Metadata/
└── RFMiD_Clinical_Information.csv

πŸ“„ File Description

File / Folder Description
Images/ Contains all RGB fundus images grouped into train, validation, and test sets
Groundtruths/ CSV files with disease labels for each image ID
Metadata/ Contains additional information like patient age, gender, and diagnostic notes (if available)

🧾 Label Format (CSV Example)

Each row in RFMiD_Training_Labels.csv includes binary indicators (0 or 1) for each of the 46 disease categories:

ImageID DR ARMD MH DN MYA ... HR Others
0001 1 0 0 1 0 ... 0 0
0002 0 0 0 0 0 ... 1 0

Total columns: 46 disease labels + 1 ImageID column.


πŸ“Š Dataset Composition

Split Number of Images Description
Training Set 1,920 Used to train AI models
Validation Set 640 Used to tune hyperparameters
Test Set 640 Held-out evaluation set
Total 3,200 All high-quality fundus images

🧠 Research Applications

Primary Use Cases

  • Multi-label retinal disease classification
  • Generalized ophthalmic AI screening
  • Rare disease detection (long-tail recognition)
  • Domain adaptation across imaging devices
  • Quality-aware retinal analysis

Recommended Tasks

  • Classification: Healthy vs Abnormal
  • Multi-label Detection: 46 retinal diseases
  • Transfer Learning: Adaptation to real-world clinical data
  • Explainability: Visualizing disease localization with Grad-CAM or attention maps

βš™οΈ Technical Notes

  • Input format: RGB fundus images, JPG
  • Recommended preprocessing: Center-cropping, illumination correction, resizing to 512Γ—512 or 1024Γ—1024
  • Label imbalance: Some diseases have <50 samples; use focal loss or weighted sampling
  • Multi-device domain variation: Apply histogram equalization or color normalization

🧩 Quick Summary Table

Dataset Description (conditions, source, etc.) Size
RFMiD Multi-disease retinal fundus dataset with 46 labeled conditions from Indian ophthalmic clinics 3,200 images

πŸ“š Citation

If you use this dataset, please cite:

Pachade, S.; Porwal, P.; Thulkar, D.; Kokare, M.; Deshmukh, G.; Sahasrabuddhe, V.; Giancardo, L.; Quellec, G.; MΓ©riaudeau, F.
Retinal Fundus Multi-Disease Image Dataset (RFMiD): A Dataset for Multi-Disease Detection Research.
Data 2021, 6(2), 14.
DOI: 10.3390/data6020014


πŸͺͺ License

This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
You may share and adapt the dataset, provided appropriate credit is given.


Downloads last month
76

Collection including ctmedtech/RFMID