Importing a single image from a multi-image TIFF

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

Importing a single image from a multi-image TIFF

otills
Hi, I am sure this must be possible, but I have so far not found a solution.

How do you import just the first image from a multi-image TIFF file (created using MicroManager)?

I could of course just import the whole stack, extract the first image and then close the unwanted slices, but I need to do this for thousands of files and so would prefer a better solution.

Thanks,

Oli

Reply | Threaded
Open this post in threaded view
|

Re: Importing a single image from a multi-image TIFF

Jerome Mutterer-3
Dear Oli,
The open(path, n); macro function does this: it opens the nth image in a
tif stack.

http://rsbweb.nih.gov/ij/developer/macro/functions.html#O

Sincerely,

Jerome.


On 15 October 2015 at 11:46, otills <[hidden email]> wrote:
>
> Hi, I am sure this must be possible, but I have so far not found a
solution.
>
> How do you import just the first image from a multi-image TIFF file
(created
> using MicroManager)?
>
> I could of course just import the whole stack, extract the first image and
> then close the unwanted slices, but I need to do this for thousands of
files

> and so would prefer a better solution.
>
> Thanks,
>
> Oli
>
>
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/Importing-a-single-image-from-a-multi-image-TIFF-tp5014647.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html




--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
12, rue du Général Zimmer
67084 Strasbourg Cedex
www.ibmp.cnrs.fr

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