Skip to main content

Ome(ro) Slide Image Conversion and Compression pipeline

Project description

OmeSliCC

Ome(ro) Slide Image Conversion and Compression pipeline

OmeSliCC is designed to convert slides from common formats, to optimal OME formats for deep learning.

This includes converting from Omero and extracting metadata as label information.

For support and discussion, please use the Image.sc forum and post to the forum with the tag 'OmeSliCC'.

Main features

  • Import WSI files: Omero, Ome.Tiff, Tiff, Zarr *, Ome.Zarr/NGFF *, common slide formats, common image formats
  • Export images: Tiff, Ome.Tiff, Zarr *, Ome.Zarr *, common image formats, thumbnails
  • Zarr image compression (lossless/lossy)
  • Image scaling using target pixel size
  • Omero credentials helper

*Zarr currently partially implemented. Also see OME NGFF

Running OmeSliCC

OmeSliCC is 100% Python and can be run as follows:

  • On a local environment using requirements.txt
  • With conda environment using the conda yaml file
  • As Docker container

Quickstart

To start the conversion pipeline:

python run.py --params path/to/params.yml

See params.yml for an example parameter file. The main sections are:

  • input: providing either a file/folder path, or Omero URL
  • output: specifying the location and desired format of the output
  • actions: which actions to perform:
    • info: show input file information
    • thumbnail: extract image thumbnail
    • convert: convert to desired image output

To encode credentials for Omero access:

python encode_omero_credentials.py --params path/to/params.yml

To extract Omero label metadata to text file:

python extract_omero_labels.py --params path/to/params.yml

Documentation

https://franciscrickinstitute.github.io/OmeSliCC/

Acknowledgements

The Open Microscopy Environment (OME) project

The Francis Crick Institute

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

OmeSliCC-0.5.1.2.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

OmeSliCC-0.5.1.2-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file OmeSliCC-0.5.1.2.tar.gz.

File metadata

  • Download URL: OmeSliCC-0.5.1.2.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for OmeSliCC-0.5.1.2.tar.gz
Algorithm Hash digest
SHA256 262d398ff4180af206c6caef4fc092f1e50cedd57dfc0a8255c9e1ca87763526
MD5 add43d44bfe49dfcaa5001bd41615058
BLAKE2b-256 e1dac937666989c60765b4d9d10871f4a5f94c7fd93329241b3184938c5182e4

See more details on using hashes here.

File details

Details for the file OmeSliCC-0.5.1.2-py3-none-any.whl.

File metadata

  • Download URL: OmeSliCC-0.5.1.2-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for OmeSliCC-0.5.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c6fa458e66c3f5a1859916d30d578d8751b92f173bedd9c1794c92a46e246f9
MD5 68df867fcb7fdf41cd7ae8b61b02576e
BLAKE2b-256 e0b6adb083d9857251c50fc90b93ab2d818b9ae9f2fc58f06b354805cd883632

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page