发明名称 Method for adjusting focus position and electronic apparatus
摘要 A method for adjusting focus position and an electronic apparatus are provided. Herein, a depth map is obtained according to a first image and a second image which are captured by a first lens and a second lens, respectively. A plurality of depth values included in the depth map is compared with a depth of field (DOF) table for obtaining a plurality of focus distances. An All-in-Focus (AIF) image is generated according to a plurality of focus images captured by the first lens with the focus distances, respectively. A blur process is executed for a plurality of pixels excluding a focus selected location in the AIF image, so as to obtain an adjusting image.
申请公布号 US9179070(B2) 申请公布日期 2015.11.03
申请号 US201314013039 申请日期 2013.08.29
申请人 Altek Semiconductor Corp. 发明人 Chuang Che-Lun;Li Yun-Chin;Tseng Chia-Chun
分类号 H04N5/232;G06K9/40;G03B3/00;H04N5/262 主分类号 H04N5/232
代理机构 Jianq Chyun IP Office 代理人 Jianq Chyun IP Office
主权项 1. A method for adjusting focus position, for an electronic apparatus, the method comprising: obtaining a depth map according to a first image and a second image which are respectively captured by a first lens and a second lens, comprises: simultaneously capturing the first image and the second image by the first lens and the second lens respectively with a base focus;calculating a horizontal shift value of the first image and the second image; andobtaining the depth map by using the first image as a reference according to a lens distance between the first lens and the second lens, the base focus and the horizontal shift value; obtaining a plurality of focus distances by comparing a plurality of depth values included in the depth map with a depth of field table; generating an all-in-focus image according to a plurality of focus images captured by the first lens respectively with the focus distances; and obtaining an adjusting image by executing a blur process for a plurality of pixels excluding a focus selected location in the all-in-focus image.
地址 Hsinchu TW