dvpio.read.image.read_custom

Contents

dvpio.read.image.read_custom#

dvpio.read.image.read_custom(path, imread=None, **kwargs)#

Read a custom image file to Image2DModel

This function might not be performant for large images.

Uses the dask.array.image.imread() function to read any image file to dask. Support widely used file types, including .tiff.

Pass a custom reader function to imread

Parameters:
Return type:

Image2DModel

Returns:

spatialdata.models.Image2DModel