erect2mercator - Extract a mercator projection from an equirectangular image
erect2mercator equirectangular.tif
Generates a suitably sized mercator .pto project from a 360 degree equirectangular image. Input is in any image format understood by hugin, output is in TIFF format with an aspect ratio of 1.618:1 (a golden rectangle).
The output filename is derived automatically from the input filename with '-mercator.pto' appended. Existing .pto files will not be clobbered but will be updated when input images change size.
http://hugin.sourceforge.net/
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
perl, Panotools::Script
Bruno Postle <bruno AT postle.net>
To install Panotools::Script, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Panotools::Script
CPAN shell
perl -MCPAN -e shell install Panotools::Script
For more information on module installation, please visit the detailed CPAN module installation guide.