erect2cubic - creates a hugin .pto file for converting equirectangular to cubic
erect2cubic --erect=panorama.tif --ptofile=cube_project.pto nona -o cube_prefix cube_project.pto
Takes an equirectangular image and produces a .pto file suitable for extracting six cube faces in TIFF_m format.
Cube faces are produced in front, right, back, left, up & down order. The cube edge length is set to the sphere diameter reduced to the nearest multiple of 8. Prerotate the scene with --roll, --pitch and --yaw parameters if required.
cubic2erect --erect=panorama.tif --ptofile=cube_project.pto \ [--roll=12] [--pitch=34] [--yaw=56] [--filespec=PNG] [--face=1024]
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.
http://panotools.sourceforge.net/
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.