insert existing image into existing stack

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

insert existing image into existing stack

Neil Fazel
Is there a way to add an existing image to an existing stack? The "Add Slice" feature, only adds a blank slice. (BTW, what is a blank slice good for?) I also tried the options under Stacks->Tools (i.e. Combine, Concatenate, Insert) but they don't do what I'm looking for.

Thanks,
Neil

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

Re: insert existing image into existing stack

Graeme Ball-2
Neil: if you want to do it via the menus, split your original stack at
the point you'd like to insert (e.g. do "Image->Stacks->Tools->Make
Substack" twice), then "Image->Stacks->Tools->Concatenate" the first
substack, new slice and second substack.

If you're trying to do it using the API, I think it's the
  ImageStack.addSlice(java.lang.String sliceLabel, ImageProcessor ip, int n)
method that you want.


On Thu, Aug 22, 2013 at 9:50 PM, Neil Fazel <[hidden email]> wrote:
> Is there a way to add an existing image to an existing stack? The "Add Slice" feature, only adds a blank slice. (BTW, what is a blank slice good for?) I also tried the options under Stacks->Tools (i.e. Combine, Concatenate, Insert) but they don't do what I'm looking for.
>
> Thanks,
> Neil
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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

Re: insert existing image into existing stack

Neil Fazel
In reply to this post by Neil Fazel
Thanks. It turns out an image can be copied and pasted into a blank slice in a stack. That seems like the easiest way to add an image to a slice.

Neil

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