On Mon 05-Apr-2021 at 19:40 -0700, Jared wrote:

enblend:
/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007/src/fixmath.h:487:
double enblend::PyramidScale<PyramidIntegerBits,
PyramidFractionBits>::scale_lightness_for_pyramid(double) const [with int
PyramidIntegerBits = 9; int PyramidFractionBits = 7]: Assertion `result >=
0.0' failed.

I tried multiple times but always get the same error.  The images are
large, about maybe 300 MB TIFFs (x8) when uncompressed, so I thought maybe
I was running out of RAM or disk or something, but I have 32 GB of ram and
still had 14.5 GB reported free when running in a 1 second loop the last
time it failed.  Disk also looks good.

The error is new to me, but looking at your project, although the crop area is a reasonable 32600x21922 pixels, the panorama canvas is 53210x1061398 (which is 50+ gigapixels).

I would try reducing the canvas area, as it is possible the big offset numbers are confusing enblend, click the Fit button in the Preview window or Calculate Field of View in the Stitcher tab (which does the same thing). I would also use Calculate Optimal Size in the Stitcher tab, and centre the output in the panorama using the Drag tool.

Attached, a more modest 680 megapixel version of your project. This should be ok, if it isn't then there some problem with the images themselves.

--
Bruno

--
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/YGzFTI9ll/1J3pdg%40postle.net.
# hugin project file
#hugin_ptoversion 2
p f0 w32000 h21295 v34  E0 R0 n"TIFF_m c:LZW r:CROP"
m i0

# image lines
#-hugin  cropFactor=1
i w9752 h12166 f0 v10 Ra0 Rb0 Rc0 Rd0 Re0 Eev0 Er1 Eb1 r-0.219912418666407 p0 
y-0 TrX-0.213712523146247 TrY-0.0832598325746109 TrZ-0.0103743060545781 Tpy-0 
Tpp0 j0 a0 b0 c0 d0 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 n"ffmap-1-1-prof.tif"
#-hugin  cropFactor=1
i w9760 h11581 f0 v10 Ra0 Rb0 Rc0 Rd0 Re0 Eev0 Er1 Eb1 r0 p0 y-0 
TrX-0.0456501256979565 TrY-0.0879615445799858 TrZ0 Tpy-0 Tpp0 j0 a0 b0 c0 d0 e0 
g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 n"ffmap-1-2-prof.tif"
#-hugin  cropFactor=1
i w9760 h11581 f0 v=1 Ra=1 Rb=1 Rc=1 Rd=1 Re=1 Eev0 Er1 Eb1 r-0.108563810399294 
p0 y-0 TrX0.0802918258402415 TrY-0.0883555069229794 TrZ-0.000700500258266013 
Tpy-0 Tpp0 j0 a=1 b=1 c=1 d=1 e=1 g=1 t=1 Va=1 Vb=1 Vc=1 Vd=1 Vx=1 Vy=1  Vm5 
n"ffmap-1-3-prof.tif"
#-hugin  cropFactor=1
i w9760 h11461 f0 v10 Ra0 Rb0 Rc0 Rd0 Re0 Eev0 Er1 Eb1 r0.0261204144152646 p0 
y-0 TrX0.20990911693173 TrY-0.0896342268436779 TrZ-0.00113596122157738 Tpy-0 
Tpp0 j0 a0 b0 c0 d0 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 n"ffmap-1-5-prof.tif"
#-hugin  cropFactor=1
i w9752 h11398 f0 v10 Ra0 Rb0 Rc0 Rd0 Re0 Eev0 Er1 Eb1 r0.151877238997405 p0 
y-0 TrX-0.213133803715886 TrY0.0943361406819831 TrZ-0.00556327652906359 Tpy-0 
Tpp0 j0 a0 b0 c0 d0 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 n"ffmap-2-1-prof.tif"
#-hugin  cropFactor=1
i w9752 h11398 f0 v=4 Ra=4 Rb=4 Rc=4 Rd=4 Re=4 Eev0 Er1 Eb1 
r-0.00429728460240033 p0 y-0 TrX-0.0458241222744757 TrY0.0949695357022452 
TrZ-0.00498772263301839 Tpy-0 Tpp0 j0 a=4 b=4 c=4 d=4 e=4 g=4 t=4 Va=4 Vb=4 
Vc=4 Vd=4 Vx=4 Vy=4  Vm5 n"ffmap-2-2-prof.tif"
#-hugin  cropFactor=1
i w9760 h11506 f0 v10 Ra0 Rb0 Rc0 Rd0 Re0 Eev0 Er1 Eb1 r-0.00416696482864792 p0 
y-0 TrX0.0796198450113995 TrY0.0942646624090972 TrZ-0.00288355104478053 Tpy-0 
Tpp0 j0 a0 b0 c0 d0 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 n"ffmap-2-3-prof.tif"
#-hugin  cropFactor=1
i w9760 h11446 f0 v10 Ra0 Rb0 Rc0 Rd0 Re0 Eev0 Er1 Eb1 r0.14246904327654 p0 y-0 
TrX0.210668211924961 TrY0.0949748584616631 TrZ-0.000933150279537798 Tpy-0 Tpp0 
j0 a0 b0 c0 d0 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 n"ffmap-2-5-prof.tif"


# specify variables that should be optimized
v Ra0
v Rb0
v Rc0
v Rd0
v Re0
v r0
v TrX0
v TrY0
v TrZ0
v Vb0
v Vc0
v Vd0
v Ra1
v Rb1
v Rc1
v Rd1
v Re1
v Eev1
v Vb1
v Vc1
v Vd1
v Eev2
v r2
v TrX2
v TrY2
v TrZ2
v Ra3
v Rb3
v Rc3
v Rd3
v Re3
v Eev3
v r3
v TrX3
v TrY3
v TrZ3
v Vb3
v Vc3
v Vd3
v Ra4
v Rb4
v Rc4
v Rd4
v Re4
v Eev4
v r4
v TrX4
v TrY4
v TrZ4
v Vb4
v Vc4
v Vd4
v Eev5
v r5
v TrX5
v TrY5
v TrZ5
v Ra6
v Rb6
v Rc6
v Rd6
v Re6
v Eev6
v r6
v TrX6
v TrY6
v TrZ6
v Vb6
v Vc6
v Vd6
v Ra7
v Rb7
v Rc7
v Rd7
v Re7
v Eev7
v r7
v TrX7
v TrY7
v TrZ7
v Vb7
v Vc7
v Vd7
v


# control points
c n0 N1 x9663 y7768 X233.536926690424 Y7750.77296302349 t0
c n0 N1 x9543 y8811 X127.213191638769 Y8794.04588144081 t0
c n0 N1 x9382 y9722 X25.7171959225063 Y9515.28535754712 t0
c n0 N1 x9674 y5910 X243.408940141079 Y5892.41133705467 t0
c n0 N1 x9676 y747 X246.526382641988 Y728.842899417772 t0
c n0 N4 x1229 y11113 X1209.64523089603 Y758.846370940981 t0
c n0 N4 x3228 y11173 X3208.34721837881 Y823.868129086214 t0
c n0 N4 x4138 y12005 X4115.92332058372 Y1658.25938144929 t0
c n0 N4 x4519 y10414 X4501.23194873464 Y68.1747417023015 t0
c n1 N5 x6755 y10876 X6777.27557308863 Y555.182773841711 t0
c n1 N5 x9552 y10635 X9572.74312832771 Y322.216291280245 t0
c n1 N5 x9033 y11255 X9051.53691537005 Y939.5376592626 t0
c n1 N5 x6029 y11517 X6050.32670980603 Y1193.25509650172 t0
c n1 N2 x9183 y908 X2168.65094698128 Y925.817537638266 t0
c n1 N2 x8651 y4794 X1630.69529076018 Y4810.76574040726 t0
c n1 N2 x9087 y8268 X2051.95697692432 Y8285.58759343123 t0
c n1 N2 x9554 y10635 X2513.23844138141 Y10653.6865942698 t0
c n1 N2 x9032 y11258 X1991.18354894282 Y11275.3665655263 t0
c n4 N5 x9497 y4014 X132.958257980149 Y3993.19044945558 t0
c n4 N5 x9635 y4337 X254.961654757103 Y4315.71701507068 t0
c n4 N5 x9598 y5165 X220.518535424728 Y5143.88768828218 t0
c n4 N5 x9665 y8989 X280.208998881725 Y8967.17450369837 t0
c n4 N5 x9633 y10450 X251.029989817889 Y10427.322654838 t0
c n5 N6 x8259 y6920 X1241.44832347351 Y7013.89383650001 t0
c n5 N6 x7999 y5911 X980.677587861841 Y6005.42951383929 t0
c n5 N6 x8691 y2737 X1670.24061182156 Y2831.01400591725 t0
c n5 N6 x9056 y935 X2037.35193501445 Y1028.3289054888 t0
c n5 N6 x9300 y9514 X2288.26657256363 Y9606.69939495411 t0
c n2 N6 x2359 y10484 X2400.37362651656 Y245.374431860786 t0
c n2 N6 x2977 y11339 X3024.72806926079 Y1098.14212215754 t0
c n2 N6 x6072 y11092 X6121.70000273313 Y847.255534900843 t0
c n2 N6 x6985 y10485 X7035.62873410019 Y240.217854935952 t0
c n2 N6 x7519 y11468 X7570.7512440579 Y1221.44669484474 t0
c n2 N3 x7631 y4750 X390.855325075863 Y4758.19399278684 t0
c n2 N3 x7475 y1692 X234.896496235989 Y1700.14167546826 t0
c n2 N3 x7825 y7905 X590.967845312727 Y7914.86626821627 t0
c n2 N3 x7700 y9805 X469.412163209991 Y9814.86449921329 t0
c n2 N3 x7661 y9307 X430.029570876402 Y9317.50665836192 t0
c n2 N3 x7743 y7159 X508.624382381155 Y7166.96750615216 t0
c n6 N7 x7779 y1340 X443.265571444293 Y1282.87869895212 t0
c n6 N7 x8038 y3526 X706.738348429684 Y3468.19339655201 t0
c n6 N7 x9053 y5438 X1726.08909962269 Y5377.52559028097 t0
c n6 N7 x7503 y6479 X191.634720075223 Y6421.59838586696 t0
c n6 N7 x7563 y7277 X245.907534699708 Y7219.09080576009 t0
c n3 N7 x3710 y10653 X3653.29530902905 Y338.430348483532 t0
c n3 N7 x4918 y11159 X4859.95991405656 Y842.283591275947 t0
c n3 N7 x5487 y11080 X5428.77382064718 Y762.920129275643 t0
c n3 N7 x7708 y11372 X7649.29576821362 Y1053.85538765377 t0
c n3 N7 x7785 y10648 X7725.75455959692 Y331.000680240629 t0

#hugin_optimizeReferenceImage 1
#hugin_blender enblend
#hugin_remapper nona
#hugin_enblendOptions 
#hugin_enfuseOptions 
#hugin_hdrmergeOptions -m avg -c
#hugin_verdandiOptions 
#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_outputRangeCompression 0
#hugin_optimizerMasterSwitch 0
#hugin_optimizerPhotoMasterSwitch 21

Reply via email to