File: align_image_stack.pod

package info (click to toggle)
hugin 2016.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 32,072 kB
  • ctags: 11,979
  • sloc: cpp: 116,753; ansic: 6,335; python: 1,517; perl: 577; sh: 168; xml: 102; makefile: 64
file content (159 lines) | stat: -rwxr-xr-x 3,344 bytes parent folder | download | duplicates (3)
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
=for
Copyright 2008 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
Licensed under the same terms as the hugin package itself.
=end


=head1 NAME

align_image_stack - Align overlapping images for HDR or focus stack creation

=head1 SYNOPSIS

B<align_image_stack> [options] I<input files>


=head1 DESCRIPTION

align_image_stack is used for the alignment of slightly misaligned images or for the
registration of a stereo images pair.  When several differently exposed images are
taken in the process of creating a High Dynamic Range image, the images are not
perfectly aligned, and the quality of the HDR image created will suffer from this.
align_image_stack uses the tools available to hugin to optimize the roll, pitch and
yaw, as well as some parameters of the lens geometry, to align the images.


=head1 OPTIONS

Modes of operation:

=over

=item B<-p> I<file>

Output .pto file (useful for debugging, or further refinement)

=item B<-a> I<prefix>

Output aligned images as prefix_xxxx.tif

=item B<-o> I<output>

Align images and merge them to HDR, generate output.hdr

=back


Modifiers:

=over

=item B<-v>

Verbose, print progress messages. Repeat for higher verbosity

=item B<-e>

Assume input images are full frame fish eye (default: rectilinear)

=item B<-t> I<num>

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


=item B<--corr=num>

Correlation threshold for identifying control points (default: 0.9)

=item B<-f> I<HFOV>

Approximate horizontal field of view of input images, use if EXIF info
not complete

=item B<-m>

Optimize field of view for all images, except for first. Useful for
aligning focus stacks with slightly different magnification.

=item B<-d>

Optimize radial distortion for all images, except for first.

=item B<-i>

Optimize image center shift for all images, except for first.

=item B<-x>

Optimize X coordinate of camera position

=item B<-y>

Optimize Y coordinate of camera position

=item B<-z>

Optimize Z coordinate of camera position

=item B<-S>

Assume stereo images - allow horizontal shift of control points.

=item B<-A>

Align stereo window - assumes -S

=item B<-P>

Align stereo window with pop-out effect - assumes -S

=item B<-C>

Auto crop the image to the area covered by all images

=item B<-c> I<num>

Number of control points (per grid) to create between adjacent images
(default: 8)

=item B<-l>

Assume linear input files

=item B<-s> I<scale>

Scale down image by 2^scale (default: 1 [2x down-sampling])

=item B<-g> I<gsize>

Break image into a rectangular grid (gsize x gsize) and attempt to
find num control points in each section (default: 5 [5x5 grid])

=item B<--distortion>

Try to load distortion information from lens database

=item B<--use-given-order>

Use the image order as given on the command line.
(By default images will be sorted by exposure values.)

=item B<--gpu> 

Use GPU for remapping

=item B<-h>

Display help summary.

=back


=head1 AUTHORS

Written by Pablo d'Angelo. Also contains contributions from Douglas Wilkins, Ippei Ukai, Ed Halley, Bruno Postle, Gerry Patterson and Brent Townshend.  Stereo functionality added by Vladimir Nadvornik.

This man page was written by Cyril Brulebois
<cyril.brulebois@enst-bretagne.fr>, updated by Terry Duell, and is licensed under the same
terms as the hugin package itself.