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

NAME

erect2cubic - creates a hugin .pto file for converting equirectangular to cubic

Synopsis

  erect2cubic --erect=panorama.tif --ptofile=cube_project.pto
  nona -o cube_prefix cube_project.pto

DESCRIPTION

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.

  erect2cubic --erect=panorama.tif --ptofile=cube_project.pto
  nona -o cube_prefix cube_project.pto

Calling syntax

  cubic2erect --erect=panorama.tif --ptofile=cube_project.pto \
    [--roll=12] [--pitch=34] [--yaw=56] [--filespec=PNG] [--face=1024]

License

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.

See Also

http://panotools.sourceforge.net/

Author

Bruno Postle, <bruno (at) postle.net>