ptovariable - prepare a pto project for typical optimisation tasks
ptovariable [options] project.pto
Options: --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 --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.
http://hugin.sourceforge.net/
Bruno Postle - April 2009.
To install Panotools::Script, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Panotools::Script
CPAN shell
perl -MCPAN -e shell install Panotools::Script
For more information on module installation, please visit the detailed CPAN module installation guide.