paul womack wrote:
>>
>> Are the samples too big for the list?
>>
>>I attached the (tiny!!!) project file in any case.
>Hopefully this hightail link will work.
It certainly did.
I attach two files. The first (map1.pto) is a pto file for the complete
set, giving an end-result pretty much like Marius Loot's, but
illustrating the use of the workflow I sketched in my post of 1 October.
I used your control points, except that I corrected a couple of
erroneous points that showed up as anomalously large errors in the the
Control Points Table (cps 5 and 7 between images 1 and 4) and added
vertical and horizontal control points using the edges of the paper. I
also reoptimised the lens characteristics, though I'm not sure that
helped much.
There were some stitching flaws in the seam between images 1 and 2,
which I suppressed with an Include mask in image 2.
The final result is not brilliant if you are looking for sub-pixel
average errors, but I am not sure they are obtainable with photomosaics
of maps and the like that have been folded, as I think yours had been.
There are still a few small stitching flaws that would need massaging
away. But as a record of the original, with the folds perceptible in
the final image, it seems fine to me.
The failed stitch between images 1 and 4 from your pto file I resolved (
map i1+i4.pto) by leaving the parameters for image 1 as they were,
resetting all the values for image 4 to zero in the optimizer, deleting
cps 5 and 7 and progressively adding the following parameters for image
4 to the optimisation: (1) X and Y, (2) Z, (3) r, (4) y and p. That is,
I used the the basic workflow of my earlier post, reduced to the case of
two images. Your pto file illustrates the fact that a value of Z that
is more negative than -1 is a sure sign that the optimiser has failed,
presumably because of something to do with the way you fed it with
parameters.
Roger Broadie
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/543563E0.7080607%40ogea.freeserve.co.uk.
For more options, visit https://groups.google.com/d/optout.
# hugin project file
#hugin_ptoversion 2
p f0 w7573 h3942 v90 k1 E4.39554 R0 S980,7008,22,2860 n"TIFF_m c:LZW r:CROP"
m g1 i0 f0 m2 p0.00784314
# image lines
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v47.9784057791506 Ra-0.289660006761551 Rb-0.160850003361702
Rc-0.698159992694855 Rd0.750599980354309 Re-0.0794999971985817
Eev4.39554127451515 Er1 Eb1 r-0.653344425874153 p-0.154203948276373
y2.13930431656551 TrX-0.57128375386008 TrY0.00817696928079673
TrZ0.00818541260999344 j0 a0.00111234559378279 b-0.0126032093897825
c-0.0210783198525713 d44.1268041863675 e114.191977114641 g0 t0 Va1 Vb-0.29962
Vc0.22379 Vd-0.08344 Vx0 Vy0 Vm5 n"sq_left.jpg"
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554127451515 Er1 Eb1
r0.0700449854354651 p0.154660676526106 y2.01901001309682 TrX0 TrY0 TrZ0 j0 a=0
b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 Vm5 n"sq_mid.jpg"
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554127451515 Er1 Eb1
r-1.26122611382754 p0.423865764281388 y3.42547203267494 TrX0.419580456336338
TrY-0.037342196109939 TrZ0.0069796942622313 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0
Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 Vm5 n"sq_right.jpg"
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554 Er1 Eb1
r-0.723692261781072 p0.592464355601695 y19.2253376417821 TrX-0.736139106668655
TrY-0.00931510381373287 TrZ-0.00267654177810104 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0
Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 Vm5 n"skew_left.jpg"
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554 Er1 Eb1
r-2.46181401190015 p1.09718790513374 y-19.7638216795391 TrX0.81322667673898
TrY0.0052138581609587 TrZ0.0137289542031888 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0
Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 Vm5 n"skew_right.jpg"
# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v Eev0
v r0
v p0
v y0
v TrX0
v TrY0
v TrZ0
v Vb0
v Vc0
v Vd0
v r1
v p1
v y1
v Eev2
v r2
v p2
v y2
v TrX2
v TrY2
v TrZ2
v Eev3
v r3
v p3
v y3
v TrX3
v TrY3
v TrZ3
v Eev4
v r4
v p4
v y4
v TrX4
v TrY4
v TrZ4
v
# control points
c n0 N1 x2961 y1694 X902.014900005729 Y1744.2594353327 t0
c n0 N1 x2264 y1791 X179.747822881977 Y1837.00413882822 t0
c n0 N1 x2475 y623 X383.017756034449 Y656.254372261984 t0
c n0 N1 x2967 y698 X895.942004517864 Y707.733471918483 t0
c n0 N1 x2181 y539 X99.7629756394594 Y585.105740168687 t0
c n0 N1 x2765 y1990 X704.715782981266 Y2045.90773713482 t0
c n0 N1 x2680 y63 X630.923593939201 Y68.0909073643227 t0
c n0 N1 x3029 y53 X999.331577612022 Y35.2799453600566 t0
c n0 N1 x2509 y1211 X411.507530394429 Y1251.74656272393 t0
c n0 N1 x3133 y1189 X1083.76947517172 Y1215.29392627263 t0
c n1 N2 x2091 y720 X456.823638967303 Y851.739511582092 t0
c n1 N2 x3085 y1232 X1472.07750794636 Y1384.41478094594 t0
c n1 N2 x1917 y2052 X269.505968092021 Y2164.94980566945 t0
c n1 N2 x2995 y510 X1418.57689902589 Y630.10110648274 t0
c n1 N2 x1670 y115 X92.7752211318064 Y243.013000635337 t0
c n1 N2 x1740 y1485 X97.163513975243 Y1600.57524547256 t0
c n1 N2 x1789 y741 X163.752527460136 Y871.457569382908 t0
c n1 N2 x3012 y70 X1465.91421326934 Y176.159903147921 t0
c n1 N2 x2336 y95 X746.173504520034 Y214.952988063717 t0
c n1 N2 x2497 y1097 X861.951834059363 Y1232.98980370623 t0
c n1 N2 x2907 y2022 X1280.24959559862 Y2189.78466563799 t0
c n1 N2 x2415 y1597 X767.666537209363 Y1735.38472476635 t0
c n3 N4 x3029 y657 X683.321535459219 Y567.761146237684 t0
c n3 N4 x2945 y1549 X521.236395340394 Y1470.75795249656 t0
c n3 N4 x2968 y167 X662.365120980652 Y92.01092785484 t0
c n3 N4 x2322.31167928722 y385.078207307192 X83 Y453 t0
c n3 N4 x2505 y1554 X152.487010437852 Y1447.26943998032 t0
c n3 N4 x2351 y986 X55.4145988814394 Y959.813632762101 t0
c n3 N4 x3172 y1979 X783.82371750909 Y1955.42582454891 t0
c n3 N4 x2338 y2037 X20 Y1851 t0
c n3 N4 x2461.55130045428 y31.8249026350686 X208 Y113 t0
c n3 N4 x2972 y1158 X562.714707759702 Y1080.05859571104 t0
c n3 N4 x2790 y842 X412.795273356698 Y787.655590071162 t0
c n1 N4 x2180 y898 X864.670472892873 Y973.746166694863 t0
c n1 N4 x2230 y159.333333333333 X949.666666666667 Y335.666666666667 t0
c n1 N4 x2131 y2030 X789.019159199381 Y1935.88878051852 t0
c n1 N4 x3176 y1061 X1701.31326214537 Y1111.90862034777 t0
c n1 N4 x3077 y224 X1678.01776726184 Y310.349205891637 t0
c n1 N4 x3080 y2031 X1578.54413797704 Y2051.05004036182 t0
c n1 N4 x1049 y32 X180.666666666667 Y320 t0
c n1 N4 x1438 y1082 X361 Y1127 t0
c n1 N4 x1320.58289511027 y2061.73688310948 X257 Y1888 t0
c n1 N4 x1594 y574 X483 Y723 t0
c n3 N4 x2841 y512 X502.574064329075 Y464.245111790277 t0
c n3 N4 x2749 y1311 X359.137787922287 Y1233.95931708036 t0
c n3 N4 x2921 y1998 X495.862112350381 Y1916.74524352761 t0
c n1 N4 x1784 y78 X639.62787630766 Y305.420033505152 t0
c n1 N4 x891.333333333333 y857 X50 Y954 t0
c n3 N1 x3108 y555 X1999.33333333333 Y266.333333333333 t0
c n3 N1 x1931 y1628 X397.960941013093 Y1578.04902376343 t0
c n3 N1 x1680.33333333333 y466 X134.40543088496 Y374.724884384202 t0
c n3 N1 x1659 y2088 X123.81499391402 Y2050.19184106369 t0
c n3 N1 x3174 y1979 X2126.78053344604 Y2052.35607440281 t0
c n3 N1 x2456 y353 X1057.87518908489 Y133.844090571504 t0
c n3 N1 x1899 y1138.66666666667 X347 Y1060 t0
c n3 N1 x2693.33333333334 y1148 X1364.33333333333 Y1027.33333333333 t0
c n3 N1 x2536 y1777 X1161.33333333333 Y1767.66666666667 t0
c n3 N1 x2355.66666666667 y848.333333333333 X897 Y708.333333333333 t0
c n0 N0 x1073 y2106 X3223.39149415053 Y2091.77357313751 t2
c n0 N0 x962 y1752 X991.227793882772 Y204.646308777738 t1
c n1 N1 x1127 y2160 X3078.50097753401 Y2122.17851772788 t2
c n2 N2 x211 y2266 X2675.32570202111 Y2302.02195989651 t2
c n2 N2 x2890 y2103 X2909.67809244823 Y31.8937191962593 t1
c n3 N3 x417 y1953 X468.117827201173 Y29.7844327176781 t1
c n4 N4 x290 y1972 X2860.48114053867 Y2267.25865839939 t2
c n4 N4 x3033 y2092 X3084.09601331803 Y66.7935327019183 t1
# masks
k i2 t1 p"731 491 2063 488 2056 1012 2184 1069 2128 2501 593 2495 593 2495"
#hugin_optimizeReferenceImage 1
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions
#hugin_enfuseOptions
#hugin_hdrmergeOptions -m avg -c
#hugin_outputLDRBlended true
#hugin_outputLDRLayers false
#hugin_outputLDRExposureRemapped false
#hugin_outputLDRExposureLayers false
#hugin_outputLDRExposureBlended false
#hugin_outputLDRStacks false
#hugin_outputLDRExposureLayersFused false
#hugin_outputHDRBlended false
#hugin_outputHDRLayers false
#hugin_outputHDRStacks false
#hugin_outputLayersCompression LZW
#hugin_outputImageType tif
#hugin_outputImageTypeCompression LZW
#hugin_outputJPEGQuality 90
#hugin_outputImageTypeHDR exr
#hugin_outputImageTypeHDRCompression LZW
#hugin_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_optimizerMasterSwitch 0
#hugin_optimizerPhotoMasterSwitch 21
# hugin project file
#hugin_ptoversion 2
p f0 w6701 h3563 v90 k1 E4.39554 R0 S1584,6536,38,3424 n"TIFF_m c:LZW r:CROP"
m g1 i0 f0 m2 p0.00784314
# image lines
#-hugin cropFactor=4.76878 disabled
i w3264 h2448 f0 v52.94 Ra-0.289660006761551 Rb-0.160850003361702
Rc-0.698159992694855 Rd0.750599980354309 Re-0.0794999971985817
Eev4.39554127451515 Er1 Eb1 r-0.461631805129287 p0.771447763484366
y3.51891552306076 TrX-0.702795598546874 TrY0.0278396702054276 TrZ0 j0 a0.01216
b-0.03654 c0.00207 d0 e0 g0 t0 Va1 Vb-0.29962 Vc0.22379 Vd-0.08344 Vx0 Vy0 Vm5
n"sq_left.jpg"
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554127451515 Er1 Eb1 r0 p0
y0 TrX0 TrY0 TrZ0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0
Vm5 n"sq_mid.jpg"
#-hugin cropFactor=4.76878 disabled
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554127451515 Er1 Eb1
r-1.315023658934 p0.686535926541986 y2.50499826806869 TrX0.448384573247516
TrY-0.0345859638247836 TrZ0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0
Vx=0 Vy=0 Vm5 n"sq_right.jpg"
#-hugin cropFactor=4.76878 disabled
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554 Er1 Eb1 r0 p0 y0 TrX0
TrY0 TrZ0 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 Vm5
n"skew_left.jpg"
#-hugin cropFactor=4.76878
i w3264 h2448 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev4.39554 Er1 Eb1
r-2.1332823096652 p2.67716131626705 y-20.031170304636 TrX0.817024313025319
TrY0.0354384907881762 TrZ-0.00377669520247422 j0 a=0 b=0 c=0 d=0 e=0 g=0 t=0
Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 Vm5 n"skew_right.jpg"
# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v Eev0
v Vb0
v Vc0
v Vd0
v Eev2
v Eev3
v Eev4
v r4
v p4
v y4
v TrX4
v TrY4
v TrZ4
v
# control points
c n0 N1 x2961 y1694 X902.014899836362 Y1744.25943546254 t0
c n0 N1 x2263.76636784053 y1790.84225562883 X179 Y1836 t0
c n0 N1 x2475 y623 X383.017756034449 Y656.254372292582 t0
c n0 N1 x2967 y698 X895.942004728268 Y707.733472078614 t0
c n0 N1 x2181.18539930897 y538.859752936214 X100 Y585 t0
c n0 N1 x2765 y1990 X704.715783137122 Y2045.90773733787 t0
c n0 N1 x2680 y63 X630.923593718257 Y68.0909073643227 t0
c n0 N1 x3029 y53 X999.331577612022 Y35.2799454693777 t0
c n0 N1 x2509 y1211 X411.507530647629 Y1251.74656281421 t0
c n0 N1 x3133 y1189 X1083.76947503254 Y1215.29392627263 t0
c n1 N2 x2091 y720 X456.823639069657 Y851.73951167938 t0
c n1 N2 x3084.91592108813 y1231.5717300517 X1472 Y1384 t0
c n1 N2 x1917.48328211694 y2052.0281058995 X270 Y2165 t0
c n1 N2 x2995 y510 X1418.57689967756 Y630.101106453448 t0
c n1 N2 x1670.30010641009 y115.021699134409 X93 Y243 t0
c n1 N2 x1739.82965188376 y1485.41415118419 X97 Y1601 t0
c n1 N2 x1789.18783614756 y740.510665502199 X164 Y871 t0
c n1 N2 x3012 y70 X1465.91421326934 Y176.159903147921 t0
c n1 N2 x2335.80014652568 y95.0074030540307 X746 Y215 t0
c n1 N2 x2497.08583412024 y1096.96344655474 X862 Y1233 t0
c n1 N2 x2907 y2022 X1280.24959566021 Y2189.78466563799 t0
c n1 N2 x2415 y1597 X767.666537030052 Y1735.38472495038 t0
c n3 N4 x3029 y657 X683.321534092617 Y567.761146237684 t0
c n3 N4 x2945 y1549 X521.236395012366 Y1470.75795254723 t0
c n3 N4 x2967.72382197564 y166.891598379251 X662 Y92 t0
c n3 N4 x2322.31167928722 y385.078207307192 X83 Y453 t0
c n3 N4 x2505 y1554 X152.487010437852 Y1447.26944041355 t0
c n3 N4 x2351 y986 X55.4145988814394 Y959.813632762101 t0
c n3 N4 x3172 y1979 X783.82371750909 Y1955.42582454891 t0
c n3 N4 x2338 y2037 X20 Y1851 t0
c n3 N4 x2461.55130045428 y31.8249026350686 X208 Y113 t0
c n3 N4 x2972 y1158 X562.714707759702 Y1080.05859571104 t0
c n3 N4 x2790 y842 X412.795273356698 Y787.655590071162 t0
c n1 N4 x2180 y898 X864.670472243342 Y973.746166694863 t0
c n1 N4 x2230 y159.333333333333 X949.666666666667 Y335.666666666667 t0
c n1 N4 x2131.33333333333 y2030.33333333333 X790 Y1935.66666666667 t0
c n1 N4 x3176 y1061 X1701.313262105 Y1111.90862049455 t0
c n1 N4 x3077 y224 X1678.0177671256 Y310.349206384598 t0
c n1 N4 x1049 y32 X180.666666666667 Y320 t0
c n1 N4 x1320.58289511027 y2061.73688310948 X257 Y1888 t0
c n1 N4 x1594 y574 X483 Y723 t0
c n3 N4 x2841 y512 X502.574064306955 Y464.245111587208 t0
c n3 N4 x2749 y1311 X359.137787723086 Y1233.95931708036 t0
c n3 N4 x2921 y1998 X495.862112449092 Y1916.74524617641 t0
c n1 N4 x1784 y78 X639.62787630766 Y305.420033505152 t0
c n1 N4 x891.333333333333 y857 X50 Y954 t0
c n3 N1 x3108 y555 X1999.33333333333 Y266.333333333333 t0
c n3 N1 x1931 y1628 X397.960941013093 Y1578.04902376343 t0
c n3 N1 x1680.33333333333 y466 X134.40543088496 Y374.724884384202 t0
c n3 N1 x1659.1564209386 y2087.85449579618 X124 Y2050 t0
c n3 N1 x3174 y1979 X2126.78053344604 Y2052.35607440281 t0
c n3 N1 x2456 y353 X1057.87518908489 Y133.844090571504 t0
c n3 N1 x1899 y1138.66666666667 X347 Y1060 t0
c n3 N1 x2693.33333333334 y1148 X1364.33333333333 Y1027.33333333333 t0
c n3 N1 x2536 y1777 X1161.33333333333 Y1767.66666666667 t0
c n3 N1 x2355.66666666667 y848.333333333333 X897 Y708.333333333333 t0
#hugin_optimizeReferenceImage 1
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions
#hugin_enfuseOptions
#hugin_hdrmergeOptions -m avg -c
#hugin_outputLDRBlended true
#hugin_outputLDRLayers false
#hugin_outputLDRExposureRemapped false
#hugin_outputLDRExposureLayers false
#hugin_outputLDRExposureBlended false
#hugin_outputLDRStacks false
#hugin_outputLDRExposureLayersFused false
#hugin_outputHDRBlended false
#hugin_outputHDRLayers false
#hugin_outputHDRStacks false
#hugin_outputLayersCompression LZW
#hugin_outputImageType tif
#hugin_outputImageTypeCompression LZW
#hugin_outputJPEGQuality 90
#hugin_outputImageTypeHDR exr
#hugin_outputImageTypeHDRCompression LZW
#hugin_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_optimizerMasterSwitch 0
#hugin_optimizerPhotoMasterSwitch 21