Lightzone allows you to select areas of photographs and manipulate the light on each of these areas seperately.

LightZone | Open-source digital darkroom software for Windows/Mac/Linux.