RepositoryPython
bioio-devs

bioio-devs/bioio

Image reading, metadata management, and image writing for Microscopy images in Python

135stars
13forks
17issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: microscopy

#1 Repository of the week

1
TINIX TRENDING·Topic: image-metadata

#1 Repository of the week

1
TINIX TRENDING·Topic: aicsimageio

#1 Repository of the week

BioIO

Build Status Documentation PyPI version License Python 3.10–3.13

Image Reading, Metadata Conversion, and Image Writing for Microscopy Images in Pure Python


Documentation

See the full documentation on our GitHub pages site

Example Usage (see full documentation for more examples)

Install bioio alongside OME TIFF and OME ZARR plug-ins with pip (this example won't use the OME ZARR plug-in):

pip install bioio bioio-ome-tiff bioio-ome-zarr

from bioio import BioImage

# Get a BioImage object
img = BioImage("my_file.tiff")  # selects the first scene found
img.data  # returns 5D TCZYX numpy array
img.xarray_data  # returns 5D TCZYX xarray data array backed by numpy
img.dims  # returns a Dimensions object
img.dims.order  # returns string "TCZYX"
img.dims.X  # returns size of X dimension
img.shape  # returns tuple of dimension sizes in TCZYX order
img.get_image_data("CZYX", T=0)  # returns 4D CZYX numpy array

# Get the id of the current operating scene
img.current_scene

# Get a list valid scene ids
img.scenes

# Change scene using name
img.set_scene("Image:1")
# Or by scene index
img.set_scene(1)

# Use the same operations on a different scene
# ...

Plug-in Registry

Bioio handles a variety of different image types through specific plug-ins. The bioio-dev supported plug-ins can be found within this registry.

Plug-inExtensionRepository
arraylikeArrayLikeBuilt-In
bioio-czi.cziRepo
bioio-dv.dv, .r3dRepo
bioio-imageio.jpg, .png, Full ListRepo
bioio-lif.lifRepo
bioio-nd2.nd2Repo
bioio-ome-tiff.ome.tiff, .tiffRepo
bioio-ome-tiled-tiff.tiles.ome.tifRepo
bioio-ome-zarr.zarrRepo
bioio-sldy.sldy, .dirRepo
bioio-tifffile.tif , .tiffRepo
bioio-tiff-glob.tiff (glob)Repo
bioio-bioformatsFull ListRepo

Each reader plugin should closely follow the specification laid out in bioio-base. As such, it is likely common that reader plugins won't distribute their own documentation and users should instead review bioio_base.reader.Reader for API documentation for the underlying Reader API. We encourage plugin authors to publish their own documentation if they change or include new features into their published image readers.

Writer Registry

BioIO supports a set of writer backends for exporting image data. The writer registry below lists maintained writer plug-ins.

WriterExtensionDocumentation
OmeTiffWriter.ome.tiffRepo
OMEZarrWriter.ome.zarr (OME-NGFF 0.4.0 and 0.5.0)Repo
TimeSeriesWriter.gif, .mp4, .mkvRepo
TwoDWriter.png, .bmp, .jpg, .mov, .avi, .mpg, .mpeg, .mp4, .mkv, .wmv, .oggRepo

Writer Installation and Usage

Writers will be installed with the respective plugin. Once installed they can be imported via bioio.writers. ex. bioio.writers<Writer Name>

import numpy as np
from bioio.writers import OmeTiffWriter # with bioio-ome-tiff installed

image = np.random.rand(10, 3, 1024, 2048)
OmeTiffWriter.save(image, "file.ome.tiff", dim_order="ZCYX")

Issues

Click here to view all open issues in bioio-devs organization at once

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.6k
Nov 13, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

149.8k
Dec 3, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.4k
Dec 3, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

488.2k
Dec 3, 2026
RepositoryPython
pydata/xarray

N-D labeled arrays and datasets in Python

4.2k
Dec 3, 2026
RepositoryPython
pytroll/satpy

Python package for earth-observing satellite data processing

1.2k
Nov 20, 2026
RepositoryPython
Ouranosinc/xclim

Library of derived climate variables, ie climate indicators, based on xarray.

411
Nov 26, 2026
RepositoryPython
pangeo-data/climpred

:earth_americas: Verification of weather and climate forecasts :earth_africa:

258
Nov 16, 2026