Patent ID: 8009929

Claim:
An image-capturing apparatus comprising: an image capture unit which captures an image of a photographic subject; a gravity detector which detects a gravitational direction; a direction determiner which determines whether a direction of an optical axis of the image-capturing apparatus is (i) in a substantially vertical state in which the optical axis of the image-capturing apparatus substantially corresponds to the gravitational direction, or (ii) in a substantially horizontal state in which the optical axis of the image-capturing apparatus is substantially perpendicular to the gravitational direction; a parameter calculator which calculates (i) a first parameter for projection-correcting the captured image with respect to two axes, based on an angle formed between the direction of the optical axis of the image-capturing apparatus and the gravitational direction, when the direction determiner determines that the direction of the image-capturing apparatus is substantially vertical, and (ii) a second parameter for projection-correcting the captured image with respect to only one axis, based on an angle formed between the direction of the optical axis of the image-capturing apparatus and the gravitational direction, when the direction determiner determines that the direction of the image-capturing apparatus is substantially horizontal; and an image corrector which corrects a keystone distortion of the captured image by using the first parameter or the second parameter which is calculated by the parameter calculator.