pto_var: change image variables inside Hugin .pto project files
pto_var [options] −−opt|−−link|−−unlink|−−set "image variables list input.pto
pto_var is a command line tool, suitable for inclusion in shell scripts, and allows the change of image variables inside a Hugin .pto project file. Optimisation variables can be set, altered, linked and unlinked, The following image variables are allowed:
position: y, p, r, TrX, TrY, TrZ
lens parameters: v, a, b, c, d, e, g, t
photometric parameters: EeV, Er, Eb, Vb, Vc, Vd, Vx, Vy, Ra, Rb, Rc, Rd, Re (Vignetting and response parameter will treated as group.)
The image numbers start with zero. If the number is missing this applies to the variables of all images (In this case a special treatment applies to the position of the anchor image). An exclamation mark before the variable will remove the variable from the list of variables to optimised.
−o|−−output = file.pto
Output Hugin PTO file. Default: <filename>_var.pto
Change optimizer variables
Modify the existing optimizer variables
(without pto_var will start with an
empty variables set)
−−opt y,p,r Optimize yaw, pitch and roll of all images
(special treatment for anchor image applies)
−−opt v0,b2 Optimize hfov of image 0 and barrel distortion
of image 2
−−opt v,!v0 Optimize field of view for all images except
for the first image
−−modify−opt −−opt !v will not optimize field of view.
−−opt !a,!b,!c Don't optimise distortion (works only with
switch −−modify−opt together)
−−link v3 Link hfov of image 3
−−link a1,b1,c1 Link distortions parameter for image 1
−−unlink v5 Unlink hfov for image 5
−−unlink a2,b2,c2 Unlink distortions parameters for image 2
−−set y0=0,r0=0,p0=0 Resets position of image 0
−−set Vx4=−10,Vy4=10 Sets vignetting offset for image 4
−−set v=20 Sets the field of view to 20 for all images
−−set y=val+20 Increase yaw by 20 deg for all images
−−set v=val*1.1 Increase fov by 10 % for all images
−−set y=i*20 Set yaw to 0, 20, 40, ...
Sets variables to new values
It reads the varlist from a file
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.