Bayer Color Filter Array Demosaicing: Raw Mosaic to Full Color Image (2D)
The same shared demosaicing model in 2D: ideal scene, raw Bayer mosaic and reconstructed image side by side, with a row profile of the reconstructed red, green and blue values, PSNR and false-color error.
See how a camera sensor that records only one color per pixel rebuilds a full color picture. Choose a test scene, bilinear or gradient-directed demosaicing, an optical low-pass blur and sensor noise, then watch the raw RGGB mosaic turn into an image with zipper fringes, false color and aliased stripes. A Blender-built camera, sensor and easels, with PSNR readouts and numerical checks built in.
The same shared demosaicing model in 2D: ideal scene, raw Bayer mosaic and reconstructed image side by side, with a row profile of the reconstructed red, green and blue values, PSNR and false-color error.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install