← Back to team overview

hugin-devs team mailing list archive

Re: [Bug 1855573] Re: HDR merge fails with transparent areas in output image

 

So if I want linear output?

Den 2019-12-08 kl. 10:26, skrev tmodes:
> When using HDR images as input only the output "exposure corrected, low dynamic range" is sensible. This keeps the color depth of the input images. I know the label is not ideal, but from the internal workflow this is the right choice for HDR input.
> The output labeled with HDR is meant to merge several exposure stacks in HDR images and then blend these HDR images into the final pano. This is not the right thing for HDR input. (The gaps you  observed are a result of the big overlap in combination with the "-c" switch of "hugin_hdrmerge" - stitch tab, under "HDR merge option".) 
>
> ** Changed in: hugin
>        Status: New => Invalid
>

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1855573

Title:
  HDR merge fails with transparent areas in output image

Status in Hugin:
  Invalid

Bug description:
  Input: linear images in exr format
  Output options: Enable LDR and HDR.

  The image actually exposes two bugs: When input images are linear,
  then a result encoded as TIFF is linear but GIMP treats it as sRGB
  (minor, could also be a bug in GIMP 2.10).

  The HDR image has strange gaps in it, so there is something that does
  not work properly when merging into a HDR image. It does not matter if
  internal or enblend is used as blender.

  Hugin version: 2018.0.0.5abfb4de7961

  # hugin project file
  #hugin_ptoversion 2
  p f8 w21988 h12284 v213  E0.0259287 R1 S1233,20508,328,5556 n"TIFF_m c:LZW r:CROP"
  m g1 i0 f0 m2 p0.00784314

  # image lines
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v37.4515047379333 Ra0 Rb0 Rc0 Rd0 Re0 Eev-0.024275124954031 Er1 Eb1 r0.233640495122331 p30.5236270424175 y-77.3336259964399 TrX0 TrY0 TrZ0 Tpy0 Tpp0 j0 a0 b0 c0 d0 e0 g0 t0 Va1 Vb0 Vc0 Vd0 Vx0 Vy0  Vm5 Rt1 n"_0001.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.00228790610853611 Er0.939798909386195 Eb0.939727178250528 r-0.123243207601004 p31.4631504978952 y-0.294553378035553 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0007.exr"
  #-hugin  cropFactor=2.4 disabled
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.0117108818213471 Er0.93383711499805 Eb0.933967846060622 r0.162608073803688 p30.6671282929367 y-64.2429429405111 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0002.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.0238283935039408 Er0.872542594383657 Eb0.872614336236638 r0.0535587548963141 p30.6895580954147 y-51.8336459756949 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0003.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.0217707154040701 Er0.879650667987351 Eb0.879739849953266 r0.139810627268288 p30.8142287412979 y-38.8124716781733 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0004.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.00052340973387284 Er0.93199401397876 Eb0.932280029250223 r0.127298944048104 p30.9542435736608 y-26.4133016567543 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0005.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0944552782405129 Er0.980376100903011 Eb0.9805974315884 r0.129670750254606 p32.6277273343871 y63.315115378291 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0012.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev-0.013590189402509 Er0.938484148228228 Eb0.938654095922136 r-0.16721328954283 p31.1677736172437 y-13.1223044795521 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0006.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0466660441643736 Er0.972175440373587 Eb0.972117108262507 r-0.023362101738665 p31.7461443711372 y12.1522761129797 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0008.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.087648285957064 Er0.996206139129296 Eb0.996459073768565 r-0.0740323560412443 p31.9417872078567 y25.4022880903042 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0009.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0696410750640571 Er0.992764556293737 Eb0.993106642747248 r0.0137444012197982 p32.1548974444404 y38.0025200679112 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0010.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0773596796401308 Er0.978313188916881 Eb0.978658057182005 r0.845921634841383 p32.7101484177967 y75.5825153589079 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0013.exr"
  #-hugin  cropFactor=2.4
  i w4010 h6016 f0 v=0 Ra=0 Rb=0 Rc=0 Rd=0 Re=0 Eev0.0582422236078531 Er0.969408631056947 Eb0.969555950954589 r-0.458917658453934 p32.3912035793726 y50.2401746800174 TrX0 TrY0 TrZ0 Tpy0 Tpp0 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 Rt1 n"_0011.exr"

  
  # specify variables that should be optimized
  v v0
  v Eev0
  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 Eev4
  v r4
  v p4
  v y4
  v Eev5
  v r5
  v p5
  v y5
  v Eev6
  v r6
  v p6
  v y6
  v Eev7
  v r7
  v p7
  v y7
  v Eev8
  v r8
  v p8
  v y8
  v Eev9
  v r9
  v p9
  v y9
  v Eev10
  v r10
  v p10
  v y10
  v Eev11
  v r11
  v p11
  v y11
  v Eev12
  v r12
  v p12
  v y12
  v

  
  # control points
  c n0 N2 x3885 y5233 X2403 Y5301 t0
  c n0 N2 x3592.23100268931 y5263.57780951087 X2133 Y5323 t0
  c n0 N2 x2317 y5432 X859 Y5438 t0
  c n2 N3 x3597 y5156 X2217 Y5200 t0
  c n2 N3 x3221.00001414824 y5239.00001956726 X1849 Y5268 t0
  c n2 N3 x2749 y5249 X1395 Y5255 t0
  c n2 N3 x2402 y5302 X1037 Y5296 t0
  c n3 N4 x2217 y5199 X797 Y5195 t0
  c n3 N4 x1962 y5283 X521 Y5268 t0
  c n3 N4 x1849 y5268 X405 Y5251 t0
  c n3 N4 x2468 y5166 X1054 Y5173 t0
  c n4 N5 x2635 y5338 X1272 Y5357 t0
  c n4 N5 x1773 y5234 X400 Y5214 t0
  c n4 N5 x2763 y5321 X1402 Y5345 t0
  c n4 N5 x2885 y5315 X1523 Y5342 t0
  c n4 N5 x2991 y5319 X1625 Y5351 t0
  c n4 N5 x3819 y5226 X2422 Y5294 t0
  c n4 N5 x3753 y5283 X2356 Y5338 t0
  c n5 N7 x2423 y5290 X951 Y5299 t0
  c n5 N7 x2507 y5173 X1054 Y5184 t0
  c n5 N7 x3211 y5047 X1765 Y5097 t0
  c n5 N7 x3580 y5022 X2114 Y5095 t0
  c n5 N7 x2166 y5302 X685 Y5301 t0
  c n5 N7 x2109 y5346 X624 Y5342 t0
  c n7 N1 x1750 y5097 X338 Y5081 t0
  c n7 N1 x2114 y5095 X724 Y5098 t0
  c n7 N1 x2552 y5338 X1147 Y5364 t0
  c n7 N1 x3397 y5186 X1993 Y5247 t0
  c n7 N1 x3090 y5075 X1704 Y5127 t0
  c n7 N1 x2854 y5121 X1468 Y5159 t0
  c n1 N8 x1466 y5160 X76 Y5139 t0
  c n1 N8 x2222 y5113 X881 Y5120 t0
  c n1 N8 x3107 y4837 X1792 Y4890 t0
  c n1 N8 x3756 y4850 X2411 Y4940 t0
  c n8 N9 x1510 y4923 X59 Y4872 t0
  c n8 N9 x1790 y4890 X376 Y4855 t0
  c n8 N9 x2426 y4952 X1019 Y4956 t0
  c n8 N9 x2768 y4942 X1357 Y4967 t0
  c n8 N9 x3664 y4649 X2254 Y4734 t0
  c n9 N10 x3897 y5177 X2488 Y5244 t0
  c n9 N10 x3800 y5052 X2418 Y5134 t0
  c n9 N10 x2253 y4733 X938 Y4737 t0
  c n9 N10 x1791 y4726 X466 Y4692 t0
  c n10 N12 x2638 y4952 X1340 Y4974 t0
  c n10 N12 x3087 y5068 X1770 Y5110 t0
  c n10 N12 x3542 y4528 X2249 Y4617 t0
  c n10 N12 x3361 y4636 X2074 Y4708 t0
  c n10 N12 x3677 y4553 X2373 Y4648 t0
  c n10 N12 x3940 y4665 X2593 Y4782 t0
  c n12 N6 x3759 y4663 X2384 Y4756 t0
  c n12 N6 x3841 y5190 X2403 Y5257 t0
  c n12 N6 x3512 y5185 X2104 Y5240 t0
  c n12 N6 x3210 y5247 X1805 Y5289 t0
  c n12 N6 x2925 y5143 X1546 Y5173 t0
  c n12 N6 x2773 y5047 X1394 Y5072 t0
  c n12 N6 x2594 y4782 X1274 Y4807 t0
  c n6 N11 x2382 y4758 X1131 Y4764 t0
  c n6 N11 x2402 y5255 X1098 Y5269 t0
  c n6 N11 x2102 y5241 X793 Y5241 t0
  c n6 N11 x1803 y5289 X479 Y5279 t0
  c n6 N11 x1624 y5284 X285 Y5271 t0
  c n6 N11 x2829 y5221 X1494 Y5245 t0
  c n6 N11 x3290 y5299 X1955 Y5340 t0

  #hugin_optimizeReferenceImage 0
  #hugin_blender internal
  #hugin_remapper nona
  #hugin_enblendOptions 
  #hugin_enfuseOptions 
  #hugin_hdrmergeOptions -m avg -c
  #hugin_verdandiOptions --seam=blend
  #hugin_outputLDRBlended true
  #hugin_outputLDRLayers false
  #hugin_outputLDRExposureRemapped false
  #hugin_outputLDRExposureLayers false
  #hugin_outputLDRExposureBlended false
  #hugin_outputLDRStacks false
  #hugin_outputLDRExposureLayersFused false
  #hugin_outputHDRBlended true
  #hugin_outputHDRLayers false
  #hugin_outputHDRStacks false
  #hugin_outputLayersCompression LZW
  #hugin_outputImageType tif
  #hugin_outputImageTypeCompression LZW
  #hugin_outputJPEGQuality 90
  #hugin_outputImageTypeHDR tif
  #hugin_outputImageTypeHDRCompression DEFLATE
  #hugin_outputStacksMinOverlap 0.7
  #hugin_outputLayersExposureDiff 0.5
  #hugin_optimizerMasterSwitch 6
  #hugin_optimizerPhotoMasterSwitch 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1855573/+subscriptions


References