File size: 4,102 Bytes
61ab066
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
configs:
- config_name: default
  data_files:
  - split: train
    path: "modality_dataset.zip"
license: cc-by-4.0
task_categories:
- image-classification
tags:
- medical
- imaging
- ct
- mri
- xray
- ultrasound
pretty_name: Generalized Medical Image Modality Dataset
size_categories:
- 1K<n<10K
---
# πŸ₯ Generalized Medical Image Modality Dataset

A curated, balanced dataset for training **medical imaging modality classifiers**.
Contains images from four modalities (CT, MRI, X-Ray, Ultrasound) spanning multiple
anatomical regions to ensure robust generalization.

> **Total images:** 9,450 | **Target:** 9,450

---

## πŸ“Š Modality Summary

| Modality | Organ Classes (for Organ Classifier) | Images | Target | % of Total |
|----------|--------------------------------------|-------:|-------:|-----------:|
| CT | Head, Chest, Abdomen | 2,200 | 2,200 | 23.3% |
| MRI | Brain, Spine | 2,000 | 2,000 | 21.2% |
| US | Breast, Kidney, Ovary_Pelvis | 2,250 | 2,250 | 23.8% |
| XRAY | Chest, Hand, Knee | 3,000 | 3,000 | 31.7% |
| **TOTAL** | | **9,450** | **9,450** | **100%** |

---

## πŸ”¬ Per-Organ Breakdown

| Modality | Organ | Images | Target | Kaggle Source | Status |
|----------|-------|-------:|-------:|---------------|--------|
| CT | Abdomen | 1,000 | 1,000 | [nazmul0087/ct-kidney-dataset-normal-cyst-tumor-and-stone](https://www.kaggle.com/datasets/nazmul0087/ct-kidney-dataset-normal-cyst-tumor-and-stone) | βœ… |
| CT | Chest | 1,000 | 1,000 | [mohamedhanyyy/chest-ctscan-images](https://www.kaggle.com/datasets/mohamedhanyyy/chest-ctscan-images) | βœ… |
| CT | Head | 200 | 200 | [felipekitamura/head-ct-hemorrhage](https://www.kaggle.com/datasets/felipekitamura/head-ct-hemorrhage) | βœ… |
| MRI | Brain | 1,000 | 1,000 | [masoudnickparvar/brain-tumor-mri-dataset](https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset) | βœ… |
| MRI | Spine | 1,000 | 1,000 | [anoukstein/spider-mri-spine-t2-png](https://www.kaggle.com/datasets/anoukstein/spider-mri-spine-t2-png) | βœ… |
| US | Breast | 750 | 750 | [aryashah2k/breast-ultrasound-images-dataset](https://www.kaggle.com/datasets/aryashah2k/breast-ultrasound-images-dataset) | βœ… |
| US | Kidney | 750 | 750 | [gurjeetkaurmangat/kidney-ultrasound-images-stone-and-no-stone](https://www.kaggle.com/datasets/gurjeetkaurmangat/kidney-ultrasound-images-stone-and-no-stone) | βœ… |
| US | Ovary_Pelvis | 750 | 750 | [orvile/mmotu-ovarian-ultrasound-images-dataset](https://www.kaggle.com/datasets/orvile/mmotu-ovarian-ultrasound-images-dataset) | βœ… |
| XRAY | Chest | 1,000 | 1,000 | [paultimothymooney/chest-xray-pneumonia](https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia) | βœ… |
| XRAY | Hand | 1,000 | 1,000 | [antonbudnychuk/hand-xray](https://www.kaggle.com/datasets/antonbudnychuk/hand-xray) | βœ… |
| XRAY | Knee | 1,000 | 1,000 | [shashwatwork/knee-osteoarthritis-dataset-with-severity](https://www.kaggle.com/datasets/shashwatwork/knee-osteoarthritis-dataset-with-severity) | βœ… |

---

## πŸ“ Folder Structure

```
modality_dataset/
β”œβ”€β”€ CT/
β”‚   β”œβ”€β”€ Chest/        (CT chest scans)
β”‚   β”œβ”€β”€ Head/         (CT head hemorrhage scans)
β”‚   └── Abdomen/      (CT kidney / abdominal scans)
β”œβ”€β”€ MRI/
β”‚   β”œβ”€β”€ Brain/        (Brain tumor MRI)
β”‚   └── Spine/        (Spine T2 MRI)
β”œβ”€β”€ XRAY/
β”‚   β”œβ”€β”€ Chest_Pneumonia/  (Chest X-ray β€” pneumonia)
β”‚   β”œβ”€β”€ Chest_TB/         (Chest X-ray β€” tuberculosis)
β”‚   └── Hand/             (Hand X-ray)
└── US/
    β”œβ”€β”€ Breast/       (Breast ultrasound)
    β”œβ”€β”€ Kidney/       (Kidney ultrasound)
    └── Ovary_Pelvis/ (Ovarian / pelvic ultrasound)
```

## πŸš€ Usage

Images are packaged in `modality_dataset.zip`. Extract and use directly:

```python
import zipfile
with zipfile.ZipFile("modality_dataset.zip", "r") as z:
    z.extractall("./modality_dataset")
```

The top-level folder names (`CT`, `MRI`, `XRAY`, `US`) are the **class labels** for
the modality classifier. Sub-folders represent the anatomical regions used as data sources.