openByte function not used?
Posted: Mon Jun 25, 2018 1:59 pm
Command: Hedwall$ BF_CP=/Users/Hedwall/bioformats/tools/ISQReader.jar /Users/Hedwall/bioformats/tools/showinf -format ISQ /Users/Hedwall/Desktop/C0003094.ISQ
Error:
Exception in thread "main" loci.formats.FormatException: Image plane too large. Only 2GB of data can be extracted at one time. You can workaround the problem by opening the plane in tiles; for further details, see: https://docs.openmicroscopy.org/bio-for ... s-to-check
at loci.formats.FormatReader.openBytes(FormatReader.java:880)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:334)
at loci.formats.gui.BufferedImageReader.openImage(BufferedImageReader.java:86)
at loci.formats.tools.ImageInfo.readPixels(ImageInfo.java:821)
at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:1054)
at loci.formats.tools.ImageInfo.main(ImageInfo.java:1120)
Caused by: java.lang.IllegalArgumentException: Array size too large: 1163026262 x 822280192 x 1 x 1
at loci.common.DataTools.safeMultiply32(DataTools.java:949)
at loci.common.DataTools.allocate(DataTools.java:922)
at loci.formats.FormatReader.openBytes(FormatReader.java:877)
... 5 more
Hi,
As mentioned in the error above I should use openBytes to handle the image. I am but it is not used, why is this?
Would very much appreciate some feedback on my code overall as well
link to Repo: https://github.com/Hedwall/ISQReader/blob/master/src
Error:
Exception in thread "main" loci.formats.FormatException: Image plane too large. Only 2GB of data can be extracted at one time. You can workaround the problem by opening the plane in tiles; for further details, see: https://docs.openmicroscopy.org/bio-for ... s-to-check
at loci.formats.FormatReader.openBytes(FormatReader.java:880)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:334)
at loci.formats.gui.BufferedImageReader.openImage(BufferedImageReader.java:86)
at loci.formats.tools.ImageInfo.readPixels(ImageInfo.java:821)
at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:1054)
at loci.formats.tools.ImageInfo.main(ImageInfo.java:1120)
Caused by: java.lang.IllegalArgumentException: Array size too large: 1163026262 x 822280192 x 1 x 1
at loci.common.DataTools.safeMultiply32(DataTools.java:949)
at loci.common.DataTools.allocate(DataTools.java:922)
at loci.formats.FormatReader.openBytes(FormatReader.java:877)
... 5 more
Hi,
As mentioned in the error above I should use openBytes to handle the image. I am but it is not used, why is this?
Would very much appreciate some feedback on my code overall as well
link to Repo: https://github.com/Hedwall/ISQReader/blob/master/src