** Attachment added: "20210813_Hugin_Editor_Masks_Tab.png" https://bugs.launchpad.net/hugin/+bug/1939930/+attachment/5517820/+files/20210813_Hugin_Editor_Masks_Tab.png
-- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/1939930 Title: Include mask and MOST of 2nd image black Status in Hugin: New Bug description: I have a 2-image pano that has a car in the overlapping section of the left image, and none in the overlapping section of the right one. I want the car to be there. Despite the car being there in the preview, it is missing in the final pano. Thinking that Hugin is automatically preferring the right over the left, I "cleverly" flipped both images so that the car was in the right image, and ran Hugin again. Car still missing... I researched the problem, and came upon the concept of Masks, and how to make an include mask. I drew a polygon around the car, selected "Include Region", and then "Stitch!" (or possibly "3. Create panorama"). The area of the mask is completely black on the left part of the final image. The right part of the image is also completely black, except for a thin horizontal strip along the top, which blends into the black. In searching for others who might have reported this bug, I came upon: https://answers.launchpad.net/hugin/+question/675074 which suggests: "- add switch --primary-seam-generator=nft to the enblend options on the stitcher tab" Indeed, this solves the problem. However, the bug has not been fixed, even though it must have existed before "2018-10-11", as the very first comment contained the above suggestion. The same comment said: "Either the remapping stage has a bug or the blending program has problems in finding the correct seams for complex masks." There are only two images, and one mask, in my image - not "complex", then... Is there no way for Hugin/enblend to recognize the problem, and apply the solution automatically? Perhaps if an include mask is present, that should be enough to trigger it... ------------------------------------------- scott@ASUS-Prime-B350MA:~$ uname -a Linux ASUS-Prime-B350MA 5.10.0-5-amd64 #1 SMP Debian 5.10.26-1 (2021-03-27) x86_64 GNU/Linux Using Sway 1.5, wlroots (libwlroots6: Installed: 0.11.0-3) under Debian Testing Invoking About... yields an error message: "08:21:30 PM: can't open file '/usr/share/hugin/xrc/data/COPYING.txt' (error 2: No such file or directory) 08:21:30 PM: File couldn't be loaded." However the System tab yields: "Operating System: Linux 5.10.0-5-amd64 x86_64 Architecture: 64 bit Free memory: 10769072 kiB Hugin Version: 2020.0.0.2f576e5d5b4a Path to resources: /usr/share/hugin/xrc/ Path to data: /usr/share/hugin/data/ Hugins camera and lens database: /home/scott/.hugindata/camlens.db Multi-threading using C++11 std::thread and OpenMP Libraries wxWidgets: wxWidgets 3.0.5 wxWidgets Library (wxGTK port) Version 3.0.5 (Unicode: wchar_t, debug level: 1), Runtime version of toolkit used is 3.24. Compile-time GTK+ version is 3.24.20. libpano13: 2.9.20 Boost: 1.74.0 Exiv2: 0.27.3 SQLite3: 3.34.1 Vigra: 1.11.1 LittleCMS2: 2.9" They don't list enblend/enfuse, but their version is: 4.2-8 ----------------------------------------------- I will attach the .pto file, and the final image. If you want the original .jpg s let me know. [I have checked the "copy logfile to clipboard" preference, but I get nothing upon "pasting" into my text editor - maybe because of Wayland (but I normally have no problem with ctrl-c/ctrl-v cutting and pasting) ... ] To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/1939930/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~hugin-bug-hunters Post to : hugin-bug-hunters@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-bug-hunters More help : https://help.launchpad.net/ListHelp