20th April 2016 at 8:20am
These are PERL scripts that help manage panoramas on the command line. I use them to split an equirectangular images into cubes and back again.
Installing
$ cpan
cpan[1]> install Panotools::ScriptConvert equirectangular pano into cube faces
$ erect2cubic --erect=MyPano.tif --ptofile=cubic.pto
$ nona -o cube_ cubic.ptoWill create five numbered cube files (for example cube_0002.tif).
nona is part of the Hugin package. This bash script shows how to capture the path on a Mac.
Convert cube faces to ecrirectangular pano
$ cubic2erect cube_{0,1,2,3,4,5}.tif MyPanoFinal.tif