Duplication of single image to form a very large stack of exact same image repeated(e.g. 50000 frames)

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

Duplication of single image to form a very large stack of exact same image repeated(e.g. 50000 frames)

Sara_T
Hi,

I currently have one snapshot (one frame) of an image of a cell. I wish to duplicate this one image, and then form a stack containing 50000 frames (50000 of the same image). Is there a possibility to do this kind of manipulation on imageJ?

What I ultimately would like to do is this: I have a stack (stack-A) with 50000 frames. I also have an image (image-B) which is taken from exact same camera but has only one frame. I would like to overlap this image-B onto every frame in stack-A, to form a nice new stack (stack-C) in which I have stack-A overlapped with image-B in each frame.

It would be great if some one could help me out!

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Duplication of single image to form a very large stack of exact same image repeated(e.g. 50000 frames)

Robert Hauschild
Hi,

Select B

image/video editing/duplicate frame

5000

creates a stack with 5000 frames of B

then image/color/merge channel

/robert


On 12.04.2017 14:02, Sara_T wrote:

> Hi,
>
> I currently have one snapshot (one frame) of an image of a cell. I wish to
> duplicate this one image, and then form a stack containing 50000 frames
> (50000 of the same image). Is there a possibility to do this kind of
> manipulation on imageJ?
>
> What I ultimately would like to do is this: I have a stack (stack-A) with
> 50000 frames. I also have an image (image-B) which is taken from exact same
> camera but has only one frame. I would like to overlap this image-B onto
> every frame in stack-A, to form a nice new stack (stack-C) in which I have
> stack-A overlapped with image-B in each frame.
>
> It would be great if some one could help me out!
>
> Thanks
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Duplication-of-single-image-to-form-a-very-large-stack-of-exact-same-image-repeated-e-g-50000-frames-tp5018516.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html


--

Robert Hauschild
staff scientist

Institute of Science and Technology Austria (IST Austria)
Am Campus 1
A – 3400 Klosterneuburg
Phone: +43 (0)2243 - 9000 - 1047
Email:   [hidden email]

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

Re: Duplication of single image to form a very large stack of exact same image repeated(e.g. 50000 frames)

Michael Schmid
In reply to this post by Sara_T
Hi Sara,

it is not clear to me how you want to combine the images, i.e., what
'overlap' means.
If you do an operation with the Process>Image Calculator, and 'Image 1'
is a stack, but Image 2 isn't, ImageJ will ask you whether to do the
operation for the whole stack.
So, you can e.g. add one image to all images of a stack, or get the
average of one image and each stack slice (i.e., blend the one image
with each stack slice, with equal weights of both).
You can also create a mask (for 8-bit or RGB images: 255=foreground,
0=background) and use the 'and' operation to set all stack slices to
zero in some region, then add another image that has nonzero pixels only
in that region.

In all these cases, you don't need to convert the image used as 'Image
2' in the Image Calculator to a stack.

Michael
________________________________________________________________

On 12/04/2017 14:02, Sara_T wrote:

> Hi,
>
> I currently have one snapshot (one frame) of an image of a cell. I wish to
> duplicate this one image, and then form a stack containing 50000 frames
> (50000 of the same image). Is there a possibility to do this kind of
> manipulation on imageJ?
>
> What I ultimately would like to do is this: I have a stack (stack-A) with
> 50000 frames. I also have an image (image-B) which is taken from exact same
> camera but has only one frame. I would like to overlap this image-B onto
> every frame in stack-A, to form a nice new stack (stack-C) in which I have
> stack-A overlapped with image-B in each frame.
>
> It would be great if some one could help me out!
>
> Thanks
>

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

Re: Duplication of single image to form a very large stack of exact same image repeated(e.g. 50000 frames)

Sara_T
In reply to this post by Robert Hauschild
Hi Robert,

Thanks a lot! This works great!

Sarala
Reply | Threaded
Open this post in threaded view
|

Re: Duplication of single image to form a very large stack of exact same image repeated(e.g. 50000 frames)

Sara_T
Hi Michael,

I don;t quite understand how to use the Image calculator. But I shall try this out as well!

Thanks!