aliby.io.image.ImageDir

class ImageDir(path, **kwargs)[source]

Bases: BaseLocalImage

Image class for the case in which all images are split in one or multiple folders with time-points and channels as independent files. It inherits from BaseLocalImage so we only override methods that are critical.

Assumptions: - One folders per position. - Images are flat. - Channel, Time, z-stack and the others are determined by filenames. - Provides Dimorder as it is set in the filenames, or expects order during instatiation

Attributes
data
dimorder
metadata
name

Methods

get_data_lazy()

Return 5D dask array.

rechunk_data

__init__(path, **kwargs)[source]

Methods

__init__(path, **kwargs)

get_data_lazy()

Return 5D dask array.

rechunk_data(img)

Attributes

data

dimorder

metadata

name

get_data_lazy()[source]

Return 5D dask array. For lazy-loading local multidimensional tiff files

Return type

Array