pto_gen(1)

pto_gen1

Generate a hugin project file from a list of images.

Usage

pto_gen [options] image [...]

Overview

pto_gen assembles a Hugin .pto project file that is suitable as input for further tools such as the cpfind control-point generator, or for opening with the Hugin panorama GUI itself. Functionality is similar to match-n-shift.

Usage

   pto_gen *.jpg

This creates a project file from all jpg images, in the same folder as the first photo. The project file is named first_file-last_file.pto using the same convention as the Hugin GUI.

Options

-o|--output file

Output Hugin PTO file.

-p|--projection num

Projection type (default: 0)

-f|--fov float

Horizontal field of view of images (default: 50)

-c|--crop=left,right,top,bottom

Sets the crop of input images (especially for fisheye lenses)

-s|--stacklength num

Number of images in stack (default: automatic detection)

-l|--linkstacks

Link image positions in stacks

--distortion

Try to load distortion information from lens database

--vignetting

Try to load vignetting information from lens database

-h|--help

shows help

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

--distortion since Debian 9 (Stretch); --vignetting since Debian 9 (Stretch).

Authors

Thomas Modes

From hugin 2025.0.1-5 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.