Skip to main content

BiaPy: Bioimage analysis pipelines in Python

Project description

BiaPy logo

BiaPy: Accessible deep learning on bioimages

🔥NEWS🔥: We have a new preprint! Check it out at bioRxiv: https://www.biorxiv.org/content/10.1101/2024.02.03.576026v1

BiaPy is an open source ready-to-use all-in-one library that provides deep-learning workflows for a large variety of bioimage analysis tasks, including 2D and 3D semantic segmentation, instance segmentation, object detection, image denoising, single image super-resolution, self-supervised learning, image classification and image to image translation.

BiaPy is a versatile platform designed to accommodate both proficient computer scientists and users less experienced in programming. It offers diverse and user-friendly access points to our workflows.

This repository is actively under development by the BiaPy Team, a group of contributors from different research institutions.

BiaPy workflows

Description videos

Find a comprehensive overview of BiaPy and its functionality in the following videos:

BiaPy history and GUI demo
BiaPy history and GUI demo at RTmfm by Ignacio Arganda-Carreras and Daniel Franco-Barranco.
BiaPy presentation
BiaPy presentation at Virtual Pub of Euro-BioImaging by Ignacio Arganda-Carreras.

User interface

You can also use BiaPy through our graphical user interface (GUI).

BiaPy GUI

Download BiaPy GUI for you OS

Project's page: [BiaPy GUI]

Scientific publications using BiaPy

López-Cano, Daniel, et al. "Characterizing Structure Formation through Instance Segmentation" (2023).

This study presents a machine-learning framework to predict the formation of dark matter haloes from early universe density perturbations. Utilizing two neural networks, it distinguishes particles comprising haloes and groups them by membership. The framework accurately predicts halo masses and shapes, and compares favorably with N-body simulations. The open-source model could enhance analytical methods of structure formation by analyzing initial condition variations. BiaPy is used in the creation of the watershed approach.

[Documentation (not yet)] [Paper]
Franco-Barranco, Daniel, et al. "Current Progress and Challenges in Large-scale 3D Mitochondria Instance Segmentation." (2023).

This paper reports the results of the MitoEM challenge on 3D instance segmentation of mitochondria in electron microscopy images, held in conjunction with IEEE-ISBI 2021. The paper discusses the top-performing methods, addresses ground truth errors, and proposes a new scoring system to improve segmentation evaluation. Despite progress, challenges remain in segmenting mitochondria with complex shapes, keeping the competition open for further submissions. BiaPy is used in the creation of the MitoEM challenge baseline (U2D-BC).

[Documentation] [Paper] [Toolbox]
Backová, Lenka, et al. "Modeling Wound Healing Using Vector Quantized Variational Autoencoders and Transformers." 2023 IEEE 20th International Symposium on Biomedical Imaging (ISBI). IEEE, 2023.

This study focuses on time-lapse sequences of Drosophila embryos healing from laser-incised wounds. The researchers employ a two-stage approach involving a vector quantized variational autoencoder and an autoregressive transformer to model wound healing as a video prediction task. BiaPy is used in the creation of the wound segmentation masks.

[Documentation] [Paper]
Andrés-San Román, Jesús A., et al. "CartoCell, a high-content pipeline for 3D image analysis, unveils cell morphology patterns in epithelia." Cell Reports Methods (2023)

Combining deep learning and 3D imaging is crucial for high-content analysis. CartoCell is introduced, a method that accurately labels 3D epithelial cysts, enabling quantification of cellular features and mapping their distribution. It's adaptable to other epithelial tissues. CartoCell method is created using BiaPy.

[Documentation] [Paper]
Franco-Barranco, Daniel, et al. "Deep learning based domain adaptation for mitochondria segmentation on EM volumes." Computer Methods and Programs in Biomedicine 222 (2022): 106949.

This study addresses mitochondria segmentation across different datasets using three unsupervised domain adaptation approaches, including style transfer, self-supervised learning, and multi-task neural networks. To ensure robust generalization, a new training stopping criterion based on source domain morphological priors is proposed. BiaPy is used for the implementation of the Attention U-Net.

[Documentation] [Paper]
Franco-Barranco, Daniel, et al. "Stable deep neural network architectures for mitochondria segmentation on electron microscopy volumes." Neuroinformatics 20.2 (2022): 437-450.

Recent deep learning models have shown impressive performance in mitochondria segmentation, but often lack code and training details, affecting reproducibility. This study follows best practices, comprehensively comparing state-of-the-art architectures and variations of U-Net models for mitochondria segmentation, revealing their impact and stability. The research consistently achieves state-of-the-art results on various datasets, including EPFL Hippocampus, Lucchi++, and Kasthuri++. BiaPy is used for the implementation of the methods compared in the study.

[Documentation] [Paper]
Wei, Donglai, et al. "Mitoem dataset: Large-scale 3d mitochondria instance segmentation from em images." International Conference on Medical Image Computing and Computer-Assisted Intervention. Cham: Springer International Publishing, 2020.

Existing mitochondria segmentation datasets are small, raising questions about method robustness. The MitoEM dataset introduces larger 3D volumes with diverse mitochondria, challenging existing instance segmentation methods, highlighting the need for improved techniques. BiaPy is used in the creation of the MitoEM challenge baseline (U2D-BC).

[Documentation] [Paper] [Challenge]

Authors

Name Role Affiliations
Daniel Franco-Barranco Creator, Implementation, Software design
  • Dept. of Computer Science and Artificial Intelligence, University of the Basque Country (UPV/EHU)
  • Donostia International Physics Center (DIPC)
Lenka Backová Implementation
  • Biofisika Institute
Aitor Gonzalez-Marfil Implementation
  • Dept. of Computer Science and Artificial Intelligence, University of the Basque Country (UPV/EHU)
  • Donostia International Physics Center (DIPC)
Ignacio Arganda-Carreras Supervision, Implementation
  • Dept. of Computer Science and Artificial Intelligence, University of the Basque Country (UPV/EHU)
  • Donostia International Physics Center (DIPC)
  • IKERBASQUE, Basque Foundation for Science
  • Biofisika Institute
Arrate Muñoz-Barrutia Supervision
  • Dept. de Bioingenieria, Universidad Carlos III de Madrid

External collaborators

Name Role Affiliations
Jesús Ángel Andrés-San Román Implementation
  • Instituto de Biomedicina de Sevilla (IBiS), Hospital Universitario Virgen del Rocío/CSIC/Universidad de Sevilla and Dept. de Biología Celular, Facultad de Biología, Universidad de Sevilla
  • Biomedical Network Research Centre on Neurodegenerative Diseases (CIBERNED)
Pedro Javier Gómez Gálvez Supervision, Implementation
  • Instituto de Biomedicina de Sevilla (IBiS), Hospital Universitario Virgen del Rocío/CSIC/Universidad de Sevilla and Dept. de Biología Celular, Facultad de Biología, Universidad de Sevilla
  • MRC Laboratory of Molecular Biology
  • Department of Physiology, Development and Neuroscience, University of Cambridge
Luis M. Escudero Supervision
  • Instituto de Biomedicina de Sevilla (IBiS), Hospital Universitario Virgen del Rocío/CSIC/Universidad de Sevilla and Dept. de Biología Celular, Facultad de Biología, Universidad de Sevilla
  • Biomedical Network Research Centre on Neurodegenerative Diseases (CIBERNED)
Iván Hidalgo Cenalmor Implementation
  • Optical cell biology group, Instituto Gulbenkian de Ciência, Oerias, Portugal
Donglai Wei Supervision
  • Boston College
Clément Caporal Implementation
  • Laboratoire d’Optique et Biosciences, CNRS, Inserm, Ecole Polytechnique
Anatole Chessel Supervision
  • Laboratoire d’Optique et Biosciences, CNRS, Inserm, Ecole Polytechnique

Citation

Please note that BiaPy is based on a publication. If you use it successfully for your research please be so kind to cite our work:

Franco-Barranco, D., Andrés-San Román, J.A., Gómez-Gálvez, P., Escudero, L.M., Muñoz-Barrutia, A. and
Arganda-Carreras, I., 2023, April. BiaPy: a ready-to-use library for Bioimage Analysis Pipelines.
In 2023 IEEE 20th International Symposium on Biomedical Imaging (ISBI) (pp. 1-5). IEEE.

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

biapy-3.5.5.tar.gz (314.8 kB view hashes)

Uploaded Source

Built Distribution

biapy-3.5.5-py3-none-any.whl (368.7 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