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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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