NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #197 (closed defect: fixed)

Opened 2007-10-12T16:40:16-05:00

Last modified 2007-10-14T11:03:06-05:00

Bio-Formats Importer fails with indexed images

Reported by: curtis Owned by: melissa
Priority: critical Milestone:
Component: plugins Severity:
Keywords: Cc:
Blocked By: Blocking:

Description

Attempting to import an indexed color image with the Bio-Formats Importer plugin throws an exception. It looks like SizeC is not being computed properly (it is being multiplied by 3). Some examples:

data/ome-tiff/james/FromVolocity.ome.tiff:

java.lang.IllegalArgumentException: ZCT size vs image count mismatch (sizeZ=1, sizeC=6, sizeT=1, total=2)
	at loci.formats.FormatTools.getZCTCoords(FormatTools.java:249)
	at loci.formats.FormatTools.getReorderedIndex(FormatTools.java:276)
	at loci.plugins.Importer.run(Importer.java:407)
	at loci.plugins.LociImporter.run(LociImporter.java:74)
	at ij.IJ.runUserPlugIn(IJ.java:158)
	at ij.IJ.runPlugIn(IJ.java:124)
	at ij.Executer.runCommand(Executer.java:95)
	at ij.Executer.run(Executer.java:49)
	at java.lang.Thread.run(Thread.java:613)

data/misc/bill.gif:

java.lang.IllegalArgumentException: ZCT size vs image count mismatch (sizeZ=1, sizeC=3, sizeT=1, total=1)
	at loci.formats.FormatTools.getZCTCoords(FormatTools.java:249)
	at loci.formats.FormatTools.getReorderedIndex(FormatTools.java:276)
	at loci.plugins.Importer.run(Importer.java:407)
	at loci.plugins.LociImporter.run(LociImporter.java:74)
	at ij.IJ.runUserPlugIn(IJ.java:158)
	at ij.IJ.runPlugIn(IJ.java:124)
	at ij.Executer.runCommand(Executer.java:95)
	at ij.Executer.run(Executer.java:49)
	at java.lang.Thread.run(Thread.java:613)

Change History

comment:1 Changed 2007-10-14T11:03:06-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3275.