A computer method and system for deblurring an image is provided. The
invention method and system of deblurring employs statistics on
distribution of intensity gradients of a known model. The known model is
based on a natural image which may be unrelated to the subject image to
be deblurred by the system. Given a subject image having blur, the
invention method/system estimates a blur kernel and a solution image
portion corresponding to a sample area of the subject image, by applying
the statistics to intensity gradients of the sample area and solving for
most probable solution image. The estimation process is carried out at
multiple scales and results in a blur kernel. In a last step, the subject
image is deconvolved image using the resulting blur kernel. The
deconvolution generates a deblurred image corresponding to the subject
image.