Patent ID: 8345964

Claim:
A method for generating an image, comprising: generating at least two images at different exposure times; obtaining intensities of pixels in the images at different exposure times respectively, wherein the intensities of the pixels in the images at different exposure times are intensities to be corrected or corrected intensities; obtaining reliabilities of the pixels in the images at different exposure times respectively; obtaining an intensity of the pixels in a synthesized image depending on the intensities and the reliabilities of the pixels in the images at different exposure times; and generating an image depending on the intensity of the pixels in the synthesized image, wherein the process of obtaining the corrected intensities comprises: obtaining the intensities to be corrected of the pixels in the images at different exposure times respectively; obtaining average intensities of the pixels in the images at different exposure times respectively; multiplying the average intensities by corresponding average parameter values respectively, and summing the products obtained by multiplying the average intensities by the corresponding average parameter values respectively, to obtain an integrated intensity, wherein a sum of the corresponding average parameter values is 1; and multiplying the intensities to be corrected by the integrated intensity, and dividing by the corresponding average parameter values respectively, to obtain the corrected intensities of the pixels in the images at different exposure times.