Does anyone know the best way to use a PTPicker script
to obtain the proper coordinates for the PTZoom extension?
I tried playing with Helmut's example, but I was unable to
obtain similar results.
Here is the script I tried to use:
p f2 w1500 h750 v360 u10 n"JPEG"
i f4 w1500 h750 y0 p0 r0 v180 n"Monument.jpg" X0 Y0 Z0
i f0 w1944 h1296 y0 p0 r0 v60 n"Insert.jpg" X1 Y0 Z0
v y1 p1 r1 v1
c n0 N1 x614 y358 X375 Y488
c n1 N0 x584 y520 X642 Y363
c n0 N1 x613 y378 X366 Y652
c n0 N1 x777 y383 X1638 Y656
c n0 N1 x715 y381 X1167 Y652
c n0 N1 x775 y364 X1603 Y498
c n0 N1 x704 y380 X1067 Y648
*
# ====================================================================
# Output generated by Panorama Tools
# 285 function evalutations
# the relative error between x and the solution is at most tol
# Panorama description
p f2 w1500 h750 v360 n"JPEG"
# Parameters for Each Input Image:
# (*) - optimized (p) - preset
# Image No 0:
# Yaw: 0 deg (p) Pitch: 0 deg (p)
# Roll: 0 deg (p) HFov: 180 deg (p)
# Polynomial Coefficients: a 0.000000 (p); b 0.000000 (p); c 0.000000 (p)
# Horizontal Shift: 0.000000 (p) Vertical Shift: 0.000000 (p)
# Command for Panorama Creation:
o f4 r0 p0 y0 v180 u10 -buf
# Image No 1:
# Yaw: -7.00844 deg (*) Pitch: -0.693206 deg (*)
# Roll: 1.73786 deg (*) HFov: 29.8657 deg (*)
# Polynomial Coefficients: a 0.000000 (p); b 0.000000 (p); c 0.000000 (p)
# Horizontal Shift: 0.000000 (p) Vertical Shift: 0.000000 (p)
# Command for Panorama Creation:
o f0 r1.73786 p-0.693206 y-7.00844 v29.8657 u10 +buf
# ====================================================================
# Control Points: Distance between desired and fitted Position (in Pixels)
# Control Point No 0: 0.403031
# Control Point No 1: 0.642292
# Control Point No 2: 0.319676
# Control Point No 3: 0.484294
# Control Point No 4: 0.886564
# Control Point No 5: 0.799956
# Control Point No 6: 0.412129
C i0 x681.75 y366.25 X681.832 Y366.066
C i1 x681.915 y365.882 X681.832 Y366.066
C i1 x695.283 y368.309 X695.516 Y368.53
C i0 x695.75 y368.75 X695.516 Y368.53
C i0 x681.25 y376.25 X681.127 Y376.352
C i1 x681.003 y376.453 X681.127 Y376.352
C i0 x763.25 y378.75 X763.35 Y378.971
C i1 x763.45 y379.191 X763.35 Y378.971
C i0 x732.25 y377.75 X732.664 Y377.908
C i1 x733.078 y378.066 X732.664 Y377.908
C i0 x762.25 y369.25 X761.881 Y369.096
C i1 x761.512 y368.942 X761.881 Y369.096
C i0 x726.75 y377.25 X726.649 Y377.43
C i1 x726.549 y377.61 X726.649 Y377.43
Next message:
Previous message: