dask_image.imread package

dask_image.imread.imread(fname, nframes=1)[source]

Read image data into a Dask Array.

Provides a simple, fast mechanism to ingest image data into a Dask Array.

Parameters
  • fname (str) – A glob like string that may match one or multiple filenames.

  • nframes (int, optional) – Number of the frames to include in each chunk (default: 1).

Returns

array – A Dask Array representing the contents of all image files.

Return type

dask.array.Array