Ignore:
Timestamp:
Mar 18, 2026, 12:44:56 PM (3 hours ago)
Author:
sommeria
Message:

bugs repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_series.m

    r1198 r1199  
    103103hseries=findobj(allchild(0),'Tag','series');
    104104RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series
    105 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series
     105% WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series
    106106MaxIndex_i=Param.IndexRange.MaxIndex_i;
    107107MinIndex_i=Param.IndexRange.MinIndex_i;
     
    332332        par_civ1=Param.ActionInput.Civ1;% parameters for civ1
    333333        %if CheckInputFile % read input images (except in mode Test where it is introduced directly in Param.ActionInput.Civ1.ImageNameA and B)
    334         try
     334        % try
    335335            if strcmp(Param.ActionInput.ListCompareMode,'displacement')
    336336                ImageName_A=Param.ActionInput.RefFile;
     
    351351                    [FileInfo_A,VideoObject_A]=get_file_info(ImageName_A);
    352352                    FileType_A=FileInfo_A.FileType;
    353                     if isempty(Time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video','cine_phantom','telopsIR'}), 1))% case of video inputFrameIndex_A
     353                    if isempty(Time) && ismember(FileType_A,{'video','cine_phantom','telopsIR'})% case of video inputFrameIndex_A
    354354                        Time=zeros(FileInfo_A.NumberOfFrames+1,2);
    355355                        Time(:,2)=(0:1/FileInfo_A.FrameRate:(FileInfo_A.NumberOfFrames)/FileInfo_A.FrameRate)';
    356                         if ~isempty(j1_series_Civ1) && j1_series_Civ1~=1
     356                        if ~isempty(j1_series_Civ1) & j1_series_Civ1~=1
    357357                            Time=Time';
    358358                        end
     
    392392            [par_civ1.ImageB,VideoObject_B] = read_image(ImageName_B,FileType_B,VideoObject_B,FrameIndex_B);
    393393           
    394         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
     394        % 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
    400400       
    401401        % case of background image to subtract
     
    10091009    if exist('time_input','var')
    10101010        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'])
    10121012    end
    10131013end
Note: See TracChangeset for help on using the changeset viewer.