pyfibre.core.i_multi_image module

class pyfibre.core.i_multi_image.IMultiImage[source]

Bases: traits.has_traits.Interface

Interface class representing an image with multiple channels, expected to be more complex than just RGB

append(image)[source]

Appends an image to the image_stack. If image_stack already contains existing images, make sure that the shape on the incoming image matches

image_dict = None

Dictionary containing references to each entry in image_stack

image_stack = None

List of images in stack

n_dim = None

Number of dimensions for each image in stack

name = None

Name of MultiImage

preprocess_images()[source]

Implement operations that are used to pre-process the image_stack before analysis

remove(image)[source]

Removes an image with index from the image_stack

shape = None

Shape of each image in stack

size = None

Number of pixels in each image in stack

classmethod verify_stack(image_stack)[source]

Perform verification that image_stack is allowed by subclass of IMultiImage