Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions tiffRead.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,15 @@
end
varargout{2} = s.scanimage;
case 2016
siHeader = scanimage.util.opentif(fPath);
varargout{2} = siHeader;
info = imfinfo(fPath);
temp = info.Software;
ind = strfind(temp,'SI.');
temp(ind(2:end)-1) = ';';
temp(end) = ';';
eval(temp);
varargout{2} = SI;
% siHeader = scanimage.util.opentif(fPath);
% varargout{2} = siHeader;
case -1
% Not a scanimage file. Since a second output argument was
% requested, we use a fake scanimage metadata to make the Acq2P
Expand All @@ -104,4 +111,4 @@
end

% Close:
t.close();
t.close();