A function that demosaicizes (sic) raw bitmaps