# Hugin Batch Processor

Batch Processor is a component of hugin that provides functionality to stitch multiple projects in a batch queue. Its goal is to make stitching of multiple projects faster. The process of stitching multiple projects is simplified using a queue of projects. User can add/edit/delete projects in the queue.

Hugin Batch Processor consists of a list of projects. Projects in the list are ordered in sequential order. By default, the list is reinstated every time you open the application. What is more, entire queue of projects can be saved and reopened later using buttons Clear Batch, Open Batch, Save Batch.

# Installation

At least on MacOS you have to download and install the BatchProcessor separately. You will find it at the Sourceforge page[*] inside the lastest version, e.g. here[*]. Just copy the app into the same folder as hugin and run it.

# Usage

Just create several project files (do everything and just skip the export step), load them in the batch processor and start the process. This way you can run several large project unattended. The output filename will be the same as the projects name (xyz.pto -> xyz.tif) in the same folder.

At least on MacOS there are some minor things to pay attention to:

You should only add the project files you want to process by using the "add project" (see below) or the menu "File - Add Project". Be aware that you will not be able to delete or deactivate a single project from the list - you will have to clean up the whole list using the menu "File - Clean List". If you want to process all projects inside a folder, just use the "folder search" (see below). Apart from this, all works fine.

# Flag options

Batch process is also influenced by the following check boxes:

- parallel execution: Execute stitching of projects in the list parallel rather than in sequential order. Check this only if you are certain your computer is up for the task of stitching multiple projects at the same time.
- delete .pto files: After stitching of each projects ends, Batch Processor will delete the project file of the currently processed project. Be careful, deleted files are lost!
- overwrite always: Always(for each project) overwrite output filename if it exists. Otherwise, you will get a dialog box whether you want to overwrite files or not.
- Shutdown when done: Turn off computer when batch process ends.

# Buttons

## [*] Clear batch

Removes all projects from the list.

## [*] Open batch

Open a batch file with a list of projects that was saved earlier.

## [*] Save batch

Save current list of projects to a file. File can later be opened using the Open batch button

## [*] Start

Starts the batch process and stitches all projects in the queue.

## [*] Skip

Stops stitching of current project in batch process and starts stitching next project in the queue. This button is inactive when batch process is not running.

## [*] Pause

Pauses the current batch process. In order to continue the process press the Start button. This button is inactive when batch process is not running.

## [*] Cancel

Stops batch execution. This button is active only when batch process is running.

## [*] Add project

Adds projects to the list. A file browser appears where users can select one or multiple .pto or .pts files.

## [*] Remove project

Removes selected project from the list.

## [*] Folder search

Recursively searches given folder for project files and appends them to project list.

Retrieved from "http://wiki.panotools.org/Hugin_Batch_Processor"