When I stitch a collection of RGB images with "Add tiles as ROIs"
selected, the following exception is thrown:
java.lang.IllegalArgumentException: Invalid C index: 1/1
at loci.formats.FormatTools.getIndex(FormatTools.java:476)
at loci.formats.FormatTools.getIndex(FormatTools.java:403)
at loci.formats.FormatReader.getIndex(FormatReader.java:1084)
at loci.formats.ImageReader.getIndex(ImageReader.java:531)
at plugin.Stitching_Grid.generateRois(Stitching_Grid.java:731)
at plugin.Stitching_Grid.run(Stitching_Grid.java:641)
at ij.IJ.runUserPlugIn(IJ.java:219)
at ij.IJ.runPlugIn(IJ.java:183)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:745)
The ROI opened, but there are no ROIs in it.
If I do not have that option selected, then the exception is not thrown.
It does not happen when stitching 16-bit monochrome images
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html