some basic question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

some basic question

fabrice senger-2
Dear all,

as I'm in a hurry I ask something basic.

Say I have a stack of 20 frames. I would like to insert an image every
second frame starting after frame one.

I1 - insert frame A - I2 - insert frame A - I3 - insert frame A etc

This might be simple and maybe exists allready.

Thanks for your support,

Fabrice.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: some basic question

Schebique
Hi Fabrice.

You can use the folowing macro to do that:

for (s=1; s<=nSlices; s+=2) {
    setSlice(s);
    run("Add Slice");
}

You can also create the image with the same number of slices and add it as
a new channel (Image>Color>Merge Channels, create composite!) and then make
it normal stack (Image>Hyperstack>Hyperstack to stack).

You can also interleave images or stacks using
Image>Stacks>Tools>Interleave (not recordable).

Hope this help.
Best regards.
Ondrej.

2016-07-11 10:44 GMT+02:00 Fabrice Senger <[hidden email]>:

> Dear all,
>
> as I'm in a hurry I ask something basic.
>
> Say I have a stack of 20 frames. I would like to insert an image every
> second frame starting after frame one.
>
> I1 - insert frame A - I2 - insert frame A - I3 - insert frame A etc
>
> This might be simple and maybe exists allready.
>
> Thanks for your support,
>
> Fabrice.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> Mgr. Ondřej Šebesta
> Laboratory of Confocal and Fluorescence Microscopy
> Faculty of Science, Charles University in Prague
> Vinicna 7
> 128 44 Prague
> Czech Republic
>
> Phone: +420 2 2195 1061
> e-mail: [hidden email]
>
> <http://imagej.nih.gov/ij/list.html>
>
>

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