Login  Register

Concatenate bug in macro

Posted by Djoere Gaublomme on Feb 19, 2015; 1:28pm
URL: http://imagej.273.s1.nabble.com/Concatenate-bug-in-macro-tp5011685.html

Hello,

In a macro, I am trying to create an image stack with 10 identical  
slices (based on 1 non-z-stack image).
Since I don't know a very elegant solution to this problem, I am using  
the concatenate function from the stack tools, with the same image as  
the input 10 times.
Although this works most of the time, sometimes the number of slices  
included in the resulting stack is too little when running the macro.  
I am wondering how this inconsistency can be fixed.

Code:
run("Concatenate...", "  title=10x-ondersteFilled keep  
image1=ondersteFilled image2=ondersteFilled image3=ondersteFilled  
image4=ondersteFilled image5=ondersteFilled image6=ondersteFilled  
image7=ondersteFilled image8=ondersteFilled image9=ondersteFilled  
image10=ondersteFilled image11=[-- None --]");


Thanks in advance

Djoere

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html