Login  Register

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

Posted by mailfert on Apr 02, 2015; 12:14pm
URL: http://imagej.273.s1.nabble.com/Get-the-number-of-frames-from-a-multiple-tiff-header-tp5012283p5012322.html

Thanks your very much for your answers.

For a tiff file containing 4086 slices (frames) which corresponds to a 2Go file, it takes:

2 minutes and 30 seconds on a computer: Intel Xeon E5-1620 @3.6GHz + RAM 8Go
and
22 secondes on a second computer: Intel Xeon E5-2630 @2.3GHz + RAM 16Go
16 secondes on a second computer: Intel Core I7-4770 @3.4GHz + RAM 16Go

I don't understand why we should read all the headers just to know the number of slices.
This should be in the ideal world instantaneous as it is to know the image size.

Why theheader is not designed to contain the number of slices directly?!!!

Thanks in advance for your precious comments.

Best regards.
Sébastien