图片处理方法和装置制造方法及图纸

技术编号:18899576 阅读:30 留言:0更新日期:2018-09-08 14:26
一种图片处理方法和装置,通过检测待处理图片中人脸佩戴的眼镜的类型,眼镜的类型为近视眼镜或远视眼镜(101);并确定眼镜的镜片区域(102),根据眼镜的类型确定镜片区域的形变模型,该形变模型用于表示眼镜对镜片区域内的图像的形变(103),然后根据形变模型对镜片区域内的图像进行恢复,以消除眼镜对镜片区域内的图像产生的形变(104)。通过消除眼镜对镜片区域内的图像产生的形变,使得待处理图片更加接近真实的图片,更加美观。

Picture processing method and device

A picture processing method and apparatus for detecting the type of glasses worn by a face in a picture to be processed, the type of glasses being myopic glasses or hyperopic glasses (101), and determining the lens area (102) of the glasses, determine the deformation model of the lens area according to the type of glasses, which is used to represent the lens-to-lens area. The image is deformed (103), and then the image in the lens area is restored according to the deformation model to eliminate the deformations (104) produced by the image in the lens area. By eliminating the deformation of the image in the lens area caused by the glasses, the image to be processed is closer to the real picture and more beautiful.

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

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

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

【专利技术属性】
技术研发人员:秦超
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

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

1