Skip to main content

BCM3D 2.0: Accurate segmentation of single bacterialcells in dense biofilms using computationallygenerated intermediate image representations

Project description


BCM3D 2.0

About The Project

BCM3D 2.0 is entirely complementary to the approach utilized in BCM3D 1.0. Instead of training CNNs to perform voxel classification, we trained CNNs to translate 3D fluorescence images into intermediate 3D image representations that are, when combined appropriately, more amenable to conventional mathematical image processing than a single experimental image. Using this approach, improved segmentation results are obtained even for very low SBRs and/or high cell density biofilm images.The improved cell segmentation accuracies in turn enable improved accuracies of tracking individual cells through 3D space and time. This capability opens the door to investigating time38 dependent phenomena in bacterial biofilms at the cellular level.

Getting Started

This package was tested on a high-performace computing cluster at University of Virginia with CUDA-enabled GPU and Tensorflow 2.x

Prerequisites

This package uses CSBdeep for training deep leanirng modules. Tensorflow 2.x with its dependencies (CUDA, cuDNN) is required. Please refer to CSBdeep for further instructions (http://csbdeep.bioimagecomputing.com/doc/install.html).

Installation

  1. create and activate a conda enviroment
    conda create -n BCM3D2.0 python=3.8
    conda activate BCM3D2.0
    
  2. pip install
    pip install BCM3D2.0
    

Usage

Model training

  1. Use src/IntermediateImageGenerate.py to generate image representations from ground truth cell arrangement.

  2. Use dategen.ipynb to generate training pairs (raw data and the corresponding image representations).

  3. Use train.ipynb to train CNNs that will train a model.

Prediction

  1. Use src/preprocess.py to apply background substraction to raw data. (optional)

  2. Use predict.ipynb to generate segmentations

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

yw9et@virginia.com; jz3nc@virginia.edu; ag5vu@virginia.edu

Project Link: https://github.com/GahlmannLab/BCM3D-2.0

Data Link: https://osf.io/m4637

(back to top)

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

BCM3D-2.0.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

BCM3D-2.0.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file BCM3D-2.0.1.tar.gz.

File metadata

  • Download URL: BCM3D-2.0.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for BCM3D-2.0.1.tar.gz
Algorithm Hash digest
SHA256 7df72116b6741102c65e24c99252bf11d3053de6df932e9dbbb428f8053772ad
MD5 5c64e85a58acdb1cd523ed05c9b08605
BLAKE2b-256 e342c15f7c8567c800f6848bacfae34b0870ab9ec9d8b560d1348130b9b9c6bf

See more details on using hashes here.

File details

Details for the file BCM3D-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: BCM3D-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for BCM3D-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af16b3d3c51db8c87241c24572edf1915189c8e32974611c3ca5ba51285436f3
MD5 8574cf4139a7cfec00127090f6c2a3bc
BLAKE2b-256 9e2fae3735e8f596768e7e223de0071d3965bf197eae82c793ee0b88091f5b22

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