Patent ID: 8384805

Claim:
An image processing device comprising: an image correction unit which receives a synthesized image generated by synthesizing a plurality of images and pseudo color pixel information, the pseudo color pixel information indicating a pseudo color pixel position included in the synthesized image, and executes pixel value correction using a pseudo color pixel in the synthesized image as a pixel to be corrected, wherein the image correction unit: selects non-pseudo color pixels, which are not determined as a pseudo color based on the pseudo color pixel information, as reference pixels, from a reference region set in a region surrounding the pixel to be corrected, sets a similarity weight coefficient in which a large weight is set as a pixel value of the reference pixel that is close to a pixel value of the pixel to be corrected, and a pixel position weight coefficient in which a large weight is set as the pixel value of the reference pixel that is near a pixel position of the pixel to be corrected, with respect to the reference pixels, and determines a correction pixel value of the pixel to be corrected by a weighted summation process of summing values obtained by multiplying the pixel values of the reference pixels by the similarity weight coefficient and the pixel position weight coefficient.