Skip to main content

Biom3d. Framework for easy-to-use biomedical image segmentation.

Project description

:microscope: Biom3d

Documentation

Warning: This repository is still a work in progress!

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.

Biom3d modules nnUNet modules

Illustrations generated with pydeps module

Disclaimer: Biom3d does not include ensemble learning, the possibility to use 2D U-Net or 3D-Cascade U-Net or Pytorch distributed parallel computing (only DP) 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.

:hammer: Installation

For the installation details, please check our documentation here: Documentation-Installation

TL;DR: here is a single line of code to install biom3d:

pip install torch biom3d

:hand: Usage

For Graphical User Interface users, please check our documentation here: Documentation-GUI

For Command Line Interface users, please check our documentation here: Documentation-CLI

For Deep Learning developers, the tutorials are currently being cooked stayed tuned! You can check the partial API documentation already: Documentation-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

:bookmark_tabs: 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}
  }

:moneybag: 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).

Europe Brookes iGReD IP AURA UCA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biom3d-0.0.15.tar.gz (101.8 kB view details)

Uploaded Source

Built Distribution

biom3d-0.0.15-py3-none-any.whl (113.0 kB view details)

Uploaded Python 3

File details

Details for the file biom3d-0.0.15.tar.gz.

File metadata

  • Download URL: biom3d-0.0.15.tar.gz
  • Upload date:
  • Size: 101.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for biom3d-0.0.15.tar.gz
Algorithm Hash digest
SHA256 ebc450ccdc3509ab5b5e7b6451dca44cd0b8ce6800b3b0296115dea6babbce4d
MD5 66a77e4b8e7d4425cdda3d2feca5d946
BLAKE2b-256 224e0193b2bf23075e28a2e9c38d38502b8eac4027867ad652d653572955196e

See more details on using hashes here.

File details

Details for the file biom3d-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: biom3d-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 113.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for biom3d-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 90707145c24a614563a79c6c0ad8cf339e04487961b7c22605a5c4c5e9fd9a0e
MD5 32fd8075630f28a48a73e55a06288757
BLAKE2b-256 c9773449de36c2552570c059130dbfe4f8b9aa739c4a1651aa69b362f530b29e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page