cyto_dl.image.io.monai_bio_reader module#

ADAPTED FROM https://github.com/MMV-Lab/mmv_im2im/

class cyto_dl.image.io.monai_bio_reader.MonaiBioReader(dask_load: bool = True, **reader_kwargs)[source]#

Bases: ImageReader

dask_load: bool = True

Whether to use dask to load images. If False, full images are loaded into memory before extracting specified scenes/timepoints.

reader_kwargs: Dict

Additional keyword arguments to pass to BioImage.get_image_data or BioImage.get_image_dask_data

get_data(img) Tuple[ndarray, Dict][source]#
read(data: Sequence[str | PathLike] | str | PathLike)[source]#
verify_suffix(filename: Sequence[str | PathLike] | str | PathLike) bool[source]#