Abstract:
A focusing method includes the steps of calculating a diameter difference between a first circle of confusion diameter and a second circle of confusion diameter which correspond respectively to first image data and second image data associated respectively with light energy of a first spectrum and light energy of a second spectrum, generating a control signal associated with a target image distance according to an initial image distance, the diameter difference, and a lookup table, driving movement of a lens module so as to change a distance between the lens module and an image sensor from the initial image distance into the target image distance according to the control signal.
Abstract:
A control method of a depth camera includes controlling first and second image sensors to detect light in a first wavelength range, generating a first depth map based on first and second images, subjecting one of the first and second images to edge-detection processing, controlling a light source to emit light in a second wavelength range when a number of edge pixels is determined to be smaller than a preset pixel number, controlling the second image sensor to detect light in the second wavelength range, generating a second depth map based on a third image, subjecting the first and the second depth maps to image fusion processing, and registering a fused depth map with one of the first and second images to generate 3D point cloud data.