Skip to main content

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

Metadata

Release files for OmeSliCC 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OmeSliCC 0.5.2
File Size Uploaded
OmeSliCC-0.5.2.tar.gz 64.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for OmeSliCC 0.5.2
File Interpreter ABI Platform
OmeSliCC-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 120.5 kB

Release files / OmeSliCC-0.5.2.tar.gz

Download URL OmeSliCC-0.5.2.tar.gz
Size 64.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e7777792a5b62c39df78304c2a88e6f1b99ee258443a6b43f20c975483772104
BLAKE2b-256 checksum
How to use checksums
382a786a34ac9c83077433e95c812e552810c2b44fd4d72c34bb1340f9c78bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Release files / OmeSliCC-0.5.2-py3-none-any.whl

Download URL OmeSliCC-0.5.2-py3-none-any.whl
Size 55.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c98b8321abd6b419404722d694d77a501cc19b5beab08672cb06b1ebd62aa650
BLAKE2b-256 checksum
How to use checksums
2605f0d952cf40060d9b6e67bcda51c72bf4e1464188a0108414eeca3b90dd00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page