[ptx] merging more than one .pto file

Ed Halley ed at halley.cc
Sat May 8 20:29:32 BST 2004


I'm working on a simple Perl script to merge multiple .pto files.    An
example result is attached.  Pardon the size.

For example, I can fiddle with a three-row pano, one row at a time,
until each fits fairly well.  Then I want to merge the rows and optimize
again to ensure they mesh up.

The first .pto file goes through unmodified.  Then, for each subsequent
.pto file, I increment the image numbers in every lens, variable and
control point.

However, I get from hugin:

  hugin: PanoramaMemento.cpp:530: bool
         PT::PanoramaMemento::loadPTScript(std::istream&,
         const std::string&): Assertion `nr < optvec.size()'
         failed.

I can see that it is trying to parse a 'v' line, but I'm not sure why
the variable number would exceed the "optvec" size, or what the optvec
is actually accumulating.

It wasn't immediately clear what I was doing wrong.  In case the order
was important, I tried moving all 'i' lines above everything else, but
that wasn't the problem.

-- 
[ e d @ h a l l e y . c c ]
-------------- next part --------------
# PTOptimizer script, written by hugin

p f2 w18021 h8960 v360  n"JPEG q90"
m g1 i0

# image lines
i w2048 h3072 f0 a0.009608 b-0.041724 c0.024208 d0 e0 g0 p29.9154 r-1.67929 t0 v40.8206 y-150.511  u10 n"img_8428.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p30.046 r-2.52252 t0 v=0 y-119.869  u10 n"img_8429.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p30.338 r-2.60338 t0 v=0 y-90.4675  u10 n"img_8430.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p30.7409 r-3.13117 t0 v=0 y-60.4019  u10 n"img_8431.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p31.1506 r-2.7955 t0 v=0 y-30.5123  u10 n"img_8432.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p31.4379 r-2.25352 t0 v=0 y0  u10 n"img_8433.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p31.2494 r-1.70108 t0 v=0 y28.2398  u10 n"img_8434.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p31.3645 r-2.51699 t0 v=0 y59.0069  u10 n"img_8435.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p31.3603 r-1.42151 t0 v=0 y88.9788  u10 n"img_8436.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p31.0219 r-1.21859 t0 v=0 y119.607  u10 n"img_8437.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p30.5831 r-0.831855 t0 v=0 y150.212  u10 n"img_8438.jpg"
i w2048 h3072 f0 a=0 b=0 c=0 d0 e0 g0 p149.885 r178.671 t0 v=0 y0.670447  u10 n"img_8439.jpg"


# specify variables that should be optimized
v a0 b0 
v c0 
v 
v 
v p0 
v r0 
v v0 
v y0 
v 
v 
v 
v 
v p1 
v r1 
v 
v y1 
v 
v 
v 
v 
v p2 
v r2 
v 
v y2 
v 
v 
v 
v 
v p3 
v r3 
v 
v y3 
v 
v 
v 
v 
v p4 
v r4 
v 
v y4 
v 
v 
v 
v 
v 
v p5 r5 
v 
v 
v 
v 
v 
v 
v p6 
v r6 
v y6 
v 
v 
v 
v 
v 
v p7 
v r7 
v 
v y7 
v 
v 
v 
v 
v p8 
v r8 
v 
v y8 
v 
v 
v 
v 
v p9 
v r9 
v 
v y9 
v 
v 
v 
v 
v p10 
v r10 
v 
v y10 
v 
v 
v 
v 
v p11 
v r11 
v 
v y11 
v 

# control points
c n0 N1 x1427 y1766 X52 Y1652 t125336606
c n0 N1 x1443 y1940 X19 Y1830 t125336606
c n0 N1 x1631 y2340 X104 Y2268 t125336606
c n0 N1 x1689 y2700 X68 Y2632 t125336606
c n0 N1 x1752 y1396 X476 Y1376 t125336606
c n0 N1 x1924 y1651 X561 Y1663 t125336606
c n0 N1 x1726 y1976 X294 Y1928 t125336606
c n0 N1 x1796 y2287 X282 Y2241 t125336606
c n0 N1 x1730 y2940 X48 Y2876 t125336606
c n0 N1 x1817 y823 X691 Y861 t0
c n0 N1 x1789 y649 X714 Y691 t0
c n1 N2 x1588 y1210 X430 Y1162 t125336606
c n1 N2 x1394 y1588 X133 Y1478 t125336606
c n1 N2 x1511 y1870 X177 Y1787 t125336606
c n1 N2 x1555 y2526 X55 Y2450 t125336606
c n1 N2 x1548 y2574 X35 Y2496 t125336606
c n1 N2 x1934 y559 X916 Y666 t125336606
c n1 N2 x1675 y1122 X536 Y1104 t125336606
c n1 N2 x1621 y1584 X362 Y1533 t125336606
c n1 N2 x1672 y1818 X351 Y1769 t125336606
c n1 N2 x1669 y2443 X191 Y2381 t125336606
c n1 N2 x1722 y2743 X167 Y2683 t125336606
c n2 N3 x1466 y2014 X60 Y1915 t125336606
c n2 N3 x1453 y2035 X40 Y1932 t125336606
c n2 N3 x1656 y2424 X146 Y2356 t125336606
c n2 N3 x1738 y1432 X482 Y1412 t125336606
c n2 N3 x1713 y1779 X368 Y1738 t125336606
c n2 N3 x1832 y2339 X340 Y2299 t125336606
c n2 N3 x1718 y2504 X188 Y2443 t125336606
c n2 N3 x1880 y2943 X238 Y2888 t125336606
c n2 N3 x1863 y1408 X606 Y1421 t0
c n2 N3 x1960 y1131 X764 Y1192 t0
c n2 N3 x2015 y993 X847 Y1083 t0
c n3 N4 x1736 y2434 X243 Y2380 t125336606
c n3 N4 x1803 y2534 X284 Y2486 t125336606
c n3 N4 x1853 y2619 X310 Y2571 t125336606
c n3 N4 x2001 y2838 X400 Y2795 t125336606
c n3 N4 x1784 y2130 X365 Y2093 t0
c n3 N4 x1720 y1596 X440 Y1565 t0
c n3 N4 x1717 y1109 X565 Y1101 t0
c n3 N4 x1381 y863 X310 Y752 t0
c n3 N4 x1330 y911 X246 Y781 t0
c n3 N4 x1228 y782 X175 Y615 t0
c n3 N4 x1244 y304 X338 Y146 t0
c n4 N5 x1543 y947 X427 Y888 t125336606
c n4 N5 x1537 y1261 X332 Y1189 t125336606
c n4 N5 x1614 y1997 X210 Y1928 t125336606
c n4 N5 x1546 y2456 X20 Y2372 t125336606
c n4 N5 x1587 y2600 X25 Y2523 t125336606
c n4 N5 x1743 y353 X785 Y406 t125336606
c n4 N5 x1654 y778 X581 Y765 t125336606
c n4 N5 x1732 y1208 X548 Y1200 t125336606
c n4 N5 x1664 y1975 X264 Y1916 t125336606
c n4 N5 x1686 y2228 X222 Y2167 t125336606
c n4 N5 x1646 y2762 X43 Y2692 t125336606
c n5 N6 x1329 y586 X345 Y464 t125336606
c n5 N6 x1623 y1407 X404 Y1361 t125336606
c n5 N6 x1380 y1908 X24 Y1794 t125336606
c n5 N6 x1613 y2529 X175 Y2439 t125336606
c n5 N6 x1778 y1063 X640 Y1076 t125336606
c n5 N6 x1772 y1678 X474 Y1657 t125336606
c n5 N6 x1894 y1849 X546 Y1847 t125336606
c n5 N6 x1827 y2286 X376 Y2250 t125336606
c n5 N6 x1485 y789 X440 Y720 t0
c n5 N6 x1915 y1159 X739 Y1207 t0
c n5 N6 x1879 y1293 X672 Y1321 t0
c n6 N7 x1472 y1360 X267 Y1272 t125336606
c n6 N7 x1436 y1483 X198 Y1383 t125336606
c n6 N7 x1474 y2228 X38 Y2134 t125336606
c n6 N7 x1707 y775 X652 Y785 t125336606
c n6 N7 x1818 y1060 X674 Y1089 t125336606
c n6 N7 x1588 y1792 X266 Y1726 t125336606
c n6 N7 x1562 y2216 X131 Y2138 t125336606
c n6 N7 x1563 y2616 X30 Y2540 t125336606
c n6 N7 x1348 y708 X328 Y590 t0
c n6 N7 x1546 y476 X586 Y444 t0
c n6 N7 x1463 y188 X590 Y136 t0
c n7 N8 x1458 y1936 X96 Y1838 t125336606
c n7 N8 x1660 y1930 X300 Y1875 t125336606
c n7 N8 x1725 y1984 X351 Y1941 t125336606
c n7 N8 x1640 y2702 X88 Y2634 t125336606
c n7 N8 x1622 y2857 X29 Y2789 t125336606
c n7 N8 x1961 y1901 X592 Y1910 t125336606
c n7 N8 x1811 y2011 X426 Y1983 t125336606
c n7 N8 x1789 y2854 X198 Y2798 t125336606
c n7 N8 x1354 y334 X441 Y227 t0
c n7 N8 x1482 y1045 X363 Y966 t0
c n7 N8 x1625 y306 X705 Y316 t0
c n8 N9 x1184 y575 X182 Y383 t125336606
c n8 N9 x1124 y858 X32 Y643 t125336606
c n8 N9 x1356 y1607 X56 Y1480 t125336606
c n8 N9 x1923 y133 X995 Y280 t125336606
c n8 N9 x1879 y1018 X720 Y1064 t125336606
c n8 N9 x1522 y1306 X308 Y1228 t125336606
c n8 N9 x1603 y2072 X182 Y2000 t125336606
c n8 N9 x1655 y571 X641 Y571 t0
c n8 N9 x1562 y680 X524 Y639 t0
c n8 N9 x1632 y2359 X136 Y2288 t0
c n8 N9 x2006 y2760 X401 Y2721 t0
c n9 N10 x1372 y385 X432 Y284 t125336606
c n9 N10 x1496 y880 X409 Y808 t125336606
c n9 N10 x1308 y1296 X102 Y1154 t125336606
c n9 N10 x1272 y1327 X56 Y1174 t125336606
c n9 N10 x1524 y2109 X72 Y2024 t125336606
c n9 N10 x1618 y2352 X134 Y2280 t125336606
c n9 N10 x1728 y1266 X526 Y1252 t125336606
c n9 N10 x1804 y1613 X506 Y1602 t125336606
c n9 N10 x1716 y2032 X312 Y1983 t125336606
c n9 N10 x1987 y2148 X540 Y2142 t125336606
c n9 N10 x1973 y2703 X393 Y2665 t0
c n10 N11 x2010 y2168 X538 Y2164 t125336606
c n10 N11 x1594 y2282 X106 Y2204 t125336606
c n10 N11 x1885 y1534 X582 Y1543 t0
c n10 N11 x1930 y1046 X751 Y1103 t0
c n10 N11 x1664 y430 X681 Y440 t0
c n10 N11 x1524 y436 X552 Y389 t0
c n10 N11 x1718 y599 X684 Y620 t0
c n10 N11 x1933 y139 X994 Y290 t0
c n10 N11 x1486 y1223 X287 Y1133 t0
c n10 N11 x1674 y1814 X311 Y1760 t0
c n10 N11 x1545 y1903 X157 Y1818 t0
c n11 N0 x1694 y2845 X148 Y2783 t0
c n11 N0 x1908 y2444 X452 Y2415 t0
c n11 N0 x1768 y2451 X316 Y2404 t0
c n11 N0 x1807 y2012 X457 Y1977 t0
c n11 N0 x1760 y1491 X542 Y1479 t0
c n11 N0 x1848 y886 X776 Y936 t0
c n11 N0 x1605 y722 X598 Y702 t0
c n11 N0 x1870 y48 X1010 Y184 t0
c n11 N0 x1220 y736 X215 Y575 t0
c n11 N0 x1385 y1616 X141 Y1506 t0
c n11 N0 x1475 y2084 X112 Y1995 t0
c n5 N5 x1042 y594 X1028 Y867 t1
c n5 N5 x986 y1692 X973 Y1952 t1
c n9 N9 x1126 y266 X1132 Y884 t1
c n9 N9 x1134 y1224 X1138 Y2301 t1
c n4 N4 x976 y504 X926 Y1160 t1
c n4 N4 x919 y1271 X824 Y2582 t1
c n2 N2 x807 y1430 X757 Y2035 t1
c n2 N2 x935 y140 X870 Y766 t1
c n0 N0 x1030 y266 X992 Y1312 t1
c n0 N0 x992 y1305 X957 Y2169 t1
c n3 N3 x949 y1094 X929 Y1381 t1
c n3 N3 x894 y1973 X879 Y2246 t1
c n2 N2 x164 y1200 X127 Y1369 t1
c n4 N4 x1840 y629 X1924 Y1109 t1

#hugin_options r5
#----------------------------------------------------------------------------
# PTOptimizer script, written by hugin


# image lines
i w2048 h3072 f0 a0.000995 b-0.008631 c-0.002671 d-5.07332 e0.790794 g0 p0.308929 r-1.27671 t0 v40.9079 y-149.823  u10 n"img_8441.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p0.254427 r-1.50742 t=12 v=12 y-119.204  u10 n"img_8442.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p0.242193 r-1.70019 t=12 v=12 y-89.5682  u10 n"img_8443.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p0.396021 r-1.99412 t=12 v=12 y-59.3804  u10 n"img_8444.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p179.32 r177.838 t=12 v=12 y150.816  u10 n"img_8445.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p0.999689 r-2.13341 t=12 v=12 y0  u10 n"img_8446.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p1.24484 r-1.89777 t=12 v=12 y30.3104  u10 n"img_8447.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p1.34969 r-1.58056 t=12 v=12 y60.1268  u10 n"img_8448.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p1.28329 r-1.25724 t=12 v=12 y90.0621  u10 n"img_8449.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p1.05586 r-1.05775 t=12 v=12 y120.508  u10 n"img_8450.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p0.845056 r-0.967897 t=12 v=12 y150.241  u10 n"img_8451.jpg"
i w2048 h3072 f0 a=12 b=12 c=12 d=12 e=12 g=12 p0.569683 r-1.11904 t=12 v=12 y-179.826  u10 n"img_8452.jpg"


# specify variables that should be optimized
v a12 b12 
v c12 
v d12 
v e12 
v p12 
v r12 
v v12 
v y12 
v 
v 
v 
v 
v p13 
v r13 
v 
v y13 
v 
v 
v 
v 
v p14 
v r14 
v 
v y14 
v 
v 
v 
v 
v p15 
v r15 
v 
v y15 
v 
v 
v 
v 
v p16 
v r16 
v 
v y16 
v 
v 
v 
v 
v 
v p17 r17 
v 
v 
v 
v 
v 
v 
v p18 
v r18 
v y18 
v 
v 
v 
v 
v 
v p19 
v r19 
v 
v y19 
v 
v 
v 
v 
v p20 
v r20 
v 
v y20 
v 
v 
v 
v 
v p21 
v r21 
v 
v y21 
v 
v 
v 
v 
v p22 
v r22 
v 
v y22 
v 
v 
v 
v 
v p23 
v r23 
v 
v y23 
v 

# control points
c n12 N13 x1661 y355 X176 Y289 t0
c n12 N13 x1950 y258 X465 Y253 t0
c n12 N13 x1861 y861 X362 Y830 t0
c n12 N13 x1943 y1259 X433 Y1228 t0
c n12 N13 x1795 y1768 X285 Y1728 t0
c n12 N13 x1631 y2149 X120 Y2121 t0
c n12 N13 x1916 y1969 X403 Y1921 t0
c n12 N13 x1697 y1465 X188 Y1424 t0
c n12 N13 x1771 y1340 X264 Y1300 t0
c n12 N13 x1717 y951 X217 Y905 t0
c n12 N13 x1716 y610 X225 Y560 t0
c n13 N14 x1523 y2760 X68 Y2757 t0
c n13 N14 x1627 y2390 X171 Y2363 t0
c n13 N14 x1514 y2164 X49 Y2144 t0
c n13 N14 x1786 y1965 X327 Y1923 t0
c n13 N14 x1586 y1761 X124 Y1725 t0
c n13 N14 x1843 y1538 X384 Y1499 t0
c n13 N14 x1790 y1409 X333 Y1371 t0
c n13 N14 x1683 y1272 X227 Y1229 t0
c n13 N14 x1579 y1143 X122 Y1091 t0
c n13 N14 x1545 y1042 X81 Y961 t0
c n13 N14 x1661 y541 X222 Y484 t0
c n14 N15 x1676 y216 X219 Y151 t0
c n14 N15 x1572 y614 X98 Y540 t0
c n14 N15 x1571 y966 X88 Y905 t0
c n14 N15 x1756 y1165 X274 Y1123 t0
c n14 N15 x1739 y1345 X254 Y1303 t0
c n14 N15 x1743 y1761 X255 Y1721 t0
c n14 N15 x1834 y1877 X345 Y1833 t0
c n14 N15 x1900 y2313 X412 Y2255 t0
c n14 N15 x1865 y2883 X387 Y2814 t0
c n14 N15 x1958 y2546 X469 Y2473 t0
c n14 N15 x1808 y2051 X320 Y2006 t0
c n15 N16 x1901 y1930 X410 Y1882 t0
c n15 N16 x1770 y1739 X282 Y1698 t0
c n15 N16 x1774 y1576 X286 Y1535 t0
c n15 N16 x1831 y1250 X346 Y1213 t0
c n15 N16 x1783 y783 X309 Y744 t0
c n15 N16 x1816 y476 X351 Y443 t0
c n15 N16 x1745 y1106 X264 Y1064 t0
c n15 N16 x1551 y1646 X56 Y1607 t0
c n15 N16 x1729 y2501 X246 Y2461 t0
c n15 N16 x1755 y2875 X278 Y2828 t0
c n15 N16 x1881 y2619 X397 Y2555 t0
c n16 N17 x1870 y2729 X439 Y2662 t0
c n16 N17 x1791 y2505 X359 Y2455 t0
c n16 N17 x1906 y2158 X466 Y2104 t0
c n16 N17 x1792 y2118 X356 Y2074 t0
c n16 N17 x2012 y1899 X565 Y1848 t0
c n16 N17 x1798 y1589 X361 Y1551 t0
c n16 N17 x1731 y1551 X295 Y1512 t0
c n16 N17 x1862 y871 X435 Y845 t0
c n16 N17 x1702 y878 X277 Y834 t0
c n16 N17 x1896 y386 X481 Y374 t0
c n16 N17 x1662 y401 X250 Y345 t0
c n17 N18 x1872 y459 X400 Y434 t0
c n17 N18 x1722 y419 X252 Y367 t0
c n17 N18 x1868 y619 X391 Y592 t0
c n17 N18 x1860 y1046 X373 Y1012 t0
c n17 N18 x1953 y1082 X462 Y1056 t0
c n17 N18 x1856 y1630 X361 Y1589 t0
c n17 N18 x1792 y1917 X298 Y1874 t0
c n17 N18 x1771 y2073 X278 Y2031 t0
c n17 N18 x1761 y2339 X271 Y2296 t0
c n17 N18 x1642 y2300 X149 Y2270 t0
c n17 N18 x1744 y2740 X260 Y2697 t0
c n18 N19 x1618 y2699 X156 Y2678 t0
c n18 N19 x1871 y2167 X402 Y2116 t0
c n18 N19 x2003 y2097 X526 Y2038 t0
c n18 N19 x1703 y1753 X234 Y1715 t0
c n18 N19 x1615 y1621 X144 Y1582 t0
c n18 N19 x1697 y1092 X235 Y1047 t0
c n18 N19 x1646 y913 X187 Y861 t0
c n18 N19 x1922 y694 X466 Y676 t0
c n18 N19 x1795 y398 X352 Y363 t0
c n18 N19 x1848 y81 X413 Y60 t0
c n18 N19 x1539 y195 X95 Y100 t0
c n19 N20 x1915 y1603 X438 Y1563 t0
c n19 N20 x1869 y1394 X395 Y1358 t0
c n19 N20 x1814 y1314 X342 Y1277 t0
c n19 N20 x1832 y903 X368 Y870 t0
c n19 N20 x1955 y437 X499 Y430 t0
c n19 N20 x1704 y447 X253 Y395 t0
c n19 N20 x1836 y2980 X373 Y2913 t0
c n19 N20 x1798 y2696 X332 Y2643 t0
c n19 N20 x1882 y2414 X408 Y2356 t0
c n19 N20 x1735 y2402 X265 Y2362 t0
c n19 N20 x1549 y2395 X73 Y2379 t0
c n20 N21 x1902 y2741 X407 Y2670 t0
c n20 N21 x1709 y2805 X219 Y2769 t0
c n20 N21 x1837 y2352 X339 Y2300 t0
c n20 N21 x1841 y2128 X340 Y2080 t0
c n20 N21 x1919 y1766 X415 Y1721 t0
c n20 N21 x1725 y1788 X224 Y1748 t0
c n20 N21 x1795 y1552 X295 Y1511 t0
c n20 N21 x1890 y643 X406 Y618 t0
c n20 N21 x1615 y135 X145 Y50 t0
c n20 N21 x1782 y708 X298 Y666 t0
c n20 N21 x1761 y1050 X268 Y1007 t0
c n21 N22 x1887 y1219 X425 Y1188 t0
c n21 N22 x1885 y1417 X420 Y1382 t0
c n21 N22 x1883 y1572 X417 Y1534 t0
c n21 N22 x1677 y1590 X212 Y1550 t0
c n21 N22 x1882 y1784 X415 Y1742 t0
c n21 N22 x1644 y2453 X183 Y2426 t0
c n21 N22 x1864 y2810 X407 Y2743 t0
c n21 N22 x1863 y2973 X408 Y2902 t0
c n22 N23 x1901 y1408 X426 Y1372 t0
c n22 N23 x1826 y1172 X357 Y1136 t0
c n22 N23 x1912 y836 X448 Y813 t0
c n22 N23 x1932 y363 X481 Y354 t0
c n22 N23 x1839 y323 X393 Y297 t0
c n22 N23 x1925 y75 X483 Y72 t0
c n21 N22 x1623 y183 X189 Y145 t0
c n21 N22 x1851 y103 X420 Y84 t0
c n21 N22 x1786 y614 X341 Y579 t0
c n22 N23 x1567 y938 X99 Y876 t0
c n22 N23 x1645 y1166 X175 Y1118 t0
c n22 N23 x1634 y1608 X158 Y1568 t0
c n22 N23 x1780 y1772 X306 Y1731 t0
c n22 N23 x1992 y1536 X511 Y1498 t0
c n23 N12 x1865 y1435 X387 Y1394 t0
c n23 N12 x1751 y1275 X276 Y1231 t0
c n23 N12 x1953 y1296 X473 Y1261 t0
c n23 N12 x1907 y983 X435 Y952 t0
c n23 N12 x1771 y987 X302 Y944 t0
c n23 N12 x1874 y528 X415 Y501 t0
c n23 N12 x1759 y510 X303 Y464 t0
c n23 N12 x1763 y170 X317 Y123 t0
c n23 N12 x1879 y195 X430 Y174 t0
c n23 N12 x1542 y1097 X63 Y1035 t0
c n23 N12 x1861 y2585 X388 Y2521 t0
c n14 N14 x1047 y1059 X1040 Y1527 t1
c n16 N16 x1541 y531 X1519 Y1310 t1
c n18 N18 x1550 y1163 X1521 Y2221 t1
c n20 N20 x976 y591 X959 Y1543 t1
c n22 N22 x1077 y1622 X1060 Y2792 t1

#hugin_options r5
#----------------------------------------------------------------------------
# PTOptimizer script, written by hugin


# image lines
i w2048 h3072 f0 a0.00981 b-0.032056 c0.013323 d0 e0 g0 p-28.0646 r-1.80694 t0 v40.8856 y-149.753  u10 n"img_8453.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-28.0331 r-1.54231 t0 v=24 y-119.614  u10 n"img_8454.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.9716 r-2.01099 t0 v=24 y-89.5348  u10 n"img_8455.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.763 r-2.20915 t0 v=24 y-59.21  u10 n"img_8456.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.5051 r-2.24529 t0 v=24 y-29.482  u10 n"img_8457.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.2775 r-2.07468 t0 v=24 y0  u10 n"img_8458.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.1372 r-1.77536 t0 v=24 y30.8345  u10 n"img_8459.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.1507 r-1.43109 t0 v=24 y59.7902  u10 n"img_8460.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.3353 r-1.12666 t0 v=24 y89.768  u10 n"img_8461.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.6326 r-0.990212 t0 v=24 y120.031  u10 n"img_8462.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-27.8973 r-1.25362 t0 v=24 y149.803  u10 n"img_8463.jpg"
i w2048 h3072 f0 a=24 b=24 c=24 d0 e0 g0 p-28.0335 r-1.48042 t0 v=24 y-179.872  u10 n"img_8464.jpg"


# specify variables that should be optimized
v a24 b24 
v c24 
v 
v 
v p24 
v r24 
v v24 
v y24 
v 
v 
v 
v 
v p25 
v r25 
v 
v y25 
v 
v 
v 
v 
v p26 
v r26 
v 
v y26 
v 
v 
v 
v 
v p27 
v r27 
v 
v y27 
v 
v 
v 
v 
v p28 
v r28 
v 
v y28 
v 
v 
v 
v 
v 
v p29 r29 
v 
v 
v 
v 
v 
v 
v p30 
v r30 
v y30 
v 
v 
v 
v 
v 
v p31 
v r31 
v 
v y31 
v 
v 
v 
v 
v p32 
v r32 
v 
v y32 
v 
v 
v 
v 
v p33 
v r33 
v 
v y33 
v 
v 
v 
v 
v p34 
v r34 
v 
v y34 
v 
v 
v 
v 
v p35 
v r35 
v 
v y35 
v 

# control points
c n24 N25 x1940 y2399 X848 Y2237 t0
c n24 N25 x1580 y2083 X397 Y2055 t0
c n24 N25 x1929 y1711 X632 Y1608 t0
c n24 N25 x1481 y1767 X217 Y1777 t0
c n24 N25 x1523 y1247 X129 Y1249 t0
c n24 N25 x1993 y1030 X535 Y953 t0
c n24 N25 x1632 y757 X122 Y736 t0
c n24 N25 x1945 y572 X389 Y518 t0
c n24 N25 x1843 y348 X240 Y304 t0
c n24 N25 x1477 y1000 X20 Y1006 t0
c n24 N25 x1476 y1387 X115 Y1399 t0
c n25 N26 x1669 y1478 X343 Y1444 t0
c n25 N26 x1501 y1334 X140 Y1338 t0
c n25 N26 x1629 y996 X188 Y976 t0
c n25 N26 x1937 y777 X440 Y716 t0
c n25 N26 x1834 y568 X295 Y523 t0
c n25 N26 x1533 y772 X36 Y762 t0
c n25 N26 x1983 y88 X332 Y39 t0
c n25 N26 x1574 y1669 X296 Y1654 t0
c n25 N26 x1899 y1011 X456 Y947 t0
c n25 N26 x1700 y563 X160 Y530 t0
c n25 N26 x1848 y384 X268 Y339 t0
c n26 N27 x1346 y2426 X254 Y2465 t0
c n26 N27 x1532 y2216 X381 Y2197 t0
c n26 N27 x1464 y1799 X203 Y1813 t0
c n26 N27 x1476 y1673 X185 Y1684 t0
c n26 N27 x1620 y1640 X320 Y1615 t0
c n26 N27 x1784 y1442 X430 Y1384 t0
c n26 N27 x1777 y1163 X358 Y1116 t0
c n26 N27 x1730 y1074 X289 Y1036 t0
c n26 N27 x1865 y577 X310 Y529 t0
c n26 N27 x1773 y424 X182 Y383 t0
c n26 N27 x1852 y354 X244 Y307 t0
c n27 N28 x1858 y115 X228 Y68 t0
c n27 N28 x1739 y178 X122 Y134 t0
c n27 N28 x1829 y307 X241 Y262 t0
c n27 N28 x1777 y617 X259 Y575 t0
c n27 N28 x1854 y702 X353 Y651 t0
c n27 N28 x1832 y1078 X417 Y1022 t0
c n27 N28 x1768 y1124 X366 Y1077 t0
c n27 N28 x1688 y1432 X359 Y1393 t0
c n27 N28 x1872 y1616 X576 Y1529 t0
c n27 N28 x1971 y1452 X629 Y1353 t0
c n27 N28 x1481 y2020 X301 Y2021 t0
c n28 N29 x1573 y2006 X394 Y1979 t0
c n28 N29 x1400 y1958 X211 Y1983 t0
c n28 N29 x1307 y2628 X296 Y2674 t0
c n28 N29 x1567 y1472 X257 Y1459 t0
c n28 N29 x1469 y1200 X91 Y1207 t0
c n28 N29 x1481 y1085 X74 Y1088 t0
c n28 N29 x1497 y927 X54 Y924 t0
c n28 N29 x1611 y688 X117 Y665 t0
c n28 N29 x1614 y514 X79 Y488 t0
c n28 N29 x1737 y151 X122 Y108 t0
c n28 N29 x1842 y708 X353 Y659 t0
c n29 N30 x1852 y394 X217 Y349 t0
c n29 N30 x1693 y518 X85 Y486 t0
c n29 N30 x1794 y682 X226 Y641 t0
c n29 N30 x1670 y697 X105 Y670 t0
c n29 N30 x1754 y948 X249 Y911 t0
c n29 N30 x1697 y1316 X282 Y1284 t0
c n29 N30 x1386 y2009 X151 Y2050 t0
c n29 N30 x1750 y2032 X512 Y1959 t0
c n29 N30 x1633 y2677 X573 Y2602 t0
c n29 N30 x1103 y2765 X73 Y2913 t0
c n29 N30 x1513 y2261 X348 Y2254 t0
c n30 N31 x1313 y2436 X267 Y2478 t0
c n30 N31 x1511 y1977 X347 Y1969 t0
c n30 N31 x1526 y1869 X333 Y1859 t0
c n30 N31 x1683 y1802 X468 Y1751 t0
c n30 N31 x1712 y1676 X468 Y1622 t0
c n30 N31 x1553 y1277 X218 Y1267 t0
c n30 N31 x1852 y777 X401 Y726 t0
c n30 N31 x1993 y708 X520 Y643 t0
c n30 N31 x1887 y315 X336 Y267 t0
c n30 N31 x1643 y173 X57 Y134 t0
c n30 N31 x1406 y2693 X425 Y2696 t0
c n31 N32 x1578 y2781 X580 Y2716 t0
c n31 N32 x1607 y2622 X563 Y2556 t0
c n31 N32 x1360 y2542 X306 Y2573 t0
c n31 N32 x1411 y2052 X225 Y2076 t0
c n31 N32 x1762 y2055 X564 Y1973 t0
c n31 N32 x1426 y1926 X206 Y1948 t0
c n31 N32 x1452 y1702 X175 Y1718 t0
c n31 N32 x1876 y1024 X430 Y964 t0
c n31 N32 x1569 y595 X22 Y576 t0
c n31 N32 x1943 y581 X394 Y526 t0
c n31 N32 x1778 y372 X184 Y331 t0
c n32 N33 x1882 y91 X213 Y43 t0
c n32 N33 x1986 y347 X370 Y293 t0
c n32 N33 x1856 y739 X334 Y689 t0
c n32 N33 x1718 y1319 X333 Y1280 t0
c n32 N33 x1840 y1320 X452 Y1256 t0
c n32 N33 x1681 y1584 X361 Y1545 t0
c n32 N33 x1791 y1651 X484 Y1584 t0
c n32 N33 x1619 y2040 X417 Y2001 t0
c n32 N33 x1651 y2435 X551 Y2366 t0
c n32 N33 x1538 y2503 X460 Y2469 t0
c n32 N33 x1576 y2982 X620 Y2904 t0
c n33 N34 x1668 y2541 X611 Y2456 t0
c n33 N34 x1548 y2389 X461 Y2357 t0
c n33 N34 x1478 y2242 X353 Y2237 t0
c n33 N34 x1713 y1967 X509 Y1903 t0
c n33 N34 x1770 y1604 X477 Y1543 t0
c n33 N34 x1732 y1499 X414 Y1449 t0
c n33 N34 x1848 y1087 X431 Y1029 t0
c n33 N34 x1625 y1062 X207 Y1041 t0
c n33 N34 x1948 y411 X377 Y358 t0
c n33 N34 x1717 y345 X164 Y307 t0
c n33 N34 x1724 y134 X93 Y90 t0
c n34 N35 x1440 y2519 X375 Y2522 t0
c n34 N35 x1214 y2396 X112 Y2489 t0
c n34 N35 x1620 y2152 X452 Y2109 t0
c n34 N35 x1438 y1554 X134 Y1573 t0
c n34 N35 x1966 y1550 X597 Y1454 t0
c n34 N35 x1938 y373 X338 Y322 t0
c n34 N35 x1702 y154 X51 Y112 t0
c n34 N35 x1676 y1848 X428 Y1801 t0
c n34 N35 x1360 y2082 X177 Y2125 t0
c n34 N35 x1952 y2452 X825 Y2280 t0
c n34 N35 x1706 y2681 X665 Y2574 t0
c n35 N24 x1155 y2356 X46 Y2467 t0
c n35 N24 x1291 y2223 X152 Y2284 t0
c n35 N24 x1419 y2127 X254 Y2144 t0
c n35 N24 x1565 y1977 X362 Y1954 t0
c n35 N24 x1404 y2023 X214 Y2049 t0
c n35 N24 x1583 y1477 X255 Y1461 t0
c n35 N24 x1603 y1389 X251 Y1378 t0
c n35 N24 x1810 y1178 X406 Y1122 t0
c n35 N24 x1675 y675 X156 Y644 t0
c n35 N24 x1961 y396 X375 Y341 t0
c n35 N24 x1922 y631 X389 Y574 t0
c n24 N24 x90 y66 X130 Y407 t1
c n24 N24 x886 y32 X886 Y351 t1
c n27 N27 x1044 y49 X1035 Y403 t1
c n30 N30 x1564 y105 X1404 Y1722 t1
c n33 N33 x1063 y83 X1030 Y1858 t1

#hugin_options r5
#----------------------------------------------------------------------------


More information about the ptX mailing list