https://github.com/brainlesion/deep_quality_estimation
Quality estimation for BraTS glioma segmentation models
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Keywords
Repository
Quality estimation for BraTS glioma segmentation models
Basic Info
- Host: GitHub
- Owner: BrainLesion
- Language: Python
- Default Branch: main
- Homepage: https://arxiv.org/abs/2205.10355
- Size: 35 MB
Statistics
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Deep Quality Estimation
Quality prediction for brain tumor segmentation on a scale ranging from ⭐ 1 star to ⭐⭐⭐⭐⭐⭐ 6 stars inspired by the paper Deep Quality Estimation: Creating Surrogate Models for Human Quality Ratings.
This can be used to estimate the quality of a BraTS glioma segmentation for evaluation purposes or, e.g., as part of a loss function during model training.
Important notes
[!IMPORTANT]
This package expects images in atlas space and segmentation labels in brats style, i.e. -label 1is the necrotic and non-enhancing tumor core -label 2is the peritumoral edema -label 3is the GD-enhancing tumor (used to belabel 4in older data; both are supported)[!NOTE] The model in this package differs from the one presented in the paper.
Unlike the original model it is trained based on individual radiologists' ratings enabling it to learn the variance between radiologists' estimates.
It outperforms the model presented in the paper on the test set.[!CAUTION] The model is biased to overestimate segmentation quality as it was mainly trained on high-quality segmentations and was exposed to only a few bad samples. We still argue that high scores can be useful.
Installation
With a Python 3.9+ environment, you can install deep_quality_estimation directly from PyPI:
bash
pip install deep_quality_estimation
Use Cases and Tutorials
A minimal example to predict the quality of a segmentation could look like this:
```python from deepqualityestimation import DQE
shown parameters are default values but can be adapted to usecase
dqe = DQE(device="cuda", cuda_devices="0")
inputs can be Paths (str or pathlib.Path object), NumPy NDArrays or a mix
meanscore, scoresper_view = dqe.predict( t1c="t1c.nii.gz", t1="t1.nii.gz", t2="t2.nii.gz", flair="flair.nii.gz", segmentation="segmentation.nii.gz", ) ```
Citation
If you use deep_quality_estimation in your research, please cite it to support the development!
https://arxiv.org/abs/2205.10355
@misc{kofler2022deepqualityestimationcreating,
title={Deep Quality Estimation: Creating Surrogate Models for Human Quality Ratings},
author={Florian Kofler and Ivan Ezhov and Lucas Fidon and Izabela Horvath and Ezequiel de la Rosa and John LaMaster and Hongwei Li and Tom Finck and Suprosanna Shit and Johannes Paetzold and Spyridon Bakas and Marie Piraud and Jan Kirschke and Tom Vercauteren and Claus Zimmer and Benedikt Wiestler and Bjoern Menze},
year={2022},
eprint={2205.10355},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2205.10355},
}
Contributing
We welcome all kinds of contributions from the community!
Reporting Bugs, Feature Requests and Questions
Please open a new issue here.
Code contributions
Nice to have you on board! Please have a look at our CONTRIBUTING.md file.
Owner
- Name: BrainLesion
- Login: BrainLesion
- Kind: organization
- Repositories: 1
- Profile: https://github.com/BrainLesion
GitHub Events
Total
- Issues event: 6
- Watch event: 3
- Delete event: 10
- Issue comment event: 7
- Push event: 32
- Pull request review comment event: 3
- Pull request review event: 7
- Pull request event: 14
- Create event: 11
Last Year
- Issues event: 6
- Watch event: 3
- Delete event: 10
- Issue comment event: 7
- Push event: 32
- Pull request review comment event: 3
- Pull request review event: 7
- Pull request event: 14
- Create event: 11
Packages
- Total packages: 1
-
Total downloads:
- pypi 22 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 2
pypi.org: deep-quality-estimation
- Homepage: https://github.com/BrainLesion/deep_quality_estimation
- Documentation: https://www.TODO.com
-
Latest release: 0.0.3
published about 1 year ago
Rankings
Maintainers (2)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- flake8 >=4.0.1 develop
- pytest >=8.0.0 develop
- pytest-cov >=5.0.0 develop
- Sphinx >=7.0.0 docs
- furo >=2024.8.6 docs
- myst-parser >=2.0.0 docs
- sphinx-copybutton >=0.5.2 docs
- python >=3.9