newImage()

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

newImage()

Morgiane Richard
Hello,
 
Is it possible to save an image as a slice of a stack created with the built in function newImage()?
If not, is there a built in funtion to convert a folder of images into a stack?
 
Thank you
 
Morgiane
Reply | Threaded
Open this post in threaded view
|

Re: newImage()

ctrueden
Hi Morgiane,

You can import a folder of images into a single stack using the
Import->Image Sequence command. When recorded with the macro recorder, it
produces something like the following:

run("Image Sequence...", "open=/home/curtis/data/bmp/kidney_TFl_1.bmp
number=11 starting=1 increment=1 scale=100 file=kidney_TFl_");

As for your question about newImage, I am not sure what you are asking. If
you want to put an image plane into one of the slices of a newly created
image stack, you could open the image plane, select all, copy, then paste
the image onto the desired plane of the image stack. You can use the macro
recorder to discover these commands.

-Curtis

On 5/10/06, Morgiane Richard <[hidden email]> wrote:

>
> Hello,
>
> Is it possible to save an image as a slice of a stack created with the
> built in function newImage()?
> If not, is there a built in funtion to convert a folder of images into a
> stack?
>
> Thank you
>
> Morgiane
>
Reply | Threaded
Open this post in threaded view
|

Re: newImage()

Morgiane Richard
In reply to this post by Morgiane Richard
Ok thank you,
 
I managed to do what I wanted to with run(Image Sequence...).
 
Morgiane

________________________________

From: ImageJ Interest Group on behalf of Curtis Rueden
Sent: Wed 10/05/2006 16:47
To: [hidden email]
Subject: Re: newImage()



Hi Morgiane,

You can import a folder of images into a single stack using the
Import->Image Sequence command. When recorded with the macro recorder, it
produces something like the following:

run("Image Sequence...", "open=/home/curtis/data/bmp/kidney_TFl_1.bmp
number=11 starting=1 increment=1 scale=100 file=kidney_TFl_");

As for your question about newImage, I am not sure what you are asking. If
you want to put an image plane into one of the slices of a newly created
image stack, you could open the image plane, select all, copy, then paste
the image onto the desired plane of the image stack. You can use the macro
recorder to discover these commands.

-Curtis

On 5/10/06, Morgiane Richard <[hidden email]> wrote:

>
> Hello,
>
> Is it possible to save an image as a slice of a stack created with the
> built in function newImage()?
> If not, is there a built in funtion to convert a folder of images into a
> stack?
>
> Thank you
>
> Morgiane
>