I have a series of multi-page tiffs. That is, I have several files of the form <file_name>_T.tif and each file contains multiple pages representing a stack. If I read this series in Paraview using the default properties, I’m getting a crash. If instead of the default properties, I uncheck “Read As Image Stack” then I seem to get the behavior that I was expecting. In hindsight, this somewhat makes sense, but it took me some time to figure out. “Read As Image Stack” seems ambiguous in this particular use case, and the code appears to be confused about which grouping represents the stack.
At this point, I don’t really have a specific question, but if anyone has thoughts related to whether this was only user-error or whether this is something that needs to be changed in code, to prevent the crash, I’d be interested. Thanks.
This python script will create some sample data. (The crash produced by this data is slightly different than what I was seeing on my actual data, but I suspect it is the same root issue).
from tifffile import imsave import numpy as np num_pages=10 for i in range(3): di = np.ndarray(shape=(num_pages, 10,20), dtype=np.int16) di[()] = np.arange(i*50, i*50+(200*num_pages)).reshape(num_pages,10,20) imsave('testMultiPage_T'+str(i)+'.tif', di)
I’m running Paraview 5.5.1, 64-bit, Windows 10.