[phi___@localhost bin]$ ./scanin -v CharteIT8_Epson_GT10000+.tif ../ref/it8.cht R080415.txt Input file 'CharteIT8_Epson_GT10000+.tif': w=2108, h=1448, d = 3, bpp = 8 Data input file 'R080415.txt' Data output file 'CharteIT8_Epson_GT10000+.ti3' Chart reference file '../ref/it8.cht' About to allocate scanrd_ object Verbosity = 2, flags = 0x40000 About to read input tiff file and discover groups adivval = 1.000000 About to calculate edge lines 714 useful edges out of 2298 About to calculate rotation Mean angle = -0.253281 Standard deviation = 3.859970 Robust mean angle = 0.115146 from 692 lines About to calculate feature information About to read reference feature information Read of chart reference file succeeded About to match features Checking xx Checking yy Checking xy Checking yx Checking xix Checking yiy Checking xiy Checking yix Axis matches for each possible orientation: xx = 0.925749, yy = 0.568809 xy = 0.180953, yx = 0.180953 xix = 0.720323, yiy = 0.477404 xiy = 0.177334, yix = 0.618588 r0 = 1.078599, r90 = 0.321129, r180 = 0.857614, r270 = 0.323249 There are 2 candidate rotations: cc = 1.078599, irot = 0.115146, xoff = 123.619034, yoff = 57.974585, xscale = 2.993434, yscale = 3.015455 cc = 0.857614, irot = 180.115146, xoff = -1973.799952, yoff = -1298.030583, xscale = 2.992187, yscale = 3.015042 About to compute match transform for rotation 0.115146 deg. About to setup value scanrdg boxes About to read raster values About to compute expected value correlation About to compute match transform for rotation 180.115146 deg. About to setup value scanrdg boxes About to read raster values About to compute expected value correlation Expected value distance values are: 0, rot 0.115146: 329.337987 1, rot 180.115146: 2865.646558 Chosen rotation 0.115146 deg. as best About to compute final match transform Improve match About to setup value scanrdg boxes About to read raster values About to write diag file [phi___@localhost bin]$