Difference between revisions of "Pto gen"

From PanoTools.org Wiki
Jump to: navigation, search
(Created page with ''''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 panoram...')
 
m
Line 1: Line 1:
'''pto_gen'' assembles a Hugin .pto project file that is suitable as input for
+
'''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
 
further tools such as the [[cpfind]] control-point generator, or for opening
 
with the Hugin panorama GUI itself.  Functionality is similar to
 
with the Hugin panorama GUI itself.  Functionality is similar to

Revision as of 08:58, 11 December 2011

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.

The general use is

   pto_gen *.jpg

This creates a project file from all jpg images in the current directory. The project file is named First file-last file.pto.

Options

  • -o | --output output.pto Output a pto file with the given filename (instead of the default).
  • -p | --projection number Sets the projection type for all images (0 - rectilinear, 2 - equirectangular, 3 - full-frame fisheye, ...).
  • -f | --fov number Sets the horizontal field of view for all images. Useful if your lens does not store the focal length and/or crop factor correctly in the EXIF data.
  • -s | --stacklength number Sets the number of images in each stack (default: 1, meaning no stacks).
  • -l | --linkstacks When given links the image positions in stacks.
  • -h | --help Display help.