BiaPy: Bioimage analysis pipelines in Python


BiaPy is an open source Python library for building bioimage analysis pipelines, also called workflows. This repository is actively under development by the Biomedical Computer Vision group at the University of the Basque Country and the Donostia International Physics Center.

The library provides an easy way to create image processing pipelines that are commonly used in the analysis of biology microscopy images in 2D and 3D. Specifically, BiaPy contains ready-to-use solutions for tasks such as semantic segmentation, instance segmentation, object detection, image denoising, single image super-resolution, self-supervised learning and image classification. The source code is based on Pytorch as the backend. As BiaPy’s core is based on deep learning, it is recommended to use a machine with a graphics processing unit (GPU) for faster training and execution.

Find a gentle introduction to BiaPy in this video presented by Ignacio Arganda-Carreras in the Virtual Pub of Euro-BioImaging .


This repository is the base of the following works:

    title={BiaPy: a ready-to-use library for Bioimage Analysis Pipelines},
    author={Franco-Barranco, Daniel and Andr{\'e}s-San Rom{\'a}n, Jes{\'u}s A and G{\'o}mez-G{\'a}lvez, Pedro and Escudero, Luis M and Mu{\~n}oz-Barrutia, Arrate and Arganda-Carreras, Ignacio},
    booktitle={2023 IEEE 20th International Symposium on Biomedical Imaging (ISBI)},

 @article {Andr{\'e}s-San Rom{\'a}n2023.01.05.522724,
    author = {Jes{\'u}s A. Andr{\'e}s-San Rom{\'a}n and Carmen Gordillo-V{\'a}zquez and Daniel Franco-Barranco and Laura Morato and Cecilia H. Fern{\'a}ndez-Espartero and Gabriel Baonza and Antonio Tagua and Pablo Vicente-Munuera and Ana M. Palacios and Mar{\'\i}a P. Gavil{\'a}n and Fernando Mart{\'\i}n-Belmonte and Valentina Annese and Pedro G{\'o}mez-G{\'a}lvez and Ignacio Arganda-Carreras and Luis M. Escudero},
    title = {CartoCell, a high-content pipeline for 3D image analysis, unveils cell morphology patterns in epithelia},
    elocation-id = {2023.01.05.522724},
    year = {2023},
    doi = {10.1101/2023.01.05.522724},
    publisher = {Cold Spring Harbor Laboratory},
    URL = {},
    eprint = {},
    journal = {bioRxiv}

    title = {Deep learning based domain adaptation for mitochondria segmentation on EM volumes},
    journal = {Computer Methods and Programs in Biomedicine},
    volume = {222},
    pages = {106949},
    year = {2022},
    issn = {0169-2607},
    doi = {},
    url = {},
    author={Franco-Barranco, Daniel and Pastor-Tronch, Julio and Gonz{\'a}lez-Marfil, Aitor and Mu{\~n}oz-Barrutia, Arrate and Arganda-Carreras, Ignacio},

    author={Franco-Barranco, Daniel and Muñoz-Barrutia, Arrate and Arganda-Carreras, Ignacio},
    title={Stable Deep Neural Network Architectures for Mitochondria Segmentation on Electron Microscopy Volumes},

    title={MitoEM dataset: large-scale 3D mitochondria instance segmentation from EM images},
    author={Wei, Donglai and Lin, Zudi and Franco-Barranco, Daniel and Wendt, Nils and Liu, Xingyu and Yin, Wenjie and Huang, Xin and Gupta, Aarush and Jang, Won-Dong and Wang, Xueying and others},
    booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},