https://github.com/masilab/emphysemaseg
https://github.com/masilab/emphysemaseg
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/masilab/emphysemaseg
- Owner: MASILab
- License: other
- Created: 2022-11-18T22:19:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-20T23:17:44.000Z (about 3 years ago)
- Last Synced: 2025-09-23T03:17:30.352Z (4 months ago)
- Language: Python
- Size: 625 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# EmphysemaSeg
Automatic lobe segmentation and emphysema quantification. Input is a chest CT (.nii.gz) and outputs label maps for lobe segmentations and emphysema approximated as low attenuation volume (<-950HU). The tool also provides a visualization of segmentation results.

## Citation
Please cite the following if you find this tool useful!
Thomas Z. Li, Ho Hin Lee, Kaiwen Xu, Riqiang Gao, Benoit M. Dawant, Fabien Maldonado, Kim L. Sandler, Bennett A. Landman. Quantifying Emphysema in Lung Screening Computed Tomography with Robust Automated Lobe Segmentation. Submitted to European Journal of Radiology on Nov. 2022.
## Usage with python
1. Download model weights from [](https://doi.org/10.5281/zenodo.7339893)
2. Populate `config.YAML` with location of directories and model weights. See `example_config.YAML` for more details.
3. `python3 -m pip install --upgrade pip \ pip install EmphysemaSeg`
4. Running `EmphysemaSeg --config path_to_config.YAML` will only do lobe segmentation. Add `--emp` for emphysema segmentation and `--vis` for visualization.
## Limitations and Resource requirements
* This tool is designed for chest CTs with voxel dimensions in th range of 0.5-1mm x 0.5-1mm x 0.5-1.25mm (coronal x sagittal x axial).
* Segmentation of emphysema with this tool is only reliable on soft kernel CT and NOT robust to hard kernel reconstructions.
| File size | Runtime | RAM | VRAM |
|-----------------|---------|-------|--------|
| (512, 512, 400) | ~1m 20s | <12 GB | 6.5 GB |