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.1b0.tar.gz (64.4 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.1b0-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file OmeSliCC-0.5.1b0.tar.gz.

File metadata

  • Download URL: OmeSliCC-0.5.1b0.tar.gz
  • Upload date:
  • Size: 64.4 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.1b0.tar.gz
Algorithm Hash digest
SHA256 4c8a493af5688addb9b3adaedd45f8825808f0e5f5425f7c691c25357615213f
MD5 61d9e23ca1dba5c635dd8b4ff7361200
BLAKE2b-256 99682081d270d39c426c9e3b5b5ad80c17dd2feedb93b956a0e8ddbc9a548fca

See more details on using hashes here.

File details

Details for the file OmeSliCC-0.5.1b0-py3-none-any.whl.

File metadata

  • Download URL: OmeSliCC-0.5.1b0-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.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff439186d69d548fda0a2d2cf41e836f4a715ddd759ddf05fdfc8e133badb656
MD5 a4633e8b19af6c51d3004acd207fe293
BLAKE2b-256 5ec658fb5eb702cb5aeb311ed259f5c85edfcd2d2040d9710e88966c745d572f

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