Ignore:
Timestamp:
Dec 19, 2010, 10:11:04 PM (13 years ago)
Author:
sommeria
Message:

many bug repairs and corrections for mouse action
create_grid: option for black marjkers for grid detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/update_imadoc.m

    r114 r156  
    88%-------------------------------------------------------------
    99function errormsg=update_imadoc(GeometryCalib,outputfile)
     10tic
    1011errormsg='';
    1112testappend=0;
     
    2122    [success,message]=copyfile(outputfile,backupfile);%make backup
    2223    if success==0
    23         errormsg=message
     24        errormsg=message;
    2425    end
    2526    uid=find(t,'ImaDoc');
     
    5657        [t,uid_camera]=add(t,1,'element','Camera');
    5758        Camera.TimeUnit='s';
    58 %         Camera.BurstTiming.FrameFrequency=info.FramesPerSecond;
    5959        Camera.BurstTiming.Time=0;
    6060        Camera.BurstTiming.Dti=1/info.FramesPerSecond;
    6161        Camera.BurstTiming.NbDti=info.NumFrames-1;
    62         t=struct2xml(Camera,t,uid_camera)
     62        t=struct2xml(Camera,t,uid_camera);
    6363    end
    6464   [t,uid_calib]=add(t,1,'element','GeometryCalib');
     
    6666t=struct2xml(GeometryCalib,t,uid_calib);
    6767save(t,outputfile);
     68toc
Note: See TracChangeset for help on using the changeset viewer.