Changeset 1062 for trunk/src/series
- Timestamp:
- Mar 21, 2019, 6:35:43 PM (6 years ago)
- Location:
- trunk/src/series
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r1061 r1062 455 455 par_civ1.Mask=mask; %use mask already opened 456 456 else 457 try 458 par_civ1.Mask=imread(maskname);%update the mask, an store it for future use 459 catch ME 460 if ~isempty(ME.message) 461 errormsg=['error reading input image: ' ME.message]; 462 disp_uvmat('ERROR',errormsg,checkrun) 463 return 457 if exist(maskname,'file') 458 try 459 par_civ1.Mask=imread(maskname);%update the mask, an store it for future use 460 catch ME 461 if ~isempty(ME.message) 462 errormsg=['error reading input image: ' ME.message]; 463 disp_uvmat('ERROR',errormsg,checkrun) 464 return 465 end 464 466 end 467 else 468 par_civ1.Mask=[]; 465 469 end 466 470 mask=par_civ1.Mask; … … 711 715 par_civ2.Mask=mask; %use mask already opened 712 716 else 717 if exist(maskname,'file') 713 718 try 714 719 par_civ2.Mask=imread(maskname);%update the mask, an store it for future use … … 719 724 return 720 725 end 726 end 727 else 728 par_civ2.Mask=[]; 721 729 end 722 730 mask=par_civ2.Mask; -
trunk/src/series/merge_proj.m
r1061 r1062 288 288 %% reading input file(s) 289 289 [Data{iview},tild,errormsg] = read_field(filecell{iview,index},FileType{iview},ParamIn{iview},frame_index{iview}(index)); 290 if ~isempty(errormsg) 290 if isempty(errormsg) 291 disp([filecell{iview,index} ' read']) 292 else 291 293 disp_uvmat('ERROR',['ERROR in merge_proj/read_field/' errormsg],checkrun) 292 294 return
Note: See TracChangeset
for help on using the changeset viewer.