Login  Register

Re: Get the number of frames from a multiple tiff header

Posted by Michael Schmid on Apr 01, 2015; 2:46pm
URL: http://imagej.273.s1.nabble.com/Get-the-number-of-frames-from-a-multiple-tiff-header-tp5012283p5012299.html

Hi Sébastien,

you could open the file as a virtual stack. If ImageJ can determine the number of frames ('slices') without reading the whole file, it won't read all of the file, only the first slice.

Michael
________________________________________________________________
On Apr 1, 2015, at 08:12, mailfert wrote:

> Dear ImageJ users,
>
> I'm a little bit disapointed.
> I would like to read from my plugin the number of frames of my multiple tiff
> files.
> I know how to read the image size and other useful parameters but I don't
> know how to know the number of frames of my stack of images without opening
> all frames.
> As I work with lots of 2Go files, it takes times for me to open the files
> just to know the number of frames.
> Could you help me please?
> Thanks in advance.
> Sébastien

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