File: tca_correct.pod

package info (click to toggle)
hugin 2010.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 32,096 kB
  • ctags: 17,086
  • sloc: cpp: 85,561; ansic: 6,331; perl: 498; sh: 270; makefile: 117; java: 29; python: 10; xml: 9
file content (109 lines) | stat: -rw-r--r-- 1,796 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
=head1 NAME

tca_correct - Calculate transverse chromatic aberration


=head1 SYNOPSIS

B<tca_correct> [options] I<inputfile>

<inputfile> is the base name of 4 image files:

=over

=item <inputfile>

Colour file to compute TCA parameters

=item red_<inputfile>

Red channel of <inputfile>

=item green_<inputfile>

Green channel of <inputfile>

=item blue_<inputfile>

Blue channel of <inputfile>

=back

The channel images must be colour images with 3 identical channels.  If any of
-R, -G, or -B is given, this file name is used instead of the derived name.

Output: commandline arguments for fulla

=head1 DESCRIPTION

Generates fulla command-line parameters for correction of transverse chromatic
aberration (TCA) from sample photos. Ideal sample photos would have a lot of
contrast over the entire image area, little saturated colour and no blown
highlights.

=head1 OPTIONS

=over

=item B<-h>

Display help

=item B<-l>

input file is PTO file instead of image

=item B<-m> I<method>

optimization method (0 normal, 1 newfit)

=item B<-o> I<optvars>

string of variables to optimize ("abcvde")

=item B<-r>

Reset values (this will zero a,b,c,d,e params and set v to 10) makes sense only
with -l option

=item B<-s> I<<scale>>

Scale for corner detection

=item B<-n> I<<number>>

number of points per grid cell (default: 10)

=item B<-g> I<<number>>

divide image in <number>x<number> grid cells (default: 10)

=item B<-t> I<num>

Remove all control points with an error higher than num pixels (default: 1.5)

=item B<-v>

Verbose

=item B<-w> I<filename>

write PTO file

=item B<-R> I<<r>>

Use this file as red channel

=item B<-G> I<<g>>

Use this file as green channel

=item B<-B> I<<b>>

Use this file as blue channel

=back

=head1 AUTHORS

Written by Pablo d'Angelo and others.