- Timestamp:
- Mar 24, 2010, 2:10:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r62 r63 936 936 937 937 %reorder the last two points if needed 938 angles=angle((corners_X-corners_X(1))+i*(corners_Y-corners_Y(1)) ;938 angles=angle((corners_X-corners_X(1))+i*(corners_Y-corners_Y(1))); 939 939 if abs(angles(4)-angles(2))>abs(angles(3)-angles(2)) 940 940 X_end=corners_X(4); … … 1007 1007 Tmod=T(:,(1:2))+Delta; 1008 1008 [Xpx,Ypx]=px_XYZ(GeometryCalib,Tmod(:,1),Tmod(:,2)); 1009 for i =1:nbpoints1010 Coord{i ,1}=num2str(T(i,1),4);%display coordiantes with 4 digits1011 Coord{i ,2}=num2str(T(i,2),4);%display coordiantes with 4 digits1012 Coord{i ,3}='0';1013 Coord{i ,4}=num2str(Xpx(i),4);%display coordiantes with 4 digi1014 Coord{i ,5}=num2str(Ypx(i),4);%display coordiantes with 4 digi1009 for ipoint=1:nbpoints 1010 Coord{ipoint,1}=num2str(T(ipoint,1),4);%display coordiantes with 4 digits 1011 Coord{ipoint,2}=num2str(T(ipoint,2),4);%display coordiantes with 4 digits 1012 Coord{ipoint,3}='0'; 1013 Coord{ipoint,4}=num2str(Xpx(ipoint),4);%display coordiantes with 4 digi 1014 Coord{ipoint,5}=num2str(Ypx(ipoint),4);%display coordiantes with 4 digi 1015 1015 end 1016 1016 Tabchar=cell2tab(Coord,' | ');
Note: See TracChangeset
for help on using the changeset viewer.