Bayer2RGB_VNG_8u - bright pixels overflow with SSE2 optimization (Bug #1365)
Description
When using Bayer2RGB_VNG_8u with SSE2 optimization there are colored patches in saturated parts of the image. It seems like the UCHARs roll over the 255 value. Without the optimization the image is OK.
However, all the optimization switch seems strange - it seems like when optimization is on, the function does all the not optimized path any way and then overwrites it with the optimized version results.
Associated revisions
#1365 Fixed numerous bugs in Bayer2RGB_VNG_8u SSE optimization, added simple regression test
Merge pull request #1365 from bitwangyaoyao:2.4_bilateral
History
Updated by Alexander Shishkov almost 13 years ago
- Priority changed from High to Normal
- Target version deleted ()
Updated by Alexander Shishkov almost 13 years ago
- Assignee deleted (
Vadim Pisarevsky)
Updated by Andrey Kamaev almost 13 years ago
- Assignee set to Andrey Kamaev
Updated by Andrey Kamaev almost 13 years ago
Thanks for reporting!
Optimized version is now fixed in the trunk.
And while optimization switch looks strange it is doing the job right.
- Status changed from Open to Done
Updated by Alexander Shishkov almost 13 years ago
- Target version set to 2.4.0