Black rectangles when blending HDR images

2008-06-04
2013-01-01
  • Marcus Klemm
    Marcus Klemm
    2008-06-04

    Hello,

    I just tried to create HDR panorama photos using hugin. The resulting images have huge rectangular regions with one or more colors missing. Stitching at different reolutions creates different artifacts. You can see a few examples in this image: http://img74.imageshack.us/img74/3114/artifactssf8.jpg

    Intermediate files created by nona etc. seem to be okay, the error is produced by enblend. Please let me know if you need any further information.

    I'm using newest enblend compiled from cvs on Ubuntu Hardy. Hugin, libpano13 etc. are also the newest possible.

    Bye, Stormking

     
    • Bruno Postle
      Bruno Postle
      2008-06-05

      This is probably the same as this hugin bug report:

      http://sourceforge.net/tracker/index.php?func=detail&aid=1850361&group_id=77506&atid=550441

      Basically hugin/hdr_merge/nona sometimes produces out-of-range EXR data, the workaround is to stitch with hugin using HDR TIFF.

       
      • Marcus Klemm
        Marcus Klemm
        2008-06-07

        I tried that. I converted the intermediate images produced by hugin/nona to TIFF and started the enblend command by myself. The result was the same.

        Any idea how I can force hugin to use the TIFF format for its temporary files?

         
        • Bruno Postle
          Bruno Postle
          2008-06-07

          EXR seems to be hard-coded in hugin, a workaround would be to save the project and do some text substitution on the myproject.pto.mk file, though this isn't ideal:

            s/\.exr/\.tif/g
            s/EXR_m/TIFF_m/g

          Then stitch the project on the command-line:

            make -f myproject.pto.mk