Update README.md
Browse files
README.md
CHANGED
|
@@ -43,73 +43,112 @@ configs:
|
|
| 43 |
- split: test_previews
|
| 44 |
path: data/test_previews-*
|
| 45 |
---
|
| 46 |
-
# SimNICT: Simulated Non-Ideal CT Dataset
|
| 47 |
|
| 48 |
-
**SimNICT** is the first comprehensive dataset for training universal non-ideal measurement CT (NICT) enhancement models,
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
| 53 |
-
- **7,742 CT volumes** from 8 medical datasets (AutoPET & HECKTOR22 excluded due to licensing)
|
| 54 |
-
- **3 NICT types**: Low-dose CT (LDCT), Sparse-view CT (SVCT), Limited-angle CT (LACT)
|
| 55 |
-
- **3 severity levels** per type (Low, Mid, High) = **9 variations** per original CT volume
|
| 56 |
-
- **File format**: NIfTI (.nii.gz), 16-bit, gzip compressed
|
| 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 |
```bash
|
| 83 |
-
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
```
|
| 86 |
|
| 87 |
-
|
| 88 |
|
| 89 |
-
|
| 90 |
-
| ------------------------------- | ------- | ------------------------ | --------------------------------------------------------------------------------------- |
|
| 91 |
-
| **AMOS** | 500 | Multi-organ segmentation | [simnict-amos](https://archive.org/details/simnict-amos) |
|
| 92 |
-
| **COVID-19-NY-SBU** | 459 | COVID-19 pneumonia | [simnict-covid-19-ny-sbu](https://archive.org/details/simnict-covid-19-ny-sbu) |
|
| 93 |
-
| **CT Images in COVID-19** | 771 | COVID-19 diagnosis | [simnict-ct-images-in-covid-19](https://archive.org/details/simnict-ct-images-in-covid-19) |
|
| 94 |
-
| **CT_COLONOGRAPHY** | 1,730 | Colorectal screening | [simnict-ct-colonography](https://archive.org/details/simnict-ct-colonography) |
|
| 95 |
-
| **LNDb** | 294 | Lung nodule detection | [simnict-lndb](https://archive.org/details/simnict-lndb) |
|
| 96 |
-
| **LUNA** | 888 | Lung nodule analysis | [simnict-luna](https://archive.org/details/simnict-luna) |
|
| 97 |
-
| **MELA** | 1,100 | Melanoma detection | [simnict-mela](https://archive.org/details/simnict-mela) |
|
| 98 |
-
| **STOIC** | 2,000 | COVID-19 screening | [simnict-stoic](https://archive.org/details/simnict-stoic) |
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
-
|
|
|
|
|
|
|
| 103 |
|
|
|
|
|
|
|
| 104 |
```
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
```
|
| 111 |
|
| 112 |
-
|
| 113 |
|
| 114 |
| Type | Low | Mid | High |
|
| 115 |
| -------------- | ----------- | ----------- | ----------- |
|
|
@@ -117,44 +156,20 @@ SimNICT/{dataset_name}/
|
|
| 117 |
| **SVCT** | 120 views | 60 views | 30 views |
|
| 118 |
| **LACT** | 120Β° range | 90Β° range | 60Β° range |
|
| 119 |
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
```python
|
| 123 |
-
import nibabel as nib
|
| 124 |
-
from torch.utils.data import Dataset
|
| 125 |
-
|
| 126 |
-
class SimNICTDataset(Dataset):
|
| 127 |
-
def __init__(self, data_dir, nict_type="ldct", severity="mid"):
|
| 128 |
-
self.data_dir = data_dir
|
| 129 |
-
self.nict_type = nict_type
|
| 130 |
-
self.severity = severity
|
| 131 |
-
# Load file pairs...
|
| 132 |
-
|
| 133 |
-
def __getitem__(self, idx):
|
| 134 |
-
ict = nib.load(f"{self.data_dir}/volume_{idx:03d}.nii.gz").get_fdata()
|
| 135 |
-
nict = nib.load(f"{self.data_dir}/volume_{idx:03d}_{self.nict_type}_{self.severity}.nii.gz").get_fdata()
|
| 136 |
-
return {"input": nict, "target": ict}
|
| 137 |
-
```
|
| 138 |
-
|
| 139 |
-
## Applications
|
| 140 |
-
|
| 141 |
-
- **Deep Learning**: Train robust NICT enhancement models
|
| 142 |
-
- **Clinical Research**: Validate algorithms across diverse conditions
|
| 143 |
-
- **Benchmarking**: Standardized evaluation of enhancement methods
|
| 144 |
-
- **Method Development**: Test novel CT reconstruction techniques
|
| 145 |
|
| 146 |
-
|
| 147 |
|
| 148 |
```bibtex
|
| 149 |
@article{liu2024imaging,
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
}
|
| 155 |
```
|
| 156 |
|
| 157 |
-
|
| 158 |
|
| 159 |
- π [Browse sample data](https://huggingface.co/datasets/YutingHe-list/SimNICT/viewer)
|
| 160 |
- π₯ [Download script](https://huggingface.co/datasets/YutingHe-list/SimNICT/resolve/main/download_simnict.py)
|
|
|
|
| 43 |
- split: test_previews
|
| 44 |
path: data/test_previews-*
|
| 45 |
---
|
| 46 |
+
# SimNICT: Simulated Non-Ideal measurement CT Dataset
|
| 47 |
|
| 48 |
+
**SimNICT** is the first comprehensive dataset for training universal non-ideal measurement CT (NICT) enhancement models, containing simulated low-dose, limited-angle, and sparse-view CT from different body regions.
|
| 49 |
|
| 50 |
+
We open source the **[SimNICT Dataset](#part-1-simnict-dataset)** (~823 GB, 8 datasets) for comprehensive NICT research with a subset **[SimNICT-AMOS-Sample Dataset](#part-2-simnict-amos-sample)** (~78 MB) for quick exploration and prototyping.
|
| 51 |
|
| 52 |
+
**π‘ Recommendation**: Start with **SimNICT-AMOS-Sample** for initial exploration and prototyping, then download specific datasets from the **SimNICT Dataset** based on your research needs.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
---
|
| 55 |
|
| 56 |
+
## Part 1: SimNICT Dataset
|
| 57 |
|
| 58 |
+
| Dataset | Volumes | Body Regions | License | Download Link |
|
| 59 |
+
| ------------------------------- | ------- | ------------ | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
| 60 |
+
| **AMOS** | 500 | Abdomen | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | [simnict-amos](https://archive.org/details/simnict-amos) |
|
| 61 |
+
| **COVID-19-NY-SBU** | 459 | Chest | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | [simnict-covid-19-ny-sbu](https://archive.org/details/simnict-covid-19-ny-sbu) |
|
| 62 |
+
| **CT Images in COVID-19** | 771 | Chest | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | [simnict-ct-images-in-covid-19](https://archive.org/details/simnict-ct-images-in-covid-19) |
|
| 63 |
+
| **CT_COLONOGRAPHY** | 1,730 | Abdomen | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | [simnict-ct-colonography](https://archive.org/details/simnict-ct-colonography) |
|
| 64 |
+
| **LNDb** | 294 | Chest | [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/) | [simnict-lndb](https://archive.org/details/simnict-lndb) |
|
| 65 |
+
| **LUNA** | 888 | Chest | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | [simnict-luna](https://archive.org/details/simnict-luna) |
|
| 66 |
+
| **MELA** | 1,100 | Chest | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | [simnict-mela](https://archive.org/details/simnict-mela) |
|
| 67 |
+
| **STOIC** | 2,000 | Chest | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) | [simnict-stoic](https://archive.org/details/simnict-stoic) |
|
| 68 |
+
| **AutoPET** | 1,014 | Whole-body | [NIH Controlled Data Access Policy](https://www.cancerimagingarchive.net/nih-controlled-data-access-policy/) | - |
|
| 69 |
+
| **HECKTOR22** | 882 | Head, neck | [Custom Research License](https://hecktor.grand-challenge.org/Participation/) | - |
|
| 70 |
|
| 71 |
+
*Note: AutoPET and HECKTOR22 datasets are not publicly available due to licensing restrictions.*
|
| 72 |
|
| 73 |
+
### Dataset Overview
|
| 74 |
|
| 75 |
+
The **SimNICT dataset** is a large-scale medical imaging dataset containing:
|
| 76 |
+
|
| 77 |
+
- **π 9,513 CT volumes** from 10 medical imaging datasets (2 out of 10 datasets are not open-source due to licensing restrictions)
|
| 78 |
+
- **π¬ 3 NICT types**: Low-dose CT (LDCT), Sparse-view CT (SVCT), Limited-angle CT (LACT)
|
| 79 |
+
- **βοΈ Randomized parameters**:
|
| 80 |
+
- **SVCT**: Views randomly sampled from 15-360 range
|
| 81 |
+
- **LACT**: Angular range randomly sampled from 75Β°-270Β°
|
| 82 |
+
- **LDCT**: Dose levels randomly sampled from 5%-75% range
|
| 83 |
+
- **πΎ Total size**: ~823 GB
|
| 84 |
+
- **π File format**: NIfTI (.nii.gz), 16-bit, gzip compressed
|
| 85 |
|
| 86 |
+
### Data Release Strategy
|
| 87 |
+
|
| 88 |
+
The SimNICT dataset provides **preprocessed ICT data** with [**NICT simulation code**](https://huggingface.co/datasets/YutingHe-list/SimNICT/resolve/main/simnict_generator.py):
|
| 89 |
+
|
| 90 |
+
**1. π Preprocessed ICT Data**
|
| 91 |
+
|
| 92 |
+
The preprocessed ICT data of SimNICT dataset is hosted on [Internet Archive](https://archive.org/search.php?query=simnict), ensuring stable access for the global research community. You can download data through the [dataset table above](#part-1-simnict-dataset) or execute batch download scripts below:
|
| 93 |
|
| 94 |
```bash
|
| 95 |
+
# Download batch download script
|
| 96 |
+
wget https://huggingface.co/datasets/YutingHe-list/SimNICT/blob/main/simnict_download.py
|
| 97 |
+
|
| 98 |
+
# Download all datasets (~823 GB)
|
| 99 |
+
python simnict_download.py --all --output_dir ./data
|
| 100 |
+
|
| 101 |
+
# Download specific datasets
|
| 102 |
+
python simnict_download.py --datasets AMOS LUNA --output_dir ./data
|
| 103 |
```
|
| 104 |
|
| 105 |
+
**2. βοΈ NICT Simulation Code**
|
| 106 |
|
| 107 |
+
After downloading preprocessed ICT data, generate NICT data with the following simulation code to construct complete SimNICT dataset:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
**π Simulation Usage:**
|
| 110 |
|
| 111 |
+
```python
|
| 112 |
+
# Download simulation code
|
| 113 |
+
wget https://huggingface.co/datasets/YutingHe-list/SimNICT/blob/main/simnict_generator.py
|
| 114 |
|
| 115 |
+
# Configure paths and run
|
| 116 |
+
python simnict_generator.py
|
| 117 |
```
|
| 118 |
+
|
| 119 |
+
The simulation code uses advanced physics-based modeling with **ODL** (Operator Discretization Library) and **ASTRA Toolbox** for accurate CT reconstruction simulation.
|
| 120 |
+
|
| 121 |
+
---
|
| 122 |
+
|
| 123 |
+
## Part 2: SimNICT-AMOS-Sample
|
| 124 |
+
|
| 125 |
+
**SimNICT-AMOS-Sample** is a preview subset of SimNICT dataset for quick exploration and prototyping.
|
| 126 |
+
|
| 127 |
+
### Sample Dataset Specifications
|
| 128 |
+
|
| 129 |
+
- **π Source**: Selected from AMOS dataset (part of SimNICT)
|
| 130 |
+
- **π Content**: 55 CT volumes (44 train + 11 test)
|
| 131 |
+
- **π¬ Coverage**: 3 NICT types Γ 3 fixed severity levels (different from SimNICT dataset's randomized parameters)
|
| 132 |
+
- **πΎ Size**: ~78 MB (1000Γ smaller than SimNICT dataset)
|
| 133 |
+
- **π Format**: Preprocessed and optimized for Hugging Face platform
|
| 134 |
+
|
| 135 |
+
### Quick Start with Sample Dataset
|
| 136 |
+
|
| 137 |
+
```python
|
| 138 |
+
from datasets import load_dataset
|
| 139 |
+
|
| 140 |
+
# Load the preview sample dataset
|
| 141 |
+
dataset = load_dataset("YutingHe-list/SimNICT")
|
| 142 |
+
sample = dataset["train_previews"][0]
|
| 143 |
+
|
| 144 |
+
# Access different NICT simulations
|
| 145 |
+
ict_image = sample["ICT"] # Ground truth
|
| 146 |
+
ldct_low = sample["LDCT_Low"] # Low-dose simulation
|
| 147 |
+
svct_mid = sample["SVCT_Mid"] # Sparse-view simulation
|
| 148 |
+
lact_high = sample["LACT_High"] # Limited-angle simulation
|
| 149 |
```
|
| 150 |
|
| 151 |
+
### NICT Simulation Parameters (Sample Dataset Only)
|
| 152 |
|
| 153 |
| Type | Low | Mid | High |
|
| 154 |
| -------------- | ----------- | ----------- | ----------- |
|
|
|
|
| 156 |
| **SVCT** | 120 views | 60 views | 30 views |
|
| 157 |
| **LACT** | 120Β° range | 90Β° range | 60Β° range |
|
| 158 |
|
| 159 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
|
| 161 |
+
### Citation
|
| 162 |
|
| 163 |
```bibtex
|
| 164 |
@article{liu2024imaging,
|
| 165 |
+
title={Imaging foundation model for universal enhancement of non-ideal measurement ct},
|
| 166 |
+
author={Liu, Yuxin and Ge, Rongjun and He, Yuting and Wu, Zhan and Yang, Shangwen and Gao, Yuan and You, Chenyu and Wang, Ge and Chen, Yang and Li, Shuo},
|
| 167 |
+
journal={arXiv preprint arXiv:2410.01591},
|
| 168 |
+
year={2024}
|
| 169 |
}
|
| 170 |
```
|
| 171 |
|
| 172 |
+
### Links
|
| 173 |
|
| 174 |
- π [Browse sample data](https://huggingface.co/datasets/YutingHe-list/SimNICT/viewer)
|
| 175 |
- π₯ [Download script](https://huggingface.co/datasets/YutingHe-list/SimNICT/resolve/main/download_simnict.py)
|