#26 bug in bayer_Dowsample function

closed-accepted
None
5
2011-08-21
2011-05-08
Anonymous
No

Within the function dc1394_bayer_Dowsample in the case of DC1394_COLOR_FILTER_GRBG and DC1394_COLOR_FILTER_GBRG bayer patterns, the pixel j+j+1 is never read; the pixel i+j+sx+1 is used instead. As result the red (blue in the case of GBRG) channel is used twice in the final image both as red and blue (blue and red in the case of GRBG).

The fix is trivial, nevertheless I attached a patch.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-05-08

    patch of the source file bayer.c that fixes the bug

     
  • Damien Douxchamps

    • assigned_to: nobody --> ddouxchamps
    • status: open --> closed-accepted
     
  • Damien Douxchamps

    Patch merged, thanks

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks