imread_big -- read in TIFF stacks larger than 4GB

Load any size TIFF stack, even those larger than 4GB.
927 Downloads
Updated Thu, 23 May 2019 00:38:30 +0000

View License

Tristan Ursell
Read large image stack (TIFF)
May 2019

This function can load image stacks larger than 4GB which is the typical limitation on image files. Designed to work with single-channel uncompressed TIFF stacks. Also works for files smaller than 4GB.

[stack_out,Nframes]= imread_big(stack_name);
[stack_out,Nframes]= imread_big(stack_name,[i j]);

stack_name = the path and file name to the image stack

[i j] = optional frame number range to load (i = j is allowed)

Nframes = number of frames as determined by total file size divided by estimated size of each frame data block

stack_out = the output image stack of size [M x N x Nframes], where M x N is the size of each image.

Cite As

Tristan Ursell (2024). imread_big -- read in TIFF stacks larger than 4GB (https://www.mathworks.com/matlabcentral/fileexchange/61376-imread_big-read-in-tiff-stacks-larger-than-4gb), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Biomedical Imaging in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.1

bug fix

1.2

none

1.1

includes support for uint32 images

1.0.0.0

fixed minor bug