I have noticed that when using the Extract --> Extract mask feature in the GUI on timelapse images, the outputted .tiff file is seemingly missing a time dimension when loading with Python libraries:
import tifffile as tiff
tiff.imread("mask_file.tiff").shape
gives (X, Y).
However, when I open the file in ImageJ, the time dimension is displayed correctly. If I resave the image from ImageJ the image loads correctly with Python.
Any ideas what could cause this?
I have noticed that when using the Extract --> Extract mask feature in the GUI on timelapse images, the outputted .tiff file is seemingly missing a time dimension when loading with Python libraries:
import tifffile as tifftiff.imread("mask_file.tiff").shapegives
(X, Y).However, when I open the file in ImageJ, the time dimension is displayed correctly. If I resave the image from ImageJ the image loads correctly with Python.
Any ideas what could cause this?