1. A method for determining a pixel value in a high dynamic range image based on first and second input images of different brightness, comprising: obtaining a first input pixel intensity of a first pixel in the first input image and a second input pixel intensity of a corresponding pixel in the second input image; determining a first combination weight for the first input pixel intensity and a second combination weight for the second input pixel intensity, each of the first and second combination weights being a function of the first and second input pixel intensities; and calculating the pixel value in the high dynamic range image as a weighted average of the first and second input pixel intensities using the first and second combination weights, wherein the step of calculating comprises scaling the first and second input pixel intensities to a common image brightness.