PolusAI / image-tools

MIT License
7 stars 39 forks source link

Image Assembler Large Images Bug #115

Closed Nicholas-Schaub closed 3 years ago

Nicholas-Schaub commented 3 years ago

Summary

The polus-image-assembler-plugin seems to fail when images larger than the supertile chunk size (8196x8196) are being stitched together.

What is the current bug behavior?

When images larger than the supertile chunk size are stitched together, nothing is written to the output image.

What is the expected correct behavior?

A properly stitched image regardless of input image sizes.

Steps to reproduce

  1. Montage images larger than 8196x8196 pixels in size
  2. Use the image assembler to stitch them together
Nicholas-Schaub commented 3 years ago

This bug ended up being the result of Issue #114. The issue did not have to do with image file sizes, rather the containers did not have appropriate compression algorithms installed. This appeared to be an issue with image file sizes because the original images stitched were compressed using lzw, but the larger images were compressed with deflate (which is where the bug resided).