
ptovariable - prepare a pto project for typical optimisation tasks

ptovariable [options] project.pto
Options: -p | --positions Optimise positions -v | --view Optimise angle of view -b | --barrel Optimise barrel distortion -c | --centre Optimise optical centre -m | --vignetting Optimise vignetting -n | --vignetting-centre Optimise vignetting centre -r | --response Optimise camera response EMoR parameters -e | --exposure Optimise exposure (EV) -w | --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

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.


Bruno Postle - April 2009.