A method for deblurring an image. A first image is captured. A second image is captured, wherein the second image is more blurred and more exposed than the first image. The second image is deblurred based on the first image.