1. A method of processing an image, comprising: obtaining an image to be processed; calculating via a central processing unit a classification score for each of a plurality of locations in the image, each of the classification scores indicating whether the corresponding location primarily contains (i) background, (ii) at least one of texture or weak edges, or (iii) strong features; and differentially processing via the central processing unit different areas of the image based on the classification scores to generate a modified image, wherein each of the classification scores is calculated by determining changes in pixel values along a plurality of different directions, wherein the differential processing is a piece-wise function of data in the image, the piece-wise function comprised of different segments determined b each of the classification scores.