An improved method for generating high dynamic range images by modifying the weight function used in conventional methods to weigh pixel values when combining multiple images in an input image set. The electronic device is initialized to a stand-by state. This demultiplexer is connected to the bank address decoder in order, on the basis of the decoded bank address, to activate the corresponding address buffer memory. This allows the reflective surface to maintain a temperature similar to a shower’s water and steam, reducing the fogging on the reflective substrate.