1=head1 NAME
2
3tca_correct - Calculate transverse chromatic aberration
4
5=head1 SYNOPSIS
6
7B<tca_correct> [options] I<inputfile>
8
9<inputfile> is the base name of 4 image files:
10
11=over
12
13=item <inputfile>
14
15Colour file to compute TCA parameters
16
17=item red_<inputfile>
18
19Red channel of <inputfile>
20
21=item green_<inputfile>
22
23Green channel of <inputfile>
24
25=item blue_<inputfile>
26
27Blue channel of <inputfile>
28
29=back
30
31The channel images must be colour images with 3 identical channels.  If any of
32-R, -G, or -B is given, this file name is used instead of the derived name.
33
34Output: commandline arguments for fulla
35
36=head1 DESCRIPTION
37
38Generates fulla command-line parameters for correction of transverse chromatic
39aberration (TCA) from sample photos. Ideal sample photos would have a lot of
40contrast over the entire image area, little saturated colour and no blown
41highlights.
42
43=head1 OPTIONS
44
45=over
46
47=item B<-h>
48
49Display help
50
51=item B<-l>
52
53input file is PTO file instead of image
54
55=item B<-m> I<method>
56
57optimization method (0 normal, 1 newfit)
58
59=item B<-o> I<optvars>
60
61string of variables to optimize ("abcvde")
62
63=item B<-r>
64
65Reset values (this will zero a,b,c,d,e params and set v to 10) makes sense only
66with -l option
67
68=item B<-s> I<<scale>>
69
70Scale for corner detection
71
72=item B<-n> I<<number>>
73
74number of points per grid cell (default: 10)
75
76=item B<-g> I<<number>>
77
78divide image in <number>x<number> grid cells (default: 10)
79
80=item B<-t> I<num>
81
82Remove all control points with an error higher than num pixels (default: 1.5)
83
84=item B<-v>
85
86Verbose
87
88=item B<--save-into-database>
89
90Saves the tca data into Hugin lens database
91
92=item B<-w> I<filename>
93
94write PTO file
95
96=item B<-R> I<<r>>
97
98Use this file as red channel
99
100=item B<-G> I<<g>>
101
102Use this file as green channel
103
104=item B<-B> I<<b>>
105
106Use this file as blue channel
107
108=back
109
110=head1 AUTHORS
111
112Written by Pablo d'Angelo and others.
113