# *** for the SONY camera I changed the cropping to be (0,0) to (511,479) # instead of (20,0) to (511,479) for the Fairchild camera *** # # file to gather 2 calibration images, one each at 2 different # positions of the XY table ... currently set up to take the images # 20 inches apart along the X axis (toward the patch panel from the # post office work station ... Y is toward the windows) ... it saves # these 2 images in cal0.img and cal20.img ... they are windowed # and cropped as they would be for gathering an image sequence # # I assume that the table has be turned on and it is at (0,0) ... if # not, this routine needs to be edited to show the initial position # and the new final position. # # # load the standard set of menus that I use att dev img digcon draw table misc dpymenu # # take the first image ... at the current position of the table digitize "grinnell3" i0 = newimg "temp.img" 1 512 512 saveimg i0 d0 128 i1 = newimg "cal0.img" 1 246 240 windowimg i0 0 0 511 479 resampleimg i0 i1 closeimg i1 # # move the table, wait for it to get there, and wait another 10 seconds move 20 0 wait !wait 00:00:10 # # take the second image digitize "grinnell3" saveimg i0 d0 128 i1 = newimg "cal20.img" 1 246 240 windowimg i0 0 0 511 479 resampleimg i0 i1 closeimg i1 closeimg i0