task_categories:image-segmentation language:en license:cc-by-nc-sa-4.0 size_categories:n<1K modality:image region:us medical image
---
license: cc-by-nc-sa-4.0
task_categories:
- image-segmentation
language:
- en
tags:
- medical
- image
pretty_name: topcow24-seg
size_categories:
- n<1K
---

## About
This is a subset of the [TopCow24 dataset](https://topcow24.grand-challenge.org/data/). 
- 125 pairs of MRA and CTA images and segmentation masks
- No change to any image or segmentation mask

This dataset is released under the `CC BY-NC-SA 4.0` license.


## Official Release
For more information, please go to the [TopCow24 Challenge](https://topcow24.grand-challenge.org).
- Data License (official): https://drive.switch.ch/index.php/s/rkqOO3adjmJVlMz
- Challenge (official): https://topcow24.grand-challenge.org
- Data (official): https://topcow24.grand-challenge.org/data/


## Download from Huggingface
```bash
#!/bin/bash
pip install huggingface-hub[cli]
huggingface-cli login --token $HF_TOKEN
```
```python
# python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="YongchengYAO/TopCoW24-Seg", repo_type='dataset', local_dir="/your/local/folder")
```


## Segmentation Labels
‼️This is no an official label map. 

Please see the labels description in [Task-1-CoW-Segmentation](https://topcow24.grand-challenge.org/2-tracks-3-tasks/).

```python
labels_map = {
    1: "Basilar artery (BA)",
    2: "Right posterior cerebral artery (R-PCA)",
    3: "Left posterior cerebral artery (L-PCA)",
    4: "Right internal carotid artery (R-ICA)",
    5: "Right middle cerebral artery (R-MCA)",
    6: "Left internal carotid artery (L-ICA)",
    7: "Left middle cerebral artery (L-MCA)",
    8: "Right posterior communicating artery (R-Pcom)",
    9: "Left posterior communicating artery (L-Pcom)",
    10: "Anterior communicating artery (Acom)",
    11: "Right anterior cerebral artery (R-ACA)",
    12: "Left anterior cerebral artery (L-ACA)",
    15: "Third A2 segment (3rd-A2)",
}
```