I used PTBatcher (from package hugin) in a script on Ubuntu 14 LTS to create panoramas photos.

I switched to 16.04 and now this tools does not exist any more.

I used it like this:

PTBatcher -a foo.pto -o out.tif
PTBatcher -b

How to do this on Ubuntu 16.04?


It seems, You can't get PTBatcher command line tool anymore. That tool is declared obsolete and removed since version 2014. See the release note for version 2014 here However, some new command line alternatives have been added. Those are pto_mask, pto_template, pto_move etc.

You can use PTBatcherGUI tool instead. It has BatchProcessing support.

You can get that installing hugin. Do it in a terminal with the command

sudo apt install hugin

But the package in Ubuntu repository for Xenial is old (version 2015). You can get a more recent version by using hugin/hugin-builds PPA. From PPA description page, the builds are fairly stable.

sudo add-apt-repository ppa:hugin/hugin-builds
sudo apt-get update
sudo apt-get install hugin

You can also use some of the techniques described in these pages for command line processing

  • 1
    It looks like the hugin package in the 16.04 repositories includes PTBatcherGUI, but not the command-line PTBatcher. Do you know if the hugin package in the PPA includes the PTBatcher tool? – Nick Weinberg Sep 18 '16 at 6:57
  • @NickWeinberg Yes. it seems that tool is declared obsolete and removed since version 2014 – Anwar Sep 18 '16 at 7:30
  • Huh. I wonder if there's an alternate way for @guettli to accomplish their task. Maybe PTBatcher's functionality was rolled into the main hugin command??? – Nick Weinberg Sep 18 '16 at 7:32
  • 2
    @NickWeinberg yes. PTBatcherGUI was supposed to be the alternative. And I found a helpful page with lots of command line options. wiki.panotools.org/… – Anwar Sep 18 '16 at 7:38
  • Oh cool! Good work, detective! – Nick Weinberg Sep 18 '16 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.