ptochain man page

ptochain — add control points to a Hugin project between consecutive photos


ptochain [options] --output output.pto input.pto

 -m | --makefile file  Output Makefile
 -o | --output file    Output project
 -h | --help           Outputs help documentation.


ptochain is a wrapper around various tools that generates control points. Output is in the form of a .pto project.

Consecutive photos in the project are selected for feature matching and connected into one or more chains of connected images. If points already exist between photos then matching will be skipped i.e. this tool is a noop if a full set of control points already exist in the project.

If the --makefile option is given, rules for generating the project are written to a Makefile, if --makefile isn't set then these rules will be executed immediately.

Control point generator parameters are set via Option lines in the input project:

#hugin_cpgenSize 1500
#hugin_cpgenNumber 25
#hugin_cpgenRansac true
#hugin_cpgenRefine false


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See Also



Bruno Postle - November 2009.