Patent ID: 11861813
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 14:
15. An electronic device, comprising:
a wide-angle camera, configured to acquire a distorted image in raw format to be corrected;
an image signal processor (ISP), configured to process the distorted image in raw format into a distorted image in yuv format;
a central processing unit (CPU), configured to:
acquire a first coordinate of each pixel in the distorted image in yuv format,
determine internal parameters for shooting the distorted image,
acquire a second coordinate corresponding to the first coordinate based on a corresponding relationship between the internal parameters and image distortion degrees, wherein the second coordinate is an undistorted coordinate corresponding to the first coordinate,
acquire a distance between the first coordinate and a coordinate of a center point of the distorted image in yuv format, and determine a smoothing processing coefficient corresponding to the distance based on a smoothing processing function, wherein the smoothing processing function is configured to indicate a proportional relationship between the distance and the smoothing processing coefficient, and
acquiring a distortion correction image in yuv format by performing smoothing correction on each first coordinate based on the smoothing processing coefficient and the second coordinate;

a display, configured to display the distortion correction image in yuv format; and
an encoder, configured to perform a Jpeg format coding on the distortion correction image in yuv format and store in a memory of the electronic device.