MedDPCR-Seg / README.md
DwD69's picture
Remove Attribution section from dataset card
bee1256 verified
|
Raw History Blame Contribute Delete
3.64 kB
---
pretty_name: MedDPCR-Seg
language:
- en
task_categories:
- image-segmentation
tags:
- medical-imaging
- text-guided-segmentation
---
# MedDPCR-Seg
This collection brings together nine datasets for text-guided segmentation of breast lesions, brain tumors, and skin lesions. Each ZIP contains PNG images, segmentation masks, and spreadsheets with English text prompts.
## Datasets and downloads
The split counts are the numbers of PNG images in each archive. UWaterlooSkinCancer has training and test images only.
| Dataset | Modality | Anatomy | Train | Validation | Test | Download | Original source |
| --- | --- | --- | ---: | ---: | ---: | --- | --- |
| BUSI | Ultrasound | Breast | 624 | 78 | 78 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/BUSI.zip) | [Al-Dhabyani et al.](https://doi.org/10.1016/j.dib.2019.104863) |
| BUSBRA | Ultrasound | Breast | 1,311 | 282 | 282 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/BUSBRA.zip) | [Gomez-Flores, Gregorio-Calas and de Albuquerque Pereira](https://doi.org/10.5281/zenodo.8231412) |
| BUSUC | Ultrasound | Breast | 567 | 122 | 122 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/BUSUC.zip) | [Ahmed Iqbal; cite Iqbal and Sharif (2023)](https://doi.org/10.17632/3ksd7w7jkx.1) |
| BUID | Ultrasound | Breast | 162 | 35 | 35 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/BUID.zip) | [QAMEBI](https://qamebi.com/breast-ultrasound-images-database/) |
| UDIAT | Ultrasound | Breast | 113 | 25 | 25 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/UDIAT.zip) | [Dataset B](https://www2.docm.mmu.ac.uk/STAFF/m.yap/dataset.php) |
| BTMRI | MRI | Brain | 2,738 | 1,321 | 1,005 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/BTMRI.zip) | [Jun Cheng](https://figshare.com/articles/dataset/brain_tumor_dataset/1512427) |
| BRISC | MRI | Brain | 4,000 | 1,000 | 1,000 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/BRISC.zip) | [BRISC dataset authors](https://doi.org/10.1038/s41597-026-06753-y) |
| ISIC | Dermoscopy | Skin | 809 | 90 | 379 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/ISIC.zip) | [ISIC Challenge](https://challenge.isic-archive.com/data/) |
| UWaterlooSkinCancer | Skin photography | Skin | 132 | 0 | 41 | [ZIP](https://huggingface.co/datasets/DwD69/MedDPCR-Seg/resolve/main/UWaterlooSkinCancer.zip) | [University of Waterloo](https://vip.uwaterloo.ca/skin-cancer-detection/) |
## File layout
Extract each ZIP into a common `data/` directory. The archive already contains its dataset folder. For example, extracting `BUSI.zip` creates the following layout:
```text
data/BUSI/
Train_Folder/
img/
label/
Val_Folder/
img/
label/
Test_Folder/
img/
label/
Prompts_Folder/
Train_text.xlsx
Val_text.xlsx
Test_text_original.xlsx
...
```
## Using the text prompts
Choose the workbook for the desired split. Each row gives the image filename (`Image`), its English prompt (`Description`), and the mask filename (`Ground Truth`). Look up the image under `img/` and the mask under `label/` in that split. For example, the BUSI test workbook pairs `Test_Folder/img/102_malignant.png` with `Test_Folder/label/102_malignant.png`.
Use `Test_text_original.xlsx` for the standard test descriptions. Other test workbooks provide variants, including descriptions with the location omitted. Some datasets also include prompt lists for 10%, 25%, and 50% subsets of the training and validation splits.