Ticket #197 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

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 12 years ago by melissa

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

Fixed in r3275.

Note: See TracTickets for help on using tickets.