Hi there,
I want to use ndinterp.affine_transform on images loaded with aicsimageio/nd2. For some image formats (e.g. .nd2) aicsimageio returns a ResourceBackedDaskAray which is an instance of da.Array.
However the type check for da.core.Array fails.
img = AICSImage("image.nd2")
affine_transform(img.dask_data, matrix)
ValueError: Array is already a dask array. Use 'asarray' or 'rechunk' instead.
Cheers,
Chris