1. A method of processing an input image having a plurality of pixels each represented by a set of input pixel values, the method comprising: locally modifying the input pixel values according to pixel neighborhoods; and determining an output image having a set of output pixel values, wherein each set of output pixel values equals a non-linear combination of a set of input pixel values and its corresponding set of modified pixel values.