Image compensation method, electronic device and computer-readable storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorGuohui Tan
Life of this patent
Estimating the term…
Abstract
An image compensation method is provided, which includes: acquiring a Hall value of an electronic device that is provided with a first camera and a second camera, at least one of the first camera and the second camera is provided with an optical image stabilization system; acquiring a lens bias corresponding to the Hall value; calculating an image bias corresponding to the lens bias according to a preset OIS calibration function; and performing image compensation by using the image bias on at least one of a first image captured by the first camera and a second image captured by the second camera at the same time. An electronic device is also provided.
Claims20
A method for image compensation, comprising:
- acquiring a Hall value of an electronic device, wherein the electronic device is provided with a first camera and a second camera, and at least one of the first camera and the second camera is provided with an optical image stabilization (OIS) system;
- acquiring a lens bias corresponding to the Hall value;
- calculating an image bias corresponding to the lens bias according to a preset OIS calibration function;
- and
- performing image compensation by using the image bias on at least one of a first image captured by the first camera and a second image captured by the second camera at the same time.
An electronic device comprising a storage and a processor, wherein a computer program is stored in the storage, and when the computer program is executed by the processor, the processor performs actions of:
- acquiring a Hall value of an electronic device, wherein the electronic device is provided with a first camera and a second camera, and at least one of the first camera and the second camera is provided with an optical image stabilization (OIS) system;
- acquiring a lens bias corresponding to the Hall value;
- calculating an image bias corresponding to the lens bias according to a preset OIS calibration function;
- and
- performing image compensation by using the image bias on at least one of a first image captured by the first camera and a second image captured by the second camera at the same time.
A non-transitory computer-readable storage medium, comprising a computer program that is executable by a processor to perform actions of:
- acquiring a Hall value of an electronic device, wherein the electronic device is provided with a first camera and a second camera, and at least one of the first camera and the second camera is provided with an optical image stabilization (OIS) system;
- acquiring a lens bias corresponding to the Hall value;
- calculating an image bias corresponding to the lens bias according to a preset OIS calibration function;
- and
- performing image compensation by using the image bias on at least one of a first image captured by the first camera and a second image captured by the second camera at the same time.
Dependencies are inferred from the claim text.