一种对焦方法、装置及电子设备

文档序号:1894993 发布日期:2021-11-26 浏览:15次 >En<

阅读说明:本技术 一种对焦方法、装置及电子设备 (Focusing method and device and electronic equipment ) 是由 马彦鹏 申金晟 张伟成 于 2020-03-10 设计创作,主要内容包括:本申请实施例公开了一种对焦方法、装置及电子设备,涉及图像处理领域,能够提升对拍摄目标的对焦准确度,进而实现对拍摄目标的清晰拍摄,以提高拍摄图像的图像质量以及拍摄的成片率。具体方案为:生成第一图像,所述第一图像包括拍摄目标的图像;在该第一图像中确定目标位置。根据该目标位置将该第一图像划分为P个背景区域,目标区域以及Q个未标记区域。根据该P个背景区域将该Q个未标记区域中一个或多个区域合并到该P个背景区域中的至少一个背景区域中。将该Q个未标记区域中除了该一个或多个区域之外的至少一个未标记区域合并到该目标区域,以获得包括该拍摄目标的感兴趣区域(ROI)。根据ROI确定对焦区域,该对焦区域包括该ROI的至少部分。(The embodiment of the application discloses a focusing method, a focusing device and electronic equipment, relates to the field of image processing, and can improve the focusing accuracy of a shot target so as to clearly shoot the shot target, so that the image quality of the shot image and the shooting filming rate are improved. The specific scheme is as follows: generating a first image including an image of a photographic target; a target location is determined in the first image. The first image is divided into P background areas, a target area and Q unmarked areas according to the target position. Merging one or more of the Q unmarked regions into at least one of the P background regions according to the P background regions. At least one of the Q unmarked regions other than the one or more regions is merged to the target region to obtain a region of interest (ROI) including the photographic object. A focus region is determined from the ROI, the focus region including at least a portion of the ROI.)

46页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:折叠式相机和包括该折叠式相机的电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!