- Timestamp:
- Nov 28, 2012, 6:27:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/relabel_i_j.m
r555 r563 91 91 % input file or frame indices i1_series,i2_series,j1_series,j2_series 92 92 [filecell,i1_series,i2_series,j1_series,j2_series]=get_file_series(Param); 93 % filecell{iview,fileindex}: cell array representing the list of file names 94 % iview: line in the table corresponding to a given file series 95 % fileindex: file index within the file series, 96 % i1_series(iview,ref_j,ref_i)... are the corresponding arrays of indices i1,i2,j1,j2, depending on the input line iview and the two reference indices ref_i,ref_j 97 % i1_series(iview,fileindex) expresses the same indices as a 1D array in file indices 98 % set of frame indices used for movie or multimage input 93 99 94 % numbers of slices and file indices 100 95 … … 278 273 if checkrun 279 274 update_waitbar(hseries.Waitbar,ifile/nbfield) 275 drawnow 280 276 stopstate=get(hseries.RUN,'BusyAction'); 281 277 else … … 385 381 Dtj=get_value(subt,'/BurstTiming/Dtj',[]); 386 382 Dtj=Dtj/Frequency;%Dtj converted from frame unit to TimeUnit (e.g. 's') 387 NbDtj=get_value(subt,'/BurstTiming/NbDtj', 1);383 NbDtj=get_value(subt,'/BurstTiming/NbDtj',[]); 388 384 %%%% correction RDvision %%%% 389 385 % NbDtj=NbDtj/numel(Dtj); … … 401 397 else 402 398 % NbDtj=NbDtj/numel(Dtj);%bursts 399 if ~isempty(NbDtj) 403 400 s.NbDtj=NbDtj/numel(Dtj);%bursts; 401 else 402 s.NbDtj=1; 403 end 404 404 end 405 405 %%%% %%%%
Note: See TracChangeset
for help on using the changeset viewer.