BioImaging
Table of contents
Exporting
Overview
TileDB provides a set of tools for working with multi-resolution whole-slide microscopy images.
TileDB Cloud BioImaging: integrated viewer, data management, access control, and computation for bioimaging datasets.
Includes support for fast batch ingestion of large image sets from AWS S3 or any supported storage system using TileDB Task Graphs.
TileDB-BioImg: Python package for ingesting images to TileDB image arrays.
Includes support for chunked ingestion of larger-than-memory images.
OpenSlide Python API: this package additionally provides an OpenSlide Python-compatible API which may be used with image-groups stored using any TileDB backend.
napari-tiledb-bioimg: Napari Plugin for loading TileDB BioImage arrays, supporting visualization of pyramidal images and analysis using Napari tools and plugins.
Ingestion
To get started with TileDB bioimaging, install the tiledb-bioimg
package from the Python Package Index:
To use tiledb-bioimg
in a Python program, import the converters from the tiledb.bioimg
namespace:
Each converter provides a to_tiledb
function taking a source path and storage destination for the converted TileDB multi-resolution image group. For example:
Large-scale Ingestion
Batched Ingestion using TileDB Cloud
Check out the demo notebook on TileDB Cloud.
TileDB Cloud includes utilities for large-scale ingestion from images stored in an AWS S3 bucket or other supported object store.
First, install the TileDB-Cloud-Py package, and :
Next, use the tiledb.cloud.bioimg.ingest
function:
Chunked Ingestion for very large images
Check out the demo notebook on TileDB Cloud.
Reading Image Data
Image data may be read with either the OpenSlide Python-compatible API, or using the TileDB-Py API directly.
OpenSlide Python API
See the TileDBOpenSlide OpenSlide Python API documentation for all available commands on the
Visualization
TileDB Cloud
Please get in touch if you are interested in a demo! Public preview coming soon.
Napari
The napari-tiledb-bioimg plugin provides support for opening TileDB bioimage-arrays in the Napari visualization and analysis platform. (see the [demo video] on the repository README).
Install via the Napari plugin manager by searching for "TileDB", or install with pip inside of a Napari Python environment:
Something else?
Please get in touch if you are interested working with TileDB BioImages in other visualization software, or specific analysis tools.
Storage Format
TileDB-BioImg stores multi-resolution images as a group of arrays, with one dense array per resolution level. For example, given an input TIFF file with three resolution layer pages:
The following directory structure will be created:
Image-level metadata is stored as TileDB Group metadata, and individual level metadata is stored with resolution-level array.
Utilities
Export to OME Formats
The TileDB BioImg library provides a utility function to export a TileDB BioImage to several OME formats.
Last updated