on RESIZED IMAGES (resized to 480_640 after vidtomem gave 486_720; note vlan_grab gives (gave) 480_640, hence the need to resize to match) dots -r4 -c4 dots1_resized Input image size: (480 (y), 640 (x)). Frames: 1. Bytes/pixel : 1. Hold on, working... Working on dots1_resized/data. Read 307200 bytes of input image data. dots.c: assuming dots are white on a black background C O M 329.69525 241.52768 2.50000 2.50000 moment 219.12843 1.58114 138.58899 X , Y 131.61778 96.14750 linearity error (no correction) 459.33136 StartErr 49.31256 320.00 240.00 linearity error 49.31256 unit = 4.000000 unit = 2.000000 unit = 1.000000 unit = 0.500000 unit = 0.250000 unit = 0.125000 unit = 0.062500 Final Best quarter pixel resolution: 0.43111 333.94 293.00 Final poly 3.252453e-12 0.000000e+00 1.046068e-06 0.000000e+00 9.135202e-01 linearity error 0.43111 now run: swarp -w -x 333.94 -y 293.00 -a 9.135164337e-01 -b 1.046063839e-06 -c 3.252439319e-12 -o outfile infile (the following 5 rows of 6 dots, lower right dot was very slighly beyond its boundary...) dots -r5 -c6 dots5_resized Input image size: (480 (y), 640 (x)). Frames: 1. Bytes/pixel : 1. Hold on, working... Working on dots5_resized/data. Read 307200 bytes of input image data. dots.c: assuming dots are white on a black background C O M 298.50238 241.62758 3.50000 3.00000 moment 220.02223 2.21736 99.22730 X , Y 85.10074 80.46878 linearity error (no correction) 1017.14966 StartErr 126.01949 320.00 240.00 linearity error 126.01949 unit = 4.000000 unit = 2.000000 unit = 1.000000 unit = 0.500000 unit = 0.250000 unit = 0.125000 unit = 0.062500 Final Best quarter pixel resolution: 1.93404 333.06 291.00 Final poly 4.145763e-12 0.000000e+00 9.675319e-07 0.000000e+00 9.052007e-01 linearity error 1.93404 now run: swarp -w -x 333.06 -y 291.00 -a 9.051847539e-01 -b 9.675149156e-07 -c 4.145689721e-12 -o outfile infile ----------------------------------------------------------------------------- on original 486_720 size images dots -r4 -c4 dots1 Input image size: (486 (y), 720 (x)). Frames: 1. Bytes/pixel : 1. Hold on, working... Working on dots1/data. Read 349920 bytes of input image data. dots.c: assuming dots are white on a black background C O M 370.47406 244.06969 2.50000 2.50000 moment 236.64828 1.58114 149.66951 X , Y 147.89390 97.15393 linearity error (no correction) 512.29376 StartErr 54.59111 360.00 243.00 linearity error 54.59111 unit = 4.000000 unit = 2.000000 unit = 1.000000 unit = 0.500000 unit = 0.250000 unit = 0.125000 unit = 0.062500 Final Best quarter pixel resolution: 6.42342 376.38 290.81 Final poly 3.110088e-12 0.000000e+00 7.834348e-07 0.000000e+00 9.190236e-01 linearity error 6.42342 now run: swarp -w -x 376.38 -y 290.81 -a 9.190191844e-01 -b 7.834310217e-07 -c 3.110073212e-12 -o outfile infile /mas/vision/projects/TextureHeads/LieOrbits/dots -r5 -c6 dots5 Input image size: (486 (y), 720 (x)). Frames: 1. Bytes/pixel : 1. Hold on, working... Working on dots5/data. Read 349920 bytes of input image data. dots.c: assuming dots are white on a black background C O M 335.39789 244.15382 3.50000 3.00000 moment 239.66631 2.21736 108.08654 X , Y 95.61751 81.30836 linearity error (no correction) 1110.34521 StartErr 125.05033 360.00 243.00 linearity error 125.05033 unit = 4.000000 unit = 2.000000 unit = 1.000000 unit = 0.500000 unit = 0.250000 unit = 0.125000 unit = 0.062500 Final Best quarter pixel resolution: 14.10882 378.25 288.75 Final poly 3.670028e-12 0.000000e+00 6.852150e-07 0.000000e+00 9.090108e-01 linearity error 14.11025 now run: swarp -w -x 378.25 -y 288.75 -a 9.089922436e-01 -b 6.852009767e-07 -c 3.669952557e-12 -o outfile infile Th'th'that's all, FFolks!