1. A computer-implemented method for adjusting the color of pixels in an image, each pixel having one or more color values, the method comprising: identifying a target region of pixels in the image that represent an object, the object having a shape and a predefined set of features, the predefined set of features including at least a first feature, a second feature, and a third feature; defining one or more spatial profile functions based at least in part on one or more spatial properties of one or more of the predefined set of features; calculating a redeye probability that one or more pixels in the target region represent a portion of an eye exhibiting a redeye effect, based at least in part on a color of the one or more pixels; calculating a first probability that the one or more pixels in the target region represent the first feature based at least in part on a color of the one or more pixels; calculating a second probability that the one or more pixels in the target region represent the second feature based at least in part on a color of the one or more pixels; combining the first probability and the second probability according to a probability function to calculate a third probability that the one or more pixels represent the first feature or the second feature; and computing a new color of the one or more pixels in the target region based at least in part on the redeye probability, the third probability that the one or more pixels represent the first feature or the second feature and the one or more spatial profile functions.