Biom3d. Framework for easy-to-use biomedical image segmentation.
Project description
Highlights
Biom3d automatically configures the training of a 3D U-Net for 3D semantic segmentation.
The default configuration matches the performance of nnUNet but is much easier to use both for community users and developers. Biom3d is flexible for developers: easy to understand and easy to edit.
Code architecture of Biom3d versus code architecture of nnU-Net:
Biom3d modules | nnUNet modules |
---|---|
Illustrations generated with pydeps
module
Disclaimer: Biom3d does not include the possibility to use 2D U-Net or 3D-Cascade U-Net or Pytorch distributed parallel computing (only Pytorch Data Parallel) yet. However, these options could easily be adapted if needed.
We target two main types of users:
- Community users, who are interested in using the basic functionalities of Biom3d: GUI or CLI, predictions with ready-to-use models or default training.
- Deep-learning developers, who are interested in more advanced features: changing default configuration, writing of new Biom3d modules, Biom3d core editing etc.
🔨 Installation
For the installation details, please check our documentation here: Installation
TL;DR: here is a single line of code to install biom3d:
pip install torch biom3d
✋ Usage
For Graphical User Interface users, please check our documentation here: GUI
For Command Line Interface users, please check our documentation here: CLI
For Deep Learning developers, the tutorials are currently being cooked stayed tuned! You can check the partial API documentation already: API
TL;DR: here is a single line of code to run biom3d on the BTCV challenge and reach the same performance as nnU-Net (no cross-validation yet):
python -m biom3d.preprocess_train\
--img_dir data/btcv/Training/img\
--msk_dir data/btcv/Training/label\
--num_classes 13\
--ct_norm
⚠ Disclaimer
Warning: This repository is still a work in progress and comes with no guarantees.
📑 Citation
If you find Biom3d useful in your research, please cite:
@misc{biom3d,
title={{Biom3d} Easy-to-use Tool for 3D Semantic Segmentation of Volumetric Images using Deep Learning},
author={Guillaume Mougeot},
howpublished = {\url{https://github.com/GuillaumeMougeot/biom3d}},
year={2023}
}
💰 Fundings and Acknowledgements
This project has been inspired by the following publication: "nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation", Fabian Isensee et al, Nature Method, 2021.
This project has been supported by Oxford Brookes University and the European Regional Development Fund (FEDER). It was carried out between the laboratories of iGReD (France), Institut Pascal (France) and Plant Nuclear Envelop (UK).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file biom3d-0.0.28.tar.gz
.
File metadata
- Download URL: biom3d-0.0.28.tar.gz
- Upload date:
- Size: 115.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eabb52a2d3143f8669c485ce7146bb0b963ccc82e2100ce64c7b7b0798eed4d |
|
MD5 | ed648eda6dab2160755d471459fc7edd |
|
BLAKE2b-256 | 815140a373476ab7b79074e1c196775f510f8166144019785bfeb9fb9303304c |
File details
Details for the file biom3d-0.0.28-py3-none-any.whl
.
File metadata
- Download URL: biom3d-0.0.28-py3-none-any.whl
- Upload date:
- Size: 125.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602a5488069997cb6e0de4c2220cda4b103cee4104a9f46071788b773592fc2a |
|
MD5 | 3482269a5ce7999e4c90fb591a5ee052 |
|
BLAKE2b-256 | 765f696e9365ef9d299d61dfb92195e2a5750336f73a0e1721d3f39ffcf9749a |