摘要:本发明公开了一种屏幕划痕的检测方法及装置,该方法包括:对屏幕图像进行处理,得到屏幕的缺陷点,其中,所述屏幕图像是利用灰度相机对发光的屏幕拍摄得到的;确定任两个缺陷点所成直线的第一斜率,以及包含有每两个缺陷点所成直线的图像区域;从所述图像区域中,获取每一行或者每一列中灰度值最大的像素点;对各行或者各列中灰度值最大的像素点进行拟合处理,得到拟合直线,并确定所述拟合直线的第二斜率;如果所述第二斜率与所述第一斜率的差值位于预设的斜率差值阈值范围内,确定所述图像区域存在划痕缺陷。根据本发明的一个实施例,实现了屏幕划痕的自动化检测。 | |
Abstract: The invention discloses a method and a device for detecting screen scratches. The method comprises the following steps of processing an image of a screen so as to obtain the defect points of the screen, wherein the image of the screen is obtained through photographing a light-emitting screen by means of a grayscale camera; determining a first slope of a straight line formed by any two defect points, and an image area comprising the straight line formed by every two defect points; in the image area, acquiring a pixel point in each row or in each column and largest in gray value; carrying out fitting treatment on the pixel point largest in gray value in each row or each column so as to obtain a fitted straight line, and determining a second slope of the fitted straight line; if the difference value between the second slope and the first slope is within a preset slope difference value threshold range, determining that a scratch defect exists in the image area. According to one embodimentof the invention, the automatic detection of screen scratches is realized. | |
申请人: 歌尔科技有限公司 | |
Applicant: GOERTEK TECH CO LTD | |
地址: 266104 山东省青岛市崂山区********(隐藏) | |
发明(设计)人: 宋秀峰 | |
Inventor: SONG XIUFENG | |
主分类号: G06T7/00(2017.01)I | |
分类号: G06T7/00(2017.01)I G06F17/14(2006.01)I G01N21/88(2006.01)I | |
2020-10-30 | 专利权的转移IPC(主分类):G06T7/00登记生效日:20201015变更前专利权人:歌尔科技有限公司变更前地址:266104 山东省青岛市崂山区北宅街道投资服务中心308室变更后专利权人:歌尔光学科技有限公司变更后地址:261031 山东省潍坊市高新区东明路以东玉清街以北(歌尔电子办公楼502室) |
2020-08-25 | 授权 |
2018-08-07 | 实质审查的生效IPC(主分类):G06T 7/00申请日:20171220 |
2018-07-13 | 公开 |
主权项 | 1.一种屏幕划痕的检测方法,其特征在于,包括:对屏幕图像进行处理,得到屏幕的缺陷点,其中,所述屏幕图像是利用灰度相机对发光的屏幕拍摄得到的;确定任两个缺陷点所成直线的第一斜率,以及包含有每两个缺陷点所成直线的图像区域;从所述图像区域中,获取每一行或者每一列中灰度值最大的像素点;对各行或者各列中灰度值最大的像素点进行拟合处理,得到拟合直线,并确定所述拟合直线的第二斜率;如果所述第二斜率与所述第一斜率的差值位于预设的斜率差值阈值范围内,确定所述图像区域存在划痕缺陷。 | ||||||||||||||||||
公开号 | 108280822A | ||||||||||||||||||
公开日 | 2018-07-13 | ||||||||||||||||||
专利代理机构 | 北京博雅睿泉专利代理事务所(特殊普通合伙) 11442 | ||||||||||||||||||
代理人 | 郭少晶 马佑平 | ||||||||||||||||||
颁证日 | |||||||||||||||||||
优先权 |
|
||||||||||||||||||
国际申请 | |||||||||||||||||||
国际公布 | |||||||||||||||||||
进入国家日期 |
类型 | 阶段 | 文献号 | 公开日期 | 涉及权利要求项 | 相关页数 |
A | SEA | CN103745476A | 20140423 | 1-10 | 全文 |
A | SEA | CN103926256A | 20140716 | 1-10 | 全文 |
A | SEA | US2014267691A1 | 20140918 | 1-10 | 全文 |
A | SEA | CN206378902U | 20170804 | 1-10 | 全文 |
A | SEA | US2017363969A1 | 20171221 | 1-10 | 全文 |
类型 | 阶段 | 期刊文摘名称 | 作者 | 标题 | 涉及权利要求项 | 相关页数 |
类型 | 阶段 | 书名 | 作者 | 标题 | 涉及权利要求项 | 相关页数 |