Changeset 802
- Timestamp:
- Jul 29, 2014, 2:41:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r784 r802 115 115 first_i=1;last_i=1;incr_i;%default 116 116 if isfield(Param.IndexRange,'first_i'); last_i=Param.IndexRange.first_i; end 117 if isfield(Param.IndexRange,'last_i'); last_i=Param.IndexRange.last_ j; end117 if isfield(Param.IndexRange,'last_i'); last_i=Param.IndexRange.last_i; end 118 118 if isfield(Param.IndexRange,'incr_i')&&~isempty(Param.IndexRange.incr_i) 119 119 incr_i=Param.IndexRange.incr_i; … … 218 218 if strcmp(lower(NomType{1}(end)),'a') 219 219 NomTypeOut=NomType{1};%case of letter appendix 220 elseif isempty(j1_series )220 elseif isempty(j1_series{1}) 221 221 NomTypeOut='_1'; 222 222 else … … 297 297 Acor=(Acor>0).*Acor; % put to 0 the negative elements in Acor 298 298 ifile=indselect(ifield); 299 j1=1; 299 300 if ~isempty(j1_series{1}) 300 301 j1=j1_series{1}(ifile); … … 331 332 for iburst=1:step 332 333 ifile=indselect(ifield+iburst+step*halfnbaver); 333 filename=fullfile_uvmat(RootPath{1},SubDir{1},RootFile{1},FileExt{1},NomType{1},i1_series{1}(ifile),[],j1_series{1}(ifile)); 334 j1=1; 335 if ~isempty(j1_series{1}) 336 j1=j1_series{1}(ifile); 337 end 338 filename=fullfile_uvmat(RootPath{1},SubDir{1},RootFile{1},FileExt{1},NomType{1},i1_series{1}(ifile),[],j1); 334 339 Aread=read_image(filename,FileType{1},MovieObject{1},i1_series{1}(ifile)); 335 340 if ndims(Aread)==3;%color images
Note: See TracChangeset
for help on using the changeset viewer.