[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread ln wirz
Yes, that is weird. You're quoting vigra code, ... #if _MSC_VER >= 1900 || __cplusplus >= 201103L noexcept(false) #else throw(PreconditionViolation) #endif ... and given that enblend uses c++17, the offending line shouldn't be used. Does that problem not occur without my

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread tmodes
@Bruno: Are you building with automake or with CMake? (On Ubuntu with CMake it works. But it seems they are providing a patched vigra library, where this offending line is missing.) @Lukas: I applied now most of your patches and pushed the changes to the repository. Thank you again for the

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread Bruno Postle
Yes, I replaced the `throw(PreconditionViolation)` with `noexcept(false)` in both vigra locations and now enblend builds. I'm using enblend cmake, as the autoconf stuff needed bootstrapping and I couldn't remember how to do it. Haven't tested the bugfix yet, I seem to remember I created test

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread Bruno Postle
I can't get the latest mercurial with patches to build, this doesn't really make sense to me as enblend requires c++17: ``` /usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++17 does not allow dynamic exception specifications 1413 | throw(PreconditionViolation)

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread Bruno Postle
It also passes the test case I uploaded here: https://bugs.launchpad.net/enblend/+bug/785803/comments/8 -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/2053287 Title: sometimes there are

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread Bruno Postle
Can confirm that the patched enblend passes all the tests that I uploaded here: https://bugs.launchpad.net/enblend/+bug/721136/comments/18 -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/2053287

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread tmodes
Thanks for testing. I also closed the mentioned tickets. -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/2053287 Title: sometimes there are black patches/corners in blended images Status in

[Hugin-bug-hunters] [Bug 721136] Re: enblend creates an unexplainable black area.

2024-02-18 Thread tmodes
Fixes with changes in #2053287 ** Changed in: enblend Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/721136 Title: enblend creates an unexplainable

[Hugin-bug-hunters] [Bug 785803] Re: Enblend --no-optimize produces black holes into panoramas

2024-02-18 Thread tmodes
Fixes with changes in #2053287 ** Changed in: enblend Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/785803 Title: Enblend --no-optimize produces

[Hugin-bug-hunters] [Bug 721136] Re: enblend creates an unexplainable black area.

2024-02-18 Thread Ken Shirriff
Thanks so much for fixing this bug. What was the underlying problem? -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/721136 Title: enblend creates an unexplainable black area. Status in

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread ln wirz
Thank you for merging and testing! The part that you omitted wasn't very important, but I am surprised that it causes issues with msvc (I had not tested that). I am not surprised, but slightly relieved that not only my but also your test cases pass! -- You received this bug notification

[Hugin-bug-hunters] [Bug 721136] Re: enblend creates an unexplainable black area.

2024-02-18 Thread ln wirz
The bug was what we had discussed on the hugin mailing list four years ago: https://groups.google.com/g/hugin-ptx/c/IgglWhsUCEQ/m/6bUu_YQpCAAJ tldr: one may generate a seam line such that pixels are included from an image that are out of bounds wrt that image. This fix only affects the blending

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread Bruno Postle
I'm not using msvc. This error is with fedora, but it looks like vigra in Ubuntu has already been patched to support c++17. The fedora vigra maintainer needs to copy some Ubuntu patches. -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to

[Hugin-bug-hunters] [Bug 2053287] Re: sometimes there are black patches/corners in blended images

2024-02-18 Thread ln wirz
@Bruno Since last autumn (~September) main line vigra should support c++17, but any distribution release is of course likely to not have included that yet. But I guess it will fix itself in Fedora some time. (wrt msvc, I was referring to what Thomas wrote.) -- You received this bug notification