1. A method, comprising: receiving an array of pixel data that is generated by an image sensor, wherein each pixel location in the array of pixel data includes an intensity value for only a single color channel of a plurality of possible color channels; and for each pixel location in the array of pixel data, computing a corrected intensity value based on intensity values associated with one or more additional pixel locations that neighbor the pixel location.