Changeset 609 for trunk/src/find_file_series.m
- Timestamp:
- Apr 9, 2013, 8:20:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_file_series.m
r599 r609 5 5 % OUTPUT: 6 6 % RootFile: root file detected in fileinput, possibly modified for movies (indexing is then done on image view, not file) 7 % i1_series( ref_i+1, ref_j+1,pair),i2_series,j1_series,j2_series: set of indices (i1,i2,j1,j2) sorted by ref index ref_i, ref_j, and pairindex in case of multiple pairs with the same ref7 % i1_series(pair,ref_j+1, ref_i+1),i2_series,j1_series,j2_series: set of indices (i1,i2,j1,j2) sorted by ref index ref_i, ref_j, and pairindex in case of multiple pairs with the same ref 8 8 % (ref_i+1 is used to deal with the image index zero sometimes used) 9 9 % NomType: nomenclature type corrected after checking the first file (problem of 0 before the number string) … … 244 244 if isfield(FileInfo,'NumberOfFrames') && FileInfo.NumberOfFrames >1 245 245 if isempty(i1_series) 246 i1_series=(1:FileInfo.NumberOfFrames)'; 246 i1_series=zeros(FileInfo.NumberOfFrames+1,2);% first column =0 247 i1_series(:,2)=(0:FileInfo.NumberOfFrames)'; % second column=frame index -1 247 248 i1_input=1; 248 249 NomType='*'; 249 250 else 250 i1_series=i1_series(:,2)*ones( 1,FileInfo.NumberOfFrames);251 i1_series=i1_series(:,2)*ones(0,FileInfo.NumberOfFrames); 251 252 i1_series=[i1_series(:,1) i1_series]; 252 253 j1_series=ones(size(i1_series,1),1)*(0:FileInfo.NumberOfFrames);
Note: See TracChangeset
for help on using the changeset viewer.