Patent ID: 8471927

Claim:
An image generation device for generating, from a first moving image, which is a moving image of a first color component of a subject, and a second moving image, which is a moving image of a second color component of the subject, a new moving image representing the subject, the image generation device comprising: an image acquisition section for acquiring the first moving image and the second moving image having different resolutions and different frame rates or different exposure times from each other; a light amount determination section for determining, based on a pixel value of each of pixels in each of frame images of the first moving image and the second moving image, whether or not each pixel is saturated or blocked-up-shadowed; and an image processing section for generating, from the first moving image and the second moving image, a new moving image having a frame rate which is equal to or higher than the frame rate of the first moving image and the second moving image and having a resolution of each frame image which is equal to or higher than the resolution of the first moving image and the second moving image; wherein for a pixel not determined by the light amount determination section as being saturated or being blocked-up-shadowed, the image processing section generates a new moving image fulfilling a first condition which indicates that an error between a pixel value of each of the acquired first moving image and second moving image and a sum of pixel values of frame images of the new moving image corresponding to the pixel value temporally and spatially is smaller than a prescribed value, and for a pixel determined by the light amount determination section as being saturated or being blocked-up-shadowed, the image processing section generates a new moving image which does not fulfill the first condition.