摘要 |
Provided is an image processing device and others capable of performing shading correction in a short time and with a high degree of precision. An image processing device 1 includes an image acquiring unit 11 that acquires a plurality of images of different imaging fields of view on the same subject, an image selector 121 that selects, from the plurality of images acquired, in which a common region of a predetermined size is set at a common position in the individual images, a plurality of image pairs that are combinations of images in which a subject image in the common region in one image corresponds to a subject image in a region other than the common region in the other image, a correction gain calculating unit 122 that calculates a correction gain for performing shading correction, based on a pixel value of a pixel contained in the common region and a pixel value of a pixel contained in a region corresponding to the common region, for each combination of the one image and the other image, and an image correcting unit 123 that corrects shading produced in a correction-target image, using the correction gain calculated by the correction gain calculating unit 122. |