Changeset 736
- Timestamp:
- Apr 9, 2014, 9:38:04 AM (11 years ago)
- Location:
- trunk/src/series
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r731 r736 267 267 end 268 268 if isempty(time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video'})))% case of video input 269 time=zeros( 2,FileInfo_A.NumberOfFrames+1);270 time( 2,:)=(0:1/FileInfo_A.FrameRate:(FileInfo_A.NumberOfFrames)/FileInfo_A.FrameRate);269 time=zeros(FileInfo_A.NumberOfFrames+1,2); 270 time(:,2)=(0:1/FileInfo_A.FrameRate:(FileInfo_A.NumberOfFrames)/FileInfo_A.FrameRate)'; 271 271 TimeSource='video'; 272 % set(han:dles.Dt_txt,'String',['Dt=' num2str(1000/imainfo.FrameRate) 'ms']);%display the elementary time interval in millisec273 272 ColorType='truecolor'; 274 273 end -
trunk/src/series/relabel_i_j.m
r635 r736 116 116 end 117 117 end 118 XmlData=[]; 118 119 if ~isempty(filexml) 119 120 [XmlData,error]=imadoc2struct_special(filexml); … … 218 219 SubDirBase=regexprep(SubDir{1},'\..*','');%take the root part of SubDir, before the first dot '.' 219 220 filexml_new=[fullfile(RootPath{1},SubDirBase) '.xml']; 220 %save(t,filexml_new)221 save(t,filexml_new) 221 222 end 222 223 223 224 %% main loop on images 224 225 %j1=[];%default 226 nbfield2=1; 227 if isfield(XmlData,'Time') 225 228 nbfield2=size(XmlData.Time,2); 229 end 226 230 for ifile=1:nbfield 227 231 update_waitbar(WaitbarHandle,ifile/nbfield) … … 231 235 end 232 236 filename=fullfile_uvmat(RootPath{1},SubDir{1},RootFile{1},FileExt{1},NomType{1},i1_series{1}(ifile)); 237 j1=[]; 238 if ~isequal(nbfield2,1) 233 239 j1=mod(ifile-1+first_label,nbfield2)+1; 240 end 234 241 i1=floor((ifile-1+first_label)/nbfield2)+1; 235 242 filename_new=fullfile_uvmat(RootPath{1},SubDir{1},RootFile{1},FileExt{1},NomTypeNew,i1,[],j1); -
trunk/src/series/time_series.m
r716 r736 223 223 %%%%%%%%%%%%%%%% loop on field indices %%%%%%%%%%%%%%%% 224 224 for index=1:nbfield 225 index226 225 update_waitbar(WaitbarHandle,index/nbfield) 227 226 if ~isempty(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')
Note: See TracChangeset
for help on using the changeset viewer.