Patent ID: 8306360
Filing Date: 2012-11-06
Classification: G06T

Abstract:
1. A method for obtaining a clear image, executed by a digital signal processor (DSP) chip or a microprocessor, for merging a first digital image and a second digital image shot with different focal lengths into a clear third digital image, the method comprising: (a) dividing the first digital image and the second digital image into a plurality of blocks respectively; (b) performing an edge detection means in spatial domain to respectively obtain a first edge image of the first digital image and a second edge image of the second digital image; (c) comparing image edge information of corresponding blocks for the first edge image and the second edge image one by one; (d1) selecting the blocks having more image edge information as clear blocks; (d2) selecting the corresponding blocks having equivalent image edge information as edge blocks; (d3) dividing the edge blocks into a plurality of sub-blocks; (d4) performing Steps (b)-(d1) of the method for obtaining a clear image on the sub-blocks; and (e) merging the clear blocks into the third digital image.