Patent Document ID: 9686461
Application ID: 14490131
Patent Status: 1

Claim One:
1. An automatic focusing method, executed in an image capturing device, comprising: through multiple cameras of the image capturing device, capturing a scene, so as to obtain multiple images generated corresponding to the cameras, wherein the scene comprises a single one object or multiple objects; generating multiple depth maps according to the images, wherein each of the depth map is generated according to any two of the images, and the depth map has depth information of the single one object or at least one of the multiple objects, or does not have the depth information of the single one object or all of the multiple objects; according to resolutions of the single one or the multiple objects in the depth maps, selecting the depth information of the single one or the multiple objects in the depth maps to generate a merged depth map; according to the merged depth map, calculating a target focus distance of the single one object or target focus distances of the multiple objects; and according to the target focus distance of the single one object or one of the target focus distances of the multiple objects, adjusting an actual focus distance of a multi-lenses module associated with the cameras; wherein in the step “according to the resolutions of the single one or the multiple objects in the depth maps, selecting the depth information of the single one or the multiple objects in the depth maps to generate a merged depth map”, for the single one object or each of the multiple objects, if the object appears in portion or all of the depth maps, the depth information of the object in the depth map which has a maximum resolution of the object is selected as depth information of the object in the merged depth map; for the single one object or each of the multiple objects, if the object merely appears in one of the depth maps, the depth information of the object in the depth map is selected as the depth information of the object in the merged depth map.