Login  Register

RE: batch processing macro problem.

Posted by jacob goodwin on Feb 23, 2015; 3:10pm
URL: http://imagej.273.s1.nabble.com/batch-processing-macro-problem-tp5011621p5011728.html

Thanks again for your help Christine,

The macro still comes up with an error. After I do put in the macro and input (i made up a new folder with only two sets of images to see if it works)/output folders and start it up, it starts to go through the first set of images, however it stops, and comes up with two windows. 

The first is a log window which has one line of text

A1--W00001-P00001--Z00001-- T00000--

And a second window that says Macro error that reads

Stack required in line 36.
Stack . <setDisplayMode> (''color'') ;
 
and if I then show the debug window, this is wh

Name * Value





Memory * 56MB of 640MB (8%)




nImages() * 4





getTitle() * Stack





i * 0





dir * C:\Users\Jacob\Desktop\New folder (3)\


list * array[24]





dir2 * C:\Users\Jacob\Desktop\New Folder (4)\


f * 0





path * C:\Users\Jacob\Desktop\New folder (3)\A1--W00001--P00001--Z00000--T00000--Alexa4...
end * 1





t * A1--W00001--P00001--Z00000--T00000--


s * 36





t2 * A1--W00001--P00001--Z00000--T00000-- montage.tif




























I have really no idea, how to change what is there, from your code it seems like it should have made the stack already, so I am a little confused.