1. A computer-implemented method of processing an image of image forming elements each of which has at least one respective value, comprising: detecting edges within the image; for each of one or more of the detected edges, computing a first value from values of ones of the image forming elements in a first region on a first side of the edge, computing a second value from values of ones of the image forming elements in a second region on a second side of the edge, and determining across the edge a respective transition region that is between the first region and the second region and comprises a respective set of ones of the image forming elements with values that transition from the first value to the second value; for each of one or more of the transition regions, calculating a respective overshoot value indicative of an amount by which one or more of the values of the image forming elements in the transition region overshoot at least one of the first and second values; ascertaining an enhancement potential of the image based on one or more of the overshoot values; and enhancing the image in response to an evaluation of the enhancement potential the image.