摘要 |
PROBLEM TO BE SOLVED: To provide an image processing device capable of correcting a plurality of images taken at different focus positions to images in which corresponding positions of the respective images accurately match and are suitable for compositing.SOLUTION: Among N pieces of images which taken at different focus positions arranged in the focal position order, N/2 pieces of images are set to a feature point extraction image so that at least one image out of two images adjacent to each other becomes the feature point extraction image, correspondence points corresponding to a feature point extracted from the feature point extraction image are searched from other images, a correction parameter for matching the corresponding points of the N pieces of images with each other is calculated from a positional relationship between the feature point and the correspondence points, and other images are corrected on the basis of the image having the narrowest angle of view out of the N pieces of images. |