View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Bruno Postle > Panotools-Script-0.27 > erect2cubic


Annotate this POD


Open  2
View/Report Bugs
Source   Latest Release: Panotools-Script-0.28


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


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 ^

Author ^

Bruno Postle, <bruno (at)>

syntax highlighting: