Changeset 1057 for trunk/src/uvmat.m


Ignore:
Timestamp:
Aug 29, 2018, 12:39:05 PM (6 years ago)
Author:
sommeria
Message:

reading color images repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r1054 r1057  
    36153615            ParamIn_1.Coord_y=get(handles.Coord_y,'String');
    36163616        end
    3617         [Field{2},ParamOut_1,errormsg] = read_field(FileName_1,UvData.FileType{2},ParamIn_1,frame_index_1);
     3617        [Field{2},ParamOut_1,errormsg] = read_field(FileName_1,UvData.FileInfo{2}.FileType,ParamIn_1,frame_index_1);
    36183618        if ~isempty(errormsg)
    36193619            errormsg=['error in reading ' FieldName_1 ' in ' FileName_1 ': ' errormsg];
    36203620            return
    36213621        end
    3622         if isstruct(ParamOut_1)&&~strcmp(ParamOut_1.FieldName,'get_field...')&& (strcmp(UvData.FileType{2},'civdata')||strcmp(UvData.FileType{2},'civx'))...
     3622        if isstruct(ParamOut_1)&&~strcmp(ParamOut_1.FieldName,'get_field...')&& (strcmp(UvData.FileInfo{2}.FileType,'civdata')||strcmp(UvData.FileInfo{2}.FileType,'civx'))...
    36233623                &&~strcmp(ParamOut_1.FieldName,'velocity') && ~strcmp(ParamOut_1.FieldName,'get_field...')
    36243624            if ~check_proj_tps
     
    36683668        test_veltype_1=1;
    36693669        set(handles.VelType_1,'Visible','on')
    3670         menu=set_veltype_display(ParamOut_1.CivStage,UvData.FileType{2});
     3670        menu=set_veltype_display(ParamOut_1.CivStage,UvData.FileInfo{2}.FileType);
    36713671        index_menu=strcmp(ParamOut_1.VelType,menu);
    36723672        set(handles.VelType_1,'Value',1+find(index_menu,1))
     
    41194119    % display menus and plot histograms
    41204120    test_v=0;
    4121     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% A REMETTRE
    41224121    if ~isempty(menu_histo)
    41234122        set(handles.HistoMenu,'Value',1)
Note: See TracChangeset for help on using the changeset viewer.