-
公开(公告)号:US20190208131A1
公开(公告)日:2019-07-04
申请号:US16090444
申请日:2016-03-29
Applicant: Huawei Technologies Co., Ltd.
Inventor: Cheng Du , Wei Luo , Xin Guo , Huaiyang Rong , Jin Wu
IPC: H04N5/232
CPC classification number: H04N5/232123 , H04N5/232 , H04N5/232127 , H04N5/23219
Abstract: A method includes determining to set a face area as a current focus window when a face is detected in a to-be-photographed image, detecting a preset location in the face area, adjusting a width of the current focus window according to the preset location in the face area, stretching a length of the current focus window according to at least a first preset ratio and a second preset ratio, calculating at least a contrast value of an image in the first focus window and a contrast value of an image in the second focus window, and determining a final focus window according to the at least two contrast values. Therefore, the width of the focus window is reduced, so that such that the focus window is without background content.
-
公开(公告)号:US20170214846A1
公开(公告)日:2017-07-27
申请号:US15515311
申请日:2014-09-30
Applicant: Huawei Technologies Co., Ltd.
CPC classification number: H04N5/23212 , G02B7/09 , G02B7/38 , G03B13/36 , G03B19/023 , G06T7/55 , G06T7/73 , G06T2207/10012 , G06T2207/10028 , G06T2207/30201 , H04N5/2258
Abstract: An auto-focus method including at a same moment, collecting a first image of a first object using a first image shooting unit, collecting a second image of the first object using a second image shooting unit, calculating M pieces of first depth information of M same feature point pairs in corresponding areas in the first image and the second image, determining whether confidence of the M pieces of first depth information is greater than a threshold, obtaining focusing depth information according to N pieces of first depth information in the M pieces of first depth information when the confidence of the M pieces of first depth information is greater than the threshold, obtaining a target position of a first lens of the first image shooting unit according to the focusing depth information, and controlling the first lens to move to the target position.
-
公开(公告)号:US10455141B2
公开(公告)日:2019-10-22
申请号:US16142996
申请日:2018-09-26
Applicant: Huawei Technologies Co., Ltd.
Abstract: An auto-focus method including at a same moment, collecting a first image of a first object using a first image shooting unit, collecting a second image of the first object using a second image shooting unit, calculating M pieces of first depth information of M same feature point pairs in corresponding areas in the first image and the second image, determining whether confidence of the M pieces of first depth information is greater than a threshold, obtaining focusing depth information according to N pieces of first depth information in the IM pieces of first depth information when the confidence of the M pieces of first depth information is greater than the threshold, obtaining a target position of a first lens of the first image shooting unit according to the focusing depth information, and controlling the first lens to move to the target position.
-
公开(公告)号:US20190320120A1
公开(公告)日:2019-10-17
申请号:US16087926
申请日:2016-03-23
Applicant: Huawei Technologies Co., Ltd.
Inventor: Cheng Du , Wei Luo , Xin Guo , Huaiyang Rong , Jin Wu
Abstract: A camera focusing method, apparatus, and device for a terminal, and relate to the field of electronic device technologies to improve focusing precision of a terminal in a camera focusing process. The method includes obtaining a first confidence and a second confidence, determining a target ranging manner and a target object distance when the first confidence and the second confidence meet a preset condition, and determining a target position in a lens position interval to help a first camera and a second camera complete focusing.
-
公开(公告)号:US10129455B2
公开(公告)日:2018-11-13
申请号:US15515311
申请日:2014-09-30
Applicant: Huawei Technologies Co., Ltd.
Abstract: An auto-focus method including at a same moment, collecting a first image of a first object using a first image shooting unit, collecting a second image of the first object using a second image shooting unit, calculating M pieces of first depth information of M same feature point pairs in corresponding areas in the first image and the second image, determining whether confidence of the M pieces of first depth information is greater than a threshold, obtaining focusing depth information according to N pieces of first depth information in the M pieces of first depth information when the confidence of the M pieces of first depth information is greater than the threshold, obtaining a target position of a first lens of the first image shooting unit according to the focusing depth information, and controlling the first lens to move to the target position.
-
公开(公告)号:US20190028631A1
公开(公告)日:2019-01-24
申请号:US16142996
申请日:2018-09-26
Applicant: Huawei Technologies Co., Ltd.
CPC classification number: H04N5/23212 , G02B7/09 , G02B7/38 , G03B13/36 , G03B19/023 , G06T7/55 , G06T7/73 , G06T2207/10012 , G06T2207/10028 , G06T2207/30201 , H04N5/2258
Abstract: An auto-focus method including at a same moment, collecting a first image of a first object using a first image shooting unit, collecting a second image of the first object using a second image shooting unit, calculating M pieces of first depth information of M same feature point pairs in corresponding areas in the first image and the second image, determining whether confidence of the M pieces of first depth information is greater than a threshold, obtaining focusing depth information according to N pieces of first depth information in the IM pieces of first depth information when the confidence of the M pieces of first depth information is greater than the threshold, obtaining a target position of a first lens of the first image shooting unit according to the focusing depth information, and controlling the first lens to move to the target position.
-
-
-
-
-