Re: Is it normal to use a wait() instruction after a command
Posted by
ERIC on
Feb 11, 2015; 8:42am
URL: http://imagej.273.s1.nabble.com/Is-it-normal-to-use-a-wait-instruction-after-a-command-tp5011551p5011556.html
Hi John and Gabriel,
Thank you for your answers. Here is an example of the macro that behaves
differently if wait(1000) is removed.
It runs on the original image instead of running on the LoG of the Image.
Enclosed a stack to run the macro.
run("Gaussian Blur...", "sigma=1 stack");
run("LoG 3D", "sigmax=3 sigmay=3 sigmaz=0 displaykernel=0 volume=0");
wait (1000);
run("8-bit");
run("Invert", "stack");
setOption("BlackBackground", true);
run("Convert to Mask", "method=Intermodes background=Dark black stack");
selectWindow("LoG of essai_0.tif");
run("Duplicate...", "title=Avant duplicate range=nSlices");
run("Duplicate...", "title=Apres duplicate range=nSlices");
run("Delete Slice");
run("Divide...", "value=255 stack");
Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France
Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57
http://neurosciences.ujf-grenoble.fr/Le 10/02/2015 21:58, Gabriel Landini a écrit :
> On Tuesday 10 Feb 2015 21:09:28 Eric Denarier wrote:
>> As I had no answer to my former question , I try to rephrase it.
> No, it is not normal, but the description is too vague for anybody to be able
> to explain what is going on. Perhaps if you post a short example where this
> happens, we can try to reproduce the problem in various platforms.
>
> Cheers
> Gabriel
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html