bioformats
bioformats copied to clipboard
CZI: Failed to read pre-stitched image with no pyramid
This issue was raised on forum thread https://forum.image.sc/t/czi-pyramidal-with-bioformat/73215/10 and a set of sample files provided (https://wetransfer.com/downloads/5021c67300c122c50c8394172155318c20221201105414/b5cb3f, Note: David to upload sample files to repo inbox). When attempting to open the stitched image with Bio-Formats 6.11.1 you instead see 42 series (comes from 21 mosaics with 2 channels) and the pixel data appears skewed.
While debugging the issue, if you modify the values at https://github.com/ome/bioformats/blob/develop/components/formats-gpl/src/loci/formats/in/ZeissCZIReader.java#L832, keeping the seriesCount at 1 and setting prestitched to true, that is enough to allow the file to be opened correctly a single stitched image. This can likely be fixed by correcting this section of code to recognise a prestitched image when no pyramids are present.
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/czi-pyramidal-with-bioformat/73215/19
Sample files are now located under inbox/imagesc-73215