If I have 5 images open and only want to make a stack from 4 of them - is there a way to exclude the 5th image? Or do I have to make the stack from all 5 and subsequently delete the unwanted image from the stack? In practice I often have many images open and only want to make a stack from a few of them.
thanks for any advice on this matter |
Hi,
On Mon, 3 May 2010, Joe Vandergracht wrote: > If I have 5 images open and only want to make a stack from 4 of them - > is there a way to exclude the 5th image? Or do I have to make the stack > from all 5 and subsequently delete the unwanted image from the stack? > In practice I often have many images open and only want to make a stack > from a few of them. The common way is either to do as you say, duplicate the stack and delete a slice, or to switch to the image corresponding to the first slice, duplicating it, then switching to the image corresponding to the second slice, Select All, Copy, switch back to the duplicated image, Add Slice, Paste. Repeat the last six steps as often as necessary. (This can be automated with a script.) Ciao, Johannes |
There is a macro called substack maker that handles just this sort of operation. Get it from the ImageJ site.
Phil Description: The purpose of this plugin is to extract selected images from a stack to make a new substack. It would take one of two types of input: either a range of images (e.g. 2-14) or a list of images (e.g. 7,9,25,27,34,132) and copy those images from the active stack to a new stack in the order of listing or ranging. On May 3, 2010, at 3:46 PM, Johannes Schindelin wrote: > Hi, > > On Mon, 3 May 2010, Joe Vandergracht wrote: > >> If I have 5 images open and only want to make a stack from 4 of them - >> is there a way to exclude the 5th image? Or do I have to make the stack >> from all 5 and subsequently delete the unwanted image from the stack? >> In practice I often have many images open and only want to make a stack >> from a few of them. > > The common way is either to do as you say, duplicate the stack and delete > a slice, or to switch to the image corresponding to the first slice, > duplicating it, then switching to the image corresponding to the > second slice, Select All, Copy, switch back to the duplicated image, Add > Slice, Paste. Repeat the last six steps as often as necessary. (This can > be automated with a script.) > > Ciao, > Johannes > |
In reply to this post by dscho
Actually, it is a plugin, not a macro, although it can be called from a macro.
There is a macro called substack maker that handles just this sort of operation. Get it from the ImageJ site. Phil Description: The purpose of this plugin is to extract selected images from a stack to make a new substack. It would take one of two types of input: either a range of images (e.g. 2-14) or a list of images (e.g. 7,9,25,27,34,132) and copy those images from the active stack to a new stack in the order of listing or ranging. On May 3, 2010, at 3:46 PM, Johannes Schindelin wrote: > Hi, > > On Mon, 3 May 2010, Joe Vandergracht wrote: > >> If I have 5 images open and only want to make a stack from 4 of them - >> is there a way to exclude the 5th image? Or do I have to make the stack >> from all 5 and subsequently delete the unwanted image from the stack? >> In practice I often have many images open and only want to make a stack >> from a few of them. > > The common way is either to do as you say, duplicate the stack and delete > a slice, or to switch to the image corresponding to the first slice, > duplicating it, then switching to the image corresponding to the > second slice, Select All, Copy, switch back to the duplicated image, Add > Slice, Paste. Repeat the last six steps as often as necessary. (This can > be automated with a script.) > > Ciao, > Johannes > |
In reply to this post by jvander
Joe,
if your are only dealing with a couple of images, I would go for Image > Stacks > Manipulation > Concatenate. There you can select the images of interest and put them together in your favorite order. Nice: works for stacks and images. The path refers to Fiji. Michael > If I have 5 images open and only want to make a stack from 4 of them - is > there a way to exclude the 5th image? Or do I have to make the stack from > all 5 and subsequently delete the unwanted image from the stack? In > practice I often have many images open and only want to make a stack from > a few of them. > > thanks for any advice on this matter |
Free forum by Nabble | Edit this page |