aliby.io.image

Image: Loads images and registers them.

Image instances loads images from a specified directory into an object that also contains image properties such as name and metadata. Pixels from images are stored in dask arrays; the standard way is to store them in 5-dimensional arrays: T(ime point), C(channel), Z(-stack), Y, X.

This module consists of a base Image class (BaseLocalImage). ImageLocalOME handles local OMERO images. ImageDir handles cases in which images are split into directories, with each time point and channel having its own image file. ImageDummy is a dummy class for silent failure testing.

Functions

get_examples_dir()

Get examples directory which stores dummy image for tiler

get_image_class(source)

Wrapper to pick the appropiate Image class depending on the source of data.

Classes

BaseLocalImage(path)

Base Image class to set path and provide context management method.

ImageDir(path, **kwargs)

Image class for the case in which all images are split in one or multiple folders with time-points and channels as independent files.

ImageDummy(tiler_parameters)

Dummy Image class.

ImageLocalOME(path[, dimorder])

Local OMERO Image class.