System and Software
- aicsimageio Version: 4.10.0
- Python Version: 3.11.5
- Operating System: Windows 11 Enterprise 23H2
- Jupyterlab 4.10.8
Description
Using a Jupyter notebook, when loading data using AICSImage.get_image_dask_data returns an array of zeros after using .compute() whereas using AICSImage.get_image_data returns the expected image (Micro-manager generated Democamera stripe images, which also load normally in FIJI). Got the same result in Spyder 3.11
Expected Behavior
The test image should have been loaded
Reproduction
A minimal example that exhibits the behavior.
import numpy as np
from aicsimageio import AICSImage
from pathlib import Path
Data_path = 'C:\Temp\DEMO'
Data_filename = 'DEMO_MMStack_Default.ome.tif'
Dpath = Path.resolve(Path(Data_path) / Data_filename)
img = AICSImage(Dpath)
lazy_t0 = img.get_image_dask_data("CZYX", T=0)
norm = img.get_image_data("CZYX", T=0)
t0 = lazy_t0.compute()
print(np.max(t0)) # returns 0
print(np.max(norm)) # returns 5846
Environment
*N/A