Changeset 353 for trunk/src/find_file_series.m
 Timestamp:
 Dec 29, 2011, 12:00:59 AM (12 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/find_file_series.m
r350 r353 40 40 41 41 %% get input root name and nomenclature type 42 [RootPath,SubDir,RootFile, ~,i2_input,j1_input,j2_input,FileExt,NomType]=fileparts_uvmat(fileinput);42 [RootPath,SubDir,RootFile,tild,i2_input,j1_input,j2_input,FileExt,NomType]=fileparts_uvmat(fileinput); 43 43 44 44 %% check for particular file types: images, movies, civ data … … 128 128 end 129 129 for ifile=1:nbpair 130 [ ~,~,~,i1,i2,j1,j2]=fileparts_uvmat(dirpair(ifile).name);130 [tild,tild,tild,i1,i2,j1,j2]=fileparts_uvmat(dirpair(ifile).name); 131 131 ref_i=i1; 132 132 if isempty(i2_input) … … 184 184 ref_ij=ref_i_list*max_j+ref_j_list; % ordered by index i, then by j for a given i. 185 185 end 186 [ ~,ifile]=min(ref_ij(ref_ij>0));186 [tild,ifile]=min(ref_ij(ref_ij>0)); 187 187 if isempty(ifile) 188 188 RootPath=''; … … 190 190 NomType=''; 191 191 else 192 [ ~,~,~,~,~,~,~,~,NomType]=fileparts_uvmat(dirpair(ifile).name);192 [tild,tild,tild,tild,tild,tild,tild,tild,NomType]=fileparts_uvmat(dirpair(ifile).name); 193 193 end 194 194 end … … 203 203 if size(i2_series,3)>1 %pairs i1 i2 204 204 diff_index=abs(i2_seriesi1_series); 205 [ ~,ind_pair]=sort(diff_index,3,'descend');205 [tild,ind_pair]=sort(diff_index,3,'descend'); 206 206 for ref_i=1:size(i1_series,1) 207 207 for ref_j=1:size(j1_series,2) … … 215 215 elseif size(j2_series,3)>1 %pairs j1 j2 216 216 diff_index=abs(j2_seriesj1_series); 217 [ ~,ind_pair]=sort(diff_index,3,'descend');217 [tild,ind_pair]=sort(diff_index,3,'descend'); 218 218 for ref_i=1:size(i1_series,1) 219 219 for ref_j=1:size(j1_series,2)
Note: See TracChangeset
for help on using the changeset viewer.