Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
enhanced performance of tif reading#
Browse files Browse the repository at this point in the history
  • Loading branch information
MPIBR-vollrathf committed Aug 11, 2016
1 parent 4696e1d commit 55a4d50
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CellSortLoadSingleFiles.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@
data_r_temp = zeros(size(temp,1), size(temp,2), numFiles, class(temp));

parfor j=1:numFiles
temp = readTiff(fileListGreen(j).name);

t_g = Tiff(fileListGreen(j).name, 'r');
temp = t_g.read();
data_g_temp(:,:,j) = temp;
temp = readTiff(fileListRed(j).name);

t_g = Tiff(fileListRed(j).name, 'r');
temp = t_g.read();
data_r_temp(:,:,j) = temp;
end

Expand Down

0 comments on commit 55a4d50

Please sign in to comment.