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.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.2-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: OmeSliCC-0.5.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.2.tar.gz
Algorithm Hash digest
SHA256 e7777792a5b62c39df78304c2a88e6f1b99ee258443a6b43f20c975483772104
MD5 2a0bfe18073fb05559b1837ae99f5965
BLAKE2b-256 382a786a34ac9c83077433e95c812e552810c2b44fd4d72c34bb1340f9c78bb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: OmeSliCC-0.5.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c98b8321abd6b419404722d694d77a501cc19b5beab08672cb06b1ebd62aa650
MD5 e9d6ee034d3bd859bb947b453424eaa8
BLAKE2b-256 2605f0d952cf40060d9b6e67bcda51c72bf4e1464188a0108414eeca3b90dd00

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