bioformats icon indicating copy to clipboard operation
bioformats copied to clipboard

bfconvert: Image plane too large when downsampling lower resolutions

Open dgault opened this issue 3 years ago • 4 comments

This issue was raised on forum thread https://forum.image.sc/t/error-converting-large-images-to-ome-tiff-using-the-command-line-bioformats-tool-bfconvert/70243

In this scenario the conversion is using 1024 x 1024 tiles and attempting to generate 6 resolution levels. At the lowest level the required size of the original image required for the downsampling will be 32768 x 32768 (in the particular example it is actually 32768 x 30208 x 3 x 1) which is over the 2GB internal limit.

Reducing the tile size or lowering the number of resolutions should prevent the issue, however in an ideal world the converter could handle this scenario in a smarter manner. The proposed solution would be for the tiled converter to recognise the scenario when the size limit would be exceeded and instead carry out the downsampling itself in a tiled manner internally.

dgault avatar Aug 03 '22 09:08 dgault

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

https://forum.image.sc/t/error-converting-large-images-to-ome-tiff-using-the-command-line-bioformats-tool-bfconvert/70243/4

imagesc-bot avatar Aug 03 '22 09:08 imagesc-bot

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

https://forum.image.sc/t/bioformats-pyramid-images/70916/50

imagesc-bot avatar Sep 30 '22 08:09 imagesc-bot

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

https://forum.image.sc/t/how-to-split-and-recombine-multiple-series-with-bfconvert/73662/3

imagesc-bot avatar Nov 08 '22 17:11 imagesc-bot

This may be a duplicate of #3415.

melissalinkert avatar Apr 18 '24 20:04 melissalinkert