Skip to content

Ome(ro) SLide Image Conversion and Compression pipline (OmeSliCC)

License

Notifications You must be signed in to change notification settings

aksl-ow/OmeSliCC

 
 

Repository files navigation

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, basic image formats, Zarr*, Ome Zarr*
  • Export images: Ome.tiff, Zarr*, Ome Zarr*, thumbnails
  • Image scaling using target magnification
  • Channel operations: split channels
  • Export meta-data: Ome.tiff, csv
  • 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
    • labels: extract Omero metadata

To encode credentials for Omero access:

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

To extract Omero label metadata to text file use the 'labels' action, or use:

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

About

Ome(ro) SLide Image Conversion and Compression pipline (OmeSliCC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.0%
  • Batchfile 1.1%
  • Other 1.9%