Image-capturing apparatus, method, and program which correct distortion of a captured image based on an angle formed between a direction of an image-capturing apparatus and a gravitational direction
AssigneeCasio Computer Co., Ltd.
InventorKeiichi Sakurai
Life of this patent
Estimating the term…
Abstract
A digital camera includes a tri-axial acceleration sensor. The CPU determines a direction of the camera at a time of image capturing, on the basis of a gravitational direction which is detected by the tri-axial acceleration sensor, calculates a parameter for projection-correcting a captured image in a predetermined direction on the basis of the direction of the camera, and corrects a distortion of the captured image by using the parameter.
Claims18
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.
An image correction method, performed in an image-capturing apparatus, comprising:
- capturing an image of a photographic subject;
- detecting a gravitational direction;
- determining 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;
- calculating (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 it is determined 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 it is determined that the direction of the image-capturing apparatus is substantially horizontal;
- and
- correcting a keystone distortion of the captured image by using the calculated first parameter or second parameter.
A non-transitory computer readable recording medium having a program stored thereon that is executable by a computer to control the computer to perform functions comprising:
- capturing an image of a photographic subject;
- detecting a gravitational direction;
- determining 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;
- calculating (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 it is determined 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 it is determined that the direction of the image-capturing apparatus is substantially horizontal;
- and
- correcting a keystone distortion of the captured image by using the calculated first parameter or second parameter.
Dependencies are inferred from the claim text.