The first step reads the source files sufficiently to generate a project file:
=== grog@eureka (/dev/pts/9) ~/Photos/20180616 464 -> pto_gen C/e-from-house-?.tiff Generating pto file...
Reading /Photos/grog/20180616/C/e-from-house-0.tiff...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Reading /Photos/grog/20180616/C/e-from-house-1.tiff...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Reading /Photos/grog/20180616/C/e-from-house-2.tiff...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Reading /Photos/grog/20180616/C/e-from-house-3.tiff...
Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'.
Assigned 3 lenses.
Project contains more than one lens, but you requested to assign
stacks. This is not supported. Therefore stacks will not be
assigned.
Written output to /Photos/grog/20180616/C/e-from-house-0-e-from-house-3.pto
The error messages make no sense, and are probably a harmless bug.
=== grog@eureka (/dev/pts/9) ~/Photos/20180616/C 501 -> exifx e-from-house-0.tiff File e-from-house-0.tiff
Date taken: Saturday, 16 June 2018, 12:30:07
Exposure: 1/250 sec, f/5.6 (EV 12.9), 24/200 ISO
Camera: Olympus OM-D E-M1 Mark II
Lens: Olympus M.Zuiko Digital ED 8m f/1.8 Fisheye PRO
Focal length: 8.0 mm (full frame equivalent: 16 mm)
Focus: MF 5.185 m (0.67 m - infinity)
Field of view: 94.4 horizontal, 78.2 vertical, 107.0 diagonal
Meter mode: Center-weighted average Manual
Stabilization: Off
Size: 5182 x 3886 pixels
The fields of view are incorrect, what you would expect of a rectilinear lens of
that focal length. In fact, the horizontal field of view is 123.9°. They're calculated in
this output, so not of importance.
w5182: Image width in pixels
h3886: Image height in pixels
f3: Projection (full frame fisheye). This is interesting
because pto_gen recognizes it, but in the GUI it needs to be specified.
v94.4078430468941: Horizontal field of view
(degrees). Again, it has been calculated for a rectilinear lens.
Ra0: EMoR photometric model parameter, not documented, but default value.
Rb0: EMoR photometric model parameter, not documented, but default value.
Rc0: EMoR photometric model parameter, not documented, but default value.
Rd0: EMoR photometric model parameter, not documented, but default value.
Re0: EMoR photometric model parameter, not documented, but default value.
Eev11.9366378213403: Image exposure in EV. It's not
clear where this comes from. It's just shy of 1 EV less than the information in the Exif
data.
Er1: White balance factor for red channel.
Eb1: White balance factor for blue channel.
r0: roll angle
p0: pitch angle
y0: yaw angle
TrX0: Mosaic mode translation offset, presumably X axis.
TrY0: Mosaic mode translation offset, presumably Y axis.
TrZ0: Mosaic mode translation offset, presumably Z axis.
Tpy0: orientation of remapping plane for translation offsets (which?)
Tpp0: orientation of remapping plane for translation offsets (which?)
j0: Stack number.
a0: lens correction coefficient, not used here.
b0: lens correction coefficient, not used here.
c0: lens correction coefficient, not used here.
d0: initial horizontal lens offset, not used here.
e0: initial vertical lens offset, not used here.
g0: initial horizontal lens shear, not used here.
t0: initial vertical lens shear, not used here.
Va1: vignetting correction coefficient, not used here.
Vb0: vignetting correction coefficient, not used here.
Vc0: vignetting correction coefficient, not used here.
Vd0: vignetting correction coefficient, not used here.
Vx0: radial horizontal vignetting correction offset, not used here.
Vy0: radial vertical vignetting correction offset, not used here.
Vm5: vignetting correction mode (radial polynomial correction by division)
n"e-from-house-0.tiff": Input file name
Somewhere here I'm missing lens information. I could have sworn I saw it
before, but it's not in nona.txt and it's not in the project file.
Read images into GUI
Reading the images into the GUI does a little more than just run pto_gen. In fact,
running ktrace suggests that it's all done internally. The result of reading in the
files and saving a project file shows some differences (e-from-house-0-e-from-house-3-GUI.pto):
Here the y parameter (yaw) has been set. The values for the four images are
-106.208823427756, 35.4029411425853, 35.4029411425853 and 106.208823427756. That's not the
correct relationship (they were taken at steps of 90°), so maybe it relates to where they
appeared on the screen.
v lines
The big difference is in the v lines, which were not present in
the pto_gen output:
# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v Vb0
v Vc0
v Vd0
v Eev1
v r1
v p1
v y1
v Eev2
v r2
v p2
v y2
v Eev3
v r3
v p3
v y3
v
I haven't found documentation for these yet.
Running cpfind
=== grog@eureka (/dev/pts/27) /photowork/Hugin-build-eureka 46 -> cpfind -o foo e-from-house-0-e-from-house-3-GUI.pto
===== Mon 18 Jun 2018 17:48:36 AEST on eureka.lemis.com: cpfind -o foo e-from-house-0-e-from-house-3-GUI.pto
Hugin's cpfind 2018.0.0.5abfb4de7961
based on Pan-o-matic by Anael Orlinski