Exception with Multiple Image Processor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Exception with Multiple Image Processor

granto
Hello all,

I'm trying to run a simple batch operation using the Multiple Image Processor plugin, but I am running into this error, regardless of whether I run a macro or not.  I get this exception by trying to open 10-frame, 16-bit tiff stacks in one directory and saving into another... output image type tiff.  Is it a problem with M_I_P?  I have no problem opening and saving the files otherwise.

ImageJ 1.44g6
Java 1.60_12


(log)

Converting to Tiff
dir1: J:\Grant\test.2
dir2: J:\Grant\test.3\
1: blank.tif


(exception)


java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [S
        at ij.io.ImageWriter.write(ImageWriter.java:280)
        at ij.io.TiffEncoder.write(TiffEncoder.java:118)
        at ij.io.TiffEncoder.write(TiffEncoder.java:138)
        at ij.io.FileSaver.saveAsTiff(FileSaver.java:106)
        at MultipleImageProcessor.save(MultipleImageProcessor.java:541)
        at MultipleImageProcessor.convert(MultipleImageProcessor.java:513)
        at MultipleImageProcessor.run(MultipleImageProcessor.java:438)
        at ij.IJ.runUserPlugIn(IJ.java:183)
        at ij.IJ.runPlugIn(IJ.java:150)
        at ij.Executer.runCommand(Executer.java:124)
        at ij.Executer.run(Executer.java:61)
        at java.lang.Thread.run(Unknown Source)


Any help greatly appreciated!
Grant