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

Commit

Permalink
added a uin16 cast for saving the big files
Browse files Browse the repository at this point in the history
MPIBR-vollrathf committed Jun 21, 2017
1 parent 5ef8eca commit ae2fafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alignmentScript.m
Original file line number Diff line number Diff line change
@@ -119,8 +119,8 @@
data_r_save = uint16(binning(data_r(:,:,numFrameList(i)+1:numFrameList(i+1)), binningFactor, 'mean'));
data_g_save = uint16(binning(data_g(:,:,numFrameList(i)+1:numFrameList(i+1)), binningFactor, 'mean'));

saveastiff(data_r_save, [outFolder filesep folders(i).name '_r.tif']);
saveastiff(data_g_save, [outFolder filesep folders(i).name '_g.tif']);
saveastiff(uint16(data_r_save), [outFolder filesep folders(i).name '_r.tif']);
saveastiff(uint16(data_g_save), [outFolder filesep folders(i).name '_g.tif']);
end

%save big tiff file

0 comments on commit ae2fafb

Please sign in to comment.