wenxuanchelsea's picture
Update README.md
9401f64 verified
---
license: cc-by-nc-sa-4.0
task_categories:
- image-segmentation
tags:
- medical
pretty_name: AbdomenAtlas 1.1 Mini
size_categories:
- 1K<n<10K
extra_gated_prompt: >
## Terms and Conditions for Using the AbdomenAtlas 1.1 Mini Dataset
**1. Acceptance of Terms**
Accessing and using the AbdomenAtlas 1.1 Mini dataset implies your agreement
to these terms and conditions. If you disagree with any part, please refrain
from using the dataset.
**2. Permitted Use**
- The dataset is intended solely for academic, research, and educational
purposes.
- Any commercial exploitation of the dataset without prior permission is
strictly forbidden.
- You must adhere to all relevant laws, regulations, and research ethics,
including data privacy and protection standards.
**3. Data Protection and Privacy**
- Acknowledge the presence of sensitive information within the dataset and
commit to maintaining data confidentiality.
- Direct attempts to re-identify individuals from the dataset are prohibited.
- Ensure compliance with data protection laws such as GDPR and HIPAA.
**4. Attribution**
- Cite the dataset and acknowledge the providers in any publications resulting
from its use.
- Claims of ownership or exclusive rights over the dataset or derivatives are
not permitted.
**5. Redistribution**
- Redistribution of the dataset or any portion thereof is not allowed.
- Sharing derived data must respect the privacy and confidentiality terms set
forth.
**6. Disclaimer**
The dataset is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the accuracy or completeness of the
data.
**7. Limitation of Liability**
Under no circumstances will the dataset providers be liable for any claims or
damages resulting from your use of the dataset.
**8. Access Revocation**
Violation of these terms may result in the termination of your access to the
dataset.
**9. Amendments**
The terms and conditions may be updated at any time; continued use of the
dataset signifies acceptance of the new terms.
**10. Governing Law**
These terms are governed by the laws of the location of the dataset providers,
excluding conflict of law rules.
**Consent:**
Accessing and using the AbdomenAtlas 1.1 Mini dataset signifies your
acknowledgment and agreement to these terms and conditions.
extra_gated_fields:
Name: text
Institution: text
Email: text
I have read and agree with Terms and Conditions for using the dataset: checkbox
---
# Dataset Summary
The **largest**, fully-annotated abdominal CT dataset to date, including **9,262 CT volumes** with annotations for **25 different anatomical structures**.
---
# Join the Touchstone Benchmarking Project
The Touchstone Project aims to compare diverse semantic segmentation and pre-training algorithms.
We, the CCVL research group at Johns Hopkins University, invite creators of these algorithms to contribute to the initiative.
With our support, contributors will train their methodologies on the largest fully-annotated abdominal CT datasets to date.
Subsequently, we will evaluate the trained models using a large internal dataset at Johns Hopkins University.
If you are the creator of a semantic segmentation or pre-training algorithm and wish to advance medical AI by participating
in the Benchmark Project, please reach out to pedro.salvadorbassi2@unibo.it. We will provide you further details on the project
and explain your opportunities to collaborate in our future publications!
---
# Downloading Instructions
#### 1- Register at Huggingface, accept our terms and conditions, and create an access token:
[Create a Huggingface account](https://huggingface.co/join)
[Log in](https://huggingface.co/login)
[Accept our terms and conditions for acessing this dataset](https://huggingface.co/datasets/AbdomenAtlas/_AbdomenAtlas1.1Mini) (top of this page)
[Create a Huggingface access token](https://huggingface.co/settings/tokens) and copy it (you will use it in step 3, in paste_your_token_here)
#### 2- Install the Hugging Face library:
```bash
pip install huggingface_hub[hf_transfer]==0.24.0
HF_HUB_ENABLE_HF_TRANSFER=1
```
<details>
<summary style="margin-left: 25px;">[Optional] Alternative without HF Trasnsfer (slower)</summary>
<div style="margin-left: 25px;">
```bash
pip install huggingface_hub==0.24.0
```
</div>
</details>
#### 3- Download the dataset:
```bash
mkdir AbdomenAtlas
cd AbdomenAtlas
huggingface-cli download AbdomenAtlas/_AbdomenAtlas1.1Mini --token paste_your_token_here --repo-type dataset --local-dir .
```
<details>
<summary style="margin-left: 25px;">Download CTs for BDMAP_00005196 to BDMAP_00009262</summary>
<div style="margin-left: 25px;">
For cases BDMAP_00005196 to BDMAP_00009262, the CT scans are from the RSNA Trauma Dataset. Please follow these steps:
#### 1- Download CT Scans
- Access and download the CT scans from the [RSNA Trauma Dataset on Kaggle](https://www.kaggle.com/c/rsna-2023-abdominal-trauma-detection/data).
#### 2- Dataset Conversion
- Convert the downloaded CTs from DICOM format to NIfTI format.
- Rename each case using the provided `RSNATraumaIDMappings.csv` file.
- Format these CTs according to the AbdomenAtlas1.1 structure as shown below.
#### 3- Standardization
- Standardize the CTs using the Python script available [here](https://github.com/MrGiovanni/SuPreM/blob/main/utils/standardization_V2_multiprocess.py).
#### 4- Integrate Segmentations
- Integrate the corresponding `segmentations` folder downloaded from this Hugging Face repository into each case folder.
```
AbdomenAtlas1.1
β”œβ”€β”€ BDMAP_00000001
β”‚ β”œβ”€β”€ ct.nii.gz
β”‚ └── segmentations
β”‚ β”œβ”€β”€ aorta.nii.gz
β”‚ β”œβ”€β”€ gall_bladder.nii.gz
β”‚ β”œβ”€β”€ kidney_left.nii.gz
β”‚ β”œβ”€β”€ kidney_right.nii.gz
β”‚ β”œβ”€β”€ liver.nii.gz
β”‚ β”œβ”€β”€ pancreas.nii.gz
β”‚ β”œβ”€β”€ postcava.nii.gz
β”‚ β”œβ”€β”€ spleen.nii.gz
β”‚ β”œβ”€β”€ stomach.nii.gz
β”‚ └── ...
β”œβ”€β”€ BDMAP_00000002
β”‚ β”œβ”€β”€ ct.nii.gz
β”‚ └── segmentations
β”‚ β”œβ”€β”€ aorta.nii.gz
β”‚ β”œβ”€β”€ gall_bladder.nii.gz
β”‚ β”œβ”€β”€ kidney_left.nii.gz
β”‚ β”œβ”€β”€ kidney_right.nii.gz
β”‚ β”œβ”€β”€ liver.nii.gz
β”‚ β”œβ”€β”€ pancreas.nii.gz
β”‚ β”œβ”€β”€ postcava.nii.gz
β”‚ β”œβ”€β”€ spleen.nii.gz
β”‚ β”œβ”€β”€ stomach.nii.gz
β”‚ └── ...
β”œβ”€β”€ BDMAP_00000003
β”‚ β”œβ”€β”€ ct.nii.gz
β”‚ └── segmentations
β”‚ β”œβ”€β”€ aorta.nii.gz
β”‚ β”œβ”€β”€ gall_bladder.nii.gz
β”‚ β”œβ”€β”€ kidney_left.nii.gz
β”‚ β”œβ”€β”€ kidney_right.nii.gz
β”‚ β”œβ”€β”€ liver.nii.gz
β”‚ β”œβ”€β”€ pancreas.nii.gz
β”‚ β”œβ”€β”€ postcava.nii.gz
β”‚ β”œβ”€β”€ spleen.nii.gz
β”‚ β”œβ”€β”€ stomach.nii.gz
β”‚ └── ...
...
```
</div>
</details>
<details>
<summary style="margin-left: 25px;">[Optional] Resume downloading</summary>
<div style="margin-left: 25px;">
In case you had a previous interrupted download, just run the huggingface-cli download command above again.
```bash
huggingface-cli download AbdomenAtlas/_AbdomenAtlas1.1Mini --token paste_your_token_here --repo-type dataset --local-dir .
```
</div>
</details>
### 4- Uncompress:
Uncompress:
```bash
bash unzip.sh
```
Check if the folder AbdomenAtlas/uncompressed contains all cases, from BDMAP_00000001 to BDMAP_00009262. If so,
you can delete the original compressed files, running:
```bash
bash delete.sh
```
---
## Class map
Meaning of the integer voxel values in the "combined_labels.nii.gz" files:
```python
class_map = {1: 'aorta', 2: 'gall_bladder', 3: 'kidney_left', 4: 'kidney_right', 5: 'liver',
6: 'pancreas', 7: 'postcava', 8: 'spleen', 9: 'stomach', 10: 'adrenal_gland_left',
11: 'adrenal_gland_right', 12: 'bladder', 13: 'celiac_trunk', 14: 'colon', 15: 'duodenum',
16: 'esophagus', 17: 'femur_left', 18: 'femur_right', 19: 'hepatic_vessel', 20: 'intestine',
21: 'lung_left', 22: 'lung_right', 23: 'portal_vein_and_splenic_vein',
24: 'prostate', 25: 'rectum'}
```
---
## Paper
<b>AbdomenAtlas-8K: Annotating 8,000 CT Volumes for Multi-Organ Segmentation in Three Weeks</b> <br/>
[Chongyu Qu](https://github.com/Chongyu1117)<sup>1</sup>, [Tiezheng Zhang](https://github.com/ollie-ztz)<sup>1</sup>, [Hualin Qiao](https://www.linkedin.com/in/hualin-qiao-a29438210/)<sup>2</sup>, [Jie Liu](https://ljwztc.github.io/)<sup>3</sup>, [Yucheng Tang](https://scholar.google.com/citations?hl=en&user=0xheliUAAAAJ)<sup>4</sup>, [Alan L. Yuille](https://www.cs.jhu.edu/~ayuille/)<sup>1</sup>, and [Zongwei Zhou](https://www.zongweiz.com/)<sup>1,*</sup> <br/>
<sup>1 </sup>Johns Hopkins University, <br/>
<sup>2 </sup>Rutgers University, <br/>
<sup>3 </sup>City University of Hong Kong, <br/>
<sup>4 </sup>NVIDIA <br/>
NeurIPS 2023 <br/>
[paper](https://www.cs.jhu.edu/~alanlab/Pubs23/qu2023abdomenatlas.pdf) | [code](https://github.com/MrGiovanni/AbdomenAtlas) | [dataset](https://huggingface.co/datasets/AbdomenAtlas/AbdomenAtlas1.0Mini) | [annotation](https://www.dropbox.com/scl/fi/28l5vpxrn212r2ejk32xv/AbdomenAtlas.tar.gz?rlkey=vgqmao4tgv51hv5ew24xx4xpm&dl=0) | [poster](document/neurips_poster.pdf)
<b>How Well Do Supervised 3D Models Transfer to Medical Imaging Tasks?</b> <br/>
[Wenxuan Li](https://scholar.google.com/citations?hl=en&user=tpNZM2YAAAAJ), [Alan Yuille](https://www.cs.jhu.edu/~ayuille/), and [Zongwei Zhou](https://www.zongweiz.com/)<sup>*</sup> <br/>
Johns Hopkins University <br/>
International Conference on Learning Representations (ICLR) 2024 (oral; top 1.2%) <br/>
[paper](https://www.cs.jhu.edu/~alanlab/Pubs23/li2023suprem.pdf) | [code](https://github.com/MrGiovanni/SuPreM)
## Citation
```
@inproceedings{li2024well,
title={How Well Do Supervised Models Transfer to 3D Image Segmentation?},
author={Li, Wenxuan and Yuille, Alan and Zhou, Zongwei},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024}
}
@article{li2024abdomenatlas,
title={AbdomenAtlas: A large-scale, detailed-annotated, \& multi-center dataset for efficient transfer learning and open algorithmic benchmarking},
author={Li, Wenxuan and Qu, Chongyu and Chen, Xiaoxi and Bassi, Pedro RAS and Shi, Yijia and Lai, Yuxiang and Yu, Qian and Xue, Huimin and Chen, Yixiong and Lin, Xiaorui and others},
journal={Medical Image Analysis},
pages={103285},
year={2024},
publisher={Elsevier},
url={https://github.com/MrGiovanni/AbdomenAtlas}
}
```
---
## Acknowledgements
This work was supported by the Lustgarten Foundation for Pancreatic Cancer Research and partially by the Patrick J. McGovern Foundation Award. We appreciate the effort of the MONAI Team to provide open-source code for the community.
## License
AbdomenAtlas 1.1</a> is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-NC-SA 4.0.</a></p>