Image processing method, electronic device, and non-transitory computer readable storage medium
AssigneeHTC Corporation
InventorWen-Hsiang Yu
Life of this patent
Estimating the term…
Abstract
An image processing method includes: obtaining, by a first position sensor, a first lens position of a first camera; obtaining, by a second position sensor, a second lens position of a second camera; calculating, by a processing circuit, a relative optical geometry of the first camera and the second camera according to the first lens position and the second lens position; and performing, by the processing circuit, an image switch, an image fusion, or a depth calculation based on the relative optical geometry on the condition that an optical image stabilization is enabled to at least one of the first camera and the second camera.
Claims20
An image processing method comprising:
- obtaining, by a first position sensor, a first lens position of a first camera;
- obtaining, by a second position sensor, a second lens position of a second camera;
- calculating, by a processing circuit, a relative optical geometry of the first camera and the second camera according to the first lens position and the second lens position;
- and
- performing, by the processing circuit, an image switch, an image fusion, or a depth calculation based on the relative optical geometry on the condition that an optical image stabilization is enabled to at least one of the first camera and the second camera.
An electronic device, comprising:
- a processing circuit;
- a first camera and a second camera electrically connected to the processing circuit respectively;
- a first position sensor and a second position sensor electrically connected to the processing circuit respectively;
- a memory electrically connected to the processing circuit;
- and
- one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processing circuit, the one or more programs comprising instructions for:
- controlling the first position sensor to obtain a first lens position of the first camera;
- controlling the second position sensor to obtain a second lens position of the second camera;
- calculating a relative optical geometry of the first camera and the second camera according to the first lens position and the second lens position;
- and
- performing an image switch, an image fusion, or a depth calculation based on the relative optical geometry on the condition that an optical image stabilization is enabled to at least one of the first camera and the second camera.
A non-transitory computer readable storage medium storing one or more programs, comprising instructions, which when executed, causes a processing circuit to perform operations comprising:
- controlling a first position sensor to obtain a first lens position of a first camera;
- controlling a second position sensor to obtain a second lens position of a second camera;
- calculating a relative optical geometry of the first camera and the second camera according to the first lens position and the second lens position;
- and
- performing an image switch, an image fusion, or a depth calculation based on the relative optical geometry on the condition that an optical image stabilization is enabled to at least one of the first camera and the second camera.
Dependencies are inferred from the claim text.