forked from ndevenish/Hugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
200 lines (130 loc) · 6.7 KB
/
README
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
1. GOAL
Toolchain to create panoramic images for every occasion,
from quick holiday snaps to images with hundreds of megapixels.
2. CONTENT
This package contains the following programs:
- hugin, the main program, a GUI for the panorama tools suite
and some programs included here.
- nona, a simple stitcher that does geometrical and photometric
distortions to photos and writes the output to image files.
It is a replacement for PTStitcher (doesn't support most
features of PTStitcher, but is faster, opensource and
will be extended in the future). The parameters, mostly
backward-compatible to PTStitcher, are specified in a .pto
project such as those generated by hugin, i.e. nona doesn't
decide what the distortions are going to be, it just does
what it is told to do.
- fulla correction of barrel distortion, chromatic aberration
and vignetting.
- autooptimiser, optimise a panorama pairwise, starting from an
anchor image. cmd line version of the pairwise mode in hugin
- align_image_stack a tool to automate the process to align
a stack of photos.
- tca_correct a tool to automatically generate chromatic
aberration correction parameters for use with fulla.
- hugin_executor for command-line stitching or running assistant.
- pto_gen command line tool to generate project file from images.
- cpfind command line tool to find control points.
- linefind command line tool to find vertical features for leveling.
- geocpset command line tool to connect featureless images by
"geometric" control points.
- icpfind command line tool for using heuristic control point
matching like inside Hugin GUI
- cpclean command line tool to remove control points with improbable
error distances
- checkpto command line tool to examine project file and reports back
the number of image chains present
- pto_var command line tool to manipulate image variables
- pto_lensstack command line tool to manipulate lens and stacks
- pto_mask command line tool to add mask to project file
- pto_template command line tool to apply template to project file
- calibrate_lens_gui automatic lens calibration using straight-line
detection
- vig_optimize command line tool to estimate photometric parameters.
- hugin_hdrmerge merges multiple exposures to HDR using Khan
anti-ghosting algorithm
- hugin_stitch_project a GUI tool to stitch a single Hugin .pto project.
- celeste_standalone removes cloud-like control points from project files.
- PTBatcherGUI a GUI queue manager for stitching multiple Hugin projects.
- deghosting_mask Creates mask for removing ghosting in bracketed images
- pano_modify Change output parameters of project file
- pano_trafo Transform image coordinates
- pto_merge Merges two or more Hugin project files
- pto_move Moves Hugin project files with associated images
- lensdb Maintenance tool for Hugins camera and lens database
- verdandi Merges images using watershed algorithm
These programs are built on top of the pano13 library,
http://panotools.sourceforge.net/
3. DEPENDENCIES
Hugin is work in progress and dependencies can be added any time.
Hugin depends on the following packages. The list may be
incomplete, and there may be some platform-specific dependencies.
For the latest updates, check
http://wiki.panotools.org/Development_of_Open_Source_tools#Dependencies
3.1. Build-Time Dependencies
Users compiling Hugin from source will need:
A C++compiler which supports OpenMP and C++11.
* OpenMP support is not required. But when compiling
without OpenMP nona and cpfind (and some other
algorithm) are running only with one thread,
which is slower.
The wxWidgets GUI toolkit version >=2.7.0. 2.9/3.0 is supported.
C++17 TS <filesystem> or boost::filesystem (boost >=1.47)
libtiff the TIFF library with LZW support.
libpano13 version >=2.9.19
libjpg the JPEG library
libpng the PNG library
libopenexr the OpenEXR library
libvigra the VIGRA libray, header files and impex library (>=1.9)
Exiv2 Image metadata library
GLEW the OpenGL Extension Wrangler Library
gettext
sqlite3, the SQL database backend for the lens database
littlecms2, little cms color engine
optionally, lapack
optionally, libfftw3
on Unix you need also
libGLU the OpenGL utility library
libxi
libxmu
on Windows you need
HTML Help Workshop for generating compiled HTML help file
on Mac OS you need
freeglut or glut, the OpenGL utility toolkit
for the optional Python Scripting Interface (currently functional and tested only on Linux and Windows)
Python version >=2.6
SWIG >=2.0 - If Python >=3.2, SWIG must be >=2.0.4
Hugin can be compiled with gcc, as well as with MSVC.
The build process requires CMake version >=3.1
3.2. At runtime
enblend >= 3.2 is required.
Exiftool, version >=9.09 is required to support GPano tags. Otherwise they are ignored.
Starting with Hugin 2010.3 and newer, Hugin ships with its own control points generator cpfind. Prior to 2010.3 another optional but recommended runtime dependency was a control points generator.
Optionally Python argparse command-line parsing library for the Python scripts.
4. USE
hugin can be used to stitch multiple images together. The resulting image can
span 360 degrees. Another common use is the creation of very high resolution
pictures by combining multiple images.
See http://hugin.sourceforge.net/ for more information and tutorials.
See http://wiki.panotools.org/Development_of_Open_Source_tools#Supported_Platforms
for some information on releases for different platforms.
5. TYPICAL WORKFLOW
1. load images
2. specify initial parameters (lens etc)
3. select control points points.
4. run optimizer to estimate image positions
5. set output parameters and stitch images together.
6. KNOWN ISSUES / INCOMPATIBILITIES / LIMITATIONS
Check the Hugin FAQ and bug tracker
http://wiki.panotools.org/Hugin_FAQ#Known_Limitations
An updated list of issues deemed to be critical,
including discussions and workarounds, is in the issue tracker
https://bugs.launchpad.net/hugin/+bugs?search=Search&field.importance=Critical
Linux: Compiz interferes with the fast preview window.
If you're affected, the workaround is to not use Compiz.
Some components of Hugin have been reported not to deal well with image files
that have the same name in different folders. The workaround is to rename
your images files so that all image files in a project are unique.
7. SUPPORT / COMMUNITY
Please use the hugin-ptx mailing list if you have questions or suggestions:
http://groups.google.com/group/hugin-ptx