Changeset 1199 for trunk/src/series/civ_series.m
- Timestamp:
- Mar 18, 2026, 12:44:56 PM (3 hours ago)
- File:
-
- 1 edited
-
trunk/src/series/civ_series.m (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r1198 r1199 103 103 hseries=findobj(allchild(0),'Tag','series'); 104 104 RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series 105 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series105 % WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series 106 106 MaxIndex_i=Param.IndexRange.MaxIndex_i; 107 107 MinIndex_i=Param.IndexRange.MinIndex_i; … … 332 332 par_civ1=Param.ActionInput.Civ1;% parameters for civ1 333 333 %if CheckInputFile % read input images (except in mode Test where it is introduced directly in Param.ActionInput.Civ1.ImageNameA and B) 334 try334 % try 335 335 if strcmp(Param.ActionInput.ListCompareMode,'displacement') 336 336 ImageName_A=Param.ActionInput.RefFile; … … 351 351 [FileInfo_A,VideoObject_A]=get_file_info(ImageName_A); 352 352 FileType_A=FileInfo_A.FileType; 353 if isempty(Time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video','cine_phantom','telopsIR'}), 1))% case of video inputFrameIndex_A353 if isempty(Time) && ismember(FileType_A,{'video','cine_phantom','telopsIR'})% case of video inputFrameIndex_A 354 354 Time=zeros(FileInfo_A.NumberOfFrames+1,2); 355 355 Time(:,2)=(0:1/FileInfo_A.FrameRate:(FileInfo_A.NumberOfFrames)/FileInfo_A.FrameRate)'; 356 if ~isempty(j1_series_Civ1) & &j1_series_Civ1~=1356 if ~isempty(j1_series_Civ1) & j1_series_Civ1~=1 357 357 Time=Time'; 358 358 end … … 392 392 [par_civ1.ImageB,VideoObject_B] = read_image(ImageName_B,FileType_B,VideoObject_B,FrameIndex_B); 393 393 394 catch ME % display errors in reading input images395 if ~isempty(ME.message)396 disp_uvmat('ERROR', ['error reading input image: ' ME.message],checkrun)397 continue398 end399 end394 % catch ME % display errors in reading input images 395 % if ~isempty(ME.message) 396 % disp_uvmat('ERROR', ['error reading input image: ' ME.message],checkrun) 397 % continue 398 % end 399 % end 400 400 401 401 % case of background image to subtract … … 1009 1009 if exist('time_input','var') 1010 1010 disp(['time image reading ' num2str(time_input,2) ' s']) 1011 disp(['time other ' num2str((time_total-time_ input-time_civ1-time_patch1-time_civ2-time_patch2),2) ' s'])1011 disp(['time other ' num2str((time_total-time_civ1-time_patch1-time_civ2-time_patch2),2) ' s']) 1012 1012 end 1013 1013 end
Note: See TracChangeset
for help on using the changeset viewer.
