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]

License

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See Also

http://panotools.sourceforge.net/

Author

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