1. A method of correcting saturated pixel data in an image sensor, the method comprising: determining a weight function, the weight function indicating a correlation between color values of saturated pixels and color values of neighboring pixels, the saturated pixels being among a plurality of pixels which have a color value greater than a saturation threshold value, the neighboring pixels being among the plurality of pixels that are proximate to each of the saturated pixels; determining, using the weight function, a weight value for each of the neighboring pixels which are proximate to a first one of the saturated pixels; determining, using the weight value of each of the neighboring pixels, a weighted average value of the color values of the neighboring pixels; and correcting the color value of the first saturated pixel to the weighted average value.