ptovariable man page

ptovariable — prepare a pto project for typical optimisation tasks


ptovariable [options] project.pto

       --positions          Optimise positions
       --roll               Optimise roll for all images except anchor if --positions not set
       --pitch              Optimise pitch for all images except anchor if --positions not set
       --yaw                Optimise yaw for all images except anchor if --positions not set
       -r <num> <num> <..>  Optimise roll for specified images
       -p <num> <num> <..>  Optimise pitch for specified images
       -y <num> <num> <..>  Optimise yaw for specified images
       --translations       Optimise XYZ mosaic translations for all images except anchor
       -TrX <num> <..>      Optimise X translation for specified images
       -TrY <num> <..>      Optimise Y translation for specified images
       -TrZ <num> <..>      Optimise Z translation for specified images
       --view               Optimise angle of view
       --barrel             Optimise barrel distortion
       --centre             Optimise optical centre
       --vignetting         Optimise vignetting
       --vignetting-centre  Optimise vignetting centre
       --response           Optimise camera response EMoR parameters
       --exposure           Optimise exposure (EV)
       --white-balance      Optimise colour balance
  -o | --output OUTFILE     Specify output file default is to overwrite input       
  -h | --help               Outputs help documentation


ptovariable sets optimisation variable 'v' lines for a hugin .pto project. Usually this is a preparation for optimisation with autooptimiser or vig_optimize.


This performs the equivalent of the 'Positions, View and Barrel (y,p,r,v,b)' preset on the hugin Optimiser tab:

  ptovariable --positions --view --barrel project.pto
  autooptimiser -n -o project.pto project.pto

This is the equivalent of the 'Low dynamic range' preset on the hugin Exposure tab:

  ptovariable --vignetting --response --exposure project.pto
  vig_optimize -o project.pto project.pto

Additionally individual parameters can be set for particular photos:

  ptovariable -r 1 2 3 4 -p 4 project.pto


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 - April 2009.


2013-05-12 perl v5.24.1 User Contributed Perl Documentation