Patent ID: 7783128

Claim:
A method for correcting: (a) a first distortion of an image caused by a positional change in horizontal and/or vertical directions of said image at a photographing time of an image-taking device; and (b) a second distortion of an image caused by an image-taking lens, said method comprising: (i) dividing one screen segment of said image into a designated number of image sub-segments, wherein each of the image sub-segments includes a plurality of lines having a start line and a designated line; (ii) causing a velocity sensor to detect a rate of said positional change for a plurality of said image sub-segments; (iii) dividing said rate of said positional change for the plurality of image sub-segments into a horizontal-direction component and a vertical-direction component; (iv) for at least one of the designated lines: (a) determining which one of the plurality of image sub-segments includes said designated line; (b) computing a horizontal-direction displacement correction quantity component for said designated line based on said horizontal-direction component of said rate of said positional change for the determined image sub-segment including said designated line; and (c) computing a vertical-direction displacement correction quantity component for said designated line based on said vertical-direction component of said rate of said positional change for the determined image sub-segment including said designated line; (v) selecting: (a) a predetermined horizontal-direction lens-distortion correction quantity component based on a designated pixel position corrected using said computed horizontal-direction displacement correction quantity; and (b) a predetermined vertical-direction lens-distortion correction quantity component based on the designated pixel position corrected using said computed vertical-direction displacement correction quantity; (vi) correcting a horizontal-direction distortion of said image by using a sum of: (a) said computed horizontal-direction displacement correction quantity component; and (b) said selected predetermined horizontal-direction lens-distortion correction quantity component; and (vii) correcting a vertical-direction distortion of said image by using a sum of: (a) said computed vertical-direction displacement correction quantity component; and (b) said selected predetermined vertical-direction lens-distortion correction quantity component.