1. A method comprising: determining a plurality of input groups of pixels of an image based on one or more pixel attributes of the pixels, wherein each of the input groups of pixels includes different pixels of the image than the other input groups of pixels; determining an individual neutral color associated with each of the input groups of pixels based on the colors of the pixels in the associated input group; determining an individual color correction associated with each of a plurality of output groups of pixels based on one or more of the neutral colors associated with the input groups; and applying each individual color correction to its associated output group of pixels, wherein applying the individual color corrections includes adjusting the color of one or more pixels in each of the output groups to reduce color casts on the pixels of the output groups.