1. A method, comprising: capturing a first image; capturing a second image, wherein said second image is more blurred and more exposed than said first image; generating a blur kernel based on said first image and said second image, wherein the blur kernel models blur in said second image, and said generating of said blur kernel comprises calculating a Fourier transform of said first image, calculating a Fourier transform of said second image, calculating of a ratio from said Fourier transform of said second image and said Fourier transform of said first image, and deriving the blur kernel based on an inverse Fourier transform of said ratio; and producing a deblurred image based on a deblurring of said second image with said blur kernel, wherein the deblurring is regularized based on said first image and a regularization parameter that constrains deviation of the deblurred image from said first image.