pyfibre.core.i_multi_image_reader module

class pyfibre.core.i_multi_image_reader.IMultiImageReader[source]

Bases: traits.has_traits.Interface

File reader that loads a stack of Tiff images, represented by a IMultiImage subclass

can_load(filename)[source]

Perform check to see whether file is formatted correctly to be loaded

create_image_stack(filenames)[source]

Return a list of numpy arrays suitable for the loader’s IMultiImage type

get_filenames(file_set)[source]

From a collection of files in a FileSet, yield each file that should be used

get_supported_file_sets()[source]

Returns class of IFileSets that will be supported.

load_image(filename)[source]

Load a single image from a file

load_multi_image(file_set)[source]

Image loader for MultiImage classes