A plurality of images in which pixels are displaced from each other are obtained by displacing the optical path of light passing an image sensing device. The plurality of images have different exposure amounts in image sensing operations. In order to obtain an image with a high resolution and a broad dynamic range, a pixel of interest which suffers saturation or dark in one image is interpolated by pixels in the vicinity of the pixel of interest in an image sensed in a different exposure amount.