1. A method for generating an image, comprising: generating at least two images at different exposure time; obtaining intensities of pixels in the images at different exposure time respectively; obtaining reliabilities of the pixels in the images at different exposure times respectively; obtaining a intensity of the pixels in a synthesized image depending on the intensities and the reliabilities of the pixels in the images with different exposure time; and generating an image depending on the intensity of the pixels in the synthesized image.