Add Hugin binaries
This commit is contained in:
12
App/Hugin/doc/panotools/AUTHORS
Normal file
12
App/Hugin/doc/panotools/AUTHORS
Normal file
@@ -0,0 +1,12 @@
|
||||
Helmut Dersch, <der@fh-furtwangen.de>
|
||||
|
||||
Daniel M. German- http://turingmachine.org/
|
||||
Kevin Kratzke - http://www.kekus.com/
|
||||
Rik Littlefield - http://www.janrik.net/ptools/
|
||||
Fulvio Senore - http://www.fsoft.it/panorama/pano12.htm
|
||||
Jim Watters - http://photocreations.ca/panotools/
|
||||
Thomas Rauscher - http://www.pano2qtvr.com/dll_patch/
|
||||
Pablo d'Angelo - http://hugin.sf.net
|
||||
Bret McKee -
|
||||
Robert Platt -
|
||||
Florian Königstein -
|
||||
339
App/Hugin/doc/panotools/COPYING
Normal file
339
App/Hugin/doc/panotools/COPYING
Normal file
@@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
279
App/Hugin/doc/panotools/Optimize.txt
Normal file
279
App/Hugin/doc/panotools/Optimize.txt
Normal file
@@ -0,0 +1,279 @@
|
||||
############# Example Script ##########################
|
||||
# to run PTOptimizer
|
||||
#
|
||||
#
|
||||
# Only lines starting with 'p', 'v', 'i', or 'm' are read.
|
||||
# So you can add comments and info as you like by using
|
||||
# other line starting characters.
|
||||
# Do not start a line with !, it is used by adjust plugin and scripts.
|
||||
# the * character indicated the end of the script file.
|
||||
|
||||
# The script must contain:
|
||||
# one 'p'- line describing the output image (eg Panorama)
|
||||
# one 'i'-line for each input image
|
||||
# one or several 'v'- lines listing the variables to be optimized.
|
||||
# the 'm'-line is optional and allows you to specify modes for the optimization.
|
||||
# one 'c'-line for each pair of control points
|
||||
|
||||
|
||||
# 'p'-line options
|
||||
# w1000 width in pixels
|
||||
# h600 height in pixels (default: width/2)
|
||||
# f0 projection format,
|
||||
# 0 - Rectilinear (for printing and viewing)
|
||||
# 1 - Cylindrical (for Printing and QTVR)
|
||||
# 2 - Equirectangular ( for Spherical panos), default
|
||||
# 3 - Fisheye Equidistance full-frame
|
||||
# 4 - Fisheye Stereographic full-frame
|
||||
# 5 - Mercator
|
||||
# 6 - Transverse Mercator
|
||||
# 7 - Sinusoidal
|
||||
# 8 - Lambert Equal Area Cylindrical
|
||||
# 9 - Lambert Azimuthal
|
||||
# 10 - Albers Equal Area Conical
|
||||
# 11 - Miller Cylindrical
|
||||
# 12 - Panini (for wide angle printing and viewing)
|
||||
# 13 - Architectural (combines Miller Cylindrical and Lambert Azimuthal)
|
||||
# 14 - Fisheye Orthographic full-frame
|
||||
# 15 - Fisheye Equisolid full-frame
|
||||
#
|
||||
# P"p1 p2 ..." Optional parameters for some projections
|
||||
#
|
||||
# for f10 - 0, 1 or 2 parameters corresponding to the
|
||||
# standard parallels. If no parms specified
|
||||
# defaults to <20,60>. If one given P1 == P2
|
||||
#
|
||||
# v360 horizontal field of view of panorama (default 360)
|
||||
# nPICT Panorama file format, one of:
|
||||
# PICT pict-file on macs, bmp-file on win (default)
|
||||
# PSD single layer Photoshop file, 48bits supported
|
||||
# PNG png-format, 48bits supported
|
||||
# TIFF tiff-format, 48bits supported
|
||||
# PSD_mask Photoshop file, one image per layer
|
||||
# + shape mask & feathered clip mask at overlap center
|
||||
# PSD_nomask Photoshop file, one image per layer,
|
||||
# TIFF_mask tiff-format, multi-file, one image per file, 48bit supported
|
||||
# alpha layer with feathered clip mask at overlap center
|
||||
# TIFF_m tiff-format, multi-file, one image per file, 48bit supported
|
||||
# alpha layer with non-feathered clip mask at image border
|
||||
# + shape mask & non-feathered clip mask at image border
|
||||
# JPEG Panoramic image in jpeg-format. Use with f1
|
||||
# for IBM Hotmedia panoramas.
|
||||
# PAN SmoothMove movie. Use only with f2.
|
||||
# IVR LivePicture IVR movie
|
||||
# cylindrical (format f1) or spherical (format f2)
|
||||
# IVR_java LivePicture Java Panorama,
|
||||
# cylindrical (format f1) or spherical (format f2)
|
||||
# VRML VRML background node, use only with f2 for panoramas, or
|
||||
# VRML-object for PTStereo
|
||||
# QTVR Apple QTVR-panomovie. Use only with f1
|
||||
# 3DMF 3DMF-object (PTStereo).
|
||||
#
|
||||
# n"QTVR w400 h300 c1" additional viewer options in a quoted string together with format
|
||||
# the following options are recognized:
|
||||
# w(width) and h(height) of viewer window (only QTVR on Macs)
|
||||
# c(codec: 0-JPEG, 1-Cinepak, 2-Sorenson) (only QTVR on Macs)
|
||||
# q(codec quality):
|
||||
# 0-high,1-normal,2-low QTVR on Macs
|
||||
# 0-100(highest) on other jpeg-formats (PAN, IVR, IVR_java, VRML)
|
||||
# g progressive jpeg (0-no, 1-yes) (PAN, IVR, IVR_java, VRML)
|
||||
# Optimized JPEG (0-on(default), 2-disabled), (3-progressive with optimized disabled)
|
||||
# p initial pan angle ( QTVR on Macs, VRML, IVR)
|
||||
# v field of view (QTVR, VRML, IVR)
|
||||
#
|
||||
# n"TIFF_m c:LZW r:CROP" additional viewer options in a quoted string together with format
|
||||
# the following options are recognized for TIFF_m:
|
||||
# c:LZW enable LZW compression
|
||||
# r:CROP enable cropping to ROI (default)
|
||||
# r:UNCROP disable cropping to ROI
|
||||
#
|
||||
# Many more options can be set by editing the viewer scripts
|
||||
#
|
||||
# -buf suppress buffer commands in the stitcher script generated by PTOptimizer.
|
||||
# (buffer commands are now obsolete, -buf and +buf on i lines are now
|
||||
# ignored when stitching) This option should be set if you wish
|
||||
# to edit the final panoramic image, eg for the two PSD formats.
|
||||
# a0.0 b1.0 c0.04 Options to create multiple images in PTInterpolate and PTMorpher.
|
||||
# a denotes starting value,
|
||||
# b end value
|
||||
# c increment. 0 is left, 1 is right image.
|
||||
# The above command interpolates/morphs two images and
|
||||
# creates 25 intermediate frames.
|
||||
# u10 width of feather for stitching all images. default:10
|
||||
# k1 attempt color & brightness correction using image number as anchor
|
||||
# b1 attempt brightness correction with no color change using image number as anchor
|
||||
# d1 attempt color correction with no brightness change using image number as anchor
|
||||
# Do not use more than one of k, d, b.This is new method of correcting
|
||||
|
||||
|
||||
p w800 nPSD_mask -buf
|
||||
|
||||
|
||||
# The 'i' lines describe input images. One line per image is required
|
||||
# unneeded paramiters for optimizing but needed for stitching can be
|
||||
# set here and the optimizer will automaticaly add them to the o lines
|
||||
# ----------------
|
||||
# f0 projection format,
|
||||
# 0 - Rectilinear (normal lenses)
|
||||
# 1 - Panoramic (Scanning cameras like Noblex)
|
||||
# 2 - Fisheye Equidistance Circular
|
||||
# 3 - Fisheye Equidistance full-frame
|
||||
# 4 - Equirectangular (Spherical panos)
|
||||
# 7 - Mirror
|
||||
# 8 - Fisheye Orthographic (This is only allowed in PTStereo and
|
||||
# for the first image. This indicates a map or ground plan)
|
||||
# 10 - Fisheye Stereographic
|
||||
# 19 - Fisheye Equisolid
|
||||
# w600 width in pixels
|
||||
# h1000 height in pixels
|
||||
# v82 horizontal field of view of image (required, but ignored for f8)
|
||||
# y0 initial yaw angle (required)
|
||||
# p43 initial pitch angle (required)
|
||||
# r0 initial roll angle (required)
|
||||
# a,b,c initial lens correction coefficients (defaults a0 b0 c0, optional)
|
||||
# (see http://www.fh-furtwangen.de/~dersch/barrel/barrel.html)
|
||||
# d,e initial lens offset in pixels(defaults d0 e0, optional).
|
||||
# Used to correct for offset from center of image
|
||||
# d - horizontal offset,
|
||||
# e - vertical offset
|
||||
# g,t initial lens shear. Use to remove slight misalignment
|
||||
# of the line scanner relative to the film transport
|
||||
# g - horizontal shear
|
||||
# t - vertical shear
|
||||
# TiX,TiY,TiZ,TiS initial tilt. Use to correct for off NPP nadir images
|
||||
# TiX the x offset of the camera (default TiX0)
|
||||
# TiY the y offset of the camera (default TiY0)
|
||||
# TiZ the z offset of the camera (default TiZ0)
|
||||
# TiS the scale offset of the camera (default TiS1, valid for values > 0)
|
||||
# TrX,TrY,TrZ initial mosaic mode translation offsets, alternative to Ti
|
||||
# parameters
|
||||
# Te0,Te1,Te2,Te3 Test parameters
|
||||
# S100,600,100,800 Selection(l,r,t,b), Only pixels inside the rectangle will be used for conversion.
|
||||
# Original image size is used for all image parameters
|
||||
# (e.g. field-of-view) refer to the original image.
|
||||
# C100,600,100,800 Crop(l,r,t,b), Only pixels inside the rectangle will be used for conversion.
|
||||
# Cropped image size is used for all image parameters
|
||||
# (e.g. field-of-view) refer to the cropped part of the image.
|
||||
# m20 (obsolete, use S & C) ignore a frame 20 pixels wide. default: 0
|
||||
# mx100 (obsolete, use S & C) crop to brightest rectangle with size 100x200;
|
||||
# my200 (obsolete, use S & C) used only for circular fisheye images (f2)
|
||||
# s0 (obsolete, ignored, always blend) specify placement of seam between buffer and image:
|
||||
# 0-middle of overlap('blend' ,default)
|
||||
# 1- at edge of image ('paste').
|
||||
# o (the small letter). Morph-to-fit using control points.
|
||||
# X10 World coordinates of camera position, only used for PTStereo
|
||||
# Y200 If the camera is aligned (yaw = pitch = roll = 0.0),
|
||||
# Z-13.5 X is coordinate to the right, Y vertically up and
|
||||
# -Z is forward viewing direction.
|
||||
# nName Name of image (ignored by PTOptimizer used in PTStitcher)
|
||||
#
|
||||
# Parameters in different images can be linked using '='
|
||||
# followed by the image number starting with 0.
|
||||
# Example 'v=0' sets horizontal field of view as in
|
||||
# image number 0. This feature works for the variables
|
||||
# v, a, b, c, (r, p, y with caution) d, e, g, and t
|
||||
|
||||
|
||||
i f2 r0 p0 y0 v183 a0 b-0.1 c0 mx400 my400
|
||||
i f2 r-0.5 p1 y182 v=0 a0 b-0.1 c0 mx400 my400
|
||||
|
||||
|
||||
# 'v'-line options:
|
||||
# -----------------
|
||||
# Please note: the 'v'-line must come after the the 'i'-lines.
|
||||
# Optimization variables are listed together with the image number
|
||||
# starting at 0. There can be several v-lines.
|
||||
#
|
||||
# y0 Optimize yaw in image 0
|
||||
# p1 Optimize pitch in image 1
|
||||
# r2 Optimize roll in image 2
|
||||
# v0 Optimize field of view in image 0
|
||||
# a2 Optimize lens correction parameter 'a' in image 2
|
||||
# b and c can be equally optimized.
|
||||
# X1 Optimize x-coordinate of image 1, only for PTStereo
|
||||
# Y2 Optimize y-coordinate of image 2, only for PTStereo
|
||||
# Z6 Optimize z-coordinate of image 6, only for PTStereo
|
||||
#
|
||||
# If a image has a parameter linked to another image only
|
||||
# need to optimize the master.
|
||||
|
||||
v v0 r0 p0 r1 p1 y1
|
||||
|
||||
#
|
||||
# 'm'-line options
|
||||
# ----------------
|
||||
# Set mode for stitcher, not required
|
||||
#
|
||||
# g2.5 Set gamma value for internal computations (default 1.0)
|
||||
# See <http://www.fh-furtwangen.de/~dersch/gamma/gamma.html>
|
||||
# i2 Set interpolator, See <http://www.fh-furtwangen.de/~dersch/interpolator/interpolator.html>
|
||||
# one of:
|
||||
# 0 - poly3 (default)
|
||||
# 1 - spline16,
|
||||
# 2 - spline36,
|
||||
# 3 - sinc256,
|
||||
# 4 - spline64,
|
||||
# 5 - bilinear,
|
||||
# 6 - nearest neighbor,
|
||||
# 7 - sinc1024
|
||||
# \/ antialiasing filters \/ See <http://www.pano2qtvr.com/dll_patch/>
|
||||
# 8 - Box
|
||||
# 9 - Bartlett/Triangle
|
||||
# 10 - Hermite
|
||||
# 11 - Hanning
|
||||
# 12 - Hamming
|
||||
# 13 - Blackmann
|
||||
# 14 - Gaussian 1/sqrt(2)
|
||||
# 15 - Gaussian 1/2
|
||||
# 16 - Quadardic
|
||||
# 17 - Cubic
|
||||
# 18 - Catmull-Rom
|
||||
# 19 - Mitchell
|
||||
# 20 - Lanczos2
|
||||
# 21 - Lanczos3
|
||||
# 22 - Blackman/Bessel
|
||||
# 23 - Blackman/sinc
|
||||
#
|
||||
# p0 Create panorama after optimizing control points
|
||||
# 0 no(default), 1 yes
|
||||
#
|
||||
# m0 use Huber m-estimator during second optimisation pass.
|
||||
# This will reduce the weight of control points with higher errors
|
||||
# It might help a little if a pano contains a few inaccurate or
|
||||
# completely wrong control points.
|
||||
# 0: no m-estimator (as in previous versions)
|
||||
# Any other number is the sigma parameter of the huber m-estimator.
|
||||
# Control points with errors higher than sigma will have less
|
||||
# influence during the optimisation.
|
||||
# A good value for sigma might be 2.
|
||||
#
|
||||
|
||||
m g1.5 i6
|
||||
|
||||
|
||||
#
|
||||
# 'c' lines
|
||||
# ----------------
|
||||
# Control point lines
|
||||
# One line per point pair
|
||||
# about one pair of points per image per variable being optimized.
|
||||
# The more variables being optimized the more control points needed.
|
||||
#
|
||||
# n0 first image
|
||||
# N1 second image
|
||||
# x1066.5 first image x point position
|
||||
# y844.333 first image y point position
|
||||
# X239.52 second image x point position
|
||||
# Y804.64 second image y point position
|
||||
# t0 type of control point (optional)
|
||||
# 0 - normal (default)
|
||||
# 1 - optimize horizontally only
|
||||
# 2 - optimize vertically only
|
||||
# 3+ (all other numbers) - straight line
|
||||
|
||||
|
||||
|
||||
|
||||
*
|
||||
Every thing after * is ignored.
|
||||
|
||||
100
App/Hugin/doc/panotools/PTblender.readme
Normal file
100
App/Hugin/doc/panotools/PTblender.readme
Normal file
@@ -0,0 +1,100 @@
|
||||
|
||||
RGB mode:
|
||||
--------
|
||||
k type correction (color): I fixed minor rounding errors that should
|
||||
reduce the error. The change might not be very noticeable in most
|
||||
cases.
|
||||
|
||||
HSV mode:
|
||||
--------
|
||||
|
||||
b type correction (brightness): Fully supported and seems to work
|
||||
well and better thar k type.
|
||||
|
||||
d type correction (saturation): In PTstitcher d is used for Hue and
|
||||
Saturation but I have decided to use it only for Saturation. The
|
||||
reason is that in highly saturated areas (such as polarized photos)
|
||||
this shifts completely the colours (from blue to green, in my
|
||||
tests). Saturation seems to work well instead.
|
||||
|
||||
Other types of correction (H and S, H only might be added to PTblender
|
||||
when I find out how to add new keywords to the parser).
|
||||
|
||||
USING Colour Correction
|
||||
----------------------------------------------------------------------
|
||||
|
||||
I think it is important to understand the way colour is corrected in
|
||||
PTmender (and PTblender) and how it is different from enblend
|
||||
(PTblender can be used as a "replacement" for enblend to fix colour
|
||||
differences). Let us assume 2 images:
|
||||
|
||||
* Enblend (as its name implies) smooths transitions between the
|
||||
2 images, and leaves the rest of the image unaltered (this might
|
||||
result in strong banding).
|
||||
|
||||
* PTblender, on the other hand changes the entire second image so that
|
||||
the histograms of the areas of overlap of both images are as close
|
||||
as possible to each other
|
||||
|
||||
PTblender fails miserably in the following three situations:
|
||||
|
||||
1. When the areas of overlap are very different in content. Because it
|
||||
assumes the histograms should be as close to each other as possible
|
||||
you really need images that overlap well (and have few or no
|
||||
ghosts).
|
||||
|
||||
2. When the lens has strong vignetting. Same reason. Usually images
|
||||
overlap in the area of vignetting. Please use software to correct
|
||||
vignetting before using PTblender. In fact, experiment with and
|
||||
without it to notice the (big) difference.
|
||||
|
||||
3. When the chain of correction is large. In PTblender you select an
|
||||
"anchor" image, that is, the one that is not to be corrected. We
|
||||
will call this the corrected area.
|
||||
|
||||
The algorithm finds the to-be-correted image with the largest
|
||||
overlap to the corrected area. It then corrects it and adds it to
|
||||
the area of overlap. This happens recursively until no more images
|
||||
are corrected.
|
||||
|
||||
The farther "away" an image (in terms of the chain-of-correction)
|
||||
is from the anchor, the bigger the potential for error.
|
||||
|
||||
As Helmut once explained, if you have a "cap" image (a zenith), it
|
||||
can help to reduce the length of the largest chain-of-correction.
|
||||
|
||||
|
||||
So, when is PTblender useful. These are some examples:
|
||||
|
||||
* Panoramas with few images
|
||||
|
||||
* Images with very strong changes in brightness (automatic exposure,
|
||||
for example)
|
||||
|
||||
* Panoramas to be displayed flat (no need to blend around the edges)
|
||||
|
||||
|
||||
My recommendations on how to use PTblender:
|
||||
|
||||
* FIX vignetting before you map the images (use fulla for it, or
|
||||
photoshop)
|
||||
|
||||
* Experiment with the 3 outputs (RGB, saturation, intensity).
|
||||
|
||||
* Choose an anchor in such a way that it minimizes the
|
||||
chain-of-correction. ( experiment with different anchors)
|
||||
|
||||
* Experiment with using the 3 types of outputs plus uncorrected as 4
|
||||
different layers in photoshop and mask/unmask areas as you see
|
||||
fit. This might prove to be very useful (similar to enblend).
|
||||
|
||||
|
||||
Another option is to use enblend and PTblender in the same pano, each
|
||||
dealing with different types of corrections. I have not tried this
|
||||
myself. PTblender accept TIFFs with alpha channel and can output TIFFs
|
||||
or PSDs.
|
||||
|
||||
There is lots of room for improvement in colour correction, but at the
|
||||
very least we (panotools) are now where Helmut left it (approx 5 year
|
||||
ago).
|
||||
|
||||
43
App/Hugin/doc/panotools/PTmender.readme
Normal file
43
App/Hugin/doc/panotools/PTmender.readme
Normal file
@@ -0,0 +1,43 @@
|
||||
PTmender
|
||||
--------
|
||||
|
||||
This is a program that implements the mapping of panoramas similar to
|
||||
PTStitcher
|
||||
|
||||
----------------------------------------------------------------------
|
||||
WHAT IS NOT GOING TO BE SUPPORTED
|
||||
|
||||
|
||||
* PTremap only preforms the remapping of the input images and creates
|
||||
a set of cropped TIFFs, one for each input image.
|
||||
|
||||
* It does NOT create any other type of output and it does not flatten the output.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
COMMAND LINE OPTIONS
|
||||
|
||||
PTremap [options] <script filename>
|
||||
|
||||
Options:
|
||||
-o <prefix> Prefix for output filename, defaults to pano
|
||||
-q Quiet run
|
||||
-h Show this mes
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
If you select circular fisheye a mask is created around a circle:
|
||||
|
||||
* The image is always assumed to be in portrait mode.
|
||||
|
||||
* if no crop region is specified then the circle is assumed to be
|
||||
bounded by the horizontal axis. A mask is created with a circle of
|
||||
horizontal_width/2 radious, centered in the middle of the image
|
||||
|
||||
* If a crop region is specified then a mask is created such that the
|
||||
circle is enclosed (in the horizontal axis) by the crop region.
|
||||
41
App/Hugin/doc/panotools/README
Normal file
41
App/Hugin/doc/panotools/README
Normal file
@@ -0,0 +1,41 @@
|
||||
|
||||
This is the pano13 library, part of the Panorama Tools by Helmut
|
||||
Dersch of the University of Applied Sciences Furtwangen.
|
||||
|
||||
http://panotools.sourceforge.net/
|
||||
|
||||
Also included with the library are:
|
||||
|
||||
- PToptimizer a command-line tool for optimizing control points.
|
||||
- PTmender a command-line tool for reprojecting images.
|
||||
|
||||
Usage
|
||||
----
|
||||
|
||||
The typical workflow would be:
|
||||
|
||||
- PTmender maps the pano files, outputs cropped TIFFS
|
||||
- PTblender* fixes colour shifts in TIFFs, outputs cropped TIFFS (8 bit only)
|
||||
- PTmasker* creates stitching masks in TIFFs, outputs cropped TIFFS
|
||||
- PTroller creates a single TIFF from set of TIFFs
|
||||
- PTcrop recropps a TIFF to a tight bounding box, creates a cropped TIFF
|
||||
|
||||
* Optional step.
|
||||
|
||||
Other tools:
|
||||
|
||||
- PTtiff2psd Combines a set of tiffs into one PSD file with multiple
|
||||
layers (including stacking feature) and the ability to
|
||||
specify blending mode (8 bit only)
|
||||
|
||||
- PTuncrop Uncrops a cropped TIFF.
|
||||
|
||||
- panoinfo a command-line tool for querying the library version.
|
||||
|
||||
- PTAInterpolate Interpolate intermediate images between stereo photos
|
||||
|
||||
- PTinfo Display information about a panotools-generated image
|
||||
|
||||
- PTtiffdump Compare two TIFF images
|
||||
|
||||
- panoinfo List details about the libpano13 library
|
||||
261
App/Hugin/doc/panotools/stitch.txt
Normal file
261
App/Hugin/doc/panotools/stitch.txt
Normal file
@@ -0,0 +1,261 @@
|
||||
############# Example Script ##########################
|
||||
# to run PTStitcher
|
||||
#
|
||||
#
|
||||
# Only lines starting with 'p', 'v','o', i', or 'm' are read,
|
||||
# so you can add comments and info as you like by using
|
||||
# other line starting characters.
|
||||
# The * character at the first of a line indicated the end of the script file.
|
||||
|
||||
# The stitcher script must contain:
|
||||
# one 'p'- line describing the output image (eg Panorama)
|
||||
# one 'o'-line for each input image
|
||||
# one 'i' line for each input image that is optional
|
||||
# the 'm'-line is optional and allows you to specify modes for the optimization.
|
||||
# the 'C'-line is optional and allows morphing of control points.
|
||||
|
||||
# if a v line is present it is read and verified that the parameters match images but is not used.
|
||||
|
||||
# 'p'-line options
|
||||
# w1000 width in pixels
|
||||
# h600 height in pixels (default: width/2)
|
||||
# f0 projection format,
|
||||
# 0 - Rectilinear (for printing and viewing)
|
||||
# 1 - Cylindrical (for Printing and QTVR)
|
||||
# 2 - Equirectangular ( for Spherical panos), default
|
||||
# 3 - Fisheye Equidistance full-frame
|
||||
# 4 - Fisheye Stereographic full-frame
|
||||
# 5 - Mercator
|
||||
# 6 - Transverse Mercator
|
||||
# 7 - Sinusoidal
|
||||
# 8 - Lambert Equal Area Cylindrical
|
||||
# 9 - Lambert Azimuthal
|
||||
# 10 - Albers Equal Area Conical
|
||||
# 11 - Miller Cylindrical
|
||||
# 12 - Panini (for wide angle printing and viewing)
|
||||
# 13 - Architectural (combines Miller Cylindrical and Lambert Azimuthal)
|
||||
# 14 - Fisheye Orthographic full-frame
|
||||
# 15 - Fisheye Equisolid full-frame
|
||||
|
||||
#
|
||||
# P"p1 p2 ..." Optional parameters for some projections
|
||||
#
|
||||
# for f10 - 0, 1 or 2 parameters corresponding to the
|
||||
# standard parallels. If no parms specified
|
||||
# defaults to <20,60>. If one given P1 == P2
|
||||
#
|
||||
# v360 horizontal field of view of panorama (default 360)
|
||||
# nPICT Panorama file format, one of:
|
||||
# PICT pict-file on macs, bmp-file on win (default)
|
||||
# PSD single layer Photoshop file, 48bits supported
|
||||
# PNG png-format, 48bits supported
|
||||
# TIFF tiff-format, 48bits supported
|
||||
# PSD_mask Photoshop file, one image per layer
|
||||
# + shape mask & feathered clip mask at overlap center
|
||||
# PSD_nomask Photoshop file, one image per layer,
|
||||
# TIFF_mask tiff-format, multi-file, one image per file, 48bit supported
|
||||
# alpha layer with feathered clip mask at overlap center
|
||||
# TIFF_m tiff-format, multi-file, one image per file, 48bit supported
|
||||
# alpha layer with non-feathered clip mask at image border
|
||||
# + shape mask & non-feathered clip mask at image border
|
||||
# JPEG Panoramic image in jpeg-format. Use with f1
|
||||
# for IBM Hotmedia panoramas.
|
||||
# PAN SmoothMove movie. Use only with f2.
|
||||
# IVR LivePicture IVR movie
|
||||
# cylindrical (format f1) or spherical (format f2)
|
||||
# IVR_java LivePicture Java Panorama,
|
||||
# cylindrical (format f1) or spherical (format f2)
|
||||
# VRML VRML background node, use only with f2 for panoramas, or
|
||||
# VRML-object for PTStereo
|
||||
# QTVR Apple QTVR-panomovie. Use only with f1
|
||||
# 3DMF 3DMF-object (PTStereo).
|
||||
#
|
||||
# n"QTVR w400 h300 c1" additional viewer options in a quoted string together with format
|
||||
# the following options are recognized:
|
||||
# w(width) and h(height) of viewer window (only QTVR on Macs)
|
||||
# c(codec: 0-JPEG, 1-Cinepak, 2-Sorenson) (only QTVR on Macs)
|
||||
# q(codec quality):
|
||||
# 0-high,1-normal,2-low QTVR on Macs
|
||||
# 0-100(highest) on other jpeg-formats (PAN, IVR, IVR_java, VRML)
|
||||
# g progressive jpeg (0-no, 1-yes) (PAN, IVR, IVR_java, VRML)
|
||||
# Optimized JPEG (0-on(default), 2-disabled), (3-progressive with optimized disabled)
|
||||
# p initial pan angle ( QTVR on Macs, VRML, IVR)
|
||||
# v field of view (QTVR, VRML, IVR)
|
||||
#
|
||||
# n"TIFF_m c:LZW r:CROP" additional viewer options in a quoted string together with format
|
||||
# the following options are recognized for TIFF_m:
|
||||
# c:LZW enable LZW compression
|
||||
# r:CROP enable cropping to ROI (default)
|
||||
# r:UNCROP disable cropping to ROI
|
||||
#
|
||||
# Many more options can be set by editing the viewer scripts
|
||||
#
|
||||
# u10 width of feather for stitching all images. default:10
|
||||
# k1 attempt color & brightness correction using image number as anchor
|
||||
# b1 attempt brightness correction with no color change using image number as anchor
|
||||
# d1 attempt color correction with no brightness change using image number as anchor
|
||||
# Do not use more than one of k, d, b.This is new method of correcting
|
||||
|
||||
p w800 nPSD_mask
|
||||
|
||||
|
||||
# The 'i' lines describe input images and is optional
|
||||
# nName file name of the input image.
|
||||
# over ridable with command line parameters to PTStitcher
|
||||
|
||||
i n"photo1.jpg"
|
||||
|
||||
|
||||
# The 'o' lines describe input images. One line per image is required
|
||||
# The width and height of the image is obtained from image
|
||||
# f0 projection format,
|
||||
# 0 - Rectilinear (normal lenses)
|
||||
# 1 - Panoramic (Scanning cameras like Noblex)
|
||||
# 2 - Fisheye Equidistance Circular
|
||||
# 3 - Fisheye Equidistance full-frame
|
||||
# 4 - Equirectangular (Spherical panos)
|
||||
# 7 - Mirror
|
||||
# 8 - Fisheye Orthographic (This is only allowed in PTStereo and
|
||||
# for the first image. This indicates a map or ground plan)
|
||||
# 10 - Fisheye Stereographic
|
||||
# 20 - Thoby Projection (rho = THOBY_K1_PARM * sin(
|
||||
# theta * THOBY_K2_PARM), defaults to Nikkor 10.5
|
||||
# 21 - Fisheye Equisolid
|
||||
# v82 horizontal field of view of image (required)
|
||||
# y0 yaw angle (required)
|
||||
# p43 pitch angle (required)
|
||||
# r0 roll angle (required)
|
||||
# a,b,c lens correction coefficients (optional)
|
||||
# (see http://www.fh-furtwangen.de/~dersch/barrel/barrel.html)
|
||||
# d,e initial lens offset in pixels(defaults d0 e0, optional).
|
||||
# Used to correct for offset from center of image
|
||||
# d - horizontal offset,
|
||||
# e - vertical offset
|
||||
# g,t initial lens shear. Use to remove slight misalignment
|
||||
# of the line scanner relative to the film transport
|
||||
# g - horizontal shear
|
||||
# t - vertical shear
|
||||
# TiX,TiY,TiZ,TiS initial tilt. Use to correct for off NPP nadir images
|
||||
# TiX the x offset of the camera (default TiX0)
|
||||
# TiY the y offset of the camera (default TiY0)
|
||||
# TiZ the z offset of the camera (default TiZ0)
|
||||
# TiS the scale offset of the camera (default TiS1, valid for
|
||||
# values > 0)
|
||||
# TrX,TrY,TrZ initial mosaic mode translation offsets, alternative to Ti
|
||||
# parameters
|
||||
# Te0,Te1,Te2,Te3 Test parameters
|
||||
# +buf (obsolete, -buf and +buf are now ignored when stitching)
|
||||
# load and merge image with buffer
|
||||
# -buf (obsolete, -buf and +buf are now ignored when stitching)
|
||||
# save result to buffer. The first 'o' line should
|
||||
# contain one '-buf' command, the last line one '+buf'
|
||||
# command, and all other lines both '+buf -buf'
|
||||
# Exception: remove all 'buf' commands when
|
||||
# creating Photoshop-files to preserve the original images.
|
||||
# S100,600,100,800 Selection(l,r,t,b), Only pixels inside the rectangle will be used for conversion.
|
||||
# Original image size is used for all image parameters
|
||||
# (e.g. field-of-view) refer to the original image.
|
||||
# Selection can be outside image dimension.
|
||||
# C100,600,100,800 Crop(l,r,t,b), Only pixels inside the rectangle will be used for conversion.
|
||||
# Cropped image size is used for all image parameters
|
||||
# (e.g. field-of-view) refer to the cropped part of the image.
|
||||
# m20 (obsolete, use S & C) ignore a frame 20 pixels wide. default: 0
|
||||
# mx100 (obsolete, use S & C) crop to brightest rectangle with size 100x200;
|
||||
# my200 (obsolete, use S & C) used only for circular fisheye images (f2)
|
||||
# s0 (obsolete, ignored, always blend) specify placement of seam between buffer and image:
|
||||
# 0-middle of overlap('blend' ,default)
|
||||
# 1- at edge of image ('paste').
|
||||
# o (the small letter). Morph-to-fit using control points.
|
||||
|
||||
o f2 r0 p0 y0 v183 a0 b-0.1 c0 S100,600,100,800
|
||||
o f2 r0 p0 y180 v183 a0 b-0.1 c0 S100,600,100,800
|
||||
|
||||
|
||||
# 'm'-line options
|
||||
# ----------------
|
||||
# Set mode for stitcher, not required
|
||||
#
|
||||
# g2.5 Set gamma value for internal computations (default 1.0)
|
||||
# See <http://www.fh-furtwangen.de/~dersch/gamma/gamma.html>
|
||||
# i2 Set interpolator, See <http://www.fh-furtwangen.de/~dersch/interpolator/interpolator.html>
|
||||
# one of:
|
||||
# 0 - poly3 (default)
|
||||
# 1 - spline16,
|
||||
# 2 - spline36,
|
||||
# 3 - sinc256,
|
||||
# 4 - spline64,
|
||||
# 5 - bilinear,
|
||||
# 6 - nearest neighbor,
|
||||
# 7 - sinc1024
|
||||
# \/ antialiasing filters \/ See <http://www.pano2qtvr.com/dll_patch/>
|
||||
# 8 - Box
|
||||
# 9 - Bartlett/Triangle
|
||||
# 10 - Hermite
|
||||
# 11 - Hanning
|
||||
# 12 - Hamming
|
||||
# 13 - Blackmann
|
||||
# 14 - Gaussian 1/sqrt(2)
|
||||
# 15 - Gaussian 1/2
|
||||
# 16 - Quadardic
|
||||
# 17 - Cubic
|
||||
# 18 - Catmull-Rom
|
||||
# 19 - Mitchell
|
||||
# 20 - Lanczos2
|
||||
# 21 - Lanczos3
|
||||
# 22 - Blackman/Bessel
|
||||
# 23 - Blackman/sinc
|
||||
#
|
||||
# f0 Invoke Faster Transformation. Increase the speed of transformation with the side effect a little distortion
|
||||
# 0 Fastest speed, some distortion
|
||||
# 1 Some speed, little distortion
|
||||
# - anything else turns off Faster Transformation (default)
|
||||
|
||||
m g1.5 i6 f0
|
||||
|
||||
|
||||
#
|
||||
# 'z'-lines options
|
||||
# ----------------
|
||||
# Extended Depth-Of-Field, not required
|
||||
#
|
||||
# Automatically determine, for every point in a picture, which of mumerous overlapping
|
||||
# images has best focus. Masks are generated to reveale the best focused parts of
|
||||
# each image. Feathering must be selected. Used with PSD_mask or TIFF_mask file format
|
||||
# to edit the mask or with flattened file formats for flattened final result. Does not
|
||||
# work if color and/or brightness correction are invoked.
|
||||
#
|
||||
# m2 mask type
|
||||
# m0 hard-edged masks, mutually exclusive
|
||||
# m1 hard-edged masks, stack of nested masks
|
||||
# m2 blended masks, stack of nested masks (default & strongly recommended)
|
||||
# (this option includes a smoothing computation that seems to help a lot.)
|
||||
# fN focus estimation window size, N = halfwidth of window.
|
||||
# Recommended value is 0.5% of image width, e.g. 4 pixels for an 800-pixel image.
|
||||
# Computation cost for focus estimation increases proportional to N^2. Default f4.
|
||||
# sN smoothing window size, N = halfwidth of window.
|
||||
# Recommended value is 0.5% of image width, e.g. 4 pixels for an 800-pixel image.
|
||||
# Computation cost for smoothing increases proportional to N^2. Default s4.
|
||||
|
||||
z m2 f4 s4
|
||||
|
||||
|
||||
#
|
||||
# 'C' lines
|
||||
# ----------------
|
||||
# Morphing of control point lines
|
||||
# One line per point
|
||||
# Created automatically by optimizer
|
||||
#
|
||||
# i0 image
|
||||
# x363.726 starting x point position
|
||||
# y125.738 starting y point position
|
||||
# X363.838 morphed x point position
|
||||
# Y125.618 morphed y point position
|
||||
|
||||
C i0 x363.726 y125.738 X363.838 Y125.618
|
||||
|
||||
|
||||
|
||||
*
|
||||
Every thing after * is ignored.
|
||||
|
||||
Reference in New Issue
Block a user