Method and apparatus for correcting lens distortion
AssigneeHuawei Technologies Co., Ltd.
InventorsShuiping Li, Angang Deng, Cong Xu
Life of this patent
Estimating the term…
Abstract
The present invention discloses a method and an apparatus for correcting lens distortion. In some feasible implementation manners of the present invention, image data acquired from a lens is corrected in a horizontal direction; the image data corrected in the horizontal direction is written into a dynamic memory; image data in the dynamic memory is corrected in a vertical direction; and lens distortion correction is performed in two steps: in the horizontal direction and in the vertical direction, so that lens distortion correction is implemented at a low cost. The present invention further discloses a corresponding apparatus for correcting lens distortion.
Claims14
A method, comprising:
- performing a first correction of radial lens distortion in image data acquired from a lens in a horizontal direction, before the image data is written into a dynamic memory;
- writing the image data into the dynamic memory after performing the first correction;
- and
- performing a second correction in the dynamic memory of the radial lens distortion in the image data written into the dynamic memory in the vertical direction using a column length selected according to a degree of radial distortion of the image data, wherein the column length is a sum of pixels that can be read consecutively in a refresh cycle of the dynamic memory.
An apparatus, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions to:
- perform a first correction of radial lens distortion in image data acquired from a lens in a horizontal direction, before the image data is written into a dynamic memory;
- write the image data into the dynamic memory after performing the first correction;
- and
- perform a second correction in the dynamic memory of the radial lens distortion in the image data in the vertical direction using a column length selected according to a degree of radial distortion of the image data, wherein the column length is a sum of pixels that can be read consecutively in a refresh cycle of the dynamic memory.
An apparatus, comprising:
- a first correcting circuit having circuitry to perform a first correction, in a horizontal direction, of radial lens distortion of image data acquired from an image sensor, before the image data is written into a dynamic memory;
- a first writing circuit having circuitry to write the image data into the dynamic memory after performing the first correction;
- and
- a sixth correcting circuit having circuitry to perform a second correction in the dynamic memory of the radial lens distortion in the image data written into the dynamic memory in the vertical direction using a column length selected according to a degree of radial distortion of the image data, wherein the column length is a sum of pixels that can be read consecutively in a refresh cycle of the dynamic memory.
Dependencies are inferred from the claim text.