摘要 |
<P>PROBLEM TO BE SOLVED: To generate a sharp image from plural images having different focal points. <P>SOLUTION: An image processing apparatus 1 comprises: mask-size determining means 22 that, on the basis of difference between a pixel value of a predetermined pixel in a predetermined region including the pixel in first image data 11 and a pixel value in a predetermined region including the predetermined pixel in second image data 12, calculates a blurring amount of the predetermined pixel, and determines a mask size to be large when the blurring amount is large and determines the mask size to be small when the blurring amount is small; and sharp image generating means 24 that identifies image data having a pixel value further deviating from a pixel value of blurring image data 14 out of the first image data 11 and the second image data 12 in a region of the mask size determined by the mask-size determining means 22, and generates sharp image data 15 by using, as the pixel value of the pixel of the sharp image data 15, the pixel value of the pixel of the identified image data. <P>COPYRIGHT: (C)2013,JPO&INPIT |