1. An imaging device for correcting images comprising: an imaging element that by taking an image, outputs a signal which represents an optical image of an image taking target; a specific-object detection portion that successively obtains an input image based on an output signal from the imaging element and detects, based on an image signal of the input image, a position of a specific object contained in the image taking target on the input image; a clipped-image extraction portion that based on the detected position, sets a clip region in the input image and extracts a clipped image in the clip region, wherein the clip region is smaller than a whole region of the input image; an image-quality compensation portion that improves resolution of the clipped image; a device-motion detection portion that detects a motion of the imaging device; an object-motion detection portion that based on the output signal from the imaging element, detects a motion of the specific object between input images of adjacent frames; and a correction portion that corrects vibration of the clipped image based on a detection result from the device-motion detection portion and a detection result from the object-motion detection portion.