1. A method of processing a digital image, each pixel of the digital image having only a single sampled value, the method comprising interpolating values of a first color at pixels where the first color was not sampled, the interpolation of the first color value at a given pixel including: determining likelihoods of the given pixel belonging to the same region as each of at least two other pixels having sampled values of the first color, the other pixels in different directions relative to the given pixel; and using the likelihoods and the sampled values of the other pixels to interpolate the first color at the given pixel.