1. A method of automatic contrast correction comprising providing digital image data, representing the data in the form of a brightness histogram, determining a measure of central tendency for said histogram as a determined measure of central tendency, adding a shift value to the measure of central tendency to provide an adjusted measure of central tendency, computing a tone reproduction curve by a ratio containing logarithms of determined and adjusted measures of central tendency, and applying this tone reproduction curve to brightness values of the image.