imread slower with huge tif files

2 views (last 30 days)
Alberto Paniate
Alberto Paniate on 5 Oct 2022
Answered: Walter Roberson on 5 Oct 2022
for k=1:len
Images1(:,:,k) = double(imread(path1,k));
Images2(:,:,k) = double(imread(path2,k));
The for loop becomes slower when k is high, why? and how can I prevent it?
The files that I am reading are .tif files

Answers (1)

Walter Roberson
Walter Roberson on 5 Oct 2022
Use the Tiff() class to work more directly with the tiff structure.

Community Treasure Hunt

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

Start Hunting!

Translated by