1. A method, comprising: receiving a plurality of image pairs, wherein each image pair of the plurality of image pairs includes a raw image and an adjusted image, the adjusted image being an adjusted version of the raw image; generating a plurality of curves that each relate one or more parameters of the raw image to a corresponding adjusted image of an image pair, wherein said generating comprises training a regression algorithm; receiving a new image; and globally adjusting one or more parameters of the new image based on the plurality of curves.