Patent attributes
Methods and apparatus, including computer program products, for determining parameter values for adjusting an image. A first function of a local attribute is specified based on values of the local attribute in the image. A second function of the local attribute is specified based on an image adjustment depending upon an adjustment parameter. An object function value is calculated for each of two or more values of the adjustment parameter, each object function value including accumulated differences, between the first and second function at multiple values of the local attribute. Based on the calculated object function values, a value of the adjustment parameter is determined for adjusting the image.