Quasar > Image Processing > Demosaicing

Demosaicing


An overview of the different functions and classes:

bayer_mosaicimageCreate a Bayer mosaic image based on a specific Bayer pattern The pattern matrix is a 2x2 matrix, in which 0=red, 1=green1, 2=blue, 3=green2
bayer_subsamplingBayer subsampling to 4-channel RG1BG2 image, using a specific Bayer pattern
bayer_subsampling_rgbBayer subsampling to 4-channel image, using a specific Bayer pattern
bayer_upsamplingCreate an RGB mosaic image, with unknown sensor values set to zero This is effectively the adjoint operation of bayer_subsampling
demosaic_bilinearBilinear demosaicing for Bayer CFAs
demosaic_bilinear_CFABilinear demosaicing for Bayer CFAs