1. A system comprising: a programmable processor; and a computer-readable medium comprising a computer product for rendering a foreground area of an image, the image including the foreground area and a background, the product comprising instructions operable to cause the programmable processor to: identify a target area in the image, the target area being an area of the background associated with the foreground area or an area of the foreground area associated with an area of the background, the target area containing a number of pixels, each pixel having one or more attribute values associated with one or more attributes; select a sample set of pixels to sample from the target area, the sample set of pixels including less than the number of pixels in the target area; identify the attribute value of a first attribute for each of a plurality of the pixels in the sample set to identify a plurality of attribute values; predict an attribute value of the first attribute for the target area based on the plurality of identified attribute values; and; render at least a portion of the foreground area based on the predicted attribute value.