Patent ID: 8026932

Claim:
An image data processing apparatus which processes plural pieces of image data, comprising: a first base image selection unit which selects a piece of image data in plural pieces of taken image data as a first base image used in superposition; a shift amount calculation unit which calculates an amount of shift between an image region of a background portion included in the first base image selected for superposition and an image region of the same background portion included in another different piece of image data in the plural pieces of taken image data; an image superposition unit which detects a superposing area as an area in which the different piece of image data can be superposed on the selected first base image after a shift correction is made on a basis of the calculated amount of shift, and which performs superposition for the superposing area; a second base image selection unit which selects a piece of image data in the plural pieces of taken image data as a second base image used in a non-superposing area; and an image combination unit which combines a superposition result with the non-superposing area in the second base image, and which outputs image data as a combination result.