New version of Dewarp.
* An improved line finder.
* corrected a bug in interpolation which causes image to shift
* Four options to control how hard the program works!
As usual, unzip the dewarp1.1.jar.zip file to dewarp1.1.jar, and then run as:
java -Xmx128M -jar dewarp1.1.jar
Dewarp v1.1 (build date 20091230A) (c) 2009 Robert Baruch
This program is distributed under the terms of the GNU General Public License.
Usage: Dewarp [b][2][w][a] <tiff image file>
b, 2, w, and a are flags that you may add. You may choose none, or all of them.
b will help smooth out variations in distortion from line to line,
but line estimation will take twice as long. Highly recommended if
the result seems to have squeezed and expanded areas.
2 will also help smooth out variations in distortion from line to line,
and will also double line estimation time.
w will add a sinusoidal component to line estimation. This adds
time to line estimation, but can be useful if the result without
it looks a little wavy. Don't use this if the output is good without it.
a will cause the program to assume that above the first detected line, and
below the last detected line, the distortion increases linearly. Without
this option, the assumption is that the distortion remains the same. Use
this only if there are graphics or short lines at top or bottom, and the
program does not seem to correct the distortion there. This option can
also make things worse, so try first without it.
Samples:
Using w option:

- laszlo.gif (170.94 KiB) Viewed 6007 times
Using no options:

- keystoned.gif (133.47 KiB) Viewed 6007 times
Using ab2w options: (still a bit curled at the bottom due to the conservative assumptions of the line finding algorithm)

- tulonB.gif (200.29 KiB) Viewed 6007 times
Using ab2 options: (adding the w option is worse!)

- tulonA.gif (158.84 KiB) Viewed 6007 times