z-stack helpers

Helper module for Z-stack operations.

class mio.process.zstack_helper.ZStackHelper

Helper class for Z-stack operations.

static get_minimum_projection(image_list: list[ndarray]) ndarray

Get the minimum projection of a list of images.

Parameters:

image_list (list[np.ndarray]) – A list of images to project.

Returns:

The minimum projection of the images.

Return type:

np.ndarray

static normalize_video_stack(image_list: list[ndarray]) list[ndarray]

Normalize a stack of images to 0-255 using max and minimum values of the entire stack. Return a list of images.

Parameters:

image_list (list[np.ndarray]) – A list of images to normalize.

Returns:

The normalized images as a list.

Return type:

list[np.ndarray]