PTO_VAR("1")
π pto_var β PTO_VAR("1") π
okay bestie, welcome to the PTO_VAR("1") page from HUGIN. This is all about pto_var, the command-line tool that changes image variables inside Hugin .pto project files. β¨
π NAME π
pto_var β change image variables inside Hugin .pto project files. slay.
πΈ SYNOPSIS πΈ
pto_var [options] --opt|--link|--unlink|--set "image variables list
input.pto
π¦ DESCRIPTION π¦
okay so pto_var is a command line tool, suitable for inclusion in shell scripts, and it allows the change of image variables inside a Hugin .pto project file. no cap. 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 parameters are treated as a group, iykyk π )
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. periodt.
β¨ OPTIONS β¨
okay hereβs the whole flag menu, every single one is iconic:
-o|--output = file.ptoβ Output Hugin PTO file. Default:<filename>_var.pto-h|--helpβ Shows help--opt varlistβ Change optimizer variables--modify-optβ Modify the existing optimizer variables (without pto_var will start with an empty variables set). Examples:--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-opttogether)
--link varlistβ Example:--link=v3β Link hfov of image 3--link=a1,b1,c1β Link distortions parameter for image 1
--unlink varlistβ Examples:--unlink=v5β Unlink hfov for image 5--unlink=a2,b2,c2β Unlink distortions parameters for image 2
--set varlistβ Examples:--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, ...
--set-from-file filenameβ Sets variables to new values. It reads the varlist from a file.
π AUTHORS π
Thomas Modes. thatβs the icon who wrote this. π«Ά
okay thatβs the whole page, bestie. HUGIN source/version: Version: 2025.0.1", date: 2026-09-22. mwah π
π¦ where this page comes from
- arch rolling: hugin 2025.0.1-5 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms