WLJS LogoWLJS Notebook

ImageDemosaic

ImageDemosaic[image, cfa] reconstructs a color image using the specified color filter array cfa.

  • ImageDemosaic[image, {"cfa", {row, col}}] aligns the pattern with the {row, col} pixel of image.

Examples

ImageDemosaic[rawImage, "Bayer"]
ImageDemosaic[image, {"RGGB", {1, 1}}]
ImageDemosaic[sensorData, "GRBG"]

*See the official Wolfram Language Reference for more details.

On this page