A panoramic image in the same light source environment over the whole image can be synthesized even if the light source environment varies. A group of overlapping images commonly having a first overlapping area are selected (S11). The group of overlapping image are composed of N images having a second overlapping area other than the first overlapping area and an image to be expanded and not having the second overlapping area. The linear coefficient of the image to be expanded is calculated by using the images of the overlapping image group in the first overlapping area (S12), and the size of the image to be expanded is expanded to the second overlapping area by using the calculated linear coefficient and the N images in the second overlapping area (S14). The processing is repeated to synthesize a panoramic image.
展开▼