1=for 2Copyright 2008 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> 3Licensed under the same terms as the hugin package itself. 4=end 5 6 7=head1 NAME 8 9vig_optimize - Optimise photometric parameters 10 11=head1 SYNOPSIS 12 13B<vig_optimize> [options] B<-o> I<output.pto> I<input.pto> 14 15 16=head1 DESCRIPTION 17 18Photometric calculation can be performed on the command-line with the 19vig_optimize tool. This functionally is configured via 'v' variable lines in 20the .pto project file in a similar way to the autooptimiser tool: 21 22The camera response curve is simplified using the EMoR sensor model which 23reduces the variation to five numbers, these are the Ra, Rb, Rc, Rd & Re image 24(i) parameters (the default values of 0.0 are equivalent to an 'average' 25generic sensor). 26 27The vignetting model is represented by a polynomial with four parameters: Va 28(this is always 1.0 and doesn't need to be optimised) and Vb, Vc & Vd (which 29default to 0.0 - equivalent to no vignetting). The vignetting centre can also 30be different from the geometrical centre, this is specified by Vx & Vy (both 31default to 0.0). 32 33Exposure (EV) is represented by a single value Ev (defaults 0.0, equivalent to 34no-change). 35 36The white balance is represented by multipliers for the red and blue channels 37Er and Eb (the defaults of 1.0 are equivalent to no-change). 38 39A typical 'v' variable line configuration would look like this, i.e. optimise camera response curve and vignetting for image 0 and exposure for images 1, 2, 3 and 4: 40 41 v Ra0 Rb0 Rc0 Rd0 Re0 Vb0 Vc0 Vd0 42 v Ev1 Ev2 Ev3 Ev4 43 44(vignetting centre and white balance are left unchanged) 45 46 47=head1 OPTIONS 48 49General options: 50 51=over 52 53=item B<-o> I<file> 54 55Write results to output project 56 57=item B<-v> 58 59Verbose, print progress messages 60 61=item B<-p> I<n> 62 63Number of points to extract 64 65=item B<-r> 66 67Extract random point (faster, but less accurate) 68 69=item B<-s> I<level> 70 71Work on downscaled images, every step halves width and height 72 73=item B<-h> 74 75Display help summary. 76 77=back 78 79 80Expert and debugging options: 81 82=over 83 84=item B<-i> I<file> 85 86Read corresponding points from file 87 88=item B<-w> I<file> 89 90Dump corresponding points to file 91 92=back 93 94 95=head1 AUTHORS 96 97Written by Pablo d'Angelo. Also contains contributions from Douglas Wilkins, Ippei Ukai, Ed Halley, Bruno Postle, Gerry Patterson and Brent Townshend. 98 99 100This man page was written by Cyril Brulebois 101<cyril.brulebois@enst-bretagne.fr> and is licensed under the same 102terms as the hugin package itself. 103