Posted by
Christine Labno-2 on
URL: http://imagej.273.s1.nabble.com/batch-processing-macro-problem-tp5011621p5011732.html
Hi Jacob,
Since the macro works smoothly for me in both ImageJ 1.49j and a freshly updated Fiji 1.49m I'm guessing there's something going on with your installation of ImageJ. From the looks of the error message it doesn't recognize the image on top during line 36 as being a stack, which means it's either not selecting the stack when the macro tells it to select Window "Stack" and so it's still looking at the single channel RGB image, or it's not recognizing Stack as a stack because it's a hyperstack. Either way I think that could be considered a bug. What installation of ImageJ / Fiji are you on? Can you update / revert to be closer to mine or to the current version and does that fix the problem?
Best,
Christine
--------------------------------------------
Christine Labno, Ph.D.
Asst. Technical Director
Light Microscopy Core
University of Chicago
Office of Shared Research Facilities
KCBD 1250 900 E. 57th St.
(773) 834-9040 (phone)
________________________________________
From: ImageJ Interest Group [
[hidden email]] on behalf of jacob goodwin [
[hidden email]]
Sent: Monday, February 23, 2015 9:10 AM
To:
[hidden email]
Subject: Re: batch processing macro problem.
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.
--
View this message in context:
http://imagej.1557.x6.nabble.com/batch-processing-macro-problem-tp5011621p5011728.htmlSent from the ImageJ mailing list archive at Nabble.com.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html