imread_big -- read in TIFF stacks larger than 4GB
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 (2025). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: readBigTiff - read TIFF stacks >4GB (fixed for ImageJ Tiff)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.