Correction of image distortion
AssigneeSTMicroelectronics S.r.l.
InventorAlexandre Cellier
Life of this patent
Estimating the term…
Abstract
An image sensor captures an image of a scene. This captured image has a pincushion distortion relative to an undistorted image of the scene. The distortion is corrected based on an approximation of the distortion D which satisfies the following equation for a given pixel in the captured image: D=(R−R′)/R=Da*(y2−x2+yoffset)+Db*R4, where R is the distance between a pixel, which corresponds in the undistorted image to the given pixel in the captured image, and the center of the undistorted image, R′ is the distance between the given pixel and the center of the captured image, Da and Db are respective distortion parameters of the image sensor, x and y are coordinates of the given pixel in the captured image, R satisfies the following equation: R2=x2+y2 and yoffset corresponds to a constant value.
Claims8
An electronic process, comprising:
- capturing an image of a scene using an image sensor, said captured image presenting a pincushion distortion relative to an undistorted image of said scene;
- and
- processing the captured image, the processing including correcting said distortion in the captured image based on an approximation of the pincushion distortion which satisfies the following equation for a given pixel in the captured image:
- D=(R−R′)/R=Da*(y2−x2+yoffset)+Db*R4
- where D represents the approximation of said distortion,
- R is the distance between a pixel, which corresponds in the undistorted image of the scene to the given pixel in the captured image, and the center of the undistorted image of the scene,
- R′ is the distance between the given pixel of the captured image and the center of the captured image,
- Da and Db are respective distortion parameters of the image sensor,
- x and y are coordinates of the given pixel in an image coordinate system for the captured image,
- R satisfies the following equation:
- R2=x2+y2
- and yoffset corresponds to a constant value for each line of pixels in the image.
An image processing device comprising:
- an image sensor which furnishes a captured image of a scene having a pincushion distortion relative to said scene;
- and
- an image distortion correction unit structured to perform a correction of a pincushion distortion in an image captured by said image sensor,
- wherein said correction is performed based on an approximation of the pincushion distortion which satisfies the following equation for a given pixel in the captured image:
- D=(R−R′)/R=Da*(y2−x2+yoffset)+Db*R4
- where D represents the approximation of said distortion,
- R is the distance between a pixel, which corresponds in the undistorted image of the scene to the given pixel in the captured image, and the center of the undistorted image of the scene,
- R′ is the distance between the given pixel of the captured image and the center of the captured image,
- Da and Db are respective distortion parameters of the image sensor,
- x and y are coordinates of the given pixel in an image coordinate system for the captured image,
- R satisfies the following equation:
- R2=x2+y2
- and yoffset corresponds to a constant value for each line of pixels in the image.
A digital photography device, comprising:
- a processing device that includes:
- an image sensor which furnishes a captured image of a scene having a pincushion distortion relative to said scene;
- and
- an image distortion correction unit structured to perform a correction of a pincushion distortion in an image captured by said image sensor,
- wherein said correction is performed based on an approximation of the pincushion distortion which satisfies the following equation for a given pixel in the captured image:
- D=(R−R′)/R=Da*(y2−x2+yoffset)+Db*R4
- where D represents the approximation of said distortion,
- R is the distance between a pixel, which corresponds in the undistorted image of the scene to the given pixel in the captured image, and the center of the undistorted image of the scene,
- R′ is the distance between the given pixel of the captured image and the center of the captured image,
- Da and Db are respective distortion parameters of the image sensor,
- x and y are coordinates of the given pixel in an image coordinate system for the captured image,
- R satisfies the following equation:
- R2=X2+y2
- and yoffset corresponds to a constant value for each line of pixels in the image.
A non-transitory computer-readable medium having contents that cause a computing device to perform a process, comprising:
- capturing an image of a scene using an image sensor, said captured image presenting a pincushion distortion relative to an undistorted image of said scene;
- and
- processing the captured image, the processing including correcting said distortion in the captured image based on an approximation of the pincushion distortion which satisfies the following equation for a given pixel in the captured image:
- D=(R−R′)/R=Da*(y2−x2+yoffset)+Db*R4
- where D represents the approximation of said distortion,
- R is the distance between a pixel, which corresponds in the undistorted image of the scene to the given pixel in the captured image, and the center of the undistorted image of the scene,
- R′ is the distance between the given pixel of the captured image and the center of the captured image,
- Da and Db are respective distortion parameters of the image sensor,
- x and y are coordinates of the given pixel in an image coordinate system for the captured image,
- R satisfies the following equation:
- R2=X2+y2
- and yoffset corresponds to a constant value for each line of pixels in the image.
Dependencies are inferred from the claim text.