I have been attempting to use this script for some larger images, but there seems to be some sort of problem with… not sure if it is exactly file/image size, but something related to size. If I set the downsample for a given set of images (I had 3 sets of images 9 in this first test set of MICSSS images) low enough to only get 3 layers to the pyramid, it would write out the aligned deconvolved images perfectly!
With one sample, I was able to export with downsample 4, so I figured that would be good enough and tried the other two.
The second and third samples were slightly larger, and I found that any time the script reached the 4th layer, it would stop when “Writing plane 1”. I do not think the problem was inherently the image files, as I could change the downsample to 6, and both would write out successfully, though only with 3 pyramid layers.
There is no error message in either the script or the log file, the script stops running. This happens on different computers, one with 200GB of RAM. The files are approximately 7GB when the process fails.
There are 9 channels in each final image, I am not sure if that matters.
I plan on trying a smaller number of channels with one of the larger images to see if the channel count or file size is more important than the absolute size (in pixels) of the original image.
*I did try once at full resolution, and the file size ended up over 200GB, but also stopped when writing out the 4th pyramid level.