Patent ID: 8203614

Claim:
An image processing apparatus comprising: a first image acquisition section that acquires a first image obtained by taking an image of an object to be imaged at illumination-off time at which the object is not illuminated; a second image acquisition section that acquires a second image obtained by taking an image of the object at illumination-on time at which the object is illuminated; a difference image generation section that generates a difference image based on a difference between luminance of each of pixels constituting the first image acquired by the first image acquisition section and luminance of each of pixels constituting the second image acquired by the second image acquisition section; a high-luminance area extraction section that extracts an image area constituted by pixels having a luminance value which is equal to or more than a predetermined luminance value from the difference image generated by the difference image generation section; and a movement determination section that determines, based on the image area extracted by the high-luminance area extraction section, a movement amount of the object between image take timing of the first image and image take timing of the second image.