bioformats icon indicating copy to clipboard operation
bioformats copied to clipboard

ND2: Image stack lost for image with small dimensions

Open dgault opened this issue 3 years ago • 4 comments

Issue was raised on forum thread https://forum.image.sc/t/can-not-read-nd2-image-stack-when-image-dimension-is-small/68155 but no sample file reproducing the issue is available as of yet.

The issue reports that when opening an image stack (in this case 5 planes) with a small image (50 x 50) then the image stack is lost and only a single plane is displayed. The same issue does not occur if the image is slightly larger (100 x 106). This was reported with Bio-Formats 6.10.0.

dgault avatar Jun 13 '22 14:06 dgault

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/can-not-read-nd2-image-stack-when-image-dimension-is-small/68155/2

imagesc-bot avatar Jun 13 '22 14:06 imagesc-bot

Hi Gault, Here is Zuhui. I uploaded the ND2 file for your testing. Please rename the PNG suffix to ND2 after you download it, because I found ND2 is not supported to upload.

small_test nd2

denglabpku avatar Jun 15 '22 01:06 denglabpku

As noted in https://github.com/ome/bioformats/pull/3863, a temporary solution to this problem is to set the nativend2.chunkmap option to false as described here:

https://docs.openmicroscopy.org/bio-formats/6.9.1/formats/options.html#usage

melissalinkert avatar Aug 12 '22 19:08 melissalinkert

As noted in #3863, a temporary solution to this problem is to set the nativend2.chunkmap option to false as described here:

https://docs.openmicroscopy.org/bio-formats/6.9.1/formats/options.html#usage

Hi melissalinkert

Thank you for your help. I can open the file correctly right now.

Borease avatar Aug 14 '22 05:08 Borease