Changeset 657 for trunk/src/uvmat.m


Ignore:
Timestamp:
Jul 3, 2013, 12:07:26 PM (11 years ago)
Author:
sommeria
Message:

a few bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r654 r657  
    25472547%         UvData.Field.CoordMesh=ord;
    25482548%     end
     2549if ~isfield(UvData.Field,'NbDim')
     2550    UvData.Field.NbDim=1;
     2551end
    25492552if UvData.Field.NbDim>1
    25502553    UvData.Field=find_field_bounds(UvData.Field);
     
    49064909FileName=[fullfile(RootPath,SubDir,RootFile) FileIndex FileExt];
    49074910set(handles.view_xml,'Backgroundcolor',[1 1 0])%indicate the reading of the current xml file by geometry_calib
    4908 pos_uvmat=get(handles.uvmat,'Position');
    4909 pos_cal(1)=pos_uvmat(1)+UvData.OpenParam.PosGeometryCalib(1)*pos_uvmat(3);
    4910 pos_cal(2)=pos_uvmat(2)+UvData.OpenParam.PosGeometryCalib(2)*pos_uvmat(4);
    4911 pos_cal(3:4)=UvData.OpenParam.PosGeometryCalib(3:4).* pos_uvmat(3:4);
    4912 geometry_calib(FileName,pos_cal);% call the geometry_calib interface   
     4911% pos_uvmat=get(handles.uvmat,'Position');
     4912% pos_cal(1)=pos_uvmat(1)+UvData.OpenParam.PosGeometryCalib(1)*pos_uvmat(3);
     4913% pos_cal(2)=pos_uvmat(2)+UvData.OpenParam.PosGeometryCalib(2)*pos_uvmat(4);
     4914% pos_cal(3:4)=UvData.OpenParam.PosGeometryCalib(3:4).* pos_uvmat(3:4);
     4915geometry_calib(FileName);% call the geometry_calib interface   
    49134916set(handles.view_xml,'Backgroundcolor',[1 1 1])%indicate the end of reading of the current xml file by geometry_calib
    49144917set(handles.MenuCalib,'checked','on')% indicate that MenuCalib is activated, test used by mouse action
Note: See TracChangeset for help on using the changeset viewer.