Ignore:
Timestamp:
Apr 19, 2010, 12:41:06 PM (11 years ago)
Author:
sommeria
Message:

now open the relevant xml file for any input file
directory TOOLBOX_calib changed in toolbox_calib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/geometry_calib.m

    r78 r83  
    8989inputxml='';
    9090if exist('inputfile','var')& ~isempty(inputfile)
    91     [Path,Name,ext]=fileparts(inputfile);
    92     form=imformats(ext([2:end]));
    93     if ~isempty(form)% if the input file is an image
     91%     [Path,Name,ext]=fileparts(inputfile);
     92%     form=imformats(ext([2:end]));
     93%     if ~isempty(form)% if the input file is an image
    9494        struct.XmlInputfile=inputfile;
    9595        set(hObject,'UserData',struct)
    9696        [Pathsub,RootFile,field_count,str2,str_a,str_b,ext,nom_type,subdir]=name2display(inputfile);
    9797        inputxml=[fullfile(Pathsub,RootFile) '.xml'];
    98     end   
     98%     end   
    9999end
    100100set(handles.ListCoord,'String',{'......'})
     
    461461% est_kc=[1;0;0;0;0];
    462462est_dist=[0;0;0;0;0];
    463 run(fullfile(path_UVMAT,'TOOLBOX_calib','go_calib_optim'));
     463run(fullfile(path_UVMAT,'toolbox_calib','go_calib_optim'));
    464464
    465465GeometryCalib.CalibrationType='tsai';
Note: See TracChangeset for help on using the changeset viewer.