1FULLA(1)                             HUGIN                            FULLA(1)
2
3
4

NAME

6       fulla - Correct lens distortion, vignetting and chromatic aberration
7

SYNOPSIS

9       fulla [options] inputfile(s)
10

DESCRIPTION

12       Apply radial or flat-field vignetting correction as well as geometrical
13       radial distortion and transversal chromatic aberration correction.
14
15       fulla can be used to batch correct a large number of files. Radial dis‐
16       tortion coefficients can be read from a PTLens database (only database
17       version 4.2 is supported).
18
19       Vignetting correction is done the same way as described in the nona
20       script file documentation.  Vignetting correction can be done based on
21       a flat-field or a radial scaling.
22
23       Vignetting correction by flat-field division:
24                               I = I / c,    c = flat-field / mean(flat-field)
25
26       Radial vignetting correction:
27                               I = I / c,    c = a + b*r^2 + c*r^4 + d*r^6
28
29       The radial distortion correction is identical to the one implemented by
30       PanoTools:
31
32       r_new = a*r^4 + b*r^3 + c*r^2 + d*r   [1]
33
34       Since transversal chromatic aberrations (TCA) leads to differently
35       scaled objects in the red, green and blue channel, it can be corrected
36       by scaling the red and blue channel so that they match the green chan‐
37       nel. Most applications, like Photoshop or Picture Window Pro offer TCA
38       correction by linear scaling. This is equal to varying the d parameter
39       in equation [1].
40
41       See http://hugin.sf.net/tutorials/tca for a method to determine these
42       parameters.
43

OPTIONS

45       -g a:b:c:d
46           Radial distortion coefficient for all channels, (a, b, c, d)
47
48       -b a:b:c:d
49           Radial distortion coefficients for blue channel, (a, b, c, d). This
50           is applied on top of the -g distortion coefficients, use for TCA
51           corr
52
53       -r a:b:c:d
54           Radial distortion coefficients for red channel, (a, b, c, d). This
55           is applied on top of the -g distortion coefficients, use for TCA
56           corr
57
58       -p  Try to read radial distortion coefficients (usually supplied using
59           -g) from the PTLens database. The environment variable PTLENS_PRO‐
60           FILE should point to the profile.txt file. Since newer version of
61           the PTLens database are incompatible with fulla, download the
62           PTLens database from the hugin sourceforge website instead:
63           http://www.sf.net/projects/hugin
64
65       -m Canon
66           Camera manufacturer, for PTLens database query. EXIF data inside
67           JPEG files is read, if this option is not given
68
69       -n Camera
70           Camera name, for PTLens database query. EXIF data inside JPEG files
71           is read, if this option is not given.
72
73       -l Lens
74           Lens name, for PTLens database query if not specified, a list of
75           possible lenses is displayed
76
77       -d 50
78           Specify focal length in mm, for PTLens database query. EXIF data
79           inside JPEG files is read, if this option is not given.
80
81       -s  Do not rescale the image to avoid black borders.
82
83       -f filename
84           Vignetting correction by flat-field division
85
86               I = I / c,    c = flat-field / mean(flat-field)
87
88       -c a:b:c:d
89           Radial vignetting correction by division:
90
91               I = I / c,    c = a + b*r^2 + c*r^4 + d*r^6
92
93       -i value
94           Gamma of input data. used for gamma correction before and after
95           flat-field correction
96
97       -t n
98           Number of threads that should be used during processing
99
100       -h  Display help summary.
101
102       -o name
103           Set output filename. If more than one image is given, the name will
104           be uses as suffix (default suffix: _corr)
105
106       -e value
107           Compression of the output files
108
109           For JPEG output: 0-100
110           For tiff output: DEFLATE, LZW
111       -v  Verbose
112

AUTHORS

114       Written by Pablo d'Angelo. Also contains contributions from Douglas
115       Wilkins, Ippei Ukai, Ed Halley, Bruno Postle, Gerry Patterson and Brent
116       Townshend.
117
118       This man page was written by Cyril Brulebois <cyril.brulebois@enst-bre‐
119       tagne.fr> and is licensed under the same terms as the hugin package
120       itself.
121
122
123
124perl v5.8.5                       2009-05-07                          FULLA(1)
Impressum