vignetting parameters in PTO file

45 views
Skip to first unread message

kfj

unread,
Mar 31, 2022, 3:33:32 AM3/31/22
to hugin and other free panoramic software
Dear all!

Someone pointed out that when trying to view tests/simpleStitch/simple.pto in the libpano package with lux, there was a strange result. I found out that this is due to the vignetting parameters in that PTO. It gives this i-line:

i w750 h500 f0 K0a1 K0b0 K1a1 K1b0 K2a1 K2b0 Va0 Vb0 Vc0 Vd0 Vx0 Vy0 a0 b0 c0 d0 e0 g0 p8.91614 r0.192433 t0 v25.3608 y-13.4262  u10 n"051221_6054_750.jpg"

Note how Va is given as zero. The default for hugin-generated PTO files is to have Va==1, and the other V parameters zero. Is this a difference in dialect, or is the simple.pto file faulty?

Kay

T. Modes

unread,
Mar 31, 2022, 11:23:17 AM3/31/22
to hugin and other free panoramic software
kfj schrieb am Donnerstag, 31. März 2022 um 09:33:32 UTC+2:
Dear all!

Someone pointed out that when trying to view tests/simpleStitch/simple.pto in the libpano package with lux, there was a strange result.

This file was written by a very early Hugin version before finalizing the photometric features. So it was written by an alpha (or beta) Hugin version.

kfj

unread,
Mar 31, 2022, 1:04:18 PM3/31/22
to hugin and other free panoramic software
Thanks for the reply! So that file is faulty, with the Va = 0? Anyone from panotools listening to this? You could update it. What I do now in lux is to silently set Va to one when it's zero.
Reply all
Reply to author
Forward
0 new messages