Skip to main content

Package supports all bio-imaging functionality provided by TileDB

Project description

TileDB logo

TileDB-BioImaging CI Coverage Badge

TileDB-BioImaging

Python package for:

  • converting images stored in popular Biomedical Imaging formats to groups of TileDB arrays (& vice versa)
  • exposing an expressive and efficient API (powered by TileDB) for querying such data.

Features

Ingestion to TileDB Groups of Arrays

- OME-Zarr
- OME-Tiff
- Open-Slide

Export from TileDB-Bioimaging Arrays to:

- OME-Zarr
- OME-Tiff

Visualization Options

Installation Prerequisites

OpenSlide Python requires that OpenSlide be installed separately prior to its installation.

Prior to proceeding with the below installation instructions, please install OpenSlide as recommended by the OpenSlide Python library.

Quick Installation

  • From PyPI:

    pip install 'tiledb-bioimg[full]'
    
  • From source:

    git clone https://github.com/TileDB-Inc/TileDB-BioImaging.git
    cd TileDB-BioImaging
    
    pip install -e '.[full]'
    

Windows Installation

After installing Openslide you should make sure that you create a link between your installation path and the following default path C:\openslide-win64\ .

mklink /D C:\openslide-win64\ [your-installation-path]\openslide-win64-20221217\

You can install the latest versions of Openslide for windows using the pre-built packages found in the project's github page: https://github.com/openslide/openslide-bin/releases

or in their website: https://openslide.org/download/

Examples

How to convert imaging data from standard biomedical formats to group of TileDB arrays.

OME-Zarr to TileDB Group of Arrays

from tiledb.bioimg.converters.ome_zarr import OMEZarrConverter
OMEZarrConverter.to_tiledb("path_to_ome_zarr_image", "tiledb_array_group_path")

OME-Tiff to TileDB Group of Arrays

from tiledb.bioimg.converters.ome_tiff import OMETiffConverter
OMETiffConverter.to_tiledb("path_to_ome_tiff_image", "tiledb_array_group_path")

Open Slide to TileDB Group of Arrays

from tiledb.bioimg.converters.openslide import OpenSlideConverter
OpenSlideConverter.to_tiledb("path_to_open_slide_image", "tiledb_array_group_path")

Documentation

API Documentation is auto-generated. Following the instructions below:

quartodoc build && quarto preview

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

tiledb_bioimg-0.3.3.tar.gz (38.4 MB view details)

Uploaded Source

Built Distribution

tiledb_bioimg-0.3.3-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file tiledb_bioimg-0.3.3.tar.gz.

File metadata

  • Download URL: tiledb_bioimg-0.3.3.tar.gz
  • Upload date:
  • Size: 38.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tiledb_bioimg-0.3.3.tar.gz
Algorithm Hash digest
SHA256 75c5f3ccbb34c124b976bf31b35d03f9c295225503442c96652fffe4a79ba9be
MD5 dc63878bc88d9522d06626a0749a4913
BLAKE2b-256 444bd3e5df3f748897377f0ad9d7284ec470ea974171496d9c245dd6cff897ca

See more details on using hashes here.

File details

Details for the file tiledb_bioimg-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for tiledb_bioimg-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2893a0de57282ca89b1c516b9ced571625137e97f77a99acaa703b38fd1031bc
MD5 03761ca75a7829964a8369ef9d77665f
BLAKE2b-256 b9edce28bb9581cf3564cef651a7d3e69bd0f16b9eabbaf1c9713555ead6a870

See more details on using hashes here.

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