Ignore:
Timestamp:
Jul 5, 2013, 11:15:53 AM (11 years ago)
Author:
sommeria
Message:

option shift and displacement fixed in civ_series

File:
1 edited

Legend:

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

    r656 r661  
    8787NomTypeInput=Param.InputTable{1,4};
    8888FileExt=Param.InputTable{1,5};
    89 FileType=SeriesData.FileType{1};
     89FileType=SeriesData.FileType{1};%type of the first input file series
    9090FileInfo=SeriesData.FileInfo{1};
    9191FileInput=SeriesData.RefFile{1};
     
    118118        [PathCiv1_ImageA,Civ1_ImageA,FileExtA]=fileparts(Data.Civ1_ImageA);
    119119        [PathCiv1_ImageB,Civ1_ImageB,FileExtA]=fileparts(Data.Civ1_ImageB);
    120         %         set(handles.Civ1_ImageA,'String',Civ1_ImageA)
    121         %         set(handles.Civ1_ImageB,'String',Civ1_ImageB)
    122120        if ~isempty(Data.Civ2_ImageA)
    123121            [PathCiv2_ImageA,Civ2_ImageA,FileExtA]=fileparts(Data.Civ2_ImageA);
    124122            [PathCiv2_ImageB,Civ2_ImageB,FileExtA]=fileparts(Data.Civ2_ImageB);
    125             %         set(handles.Civ2_ImageA,'String',Civ2_ImageA)
    126             %         set(handles.Civ2_ImageB,'String',Civ2_ImageB)
    127123        end
    128124        hhseries=guidata(gcbf);
    129125        if size(Param.InputTable,1)==1
    130             series('display_file_name',hhseries,Data.Civ1_ImageA,'append');
     126            series('display_file_name',hhseries,Data.Civ1_ImageA,'append');%append the image series to the input list
    131127        end
    132128        if isfield(Data,'Txt')
     
    145141        return
    146142end
     143if numel(SeriesData.FileType)>=2 && strcmp(SeriesData.FileType{end-1},'image') &&   strcmp(SeriesData.FileType{end},'image')
     144    set(handles.ListCompareMode,'Value',3)% we compare two image series term to term ('shift')
     145    set(handles.PairIndices,'Visible','off')
     146end
    147147
    148148%% TODO: get corresponding image in nc case
     
    188188    end
    189189end
    190 %list_operation={'CheckCiv1','CheckFix1','CheckPatch1','CheckCiv2','CheckFix2','CheckPatch2'};
    191 
    192 %set(handles.(ListOptions{min(ind_opening+1,6)}),'value',1)
    193190
    194191
Note: See TracChangeset for help on using the changeset viewer.