一种确定对焦窗的方法、装置及设备制造方法及图纸

技术编号:16722211 阅读:75 留言:0更新日期:2017-12-05 18:56
一种确定对焦窗的方法、装置及设备,用以解决采用爬山法容易导致失焦的问题,该方面包括:确定待拍摄图像中检测到人脸时,将人脸区域作为当前对焦窗;检测人脸区域中的预设位置,并根据人脸区域中的预设位置调整当前对焦窗的宽度;至少按照第一预设比例和第二预设比例拉伸当前对焦窗的长度;至少计算第一对焦窗内的图像的对比度值和第二对焦窗内的图像的对比度值;根据至少两个对比度值确定最终的对焦窗。因此,通过缩小对焦窗宽度,避免对焦窗出现背景内容,将对焦窗拉伸到人的身体部分,能够提升对焦窗内纹理丰富程度,进而有效提升人脸对焦过程中的对焦效果。

A method, device, and equipment for determining the focus window

A device and equipment determination method, focusing window, in order to solve the hill climbing method is easy to cause the defocus problem, comprising: determining shooting detected face images, the face region as the current focus detection window; the preset position in the face region, and according to the preset position adjustment face in the area of the width of the coke window; at least according to the first preset proportion and second of the proportion of preset tensile coke window length; at least the first comparison image of calculation of coke in the window of values and second focus window image value; according to at least two contrast values determine the final the focusing window. Therefore, by narrowing the width of the focal windows, avoiding the background contents of the focal windows, stretching the focal windows to the human body part, we can enhance the texture richness in the focal windows, and effectively enhance the focusing effect in the face focusing process.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:杜成罗巍郭鑫戎怀阳吴锦
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1