Tony Cook > Imager > quad_to_square.pl

Download:
Imager-1.000.tar.gz

Annotate this POD

Website

CPAN RT

New  39
Open  16
View/Report Bugs
Source  

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

syntax highlighting: