erect2cubic man page

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.

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]


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



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