Recovering High Dynamic Range Radiance Maps from Photographs