Convert Equirectangular Panorama To Cube Images Under Debian

  1. Install dependencies for Panotools scripts

apt-get install libimage-size-perl
apt-get install libimage-exiftool-perl
apt-get install libgraphviz-perl
apt-get install hugin-tools
  1. Download Panotools-Script-0.23 from <a href="http://search.cpan.org/~bpostle/Panotools-Script-0.23/">Panotools-Script-0.23</a>

  2. Extract and build:

perl Makefile.PL
make
make test
make install
erect2cubic --erect=panorama.tif --ptofile=cube_project.pto
nona -o cube_prefix cube_project.pto