Load a sequence of images of the same subject with different time of exposure and combine them it in a single gray level image.
The images have been taken from http://en.wikipedia.org/wiki/High-dynamic-range_imaging
A possible solution.
Note: in order to minimize the developing time, a low resolution version of the images can be used: