Bayer2RGB_VNG_8u - bright pixels overflow with SSE2 optimization (Bug #1365)


Added by Lev Lvovsky over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Normal Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:imgproc, video
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision 09490188
Added by Andrey Kamaev almost 13 years ago

#1365 Fixed numerous bugs in Bayer2RGB_VNG_8u SSE optimization, added simple regression test

Revision 84435ba7
Added by Roman Donchenko over 11 years ago

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

Also available in: Atom PDF