Calibrating raster images

The matching procedure described in the previous section is quite simple to understand but not so simple to execute, since it involves a number of steps, like Rotate , Move and Resize , which are needed to achieve desired results. Providing that we have sufficient reference data, the same and even better results may be achieved using the simplest possible interface to powerful Tessel Systems CALIBRATOR .

As in the previous section, open office.tif and add office2.dwg . We want to get the best possible match between the four corners of the vector reference polygon and the corresponding corners of the raster image.

Click the Zoom extents button on the Main toolbar. Click the Calibrate raster button on the Raster toolbar. Since the calibrating action has many options and may involve some additional actions required in its full version, special Calibration toolbar pops up just over the Drawing window. In its basic version exercised below, we will define four matching vectors supplying data required for simplest match. For each corner of the scanned floor drawing define raster point by placing the cursor close to the corner, pressing F12 ( Magnifying Glass hot key ) and picking the intersection of reference lines at that corner, as shown below.

Accept raster point by a right click, move the cursor to the corresponding corner of the vector reference polygon and use Magnifying Glass again to show its exact position as end of matching vector ( target point ).

After defining matching vectors for all four corners, click the Affine model button (second one among five buttons defining various models) on Calibration toolbar. You may also click the Toggle preview button, to watch the way the raster image would be modified to fulfill matching requirements. Use the OTM Execute option and, after the raster image is recalculated, use the OTM Accept option to finish the whole action. Say No when SuperEdit asks you to save calibration report and changes to vector list, it is not necessary in this case. After the raster image is recalculated, you should be able to see that this simple and quick operation has produced quite a perfect match at all four corners. To check what such simple to do a matching operation is worth, repeat the exercise from the chapter describing raster snaps trying to measure the actual length of the vertical dimension line described with dimensioning text that says 13.28 .

Instead of previous measurement of 14.36 , you should obtain something like 13.26 . Definitely not bad a result as for an A4 copy of an A3 drawing that was faxed to Tessel Systems years ago by a German customer, and then scanned on a desktop scanner.