Changeset 657 for trunk/src/uvmat.m
- Timestamp:
- Jul 3, 2013, 12:07:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r654 r657 2547 2547 % UvData.Field.CoordMesh=ord; 2548 2548 % end 2549 if ~isfield(UvData.Field,'NbDim') 2550 UvData.Field.NbDim=1; 2551 end 2549 2552 if UvData.Field.NbDim>1 2550 2553 UvData.Field=find_field_bounds(UvData.Field); … … 4906 4909 FileName=[fullfile(RootPath,SubDir,RootFile) FileIndex FileExt]; 4907 4910 set(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 interface4911 % 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); 4915 geometry_calib(FileName);% call the geometry_calib interface 4913 4916 set(handles.view_xml,'Backgroundcolor',[1 1 1])%indicate the end of reading of the current xml file by geometry_calib 4914 4917 set(handles.MenuCalib,'checked','on')% indicate that MenuCalib is activated, test used by mouse action
Note: See TracChangeset
for help on using the changeset viewer.