1. A method of generating a final image from a first image with a short exposure and a second image with a long exposure, comprising: determining if the first and the second images are small images; if the first and the second images are small images, using a deblurring procedure to generate the final image from the first and the second images; if the first and the second images are not small images: saving the first and the second images at a smaller size as third and fourth images, respectively; using the deblurring procedure to generate a fifth image from the third and the fourth images; and transferring color from the fifth image to the first image based on the third image to generate the final image; displaying the final image.