A method of processing an array of pixels captured by an image capture device, includes providing a first two-dimensional array having first and second groups of pixels wherein pixels from the first group of pixels have narrower spectral photoresponses than pixels from the second group of pixels and wherein the first group of pixels has individual pixels that have spectral photoresponses that correspond to a set of at least two colors and the placement of the first and second groups of pixels define a pattern that has a minimal repeating unit arranged to permit the reproduction of a captured color image under different lighting conditions; responding to ambient lighting conditions, whether panchromatic pixels are to be combined with color pixels; combining pixels to produce a second two-dimensional array of pixels which has fewer pixels than the first two-dimensional array of pixels; and correcting the color pixels.