imread_big -- read in TIFF stacks larger than 4GB

Load any size TIFF stack, even those larger than 4GB.

You are now following this Submission

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 (2026). 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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.1

bug fix

1.2

none

1.1

includes support for uint32 images

1.0.0.0

fixed minor bug