The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

quad_to_square.pl - transform an arbitrary quadrilateral to a square.

SYNOPSIS

  perl quad_to_square.pl

DESCRIPTION

Courtesy Richard Fairhurst:

I've been using it to rectify ("square up") a load of roughly scanned maps, so that an arbitrary quadrilateral is resized into a square. The transform2 function is ideal for that.

Thought you might be interested to see what people are doing with Imager - feel free to include this in the sample code.

AUTHOR

Richard Fairhurst