Thread: General debayer question

Reply to Thread
Results 1 to 3 of 3
  1. #1 General debayer question 
    Ok so we have a debayer pattern like the following (I believe this is the way Red does it as well)

    RGRGRGRGRGRG
    GBGBGBGBGBGB
    RGRGRGRGRGRG
    GBGBGBGBGBGB

    I'm assuming I can make a pixel with each quad

    RG
    GB

    Can the quads "borrow" ajacent photo sites (either side or top/bottom) from each other as well to broaden color sensitivity?

    RG+RG
    GB+GB

    yields
    R GR G
    G BG B

    This seems like it would be a standard practice for nearest neighbors to improve color fidelity, but I guess could make the image muddy, unless you corrected for low/high luminance? Or is it a waste of processor time for little benefit?
    J.D. Frey
    dead workers party
    Reply With Quote  
     

  2. #2  
    Senior Member Anders Holck's Avatar
    Join Date
    Dec 2006
    Posts
    1,316
    Debayer algorithms are much more sophisticated than simply averaging photo sites to create an output pixel: http://www.vlsi.uwindsor.ca/presenta...12-Anthony.pdf

    AHD algorithm: http://www.photoactivity.com/Pagine/...03adaptive.pdf
    VNG algorithm: http://scien.stanford.edu/pages/labs...ep/vargra.html
    Facebook Skype: aholck
    Reply With Quote  
     

  3. #3  
    Awesome- thanks for the info. I didn't even know what algorithm names to start with. I've read a bunch of general stuff about bayer patterns, but have not seen any info on how the pixels are actually made. Quads seemed pretty simple, so I knew there was room in there for improvement, and I suspect the way the RED RAW/CODE wavelet compression works probably fits elegantly into a bayer pattern design.

    Thanks again!
    J.D. Frey
    dead workers party
    Reply With Quote  
     

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts