Login  Register

Re: Open an image sequence using a macro

Posted by Michael Schmid on Dec 23, 2013; 12:07pm
URL: http://imagej.273.s1.nabble.com/Open-an-image-sequence-using-a-macro-tp5005969p5005970.html

Hi Ben,

there was not macro code in your mail, but I do not have this problem.
The following macro works without showing a dialog (ImageJ 1.48h16, Mac OS
X):

run("Image Sequence...", "open=/mydata/someFolder number=14 starting=1
increment=1 scale=100 file=JPG");

If your folder name may include spaces, put it in square brackets.

Michael
__________________________________________________________________

On Mon, December 23, 2013 12:15, Ben wrote:

> Dear All,
>
> I'm trying to automatically open an image sequence using a macro WITHOUT
> to
> have the Image sequence dialog pop up...
>
> Here is my macro code:
>
>
>
> Unfortunately, each time I run the macro the Sequence Option dialog
> popup...
> <http://imagej.1557.x6.nabble.com/file/n5005969/sequence_option.png>
> Is there a way to NOT display it since I already pass all the required
> parameters in the macro?
>
> Thanks,
>
> Benjamin

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