biom3d


Namebiom3d JSON
Version 0.0.38 PyPI version JSON
download
home_pageNone
SummaryBiom3d. Framework for easy-to-use biomedical image segmentation.
upload_time2024-03-27 10:53:40
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords deep learning image segmentation medical image analysis medical image segmentation biological image segmentation bio-imaging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_biom3d_crop.png" width="200" title="biom3d" alt="biom3d" vspace = "0">

  [📘Documentation](https://biom3d.readthedocs.io/) | 
  [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/GuillaumeMougeot/biom3d/blob/master/docs/biom3d_colab.ipynb)
</div>
<img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/nucleus_segmentation.png" width="200" title="nucleus" alt="nucleus" align="right" vspace = "0">

<!-- [**Documentation**](https://biom3d.readthedocs.io/) -->

<!-- **Try it online!** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/GuillaumeMougeot/biom3d/blob/master/docs/biom3d_colab.ipynb) -->

## Highlights

Biom3d automatically configures the training of a 3D U-Net for 3D semantic segmentation.

The default configuration matches the performance of [nnUNet](https://github.com/MIC-DKFZ/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
:-------------------------:|:-------------------------:
![](https://github.com/GuillaumeMougeot/biom3d/blob/main/images/biom3d_train.png)  |  ![](https://github.com/GuillaumeMougeot/biom3d/blob/main/images/nnunet_run_run_training.png)

*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.

**[21/11/2023] NEWS!** Biom3d tutorials are now available online:

* [I2K Workshop tutorial (in english)](https://www.youtube.com/watch?v=cRUb9g66P18&ab_channel=I2KConference)
* [RTMFM tutorial (in french)](https://www.youtube.com/live/fJopxW5vOhc?si=qdpJcaEy0Bd2GDec)

## 🔨 Installation

**For the installation details, please check our documentation here:** [**Installation**](https://biom3d.readthedocs.io/en/latest/installation.html)

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**](https://biom3d.readthedocs.io/en/latest/quick_run_gui.html)

**For Command Line Interface users, please check our documentation here:** [**CLI**](https://biom3d.readthedocs.io/en/latest/tuto_cli.html)

**For Deep Learning developers, the tutorials are currently being cooked stayed tuned! You can check the partial API documentation already:** [**API**](https://biom3d.readthedocs.io/en/latest/builder.html)

TL;DR: here is a single line of code to run biom3d on the [BTCV challenge](https://www.synapse.org/#!Synapse:syn3193805/wiki/217785) 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.

## Issues

Please feel free to open an issue or send me an email if any problem with biom3d appears. But please make sure first that this problem is not referenced on the FAQ page: [Frequently Asked Question](https://biom3d.readthedocs.io/en/latest/faq.html)

## 📑 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).

<p align="middle">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/Flag_of_Europe.svg.png" alt="Europe" width="100">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/brookes_logo_black.bmp" alt="Brookes" width="100">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/GReD_color_EN.png" alt="iGReD" width="100">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_ip.png" alt="IP" width="100">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_aura.PNG" alt="AURA" width="100">
  <img src="https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_UCA.jpg" alt="UCA" width="100">
</p>




            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "biom3d",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "deep learning, image segmentation, medical image analysis, medical image segmentation, biological image segmentation, bio-imaging",
    "author": null,
    "author_email": "Guillaume Mougeot <guillaume.mougeot@laposte.net>",
    "download_url": "https://files.pythonhosted.org/packages/8a/94/8febc0f348774013168c44f14e2de009f1c4cb1da91d5e46613ccabccd70/biom3d-0.0.38.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_biom3d_crop.png\" width=\"200\" title=\"biom3d\" alt=\"biom3d\" vspace = \"0\">\n\n  [\ud83d\udcd8Documentation](https://biom3d.readthedocs.io/) | \n  [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/GuillaumeMougeot/biom3d/blob/master/docs/biom3d_colab.ipynb)\n</div>\n<img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/nucleus_segmentation.png\" width=\"200\" title=\"nucleus\" alt=\"nucleus\" align=\"right\" vspace = \"0\">\n\n<!-- [**Documentation**](https://biom3d.readthedocs.io/) -->\n\n<!-- **Try it online!** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/GuillaumeMougeot/biom3d/blob/master/docs/biom3d_colab.ipynb) -->\n\n## Highlights\n\nBiom3d automatically configures the training of a 3D U-Net for 3D semantic segmentation.\n\nThe default configuration matches the performance of [nnUNet](https://github.com/MIC-DKFZ/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. \n\nCode architecture of Biom3d versus code architecture of nnU-Net:\n\nBiom3d modules             |  nnUNet modules\n:-------------------------:|:-------------------------:\n![](https://github.com/GuillaumeMougeot/biom3d/blob/main/images/biom3d_train.png)  |  ![](https://github.com/GuillaumeMougeot/biom3d/blob/main/images/nnunet_run_run_training.png)\n\n*Illustrations generated with `pydeps` module*\n\n> **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.\n\nWe target two main types of users:\n\n* Community users, who are interested in using the basic functionalities of Biom3d: GUI or CLI, predictions with ready-to-use models or default training.\n* Deep-learning developers, who are interested in more advanced features: changing default configuration, writing of new Biom3d modules, Biom3d core editing etc.\n\n**[21/11/2023] NEWS!** Biom3d tutorials are now available online:\n\n* [I2K Workshop tutorial (in english)](https://www.youtube.com/watch?v=cRUb9g66P18&ab_channel=I2KConference)\n* [RTMFM tutorial (in french)](https://www.youtube.com/live/fJopxW5vOhc?si=qdpJcaEy0Bd2GDec)\n\n## \ud83d\udd28 Installation\n\n**For the installation details, please check our documentation here:** [**Installation**](https://biom3d.readthedocs.io/en/latest/installation.html)\n\nTL;DR: here is a single line of code to install biom3d:\n\n```\npip install torch biom3d\n```\n\n## \u270b Usage\n\n**For Graphical User Interface users, please check our documentation here:** [**GUI**](https://biom3d.readthedocs.io/en/latest/quick_run_gui.html)\n\n**For Command Line Interface users, please check our documentation here:** [**CLI**](https://biom3d.readthedocs.io/en/latest/tuto_cli.html)\n\n**For Deep Learning developers, the tutorials are currently being cooked stayed tuned! You can check the partial API documentation already:** [**API**](https://biom3d.readthedocs.io/en/latest/builder.html)\n\nTL;DR: here is a single line of code to run biom3d on the [BTCV challenge](https://www.synapse.org/#!Synapse:syn3193805/wiki/217785) and reach the same performance as nnU-Net (no cross-validation yet): \n\n```\npython -m biom3d.preprocess_train\\\n --img_dir data/btcv/Training/img\\\n --msk_dir data/btcv/Training/label\\\n --num_classes 13\\\n --ct_norm\n```\n\n## \u26a0 Disclaimer\n\n> **Warning**: This repository is still a work in progress and comes with no guarantees.\n\n## Issues\n\nPlease feel free to open an issue or send me an email if any problem with biom3d appears. But please make sure first that this problem is not referenced on the FAQ page: [Frequently Asked Question](https://biom3d.readthedocs.io/en/latest/faq.html)\n\n## \ud83d\udcd1 Citation\n\nIf you find Biom3d useful in your research, please cite:\n\n```\n@misc{biom3d,\n  title={{Biom3d} Easy-to-use Tool for 3D Semantic Segmentation of Volumetric Images using Deep Learning},\n  author={Guillaume Mougeot},\n  howpublished = {\\url{https://github.com/GuillaumeMougeot/biom3d}},\n  year={2023}\n  }\n```\n\n## \ud83d\udcb0 Fundings and Acknowledgements \n\nThis 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.\n\nThis 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).\n\n<p align=\"middle\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/Flag_of_Europe.svg.png\" alt=\"Europe\" width=\"100\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/brookes_logo_black.bmp\" alt=\"Brookes\" width=\"100\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/GReD_color_EN.png\" alt=\"iGReD\" width=\"100\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_ip.png\" alt=\"IP\" width=\"100\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_aura.PNG\" alt=\"AURA\" width=\"100\">\n  <img src=\"https://github.com/GuillaumeMougeot/biom3d/blob/main/images/logo_UCA.jpg\" alt=\"UCA\" width=\"100\">\n</p>\n\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Biom3d. Framework for easy-to-use biomedical image segmentation.",
    "version": "0.0.38",
    "project_urls": {
        "Bug Tracker": "https://github.com/GuillaumeMougeot/biom3d/issues",
        "Homepage": "https://github.com/GuillaumeMougeot/biom3d"
    },
    "split_keywords": [
        "deep learning",
        " image segmentation",
        " medical image analysis",
        " medical image segmentation",
        " biological image segmentation",
        " bio-imaging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27e1d8c65ffbca82a6e2da6004ee13e4fafa360318c5b957cbc406e803d7f3ee",
                "md5": "fca709b36f3fcc75f863ccba64e92569",
                "sha256": "8868296cbfc515b230e6fe25fa3679023bb10c2a70d04304b528acdd7933d0c4"
            },
            "downloads": -1,
            "filename": "biom3d-0.0.38-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fca709b36f3fcc75f863ccba64e92569",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 200109,
            "upload_time": "2024-03-27T10:53:08",
            "upload_time_iso_8601": "2024-03-27T10:53:08.568558Z",
            "url": "https://files.pythonhosted.org/packages/27/e1/d8c65ffbca82a6e2da6004ee13e4fafa360318c5b957cbc406e803d7f3ee/biom3d-0.0.38-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a948febc0f348774013168c44f14e2de009f1c4cb1da91d5e46613ccabccd70",
                "md5": "174f43f53dc47c5b9b8e9eeec67878b0",
                "sha256": "6fbcc4f6e96537b5d21694861eb52f1058b0bab4a01d331d1f8fa9848fc5e593"
            },
            "downloads": -1,
            "filename": "biom3d-0.0.38.tar.gz",
            "has_sig": false,
            "md5_digest": "174f43f53dc47c5b9b8e9eeec67878b0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5756563,
            "upload_time": "2024-03-27T10:53:40",
            "upload_time_iso_8601": "2024-03-27T10:53:40.128194Z",
            "url": "https://files.pythonhosted.org/packages/8a/94/8febc0f348774013168c44f14e2de009f1c4cb1da91d5e46613ccabccd70/biom3d-0.0.38.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-27 10:53:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GuillaumeMougeot",
    "github_project": "biom3d",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "biom3d"
}
        
Elapsed time: 0.26142s