zetastitcher.fuse.fuse module¶
- zetastitcher.fuse.fuse.flatten(my_list)¶
- zetastitcher.fuse.fuse.fuse_queue(q, dest, frame_shape, debug=False)¶
Fuse a queue of images along Y, optionally applying padding.
- Parameters
- q
queue.Queue A queue containing elements in the form
[hyperslice, index, zfrom, offset_idx, top_left, overlaps]wherehypersliceis anumpy.ndarray,pandas documentationandzfromare the tile index in the pandas dataframe and the starting frame in the original stack (these two are used for debugging purposes only),offset_idxis a tuple ofsliceobjects with the slice offset inside a single stack,top_leftis a list specifying the image position in the form[Z, Y, X],overlapsis apandas.DataFramespecifying overlaps with adjacent tiles.- frame_shapetuple
Shape of a stack plane (XY).
- dest
numpy.ndarray Destination array.
- debug: bool
Whether to overlay debug information (tile edges and numbers).
- q
- zetastitcher.fuse.fuse.overlay_debug(slice, index, z_from)¶
- zetastitcher.fuse.fuse.squircle_alpha(height, width)¶