tiledb-bioimg


Nametiledb-bioimg JSON
Version 0.2.12 PyPI version JSON
download
home_pagehttps://github.com/TileDB-Inc/TileDB-Bioimaging
SummaryPackage supports all bio-imaging functionality provided by TileDB
upload_time2024-04-26 15:11:01
maintainerNone
docs_urlNone
authorTileDB, Inc.
requires_python>=3.7
licenseMIT
keywords tiledb bioimaging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a href="https://tiledb.com"><img src="https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png" alt="TileDB logo" width="400"></a>

[![TileDB-BioImaging CI](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml/badge.svg)](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml)
![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/ktsitsi/32d48185733a4e7375e80e3e35fab452/raw/gist_bioimg.json)

# 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.

**Note**: this project is in pretty early stage and under heavy development.
Breaking changes to the underlying data format and the API are to be expected.

## 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

- [TileDB Cloud](https://cloud.tiledb.com) includes a built-in, pyramidal multi-resolution viewer (log in to TileDB Cloud to see an example image preview [here](https://cloud.tiledb.com/biomedical-imaging/TileDB-Inc/dbb7dfcc-28b3-40e5-916f-6509a666d950/preview))
- Napari: https://github.com/TileDB-Inc/napari-tiledb-bioimg

## Quick Installation

- From PyPI:

      # If you use zsh replace [full] with \[full\]
      pip install tiledb-bioimg[full]

- From source:

      git clone https://github.com/TileDB-Inc/TileDB-BioImaging.git
      cd TileDB-BioImaging

      # If you use zsh replace .[full] with .\[full\]
      pip install -e .[full]

**Note:** For `tiff` support (`[tiff]` or `[full]` extra dependencies) on Python 3.7, you
should first install our [tifffile fork](https://github.com/TileDB-Inc/tifffile) rather
than the older PyPI upstream package:

      pip install tifffile@git+https://github.com/TileDB-Inc/tifffile.git@gsa/python-3.7

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

### OME-Zarr to TileDB Group of Arrays
```python
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
```python
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
```python
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:

```shell
cd docs && make html
```

will generate a `docs/_build` directory, where you can now open the `index.html`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TileDB-Inc/TileDB-Bioimaging",
    "name": "tiledb-bioimg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "tiledb, bioimaging",
    "author": "TileDB, Inc.",
    "author_email": "help@tiledb.io",
    "download_url": "https://files.pythonhosted.org/packages/40/0d/740e99aa98c8f0489b620159c9fcc20eb4927a5c3a2172143de5dc395ccf/tiledb_bioimg-0.2.12.tar.gz",
    "platform": "any",
    "description": "<a href=\"https://tiledb.com\"><img src=\"https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png\" alt=\"TileDB logo\" width=\"400\"></a>\n\n[![TileDB-BioImaging CI](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml/badge.svg)](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml)\n![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/ktsitsi/32d48185733a4e7375e80e3e35fab452/raw/gist_bioimg.json)\n\n# TileDB-BioImaging\n\nPython package for:\n- converting images stored in popular Biomedical Imaging formats to groups of TileDB arrays (& vice versa)\n- exposing an expressive and efficient API (powered by TileDB) for querying such data.\n\n**Note**: this project is in pretty early stage and under heavy development.\nBreaking changes to the underlying data format and the API are to be expected.\n\n## Features\n\n### Ingestion to TileDB Groups of Arrays\n    - OME-Zarr\n    - OME-Tiff\n    - Open-Slide\n\n### Export from TileDB-Bioimaging Arrays to:\n    - OME-Zarr\n    - OME-Tiff\n\n### Visualization Options\n\n- [TileDB Cloud](https://cloud.tiledb.com) includes a built-in, pyramidal multi-resolution viewer (log in to TileDB Cloud to see an example image preview [here](https://cloud.tiledb.com/biomedical-imaging/TileDB-Inc/dbb7dfcc-28b3-40e5-916f-6509a666d950/preview))\n- Napari: https://github.com/TileDB-Inc/napari-tiledb-bioimg\n\n## Quick Installation\n\n- From PyPI:\n\n      # If you use zsh replace [full] with \\[full\\]\n      pip install tiledb-bioimg[full]\n\n- From source:\n\n      git clone https://github.com/TileDB-Inc/TileDB-BioImaging.git\n      cd TileDB-BioImaging\n\n      # If you use zsh replace .[full] with .\\[full\\]\n      pip install -e .[full]\n\n**Note:** For `tiff` support (`[tiff]` or `[full]` extra dependencies) on Python 3.7, you\nshould first install our [tifffile fork](https://github.com/TileDB-Inc/tifffile) rather\nthan the older PyPI upstream package:\n\n      pip install tifffile@git+https://github.com/TileDB-Inc/tifffile.git@gsa/python-3.7\n\n## Examples\nHow to convert imaging data from standard biomedical formats to group of TileDB arrays.\n\n### OME-Zarr to TileDB Group of Arrays\n```python\nfrom tiledb.bioimg.converters.ome_zarr import OMEZarrConverter\nOMEZarrConverter.to_tiledb(\"path_to_ome_zarr_image\", \"tiledb_array_group_path\")\n```\n\n### OME-Tiff to TileDB Group of Arrays\n```python\nfrom tiledb.bioimg.converters.ome_tiff import OMETiffConverter\nOMETiffConverter.to_tiledb(\"path_to_ome_tiff_image\", \"tiledb_array_group_path\")\n```\n\n### Open Slide to TileDB Group of Arrays\n```python\nfrom tiledb.bioimg.converters.openslide import OpenSlideConverter\nOpenSlideConverter.to_tiledb(\"path_to_open_slide_image\", \"tiledb_array_group_path\")\n```\n\n## Documentation\n`API Documentation` is auto-generated. Following the instructions below:\n\n```shell\ncd docs && make html\n```\n\nwill generate a `docs/_build` directory, where you can now open the `index.html`\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Package supports all bio-imaging functionality provided by TileDB",
    "version": "0.2.12",
    "project_urls": {
        "Bug Tracker": "https://github.com/TileDB-Inc/TileDB-Bioimaging/issues",
        "Documentation": "https://docs.tiledb.com",
        "Homepage": "https://github.com/TileDB-Inc/TileDB-Bioimaging"
    },
    "split_keywords": [
        "tiledb",
        " bioimaging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24d3508b689714172704f7cd4224722a272764d1c647f8587e2bf07b7f39a72b",
                "md5": "571e03f9f69dd27be4d5c212bc26b2bd",
                "sha256": "3ff41629b2d2c658087da72ed768c84e6e28c5fbebdfe3c5e0bb2944e53dcb73"
            },
            "downloads": -1,
            "filename": "tiledb_bioimg-0.2.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "571e03f9f69dd27be4d5c212bc26b2bd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 33212,
            "upload_time": "2024-04-26T15:10:58",
            "upload_time_iso_8601": "2024-04-26T15:10:58.507702Z",
            "url": "https://files.pythonhosted.org/packages/24/d3/508b689714172704f7cd4224722a272764d1c647f8587e2bf07b7f39a72b/tiledb_bioimg-0.2.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "400d740e99aa98c8f0489b620159c9fcc20eb4927a5c3a2172143de5dc395ccf",
                "md5": "fd15b1dfb64353d3e873939dee325637",
                "sha256": "829344e68dce0ff4453bd28ac00a49d26bd7f161eaba0684e0086768ec3778de"
            },
            "downloads": -1,
            "filename": "tiledb_bioimg-0.2.12.tar.gz",
            "has_sig": false,
            "md5_digest": "fd15b1dfb64353d3e873939dee325637",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 32346362,
            "upload_time": "2024-04-26T15:11:01",
            "upload_time_iso_8601": "2024-04-26T15:11:01.159482Z",
            "url": "https://files.pythonhosted.org/packages/40/0d/740e99aa98c8f0489b620159c9fcc20eb4927a5c3a2172143de5dc395ccf/tiledb_bioimg-0.2.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 15:11:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TileDB-Inc",
    "github_project": "TileDB-Bioimaging",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tiledb-bioimg"
}
        
Elapsed time: 0.24743s