Method and device for dual-camera-based imaging and storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsDan OUYANG, Guohui TAN
Life of this patent
Estimating the term…
Abstract
A method and device for dual-camera-based imaging are provided, wherein the method includes that: after ambient luminance is determined, a main camera and auxiliary camera are determined from in dual cameras according to the ambient luminance, the main camera is used to shoot a first image, the auxiliary image is used to shoot a second image, a third image is generated according to the first image, depth information of the third image is calculated according to the first image and the second image, and blurring processing is further performed on the third image according to the depth information of the third image to obtain a fourth image.
Claims20
A method for dual-camera-based imaging, wherein the dual cameras comprise a first camera and a second camera, the first camera has a resolution higher than that of the second camera, and has a sensitivity lower than that of the second camera, the method comprises:
- determining a main camera and an auxiliary camera from the dual cameras according to an ambient luminance;
- generating a third image according to a first image shot with the main camera;
- calculating depth information of the third image according to the first image and a second image shot with the auxiliary camera;
- and
- performing blurring processing on the third image according to the depth information of the third image to obtain a fourth image.
A mobile terminal, comprising:
- a first camera,
- a second camera,
- a processor,
- a memory storing a computer program,
- wherein the first camera has a resolution higher than that of the second camera, and a sensitivity lower than that of the second camera, and
- wherein the computer program, when executed by the processor, cause the processor to implement one or more actions, comprising:
- determining a main camera and an auxiliary camera from the dual cameras according to an ambient luminance;
- generating a third image according to a first image with the main camera;
- calculating depth information of the third image according to the first image and a second image shot with the auxiliary camera;
- and
- performing blurring processing on the third image according to the depth information of the third image to obtain a fourth image.
A non-transitory computer-readable storage medium, in which a computer program is stored, wherein the computer program is executed by a processor to implement one or more actions, comprising:
- determining a main camera and an auxiliary camera from the dual cameras according to an ambient luminance;
- generating a third image according to a first image with the main camera;
- calculating depth information of the third image according to the first image and a second image shot with the auxiliary camera;
- and
- performing blurring processing on the third image according to the depth information of the third image to obtain a fourth image.
Dependencies are inferred from the claim text.