# IDRiD: Indian Diabetic Retinopathy Image Dataset, 81 fundus photographs with microaneurysm, hemorrhage, exudate and optic disc masks

## Facts

- Provider: Prasanna Porwal et al. (IDRiD organizers); repackaged by MedOtter
- License: CC-BY-4.0 (https://ieee-dataport.org/open-access/indian-diabetic-retinopathy-image-dataset-idrid)
- Size: 8 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/MedOtter/IDRiD
- Access: public, readable without an account
- DOI: https://doi.org/10.21227/H25W98
- Category: Health & Biomedical
- Source: https://doi.org/10.3390/data3030025
- Page: https://scigantic.com/archive/d0948810-58e5-5222-9503-518ee09e81e6
- Keywords: Health & Biomedical, image segmentation, Parquet, Hugging Face

## About

The lesion segmentation part of IDRiD (Indian Diabetic Retinopathy Image Dataset), released for the ISBI 2018 Diabetic Retinopathy: Segmentation and Grading challenge with images from India. It holds 81 color fundus photographs of the retina (54 training, 27 test) with pixel-level masks for the lesions of diabetic retinopathy: microaneurysms (MA), hemorrhages (HE), hard exudates (EX) and soft exudates or cotton-wool spots (SE), plus the optic disc (OD). Not every image contains every lesion type, so some mask columns are empty; a lesion_types column lists which are present. Six Parquet files under data/ with images and masks as PNG bytes, about 0.5 GB (measured 2026-11-21); read with Hugging Face datasets. The grading and localization parts of IDRiD are not included. Use for retinal lesion segmentation and diabetic eye disease screening models. Original data on IEEE DataPort (DOI 10.21227/H25W98), released under CC BY 4.0. Cite Porwal et al., Data 3(3):25 (2018), doi 10.3390/data3030025.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("MedOtter/IDRiD")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `data/test-00000-of-00002.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/d0948810-58e5-5222-9503-518ee09e81e6
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/d0948810-58e5-5222-9503-518ee09e81e6
- Over MCP: `get_schema_card` with id `d0948810-58e5-5222-9503-518ee09e81e6` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Image segmentation datasets](https://scigantic.com/topics/image-segmentation)
- [Health & Biomedical datasets](https://scigantic.com/topics/health-and-biomedical)
