Skip to content

Prediction package for root tissue segmentation in fluorescence microscopy images of A. thaliana

License

Notifications You must be signed in to change notification settings

qbic-pipelines/rts-prediction-package

Repository files navigation

Root-Tissue-Segmentation Package

Github Workflow Build rts_package Status Github Workflow Tests Status PyPI Status Documentation Status Dependabot Enabled

Prediction package for reproducible U-Net models, trained for semantic segmentation of microscopy images of root tissue from A. thaliana (https://github.com/qbic-pipelines/root-tissue-segmentation-core/). These models are trained using the mlf-core framework and tested for reproducibility. This package can be deployed within an analysis pipeline as a module for root tissue segmentation (rts) of fluorescence microscopy images.

This prediction module implements the Monte Carlo Dropout procedure (https://arxiv.org/abs/1506.02142) to calculate prediction uncertainty (uncertainty maps). Additionally, this module uses the Guided Grad-CAM algorithm (https://arxiv.org/abs/1610.02391) to compute input feature importance visualizations (interpretability maps), as implemented by the Captum library (https://captum.ai/).

Package Tools

  • Segmentation prediction CLI: rts-pred
  • Uncertainty of prediction CLI: rts-pred-uncert
  • Input feature importance (Guided Grad-CAM) CLI: rts-feat-imp

Usage Examples

  • rts-pred -i ./brightfields -o ./predictions -m mark1-PHDFM-u2net-model.ckpt --suffix ""
  • rts-pred-uncert -i ./brightfields -o ./predictions -m mark1-PHDFM-u2net-model.ckpt --suffix "" -t 5
  • rts-feat-imp -i ./brightfields -o ./predictions -m mark1-PHDFM-u2net-model.ckpt --suffix "" -t 2

Additional Information

Credits

This package was created with mlf-core using cookiecutter.

About

Prediction package for root tissue segmentation in fluorescence microscopy images of A. thaliana

Resources

License

Stars

Watchers

Forks

Packages

No packages published