Changeset 451 for trunk/src/series/aver_stat.m
- Timestamp:
- Jun 12, 2012, 12:29:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/aver_stat.m
r449 r451 97 97 ImageTypeOptions={'image','multimage','mmreader','video'}; 98 98 NcTypeOptions={'netcdf','civx','civdata'}; 99 99 100 for iview=1:nbview 100 [FileType{iview},FileInfo{iview},Object{iview}]=get_file_type(filecell{iview,1}); 101 if ~exist(filecell{iview,1}','file') 102 msgbox_uvmat('ERROR',['the first input file ' filecell{iview,1} ' does not exist']) 103 return 104 end 105 [FileType{iview},FileInfo{iview},MovieObject{iview}]=get_file_type(filecell{iview,1}); 101 106 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images 102 107 CheckNc{iview}=~isempty(find(strcmp(FileType{iview},NcTypeOptions)));% =1 for netcdf files 103 108 end 104 109 105 %% Calibration data and timing: read the ImaDoc files110 %% calibration data and timing: read the ImaDoc files 106 111 mode=''; %default 107 112 timecell={}; … … 321 326 Field=Data{1}; 322 327 end 328 329 %field projection on an object 323 330 if Param.CheckObject 324 331 [Field,errormsg]=proj_field(Field,ProjObject); … … 393 400 %%%%%%%%%%%%%%%% end loop on slices %%%%%%%%%%%%%%%% 394 401 395 %% reproduce ImaDoc/GeometryCalib for image series 396 % if isfield(XmlData{1},'GeometryCalib') && ~isempty(XmlData{1}.GeometryCalib) 397 % [tild,RootFile]=fileparts(filebase_out); 398 % outputxml=fullfile(pathdir,[RootFile '.xml']); 399 % errormsg=update_imadoc(XmlData{1}.GeometryCalib,outputxml);% introduce the calibration data in the xml file 400 % if strcmp(errormsg,'') 401 % display(['GeometryCalib transferred to ' outputxml]) 402 % else 403 % msgbox_uvmat('ERROR',errormsg); 404 % end 405 % end 406 407 %% open the result file with uvmat 408 hget_field=findobj(allchild(0),'name','get_field');%find the get_field... GUI 409 delete(hget_field) 410 uvmat(OutputFile)% open the last result file with uvmat 402 %% open the result file with uvmat (in RUN mode) 403 if checkrun 404 hget_field=findobj(allchild(0),'name','get_field');%find the get_field... GUI 405 delete(hget_field) 406 uvmat(OutputFile)% open the last result file with uvmat 407 end
Note: See TracChangeset
for help on using the changeset viewer.