CoolFace
Datasetpublic

ctmedtech/RFMID

🩺 RFMiD β€” Retinal Fundus Multi-Disease Image Dataset 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… See the full description on the dataset page: https://huggingface.co/datasets/ctmedtech/RFMID.

sourceHugging Facecc-by-4.0updated 11mo agoView on Hugging Face
1likes1kdownloads
Dataset Card

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

<table align="center"> <tr> <td width="100%" align="center"> <img src="rmimages/MergedFundusImageswith_Caption.jpg" alt="Merged Dataset Samples" style="max-width: 100%; height: auto;"> <br> <p><strong>Image:</strong> Dataset Samples.</p> </td> </tr> </table>

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

FieldDetails
Full NameRetinal Fundus Multi-Disease Image Dataset (RFMiD)
FocusMulti-label classification of retinal diseases
Condition Types46 disease classes including diabetic retinopathy, glaucoma, AMD, hypertensive retinopathy, myopia, and others
Collection SiteOphthalmology centers in Maharashtra, India
Devices UsedTOPCON 3D OCT-2000 (~2144Γ—1424), Kowa VX-10Ξ± (~4288Γ—2848), TOPCON TRC-NW300 (~2048Γ—1536)
Field of View (FOV)~45°–50Β°
Image TypeColor fundus photographs (JPG, RGB)
Total Images3,200
AnnotationsExpert ophthalmologist-verified, multi-label (each image may contain multiple conditions)
LicenseCC BY 4.0
SourceMDPI Paper Β· IEEE Dataport

πŸ—‚οΈ Dataset Structure

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

text
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 / FolderDescription
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:

ImageIDDRARMDMHDNMYA...HROthers
000110010...00
000200000...10

Total columns: 46 disease labels + 1 ImageID column.


πŸ“Š Dataset Composition

SplitNumber of ImagesDescription
Training Set1,920Used to train AI models
Validation Set640Used to tune hyperparameters
Test Set640Held-out evaluation set
Total3,200All 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

DatasetDescription (conditions, source, etc.)Size
RFMiDMulti-disease retinal fundus dataset with 46 labeled conditions from Indian ophthalmic clinics3,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.