nabu.stitching.stitcher.dumper.base module

class nabu.stitching.stitcher.dumper.base.DumperBase(configuration)[source]

Bases: object

Base class to define all the functions that can be used to save a stitching

property configuration
property output_identifier: BaseIdentifier
save_stitched_frame(stitched_frame: ndarray, i_frame: int, axis: int, **kwargs)[source]
property output_dataset: VirtualLayout | Dataset | VolumeBase | None
static save_frame_to_disk(output_dataset: Dataset | VirtualLayout, index: int, stitched_frame: ndarray | VirtualSource, axis: int, region_start: int, region_end: int)[source]
create_output_dataset()[source]

function called at the beginning of the stitching to prepare output dataset