Nothing Special   »   [go: up one dir, main page]

CN114792310A - A Mura Defect Detection Method with Blurred Edges in LCD Screens - Google Patents

A Mura Defect Detection Method with Blurred Edges in LCD Screens Download PDF

Info

Publication number
CN114792310A
CN114792310A CN202210467455.9A CN202210467455A CN114792310A CN 114792310 A CN114792310 A CN 114792310A CN 202210467455 A CN202210467455 A CN 202210467455A CN 114792310 A CN114792310 A CN 114792310A
Authority
CN
China
Prior art keywords
image
gray value
pixel
value
noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210467455.9A
Other languages
Chinese (zh)
Inventor
吴宗泽
蒋优星
陈志豪
曾德宇
周游
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN202210467455.9A priority Critical patent/CN114792310A/en
Publication of CN114792310A publication Critical patent/CN114792310A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30121CRT, LCD or plasma display

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Image Processing (AREA)

Abstract

本发明提供一种LCD屏幕中边缘模糊的Mura缺陷检测方法,该方法通过添加噪声的方式实现对缺陷的准确检测,并且对于不同形状不同大小的屏幕均适用;对于屏幕边缘区域的出血点,在检测之前进行填充在检测之后进行掩膜,从而实现避免出血点对于检测结果的影响;针对图像分辨率较大的问题,采用下采样的方式将图像大小缩小为原来的

Figure DDA0003624946290000011
既节省了图像处理的时间又保留了图像中的有效数据;在整个图像处理过程完成之后,采用上采样的方式将结果图恢复到原有尺寸,方便现场操作工人进行查看、分析与判断。

Figure 202210467455

The invention provides a Mura defect detection method with blurred edges in an LCD screen. The method realizes accurate detection of defects by adding noise, and is applicable to screens of different shapes and sizes; Filling is performed before detection and masking is performed after detection, so as to avoid the influence of bleeding points on detection results; for the problem of large image resolution, downsampling is used to reduce the image size to the original one

Figure DDA0003624946290000011
It not only saves the time of image processing, but also retains the valid data in the image; after the entire image processing process is completed, the result image is restored to the original size by means of upsampling, which is convenient for on-site operators to view, analyze and judge.

Figure 202210467455

Description

一种LCD屏幕中边缘模糊的Mura缺陷检测方法A Mura Defect Detection Method with Blurred Edges in LCD Screens

技术领域technical field

本发明涉及机器视觉检测领域,更具体地,涉及一种LCD屏幕中边缘模糊的Mura缺陷检测方法。The invention relates to the field of machine vision detection, and more particularly, to a Mura defect detection method with blurred edges in an LCD screen.

背景技术Background technique

LCD屏幕通常由粘和在一起的多个材料和基底层组成,往往在粘合的过程中,各种污染物、气泡、迁移物或其他瑕疵都可能进入LCD屏幕中造成Mura缺陷。Mura缺陷的存在严重影响LCD屏幕的良率。针对边缘模糊的Mura缺陷,目前主要有三种主流检测方法。首先,依靠人眼的传统检测方法。这种方法存在检测速度慢、效率低、无法满足高速自动化生产线、检测精度低等缺点。其次,边缘检测方案,由于这种缺陷的边缘非常模糊,边缘区域像素点的灰度值呈“渐变”状态,因此无法有效提取边缘,无法有效检测该缺陷。边缘检测方案检测效果如图1所示。最后,前背景分离方案,现有的前背景分离方案期望对输入图像进行处理得到包含缺陷的前景图和没有缺陷的背景图,之后进行比对差分。但是由于缺陷边缘模糊的特点导致经过前背景分离操作得到的前景图和背景图中均包含该缺陷或均没有该缺陷,因此无法通过后续的对比差分操作检出缺陷。前背景分离方案检测效果如图2所示。总体来说,三种主流方法对于LCD屏幕中边缘模糊的Mura缺陷均存在不足,难以达到预期的效果。预期的效果如图3所示。LCD screens are usually composed of multiple materials and substrate layers that are bonded together. Often during the bonding process, various contaminants, air bubbles, migrations or other defects may enter the LCD screen to cause Mura defects. The existence of Mura defects seriously affects the yield of LCD screens. There are currently three mainstream detection methods for Mura defects with blurred edges. First, traditional detection methods rely on the human eye. This method has shortcomings such as slow detection speed, low efficiency, inability to meet high-speed automated production lines, and low detection accuracy. Secondly, in the edge detection scheme, because the edge of this defect is very blurred, the gray value of the pixel points in the edge area is in a "gradual" state, so the edge cannot be effectively extracted and the defect cannot be effectively detected. The detection effect of the edge detection scheme is shown in Figure 1. Finally, the front-background separation scheme, the existing front-background separation scheme expects to process the input image to obtain a foreground image containing defects and a background image without defects, and then compare and differentiate. However, due to the blurred edge of the defect, both the foreground image and the background image obtained by the front-background separation operation contain the defect or do not have the defect, so the defect cannot be detected by the subsequent contrast difference operation. The detection effect of the front-background separation scheme is shown in Figure 2. In general, the three mainstream methods are insufficient for Mura defects with blurred edges in LCD screens, and it is difficult to achieve the expected results. The expected effect is shown in Figure 3.

现有技术中公开了一种手机TFT-LCD屏Mura缺陷在线自动检测方法的专利,该专利先通过CCD工业相机采集待检测手机屏幕图像;再对待检测图像进行感兴趣区域提取、几何校正以及滤波预处理,获取图像中的TFT-LCD屏幕区域;然后对屏幕区域进行分块操作,并根据每个子图像块的灰度分布特征,利用自适应局部增强算法增强图像中的Mura缺陷;最后采用阈值法和形态学开操作提取图像中的Mura缺陷。本发明主能自动识别对比度低、边缘模糊的Mura缺陷,准确率高、鲁棒性强,可有效解决生产过程中人工检测成本高、效率低、准确率低的问题,对于提高手机TFT-LCD屏幕的生产效率和质量具有重要意义。然而,该专利对通过添加适当的噪声进差分可以有效解决缺陷边缘模糊问题却鲜有报道。The prior art discloses a patent for an online automatic detection method for Mura defects on a mobile phone TFT-LCD screen. The patent first collects the screen image of the mobile phone to be detected through a CCD industrial camera; then the to-be-detected image is extracted, geometrically corrected and filtered. Preprocessing is used to obtain the TFT-LCD screen area in the image; then the screen area is divided into blocks, and the adaptive local enhancement algorithm is used to enhance the Mura defect in the image according to the gray distribution characteristics of each sub-image block; finally, the threshold value is used Mura defects in images were extracted by method and morphological open operation. The invention can automatically identify Mura defects with low contrast and blurred edges, has high accuracy and strong robustness, can effectively solve the problems of high manual detection cost, low efficiency and low accuracy in the production process, and is useful for improving mobile phone TFT-LCD The production efficiency and quality of the screen are of great significance. However, there are few reports in this patent that the problem of defect edge blurring can be effectively solved by adding appropriate noise into the differential.

发明内容SUMMARY OF THE INVENTION

本发明提供一种LCD屏幕中边缘模糊的Mura缺陷检测方法,该方法通过添加适当的噪声进差分可以有效解决缺陷边缘模糊问题,从而实现对这种边缘模糊的Mura缺陷的有效检测,提高检测的准确性。The invention provides a method for detecting Mura defects with blurred edges in an LCD screen. The method can effectively solve the problem of blurred edges of defects by adding appropriate noise into the difference, so as to realize the effective detection of Mura defects with blurred edges, and improve the detection efficiency. accuracy.

为了达到上述技术效果,本发明的技术方案如下:In order to achieve above-mentioned technical effect, technical scheme of the present invention is as follows:

一种LCD屏幕中边缘模糊的Mura缺陷检测方法,包括以下步骤:A method for detecting Mura defects with blurred edges in an LCD screen, comprising the following steps:

S1:通过图像裁剪提取图像中的感兴趣区域;S1: Extract the region of interest in the image by image cropping;

S2:对步骤S1中的图像进行高斯滤波,滤除高斯噪声;S2: Perform Gaussian filtering on the image in step S1 to filter out Gaussian noise;

S3:对经步骤S2后的图像进行下采样,降低图像的分辨率;S3: down-sampling the image after step S2 to reduce the resolution of the image;

S4:对经步骤S3后的图像进行边缘填充,填充边缘区域的非屏幕区域;S4: perform edge filling on the image after step S3, and fill the non-screen area of the edge area;

S5:对经步骤S4后的图像中选择某一位置进行噪声添加;S5: Select a certain position in the image after step S4 to add noise;

S6:对经步骤S5后的添加噪声的图像和步骤S4中得到的图像进行差分,对差分后的结果图进行增强;S6: Differentiate the noise-added image after step S5 and the image obtained in step S4, and enhance the result image after the difference;

S7:对步骤S6得到的图像进行二值化和膨胀处理,将缺陷筛选出来;S7: Perform binarization and expansion processing on the image obtained in step S6 to screen out defects;

S8:对步骤S7得到的图像进行上采样与掩膜,恢复图像的分辨率,屏蔽非屏幕区域的误检。S8: Perform up-sampling and masking on the image obtained in step S7, restore the resolution of the image, and shield the false detection of the non-screen area.

进一步地,所述步骤S1中,由于LCD屏幕有各种各样的形状和大小,在实际工业现场的检测过程中为了保证待测产品的所有区域能够被拍摄到,因此相机的视场必须大于待测区域,所以会在屏幕边缘区域留一定的出血位,需要将LCD屏幕待测区域裁剪出来供后续处理使用,图像裁剪采用手动输入屏幕边缘坐标进行裁剪和自动求取边缘坐标进行裁剪。Further, in the step S1, since the LCD screen has various shapes and sizes, in order to ensure that all areas of the product to be tested can be photographed during the detection process of the actual industrial site, the field of view of the camera must be larger than The area to be tested will leave a certain bleeding position in the edge area of the screen. It is necessary to crop the area to be tested on the LCD screen for subsequent processing. Image cropping is performed by manually inputting the screen edge coordinates for cropping and automatically obtaining the edge coordinates for cropping.

进一步地,所述步骤S2中,高斯滤波的具体操作是:用一个模板扫描图像中的每一个像素点,用模板确定的邻域内像素点的加权平均灰度值替代模板中心像素点的灰度值,选用核为45×45,标准差为0的模板进行滤波处理。Further, in the step S2, the specific operation of Gaussian filtering is: scan each pixel in the image with a template, and replace the grayscale of the center pixel of the template with the weighted average grayscale value of the pixel in the neighborhood determined by the template. value, select a template with a kernel of 45×45 and a standard deviation of 0 for filtering.

进一步地,所述步骤S3中,采用双线性插值的下采样模式,把图像的高度和宽度分别缩小为原来的

Figure BDA0003624946270000021
利用原图中虚拟点四周的四个真实存在的像素点的灰度值来共同决定目标图中的对应像素点的灰度值,将虚拟点对应的灰度值计算出来,具体地:Further, in the step S3, the downsampling mode of bilinear interpolation is adopted to reduce the height and width of the image to the original ones respectively.
Figure BDA0003624946270000021
The gray value of the four real pixels around the virtual point in the original image is used to jointly determine the gray value of the corresponding pixel in the target image, and the gray value corresponding to the virtual point is calculated, specifically:

f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)

f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)

f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)

其中f(0,0)表示坐标为(0,0)的灰度值,f(0,1)表示坐标为(0,1)的灰度值,f(1,0)表示坐标为(1,0)的灰度值,f(1,1)表示坐标为(1,1)的灰度值,f(dx,0)表示坐标为(dx,0)的灰度值,f(dx,1)表示坐标为(dx,1)的灰度值,f(dx,dy)表示坐标为(dx,dy)的灰度值。Where f(0,0) represents the gray value of the coordinate (0,0), f(0,1) represents the gray value of the coordinate (0,1), and f(1,0) represents the coordinate of (1) ,0) grayscale value, f(1,1) represents the grayscale value with coordinates (1,1), f(dx,0) represents the grayscale value with coordinates (dx,0), f(dx, 1) Represents the grayscale value with coordinates (dx,1), and f(dx,dy) represents the grayscale value with coordinates (dx,dy).

进一步地,所述步骤S4中,填充过程为逐列填充,首先求出某一列中第100个像素点到第300个像素点的灰度均值,然后通过遍历该列中所有的像素点找到该列中所有灰度值低于某一阈值的像素点,令这些像素点的灰度值等于求出的灰度均值。Further, in the step S4, the filling process is column-by-column filling. First, the average gray level of the 100th pixel point to the 300th pixel point in a certain column is obtained, and then the gray level is found by traversing all the pixel points in the column. All the pixels in the column whose gray value is lower than a certain threshold, make the gray value of these pixels equal to the obtained gray mean value.

进一步地,所述步骤S5中,添加噪声时需要从左至右逐列进行,依次计算每一列像素点的像素均值,求出的像素均值作为添加的噪声值,在该列每隔两个像素点添加求出的像素均值。Further, in the step S5, when adding noise, it needs to be performed column by column from left to right, and the pixel mean value of each column of pixels is calculated in turn, and the obtained pixel mean value is used as the added noise value, and every two pixels in this column. Click to add the calculated pixel mean.

进一步地,所述步骤S6中,求出的噪声值比白团缺陷灰度值小,比黑团缺陷灰度值大,噪声值与正常灰度值相差不大;将未进行噪声填充的图与噪声填充的图进行差分即可检测白团缺陷:Further, in the step S6, the obtained noise value is smaller than the gray value of the white group defect, and larger than the gray value of the black group defect, and the noise value is not much different from the normal gray value; Differences with noise-filled plots can detect white mass defects:

将噪声填充图与未进行噪声填充的进行差分检测黑团缺陷,得到的图中灰度值比较大的就是缺陷所在的地方,灰度值比较小的是没有缺陷的,为了增大有缺陷的地方与没有缺陷的地方的灰度值差距,采用直方图均衡化或者归一化进行增强,通过直方图均衡化或者归一化进行增强后,拉开缺陷区域与非缺陷区域的灰度值差距,便于进行下一步处理;Differential detection of black group defects is performed between the noise-filled image and the non-noise-filled image. The larger gray value in the obtained image is where the defect is located, and the smaller gray value is no defect. In order to increase the number of defects. The gray value gap between the place and the non-defective place is enhanced by histogram equalization or normalization. After enhancement through histogram equalization or normalization, the gray value gap between the defective area and the non-defective area is widened. , which is convenient for further processing;

当图像的像素灰度变化随机,图像直方图出现高低不平时,直方图均衡化使图像直方图大致平和;When the pixel grayscale of the image changes randomly and the image histogram is uneven, the histogram equalization makes the image histogram roughly flat;

归一化的原理是计算图像中每个像素点灰度值映射到0-255范围内,映射前最小的灰度值映射后为该范围的下限,映射前最大的灰度值映射后为该范围的上限:The principle of normalization is to calculate the gray value of each pixel in the image and map it to the range of 0-255. The minimum gray value before mapping is the lower limit of the range after mapping, and the largest gray value before mapping is the lower limit after mapping. Upper limit of range:

Figure BDA0003624946270000031
Figure BDA0003624946270000031

方程(4)中的img(n,m)指图像中坐标为(n,m)的像素点的灰度值,min_img为该图像中所有像素点灰度值中的最小值,max_img是图像中所有像素点灰度值中的最大值,归一化是一种线性变换,经过归一化后会把灰度值映射到0-255内,可以增加对比度。img(n,m) in equation (4) refers to the gray value of the pixel with coordinates (n, m) in the image, min_img is the minimum value of all pixel gray values in the image, and max_img is the gray value of the pixel in the image. The maximum value of the gray value of all pixel points, normalization is a linear transformation, after normalization, the gray value will be mapped to 0-255, which can increase the contrast.

进一步地,所述步骤S7中,经过未添加噪声的图像与添加噪声的图像进行差分或者对差分图的增强之后,图像中灰度值最大的地方就是缺陷所在的地方,其他地方的灰度值与最大值至少相差10,采用二值化的方法将灰度值大于某一阈值的像素点灰度值置为255,其他区域的置为0,二值化的结果图中每个缺陷都是由多条白色短线构成,利用膨胀运算使白色短线凝聚成白团;Further, in the step S7, after the difference between the image without noise and the image with noise added or the difference map is enhanced, the place with the largest gray value in the image is the place where the defect is, and the gray value of other places is the place where the defect is located. The difference from the maximum value is at least 10, and the binarization method is used to set the gray value of the pixel whose gray value is greater than a certain threshold to 255, and set it to 0 in other areas. It is composed of multiple white short lines, and the white short lines are condensed into white balls by the expansion operation;

膨胀具体的操作方法是用一个宽m,高n的矩形作为模板,对图像中的每一个像素x做如下处理:像素x置于模板的中心,根据模版的大小,遍历所有被模板覆盖的其他像素,修改像素x的值为所有像素中最大的值,将图像外围的突出点连接并向外延伸。The specific operation method of expansion is to use a rectangle with a width m and a height n as a template, and do the following processing for each pixel x in the image: the pixel x is placed in the center of the template, and according to the size of the template, it traverses all other items covered by the template. Pixel, modify the value of pixel x to be the largest value among all pixels, connect and extend the prominent points on the periphery of the image.

进一步地,所述步骤S8中,由于经过下采样操作,图像的宽高被缩小为原来的

Figure BDA0003624946270000041
所以需要通过上采样操作使图像恢复原有的尺寸;上采样选择双三次插值法,在这种方法中,(x,y)的灰度值可以通过矩形网格中最近的16个采样点的加权平均得到。Further, in the step S8, due to the down-sampling operation, the width and height of the image are reduced to the original
Figure BDA0003624946270000041
Therefore, it is necessary to restore the original size of the image through the upsampling operation; the bicubic interpolation method is selected for the upsampling. In this method, the gray value of (x, y) can pass through the nearest 16 sampling points in the rectangular grid. weighted average is obtained.

优选地,选用大小为45×45,标准差为0的高斯滤波核进行高斯滤波,高斯滤波结果图的分辨率为8797×3965,图像分辨率较大影响后续图像处理的速度,将图像的长度和宽度均缩小为原来的

Figure BDA0003624946270000042
经过下采样,图像的分辨率降至1759×793。Preferably, a Gaussian filter kernel with a size of 45×45 and a standard deviation of 0 is used to perform Gaussian filtering. The resolution of the Gaussian filtering result graph is 8797×3965. The larger image resolution affects the speed of subsequent image processing. and width are reduced to the original
Figure BDA0003624946270000042
After downsampling, the resolution of the image is reduced to 1759×793.

与现有技术相比,本发明技术方案的有益效果是:Compared with the prior art, the beneficial effects of the technical solution of the present invention are:

本发明通过在适当的位置添加适当的噪声可以做到有效检出任意形状和大小的LCD屏幕中任意位置或大小的边缘模糊的Mura缺陷,提升检测的准确性,降低检测的漏检率和过杀率;通过添加噪声的方式实现对缺陷的准确检测,并且对于不同形状不同大小的屏幕均适用;对于屏幕边缘区域的出血点,在检测之前进行填充在检测之后进行掩膜,从而实现避免出血点对于检测结果的影响;针对图像分辨率较大的问题,采用下采样的方式将图像大小缩小为原来的

Figure BDA0003624946270000043
既节省了图像处理的时间又保留了图像中的有效数据;在整个图像处理过程完成之后,采用上采样的方式将结果图恢复到原有尺寸,方便现场操作工人进行查看、分析与判断。The present invention can effectively detect Mura defects with blurred edges at any position or size in an LCD screen of any shape and size by adding appropriate noise at an appropriate position, thereby improving the detection accuracy and reducing the missed detection rate and over-detection rate of detection. Accurate detection of defects by adding noise, and it is applicable to screens of different shapes and sizes; for bleeding points in the edge area of the screen, fill in before detection and mask after detection, so as to avoid bleeding The influence of points on the detection results; for the problem of large image resolution, downsampling is used to reduce the image size to the original
Figure BDA0003624946270000043
It not only saves the time of image processing, but also retains the valid data in the image; after the entire image processing process is completed, the result image is restored to the original size by means of upsampling, which is convenient for on-site operators to view, analyze and judge.

附图说明Description of drawings

图1为现有技术中边缘检测方案检测效果图;Fig. 1 is an edge detection scheme detection effect diagram in the prior art;

图2为现有技术中前背景分离检测效果图;Fig. 2 is a front-background separation detection effect diagram in the prior art;

图3为现有技术中预期的检测效果图;Fig. 3 is an expected detection effect diagram in the prior art;

图4为本发明方法流程图;Fig. 4 is the flow chart of the method of the present invention;

图5为相机拍摄图像;Figure 5 is an image taken by a camera;

图6为双线性插值法过程示意图;6 is a schematic diagram of a bilinear interpolation process;

图7为膨胀运算示意图;Fig. 7 is a schematic diagram of expansion operation;

图8为图像裁剪效果图Figure 8 shows the effect of image cropping

图9为掩膜模板示意图;9 is a schematic diagram of a mask template;

图10为下采样效果示意图;Figure 10 is a schematic diagram of the downsampling effect;

图11为整体填充效果图;Figure 11 is the overall filling effect diagram;

图12为添加噪声效果图;Figure 12 is an effect diagram of adding noise;

图13为边缘模糊的白团缺陷二值化图;Fig. 13 is a binarization diagram of a white mass defect with blurred edges;

图14为边缘模糊的黑团二值化图;Fig. 14 is a black group binarization map with blurred edges;

图15为边缘模糊的白团缺陷膨胀图;Figure 15 is an expansion diagram of a white mass defect with blurred edges;

图16为边缘模糊的黑团缺陷膨胀图;Figure 16 is an expansion diagram of a black group defect with blurred edges;

图17为检测结果图。FIG. 17 is a graph of detection results.

具体实施方式Detailed ways

附图仅用于示例性说明,不能理解为对本专利的限制;The accompanying drawings are for illustrative purposes only, and should not be construed as limitations on this patent;

为了更好说明本实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;In order to better illustrate this embodiment, some parts of the drawings are omitted, enlarged or reduced, which do not represent the size of the actual product;

对于本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。It will be understood by those skilled in the art that some well-known structures and their descriptions may be omitted from the drawings.

下面结合附图和实施例对本发明的技术方案做进一步的说明。The technical solutions of the present invention will be further described below with reference to the accompanying drawings and embodiments.

实施例1Example 1

如图4所示,一种LCD屏幕中边缘模糊的Mura缺陷检测方法,包括以下步骤:As shown in Figure 4, a method for detecting Mura defects with blurred edges in an LCD screen includes the following steps:

S1:通过图像裁剪提取图像中的感兴趣区域;S1: Extract the region of interest in the image by image cropping;

S2:对步骤S1中的图像进行高斯滤波,滤除高斯噪声;S2: Perform Gaussian filtering on the image in step S1 to filter out Gaussian noise;

S3:对经步骤S2后的图像进行下采样,降低图像的分辨率;S3: down-sampling the image after step S2 to reduce the resolution of the image;

S4:对经步骤S3后的图像进行边缘填充,填充边缘区域的非屏幕区域;S4: perform edge filling on the image after step S3, and fill the non-screen area of the edge area;

S5:对经步骤S4后的图像中选择某一位置进行噪声添加;S5: Select a certain position in the image after step S4 to add noise;

S6:对经步骤S5后的添加噪声的图像和步骤S4中得到的图像进行差分,对差分后的结果图进行增强;S6: Differentiate the noise-added image after step S5 and the image obtained in step S4, and enhance the result image after the difference;

S7:对步骤S6得到的图像进行二值化和膨胀处理,将缺陷筛选出来;S7: Perform binarization and expansion processing on the image obtained in step S6 to screen out defects;

S8:对步骤S7得到的图像进行上采样与掩膜,恢复图像的分辨率,屏蔽非屏幕区域的误检。S8: Perform up-sampling and masking on the image obtained in step S7, restore the resolution of the image, and shield the false detection of the non-screen area.

步骤S1中,由于LCD屏幕有各种各样的形状和大小,在实际工业现场的检测过程中为了保证待测产品的所有区域能够被拍摄到,因此相机的视场必须大于待测区域,所以会在屏幕边缘区域留一定的出血位,需要将LCD屏幕待测区域裁剪出来供后续处理使用,图像裁剪采用手动输入屏幕边缘坐标进行裁剪或自动求取边缘坐标进行裁剪。In step S1, since the LCD screen has various shapes and sizes, in order to ensure that all areas of the product to be tested can be photographed during the detection process of the actual industrial site, the field of view of the camera must be larger than the area to be tested, so A certain bleeding position will be left in the edge area of the screen, and the area to be tested on the LCD screen needs to be cropped out for subsequent processing. Image cropping is performed by manually inputting the screen edge coordinates for cropping or automatically obtaining the edge coordinates for cropping.

步骤S2中的每一个像素点,用模板确定的邻域内像素点的加权平均灰度值替代模板中心像素点的灰度值,选用核为45×45,标准差为0的模板进行滤波处理。For each pixel in step S2, the weighted average gray value of the pixel in the neighborhood determined by the template is used to replace the gray value of the center pixel of the template, and a template with a kernel of 45×45 and a standard deviation of 0 is used for filtering.

步骤S3中,采用双线性插值的下采样模式,把图像的高度和宽度分别缩小为原来的

Figure BDA0003624946270000061
利用原图中虚拟点四周的四个真实存在的像素点的灰度值来共同决定目标图中的对应像素点的灰度值,将虚拟点对应的灰度值计算出来,具体地:In step S3, the downsampling mode of bilinear interpolation is adopted to reduce the height and width of the image to the original ones respectively.
Figure BDA0003624946270000061
The gray value of the four real pixels around the virtual point in the original image is used to jointly determine the gray value of the corresponding pixel in the target image, and the gray value corresponding to the virtual point is calculated, specifically:

f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)

f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)

f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)

其中f(0,0)表示坐标为(0,0)的灰度值,f(0,1)表示坐标为(0,1)的灰度值,f(1,0)表示坐标为(1,0)的灰度值,f(1,1)表示坐标为(1,1)的灰度值,f(dx,0)表示坐标为(dx,0)的灰度值,f(dx,1)表示坐标为(dx,1)的灰度值,f(dx,dy)表示坐标为(dx,dy)的灰度值。Where f(0,0) represents the gray value of the coordinate (0,0), f(0,1) represents the gray value of the coordinate (0,1), and f(1,0) represents the coordinate of (1) ,0) grayscale value, f(1,1) represents the grayscale value with coordinates (1,1), f(dx,0) represents the grayscale value with coordinates (dx,0), f(dx, 1) Represents the grayscale value with coordinates (dx,1), and f(dx,dy) represents the grayscale value with coordinates (dx,dy).

步骤S4中,填充过程为逐列填充,首先求出某一列中第100个像素点到第300个像素点的灰度均值,然后通过遍历该列中所有的像素点找到该列中所有灰度值低于某一阈值的像素点,让这些像素点的灰度值等于求出的灰度均值。In step S4, the filling process is column-by-column filling. First, the average gray level of the 100th pixel point to the 300th pixel point in a certain column is obtained, and then all the gray levels in the column are found by traversing all the pixel points in the column. For pixels whose value is lower than a certain threshold, let the gray value of these pixels be equal to the obtained gray mean.

步骤S5中,添加噪声时需要从左至右逐列进行,依次计算每一列像素点的像素均值,求出的像素均值作为添加的噪声值,在该列每隔两个像素点添加求出的像素均值。In step S5, when adding noise, it needs to be performed column by column from left to right, and the pixel mean value of each column of pixel points is calculated in turn, and the obtained pixel mean value is used as the added noise value, and the calculated value is added every two pixel points in this column. pixel mean.

步骤S6中,求出的噪声值比白团缺陷灰度值小,比黑团缺陷灰度值大,噪声值与正常灰度值相差不大;将未进行噪声填充的图与噪声填充的图进行差分即可检测白团缺陷:In step S6, the obtained noise value is smaller than the gray value of the white group defect, larger than the gray value of the black group defect, and the noise value is not much different from the normal gray value; Differences can be performed to detect white lump defects:

将噪声填充图与未进行噪声填充的进行差分检测黑团缺陷,得到的图中灰度值比较大的就是缺陷所在的地方,灰度值比较小的是没有缺陷的,为了增大有缺陷的地方与没有缺陷的地方的灰度值差距,采用直方图均衡化或者归一化进行增强,通过直方图均衡化或者归一化进行增强后,拉开缺陷区域与非缺陷区域的灰度值差距,便于进行下一步处理;Differential detection of black group defects is performed between the noise-filled image and the non-noise-filled image. The larger gray value in the obtained image is where the defect is located, and the smaller gray value is no defect. In order to increase the number of defects. The gray value gap between the place and the non-defective place is enhanced by histogram equalization or normalization. After enhancement through histogram equalization or normalization, the gray value gap between the defective area and the non-defective area is widened. , which is convenient for further processing;

当图像的像素灰度变化随机,图像直方图出现高低不平时,直方图均衡化使图像直方图大致平和;When the pixel grayscale of the image changes randomly and the image histogram is uneven, the histogram equalization makes the image histogram roughly flat;

归一化的原理是计算图像中每个像素点灰度值映射到某一范围内(如0-255),映射前灰度值最低的地方映射后为该范围的下限,映射前灰度值最高的地方映射后为该范围的上限:The principle of normalization is to calculate the gray value of each pixel in the image and map it to a certain range (such as 0-255), and the place with the lowest gray value before mapping is the lower limit of the range after mapping, and the gray value before mapping The highest place is mapped to the upper limit of the range:

Figure BDA0003624946270000071
Figure BDA0003624946270000071

方程(4)中的img(n,m)指图像中坐标为(n,m)的像素点的灰度值,min_img为该图像中所有像素点灰度值中的最小值,max_img是图像中所有像素点灰度值中的最大值,归一化是一种线性变换,经过归一化后会把灰度值映射到0-255内,可以增加对比度。img(n,m) in equation (4) refers to the gray value of the pixel with coordinates (n, m) in the image, min_img is the minimum value of all pixel gray values in the image, and max_img is the gray value of the pixel in the image. The maximum value of the gray value of all pixel points, normalization is a linear transformation, after normalization, the gray value will be mapped to 0-255, which can increase the contrast.

步骤S7中,经过未添加噪声的图像与添加噪声的图像进行差分或者对差分图的增强之后,图像中灰度值最大的地方就是缺陷所在的地方,其他地方的灰度值与最大值至少相差10,采用二值化的方法将灰度值大于某一阈值的像素点灰度值置为255,其他区域的置为0,二值化的结果图中每个缺陷都是由多条白色短线构成,利用膨胀运算让白色短线凝聚成白团;In step S7, after the difference between the image without noise and the image with noise added or the difference map is enhanced, the place with the largest gray value in the image is where the defect is, and the gray value in other places is at least different from the maximum value. 10. Use the binarization method to set the gray value of the pixel whose gray value is greater than a certain threshold to 255, and set it to 0 in other areas. In the result of binarization, each defect is composed of multiple white short lines. Composition, using expansion operation to condense short white lines into white balls;

膨胀具体的操作方法是用一个宽m,高n的矩形作为模板,对图像中的每一个像素x做如下处理:像素x置于模板的中心,根据模版的大小,遍历所有被模板覆盖的其他像素,修改像素x的值为所有像素中最大的值,将图像外围的突出点连接并向外延伸。The specific operation method of expansion is to use a rectangle with a width m and a height n as a template, and do the following processing for each pixel x in the image: the pixel x is placed in the center of the template, and according to the size of the template, it traverses all other items covered by the template. Pixel, modify the value of pixel x to be the largest value among all pixels, connect and extend the prominent points on the periphery of the image.

步骤S8中,由于经过下采样操作,图像的宽高被缩小为原来的

Figure BDA0003624946270000072
所以需要通过上采样操作使图像恢复原有的尺寸;上采样选择双三次插值法,在这种方法中,(x,y)的灰度值可以通过矩形网格中最近的16个采样点的加权平均得到。In step S8, due to the down-sampling operation, the width and height of the image are reduced to the original
Figure BDA0003624946270000072
Therefore, it is necessary to restore the original size of the image through the upsampling operation; the bicubic interpolation method is selected for the upsampling. In this method, the gray value of (x, y) can pass through the nearest 16 sampling points in the rectangular grid. weighted average is obtained.

实施例2Example 2

如图4所示,一种LCD屏幕中边缘模糊的Mura缺陷检测方法分为八个步骤实现检测过程。第一步图像裁剪,用于提取图像中的感兴趣区域。第二步高斯滤波,滤除高斯噪声。第三步下采样,降低图像的分辨率。第四步边缘填充,填充边缘区域的非屏幕区域。第五步在适当的位置添加适当的噪声。第六步对未添加噪声的图像和添加噪声的图像进行差分,对差分后的结果图进行增强。第七步进行二值化和膨胀处理,用于将缺陷筛选出来。第八步进行上采样与掩膜,恢复图像的分辨率,屏蔽非屏幕区域的误检。通过以上八个步骤的处理,可以准确检测任意形状大小的LCD屏幕中任意位置和任意大小的边缘模糊的Mura缺陷。下面将详细介绍每个步骤中重要的关键技术点。As shown in Figure 4, a Mura defect detection method with blurred edges in an LCD screen is divided into eight steps to realize the detection process. The first step is image cropping, which is used to extract the region of interest in the image. The second step of Gaussian filtering is to filter out Gaussian noise. The third step is downsampling, reducing the resolution of the image. The fourth step is edge padding, which fills the non-screen area of the edge area. The fifth step is to add the right amount of noise in the right place. The sixth step is to perform a difference between the image without noise and the image with added noise, and enhance the resulting image after the difference. The seventh step is to perform binarization and dilation processing to screen out defects. The eighth step is to perform upsampling and masking to restore the resolution of the image and mask false detections in non-screen areas. Through the processing of the above eight steps, Mura defects with blurred edges at any position and any size in an LCD screen of any shape and size can be accurately detected. The important key technical points in each step will be introduced in detail below.

1.图像裁剪1. Image cropping

LCD屏幕有各种各样的形状和大小,在实际工业现场的检测过程中为了保证待测产品的所有区域能够被拍摄到,因此相机的视场必须大于待测区域,所以会在屏幕边缘区域留一定的出血位,相机拍摄图像如图5所示。由于出血位的存在,不仅会影响检测速度还会影响检测的效果,因此在正式的检测开始之前,需要将LCD屏幕待测区域裁剪出来供后续处理使用。图像裁剪可以采用手动输入屏幕边缘坐标进行裁剪或自动求取边缘坐标进行裁剪。两种方法都可以提取感兴趣区域,均满足后续处理的要求。LCD screens have various shapes and sizes. In order to ensure that all areas of the product to be tested can be photographed during the inspection process in the actual industrial site, the field of view of the camera must be larger than the area to be tested, so it will be at the edge of the screen. Leave a certain bleeding position, and the image captured by the camera is shown in Figure 5. Due to the existence of the bleeding position, it will not only affect the detection speed but also affect the detection effect. Therefore, before the formal detection starts, the area to be tested on the LCD screen needs to be cut out for subsequent processing. Image cropping can be done by manually inputting the screen edge coordinates or automatically finding the edge coordinates for cropping. Both methods can extract regions of interest, and both meet the requirements of subsequent processing.

2.高斯滤波2. Gaussian filter

由于成像时光照环境的影响,相机拍摄的图像中总是含有高斯噪声。高斯噪声是指它的概率密度函数服从高斯分布的一类噪声。本发明采用高斯滤波的方式消除高斯噪声的影响。高斯滤波是一种线性平滑滤波,广泛应用于图像处理的减噪过程。高斯滤波就是对整幅图像进行加权平均的过程,每一个像素点的灰度值,都由其本身和邻域内的其他像素点的灰度值经过加权平均后得到。高斯滤波的具体操作是:用一个模板(或称卷积、掩模)扫描图像中的每一个像素点,用模板确定的邻域内像素点的加权平均灰度值替代模板中心像素点的灰度值。本发明选用核为45×45,标准差为0的模板进行滤波处理。Due to the influence of the lighting environment during imaging, the images captured by the camera always contain Gaussian noise. Gaussian noise refers to a class of noise whose probability density function follows a Gaussian distribution. The present invention uses Gaussian filtering to eliminate the influence of Gaussian noise. Gaussian filtering is a linear smoothing filter that is widely used in the noise reduction process of image processing. Gaussian filtering is a process of weighted averaging of the entire image. The gray value of each pixel is obtained by weighted averaging of the gray value of itself and other pixels in the neighborhood. The specific operation of Gaussian filtering is: scan each pixel in the image with a template (or convolution, mask), and replace the gray value of the center pixel of the template with the weighted average gray value of the pixel in the neighborhood determined by the template. value. The present invention selects a template with a kernel of 45×45 and a standard deviation of 0 for filtering processing.

3.下采样3. Downsampling

因为所述的缺陷边缘模糊对比度较低,边缘像素点的灰度值呈“渐变”、“过渡”状态,并且需要检测的区域较大。因此采用双线性插值的下采样模式,把图像的高度和宽度分别缩小为原来的

Figure BDA0003624946270000091
将图像的高度和宽度缩小也有助于提升后续的算法运行速度。双线性插值是一种比较好的图像缩放算法,它充分的利用了原图中虚拟点四周的四个真实存在的像素点的灰度值来共同决定目标图中的对应像素点的灰度值,可以将虚拟点对应的灰度值计算出来,计算原理如图6所示。Because the blurred contrast of the edge of the defect is low, the gray value of the edge pixel is in a state of "gradation" and "transition", and the area to be detected is large. Therefore, the downsampling mode of bilinear interpolation is used to reduce the height and width of the image to the original ones.
Figure BDA0003624946270000091
Reducing the height and width of the image also helps to speed up subsequent algorithms. Bilinear interpolation is a good image scaling algorithm. It makes full use of the grayscale values of four real pixels around the virtual point in the original image to jointly determine the grayscale of the corresponding pixel in the target image. The gray value corresponding to the virtual point can be calculated, and the calculation principle is shown in Figure 6.

根据双线性插值的计算原理,由图6中的坐标关系可得下列方程:According to the calculation principle of bilinear interpolation, the following equation can be obtained from the coordinate relationship in Figure 6:

f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)

f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)

f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)

其中f(0,0)表示坐标为(0,0)的灰度值,f(0,1)表示坐标为(0,1)的灰度值,f(1,0)表示坐标为(1,0)的灰度值,f(1,1)表示坐标为(1,1)的灰度值,f(dx,0)表示坐标为(dx,0)的灰度值,f(dx,1)表示坐标为(dx,1)的灰度值,f(dx,dy)表示坐标为(dx,dy)的灰度值。Where f(0,0) represents the gray value of the coordinate (0,0), f(0,1) represents the gray value of the coordinate (0,1), and f(1,0) represents the coordinate of (1) ,0) grayscale value, f(1,1) represents the grayscale value with coordinates (1,1), f(dx,0) represents the grayscale value with coordinates (dx,0), f(dx, 1) Represents the grayscale value with coordinates (dx,1), and f(dx,dy) represents the grayscale value with coordinates (dx,dy).

4.边缘填充4. Edge padding

LCD屏幕有矩形屏、刘海屏、水滴屏等各种各样的形状和大小,但是由于下采样后的图像形状只能为矩形,所以LCD屏幕的边缘区域仍然存在一些出血点。为了避免这些出血点对后续图像处理过程造成影响,因此需要进行填充操作,用适当的灰度值填充边缘区域。填充过程为逐列填充,首先求出某一列中第100个像素点到第300个像素点的灰度均值,然后通过遍历该列中所有的像素点找到该列中所有灰度值低于某一阈值的像素点,让这些像素点的灰度值等于求出的灰度均值。The LCD screen has various shapes and sizes such as rectangular screen, notch screen, water drop screen, etc. However, since the shape of the down-sampled image can only be a rectangle, there are still some bleeding points in the edge area of the LCD screen. In order to avoid these bleeding points from affecting the subsequent image processing process, a filling operation is required to fill the edge area with appropriate gray values. The filling process is column-by-column filling. First, the grayscale mean of the 100th pixel to the 300th pixel in a column is obtained, and then all the pixels in the column are traversed to find that all the grayscale values in the column are lower than a certain value. Pixel points with a threshold value, let the gray value of these pixels be equal to the obtained gray mean value.

5.添加噪声5. Add Noise

添加噪声是本发明中最重要的部分,也是整个图像处理过程中的关键步骤。因为缺陷的灰度值与所在列其他像素点的灰度值有一定差距,因此可以在步骤4的结果图中添加适当的噪声进行检测。添加噪声时需要从左至右逐列进行,依次计算每一列像素点的像素均值,求出的像素均值作为添加的噪声值,在该列每隔两个像素点添加求出的像素均值。Adding noise is the most important part of the present invention and a key step in the entire image processing process. Because there is a certain gap between the gray value of the defect and the gray value of other pixels in the column, appropriate noise can be added to the result image in step 4 for detection. When adding noise, it needs to be performed column by column from left to right, and the pixel mean value of each column of pixels is calculated in turn.

6.图像差分与增强6. Image difference and enhancement

经过实验发现,一般情况下,求出的噪声值比白团缺陷灰度值小,比黑团缺陷灰度值大,噪声值与正常灰度值相差不大。将未进行噪声填充的图与噪声填充的图进行差分即可检测白团缺陷。将噪声填充图与未进行噪声填充的进行差分可以检测黑团缺陷。得到的图中灰度值比较大的就是缺陷所在的地方,灰度值比较小的是没有缺陷的。为了增大有缺陷的地方与没有缺陷的地方的灰度值差距,可以采用直方图均衡化或者归一化进行增强。通过直方图均衡化或者归一化进行增强后,可以拉开缺陷区域与非缺陷区域的灰度值差距,便于进行下一步处理。Through experiments, it is found that in general, the calculated noise value is smaller than the gray value of the white group defect, and larger than the gray value of the black group defect, and the noise value is not much different from the normal gray value. White lump defects can be detected by differencing the non-noise-filled plot with the noise-filled plot. Differentiating the noise-filled map with the one that is not noise-filled can detect black mass defects. In the obtained image, the larger gray value is where the defect is located, and the smaller gray value means there is no defect. In order to increase the gray value gap between the defective place and the non-defective place, histogram equalization or normalization can be used for enhancement. After enhancement through histogram equalization or normalization, the gray value gap between the defective area and the non-defective area can be widened, which is convenient for further processing.

直方图均衡化是灰度变换的一个重要应用,它高效且易于实现,广泛应用于图像增强中。当图像的像素灰度变化随机,图像直方图出现高低不平时,直方图均衡化可以采用一定的算法使图像直方图大致平和。简而言之,直方图均衡化是一种通过拉伸像素强度分布范围来增强图像对比度的方法。Histogram equalization is an important application of grayscale transformation, which is efficient and easy to implement, and is widely used in image enhancement. When the pixel gray level of the image changes randomly, and the image histogram appears uneven, a certain algorithm can be used for histogram equalization to make the image histogram roughly flat. Simply put, histogram equalization is a method of enhancing image contrast by stretching the range of pixel intensity distributions.

归一化的原理是计算图像中每个像素点灰度值映射到某一范围内(如0-255),映射前最小灰度值映射后为该范围的下限,映射前最大灰度值映射后为该范围的上限。The principle of normalization is to calculate the gray value of each pixel in the image and map it to a certain range (such as 0-255). The minimum gray value before mapping is the lower limit of the range after mapping, and the maximum gray value before mapping is mapped. followed by the upper limit of the range.

Figure BDA0003624946270000101
Figure BDA0003624946270000101

方程(4)中的img(n,m)指图像中坐标为(n,m)的像素点的灰度值,min_img为该图像中所有像素点灰度值中的最小值,max_img是图像中所有像素点灰度值中的最大值。归一化是一种线性变换,经过归一化后会把灰度值映射到0-255内,可以增加对比度。img(n,m) in equation (4) refers to the gray value of the pixel with coordinates (n, m) in the image, min_img is the minimum value of all pixel gray values in the image, and max_img is the gray value of the pixel in the image. The maximum value of all pixel gray values. Normalization is a linear transformation. After normalization, the gray value is mapped to 0-255, which can increase the contrast.

7.二值化与膨胀处理7. Binarization and Dilation Processing

经过未添加噪声的图像与添加噪声的图像进行差分或者对差分图的增强之后,图像中灰度值最大的地方就是缺陷所在的地方,其他地方的灰度值与最大值至少相差10,因此可以采用二值化的方法将灰度值大于某一阈值的像素点灰度值置为255,其他区域的置为0。二值化的结果图中每个缺陷都是由多条白色短线构成,可以利用膨胀运算让白色短线凝聚成白团。After the difference between the image without noise and the image with noise added or the enhancement of the difference map, the place with the largest gray value in the image is where the defect is, and the gray value in other places is at least 10 different from the maximum value, so it can be The binarization method is used to set the gray value of the pixel whose gray value is greater than a certain threshold to 255, and the gray value of other areas to 0. Each defect in the binarized result graph is composed of multiple white short lines, and the dilation operation can be used to condense the white short lines into white balls.

膨胀具体的操作方法是用一个宽m,高n的矩形作为模板,对图像中的每一个像素x做如下处理:像素x置于模板的中心,根据模版的大小,遍历所有被模板覆盖的其他像素,修改像素x的值为所有像素中最大的值。这样操作的结果会将图像外围的突出点连接并向外延伸。图7所示的是3×3模板的膨胀运算示意图。The specific operation method of expansion is to use a rectangle with a width m and a height n as a template, and do the following processing for each pixel x in the image: the pixel x is placed in the center of the template, and according to the size of the template, it traverses all other items covered by the template. Pixel, modify the value of pixel x to be the largest value among all pixels. The result of this operation is to connect and extend the salient points on the periphery of the image. Figure 7 shows a schematic diagram of the expansion operation of the 3×3 template.

8.上采样与掩膜8. Upsampling and Masking

由于经过下采样操作,图像的宽高被缩小为原来的

Figure BDA0003624946270000111
所以需要通过上采样操作使图像恢复原有的尺寸。上采样可以选择双三次插值法,双三次插值是二维空间中最常用的插值方法。在这种方法中,(x,y)的灰度值可以通过矩形网格中最近的16个采样点的加权平均得到。Due to the downsampling operation, the width and height of the image are reduced to the original
Figure BDA0003624946270000111
Therefore, it is necessary to restore the original size of the image through the upsampling operation. Upsampling can choose bicubic interpolation, which is the most commonly used interpolation method in two-dimensional space. In this method, the gray value of (x,y) can be obtained by the weighted average of the nearest 16 sampling points in a rectangular grid.

因为屏幕不是非常规则的矩形,图像中的出血点不属于需要检测的地方,所以为了在最终的检测结果中避免对出血点检测,因此可以采用掩膜的方法进行处理。掩膜用选定的图像、图形或物体,对处理的图像的一部分或全部区域进行遮挡,来控制图像处理的区域或处理过程。用于覆盖的特定图像或物体称为掩模或模板。Because the screen is not a very regular rectangle, the bleeding point in the image does not belong to the place that needs to be detected, so in order to avoid the detection of the bleeding point in the final detection result, the mask method can be used for processing. The mask uses a selected image, figure or object to block a part or all of the area of the processed image to control the area or process of image processing. The specific image or object used for overlay is called a mask or stencil.

实施例3Example 3

开始检测之后,需要将待检测产品置于相机视场中心区域,然后通电点亮屏幕,将屏幕上的像素点的灰度值调整到某一阈值(例如128),然后使用相机进行图像采集,将采集到的图像传入电脑端,采集到的图像如图5所示。图5中屏幕外围黑色区域就是出血点,不属于需要检测的范围。可以通过手动输入屏幕边缘坐标或者自动计算屏幕边缘坐标方式将屏幕区域裁剪出来,裁剪后的效果图如图8所示。根据裁剪出来的屏幕效果图,可以得到屏幕的边缘信息,从而可以创建出图9所示的掩膜模板图片用于后续掩膜步骤的使用。After starting the detection, it is necessary to place the product to be detected in the center of the camera's field of view, then turn on the power to light up the screen, adjust the gray value of the pixels on the screen to a certain threshold (for example, 128), and then use the camera to capture images. The collected images are transferred to the computer, and the collected images are shown in Figure 5. In Figure 5, the black area on the periphery of the screen is the bleeding point, which does not belong to the range that needs to be detected. The screen area can be cut out by manually inputting the screen edge coordinates or automatically calculating the screen edge coordinates. The effect diagram after cutting is shown in Figure 8. According to the cropped screen rendering, edge information of the screen can be obtained, so that the mask template picture shown in FIG. 9 can be created for use in subsequent mask steps.

由于图像中高斯噪声会对后续的图像处理过程造成干扰,因此选用大小为45×45,标准差为0的高斯滤波核进行高斯滤波,高斯滤波结果图的分辨率为8797×3965,图像分辨率较大影响后续图像处理的速度,因此采用下采样方式,将图像的长度和宽度均缩小为原来的

Figure BDA0003624946270000112
经过下采样,图像的分辨率降至1759×793.分辨率对比情况如图10所示。Since the Gaussian noise in the image will interfere with the subsequent image processing process, a Gaussian filter kernel with a size of 45×45 and a standard deviation of 0 is used for Gaussian filtering. The resolution of the Gaussian filtering result image is 8797×3965, and the image resolution It greatly affects the speed of subsequent image processing, so the downsampling method is used to reduce the length and width of the image to the original one.
Figure BDA0003624946270000112
After downsampling, the resolution of the image is reduced to 1759×793. The resolution comparison is shown in Figure 10.

因屏幕不是标准的矩形屏,在屏幕的边缘区域仍然存在一些出血点。这些出血点容易造成误检,因此需要对其进行填充。本发明采用逐列填充的方式进行填充,首先计算第一列第100个元素至第300个元素的灰度均值或灰度众数,以计算的结果对需要填充的区域进行赋值。以此类推,从左至右,逐列进行填充。整体填充效果图如图11所示。Because the screen is not a standard rectangular screen, there are still some bleeding spots in the edge area of the screen. These bleeding spots are prone to false detections and therefore need to be filled. The present invention uses a column-by-column filling method to firstly calculate the grayscale mean or grayscale mode of the 100th element to the 300th element in the first column, and assigns the area to be filled with the calculated result. And so on, from left to right, fill column by column. The overall filling effect diagram is shown in Figure 11.

添加噪声是本发明的关键步骤,具体的实施思路是从左至右,先求出每一列像素点的灰度均值,求出的灰度均值即为添加的噪声值。在每一列像素点中每隔2个像素点添加求出的噪声值。添加之后的效果图如图12所示。Adding noise is a key step of the present invention, and the specific implementation idea is to first obtain the grayscale mean value of each column of pixels from left to right, and the obtained grayscale mean value is the added noise value. Add the calculated noise value every 2 pixels in each column of pixels. The effect diagram after adding is shown in Figure 12.

将添加噪声的图和没有添加噪声的图做差分可以用来检测白团缺陷,将没有添加噪声的图与添加噪声的图做差分可以用来检测黑团缺陷。通过设置合适的二值化阈值,可以将边缘模糊的Mura缺陷筛选出来,如图13、14所示。The difference between the image with added noise and the image without noise can be used to detect white group defects, and the difference between the image without added noise and the image with added noise can be used to detect black group defects. By setting an appropriate binarization threshold, Mura defects with blurred edges can be screened out, as shown in Figures 13 and 14.

二值化图中缺陷是由多条短线组成的,为了更加符合实际检测要求,因此使用核为3的膨胀核进行膨胀处理。处理后的效果图如图15、16所示。为了避免非屏幕区域造成的误检,使用图15、16所示的膨胀后的结果图与图9所示的掩膜模板图进行差分,在差分后的结果图中筛选轮廓面积大于200个像素点的轮廓,即可得到图17所示的结果图。The defects in the binarized image are composed of multiple short lines. In order to better meet the actual detection requirements, an expansion kernel with a core of 3 is used for expansion processing. The effect diagrams after processing are shown in Figures 15 and 16. In order to avoid false detections caused by non-screen areas, use the dilated result maps shown in Figures 15 and 16 to perform a difference with the mask template map shown in Figure 9, and filter the contour area greater than 200 pixels in the differential result map. The contour of the point can be obtained as shown in Figure 17.

相同或相似的标号对应相同或相似的部件;The same or similar reference numbers correspond to the same or similar parts;

附图中描述位置关系的用于仅用于示例性说明,不能理解为对本专利的限制;The positional relationship described in the accompanying drawings is only for exemplary illustration, and should not be construed as a limitation on this patent;

显然,本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。Obviously, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those of ordinary skill in the art, changes or modifications in other different forms can also be made on the basis of the above description. There is no need and cannot be exhaustive of all implementations here. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the claims of the present invention.

Claims (10)

1.一种LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,包括以下步骤:1. a fuzzy Mura defect detection method of edge in LCD screen, is characterized in that, comprises the following steps: S1:通过图像裁剪提取图像中的感兴趣区域;S1: Extract the region of interest in the image by image cropping; S2:对步骤S1中的图像进行高斯滤波,滤除高斯噪声;S2: Perform Gaussian filtering on the image in step S1 to filter out Gaussian noise; S3:对经步骤S2后的图像进行下采样,降低图像的分辨率;S3: down-sampling the image after step S2 to reduce the resolution of the image; S4:对经步骤S3后的图像进行边缘填充,填充边缘区域的非屏幕区域;S4: perform edge filling on the image after step S3, and fill the non-screen area of the edge area; S5:对经步骤S4后的图像中选择某一位置进行噪声添加;S5: Select a certain position in the image after step S4 to add noise; S6:对经步骤S5后的添加噪声的图像和步骤S4中得到的图像进行差分,对差分后的结果图进行增强;S6: Differentiate the noise-added image after step S5 and the image obtained in step S4, and enhance the result image after the difference; S7:对步骤S6得到的图像进行二值化和膨胀处理,将缺陷筛选出来;S7: Perform binarization and expansion processing on the image obtained in step S6 to screen out defects; S8:对步骤S7得到的图像进行上采样与掩膜,恢复图像的分辨率,屏蔽非屏幕区域的误检。S8: Perform up-sampling and masking on the image obtained in step S7, restore the resolution of the image, and shield the false detection of the non-screen area. 2.根据权利要求1所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S1中,由于LCD屏幕有各种各样的形状和大小,在实际工业现场的检测过程中为了保证待测产品的所有区域能够被拍摄到,因此相机的视场必须大于待测区域,所以会在屏幕边缘区域留一定的出血位,需要将LCD屏幕待测区域裁剪出来供后续处理使用,图像裁剪采用手动输入屏幕边缘坐标进行裁剪或自动求取边缘坐标进行裁剪。2. The Mura defect detection method with blurred edge in LCD screen according to claim 1, is characterized in that, in described step S1, because LCD screen has various shapes and sizes, the detection process in actual industrial site In order to ensure that all areas of the product to be tested can be photographed, the field of view of the camera must be larger than the area to be tested, so there will be a certain amount of bleeding at the edge of the screen, and the area to be tested on the LCD screen needs to be cropped out for subsequent processing. , the image is cropped by manually inputting the screen edge coordinates for cropping or automatically obtaining the edge coordinates for cropping. 3.根据权利要求2所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S2中,高斯滤波的具体操作是:用一个模板扫描图像中的每一个像素点,用模板确定的邻域内像素点的加权平均灰度值替代模板中心像素点的灰度值,选用核为45×45,标准差为0的模板进行滤波处理。3. the blurred Mura defect detection method of edge in LCD screen according to claim 2, is characterized in that, in described step S2, the concrete operation of Gaussian filter is: scan each pixel in the image with a template, use The weighted average gray value of the pixels in the neighborhood determined by the template replaces the gray value of the center pixel of the template, and the template with a kernel of 45×45 and a standard deviation of 0 is used for filtering. 4.根据权利要求3所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S3中,采用双线性插值的下采样模式,把图像的高度和宽度分别缩小为原来的
Figure FDA0003624946260000011
利用原图中虚拟点四周的四个真实存在的像素点的灰度值来共同决定目标图中的对应像素点的灰度值,将虚拟点对应的灰度值计算出来,具体地:
4. the Mura defect detection method of edge blurring in LCD screen according to claim 3, is characterized in that, in described step S3, adopts the downsampling mode of bilinear interpolation, the height and width of image are respectively reduced to original of
Figure FDA0003624946260000011
The gray value of the four real pixels around the virtual point in the original image is used to jointly determine the gray value of the corresponding pixel in the target image, and the gray value corresponding to the virtual point is calculated, specifically:
f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1)f(dx,0)=f(0,0)*(1-dx)+f(1,0)*dx (1) f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2)f(dx,1)=f(0,1)*(1-dx)+f(1,1)*dx (2) f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3)f(dx,dy)=f(dx,0)*(1-dy)+f(dx,1)*dy (3) 其中f(0,0)表示坐标为(0,0)的灰度值,f(0,1)表示坐标为(0,1)的灰度值,f(1,0)表示坐标为(1,0)的灰度值,f(1,1)表示坐标为(1,1)的灰度值,f(dx,0)表示坐标为(dx,0)的灰度值,f(dx,1)表示坐标为(dx,1)的灰度值,f(dx,dy)表示坐标为(dx,dy)的灰度值。Where f(0,0) represents the gray value of the coordinate (0,0), f(0,1) represents the gray value of the coordinate (0,1), and f(1,0) represents the coordinate of (1) ,0) grayscale value, f(1,1) represents the grayscale value with coordinates (1,1), f(dx,0) represents the grayscale value with coordinates (dx,0), f(dx, 1) Represents the grayscale value with coordinates (dx,1), and f(dx,dy) represents the grayscale value with coordinates (dx,dy).
5.根据权利要求4所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S4中,填充过程为逐列填充,首先求出某一列中第100个像素点到第300个像素点的灰度均值,然后通过遍历该列中所有的像素点找到该列中所有灰度值低于某一阈值的像素点,让这些像素点的灰度值等于求出的灰度均值。5. The Mura defect detection method with blurred edge in LCD screen according to claim 4, is characterized in that, in described step S4, filling process is to fill column by column, first find out the 100th pixel in a certain column to the 1st pixel. The grayscale mean of 300 pixels, and then by traversing all the pixels in the column to find all the pixels in the column whose grayscale values are lower than a certain threshold, so that the grayscale values of these pixels are equal to the obtained grayscale mean. 6.根据权利要求5所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S5中,添加噪声时需要从左至右逐列进行,依次计算每一列像素点的像素均值,求出的像素均值作为添加的噪声值,在该列每隔两个像素点添加求出的像素均值。6. The Mura defect detection method with blurred edge in LCD screen according to claim 5, it is characterized in that, in described step S5, need to carry out row by row from left to right when adding noise, calculate the pixel of each row of pixel points successively Mean, the obtained pixel mean value is used as the added noise value, and the calculated pixel mean value is added every two pixel points in this column. 7.根据权利要求6所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S6中,求出的噪声值比白团缺陷灰度值小,比黑团缺陷灰度值大,噪声值与正常灰度值相差不大;将未进行噪声填充的图与噪声填充的图进行差分即可检测白团缺陷:7. The method for detecting Mura defects with blurred edges in an LCD screen according to claim 6, wherein in the step S6, the obtained noise value is smaller than the gray value of the white group defect, and is smaller than the gray value of the black group defect. If the value is large, the noise value is not much different from the normal gray value; the white lump defect can be detected by the difference between the image without noise filling and the image filled with noise: 将噪声填充图与未进行噪声填充的图进行差分检测黑团缺陷,得到的图中灰度值比较大的就是缺陷所在的地方,灰度值比较小的是没有缺陷的,为了增大有缺陷的地方与没有缺陷的地方的灰度值差距,采用直方图均衡化或者归一化进行增强,通过直方图均衡化或者归一化进行增强后,拉开缺陷区域与非缺陷区域的灰度值差距,便于进行下一步处理;Differential detection of black group defects is performed between the noise-filled image and the image without noise-filling. In the obtained image, the larger gray value is where the defect is located, and the smaller gray value is no defect. In order to increase the number of defects The difference between the gray value of the place where there is no defect and the place without defect is enhanced by histogram equalization or normalization. After the enhancement is performed by histogram equalization or normalization, the gray value of the defect area and the non-defect area are opened up. The gap is convenient for further processing; 当图像的像素灰度变化随机,图像直方图出现高低不平时,直方图均衡化使图像直方图大致平和;When the pixel grayscale of the image changes randomly and the image histogram is uneven, the histogram equalization makes the image histogram roughly flat; 归一化的原理是计算图像中每个像素点灰度值映射到0-255的范围内,映射前最小的灰度值映射后为该范围的下限,映射前最大的灰度值映射后为该范围的上限:The principle of normalization is to calculate the gray value of each pixel in the image and map it to the range of 0-255. The minimum gray value before mapping is the lower limit of the range after mapping, and the largest gray value before mapping is mapped as The upper limit of the range:
Figure FDA0003624946260000031
Figure FDA0003624946260000031
方程(4)中的img(n,m)指图像中坐标为(n,m)的像素点的灰度值,min_img为该图像中所有像素点灰度值中的最小值,max_img是图像中所有像素点灰度值中的最大值,归一化是一种线性变换,经过归一化后会把灰度值映射到0-255内,可以增加对比度。img(n,m) in equation (4) refers to the gray value of the pixel with coordinates (n, m) in the image, min_img is the minimum value of all pixel gray values in the image, and max_img is the gray value of the pixel in the image. The maximum value of the gray value of all pixel points, normalization is a linear transformation, after normalization, the gray value will be mapped to 0-255, which can increase the contrast.
8.根据权利要求7所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S7中,经过未添加噪声的图像与添加噪声的图像进行差分或者对差分图的增强之后,图像中灰度值最大的地方就是缺陷所在的地方,其他地方的灰度值与最大值至少相差10,采用二值化的方法将灰度值大于某一阈值的像素点灰度值置为255,其他区域的置为0,二值化的结果图中每个缺陷都是由多条白色短线构成,利用膨胀运算使白色短线凝聚成白团;8. The Mura defect detection method with blurred edge in LCD screen according to claim 7, is characterized in that, in described step S7, after the image that does not add noise and the image that adds noise carries out difference or the enhancement to difference map , the place with the largest gray value in the image is where the defect is located, and the gray value in other places is at least 10 different from the maximum value. The gray value of the pixel whose gray value is greater than a certain threshold is set to 255, other areas are set to 0, each defect in the binarized result graph is composed of multiple white short lines, and the expansion operation is used to condense the white short lines into white balls; 膨胀具体的操作方法是用一个宽m,高n的矩形作为模板,对图像中的每一个像素x做如下处理:像素x置于模板的中心,根据模版的大小,遍历所有被模板覆盖的其他像素,修改像素x的值为所有像素中最大的值,将图像外围的突出点连接并向外延伸。The specific operation method of expansion is to use a rectangle with a width m and a height n as a template, and do the following processing for each pixel x in the image: the pixel x is placed in the center of the template, and according to the size of the template, it traverses all other items covered by the template. Pixel, modify the value of pixel x to be the largest value among all pixels, connect and extend the prominent points on the periphery of the image. 9.根据权利要求8述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,所述步骤S8中,由于经过下采样操作,图像的宽高被缩小为原来的
Figure FDA0003624946260000032
所以需要通过上采样操作使图像恢复原有的尺寸;上采样选择双三次插值法,在这种方法中,(x,y)的灰度值可以通过矩形网格中最近的16个采样点的加权平均得到。
9. The Mura defect detection method with blurred edge in LCD screen according to claim 8, is characterized in that, in described step S8, due to downsampling operation, the width and height of image is reduced to original
Figure FDA0003624946260000032
Therefore, it is necessary to restore the original size of the image through the upsampling operation; the bicubic interpolation method is selected for the upsampling. In this method, the gray value of (x, y) can pass through the nearest 16 sampling points in the rectangular grid. weighted average is obtained.
10.根据权利要求1-9任一项所述的LCD屏幕中边缘模糊的Mura缺陷检测方法,其特征在于,选用大小为45×45,标准差为0的高斯滤波核进行高斯滤波,高斯滤波结果图的分辨率为8797×3965,图像分辨率较大影响后续图像处理的速度,将图像的长度和宽度均缩小为原来的
Figure FDA0003624946260000033
经过下采样,图像的分辨率降至1759×793。
10. The Mura defect detection method with blurred edges in the LCD screen according to any one of claims 1-9, characterized in that, selecting a Gaussian filter kernel with a size of 45×45 and a standard deviation of 0 to carry out Gaussian filtering, and Gaussian filtering The resolution of the resulting image is 8797×3965, and the image resolution greatly affects the speed of subsequent image processing. The length and width of the image are reduced to the original one.
Figure FDA0003624946260000033
After downsampling, the resolution of the image is reduced to 1759×793.
CN202210467455.9A 2022-04-29 2022-04-29 A Mura Defect Detection Method with Blurred Edges in LCD Screens Pending CN114792310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210467455.9A CN114792310A (en) 2022-04-29 2022-04-29 A Mura Defect Detection Method with Blurred Edges in LCD Screens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210467455.9A CN114792310A (en) 2022-04-29 2022-04-29 A Mura Defect Detection Method with Blurred Edges in LCD Screens

Publications (1)

Publication Number Publication Date
CN114792310A true CN114792310A (en) 2022-07-26

Family

ID=82461201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210467455.9A Pending CN114792310A (en) 2022-04-29 2022-04-29 A Mura Defect Detection Method with Blurred Edges in LCD Screens

Country Status (1)

Country Link
CN (1) CN114792310A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115797342A (en) * 2023-02-06 2023-03-14 深圳市鑫旭飞科技有限公司 Industrial control capacitance touch LCD display assembly defect detection method
CN117557449A (en) * 2024-01-12 2024-02-13 昇显微电子(苏州)股份有限公司 Method for adaptively extracting pixel position and data from demura equipment
WO2024250854A1 (en) * 2023-06-07 2024-12-12 Zhejiang Dahua Technology Co., Ltd. Methods and systems for correcting bright-dark lines on screens
CN119151950A (en) * 2024-11-20 2024-12-17 深圳市睿阳精视科技有限公司 A method for detecting rubber ring breakage
CN119295463A (en) * 2024-12-13 2025-01-10 湘潭大学 Device and method for detecting foreign matters in interlayer of glass of multi-layer screen cover plate

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115797342A (en) * 2023-02-06 2023-03-14 深圳市鑫旭飞科技有限公司 Industrial control capacitance touch LCD display assembly defect detection method
WO2024250854A1 (en) * 2023-06-07 2024-12-12 Zhejiang Dahua Technology Co., Ltd. Methods and systems for correcting bright-dark lines on screens
CN117557449A (en) * 2024-01-12 2024-02-13 昇显微电子(苏州)股份有限公司 Method for adaptively extracting pixel position and data from demura equipment
CN117557449B (en) * 2024-01-12 2024-03-22 昇显微电子(苏州)股份有限公司 Method for adaptively extracting pixel position and data from demura equipment
CN119151950A (en) * 2024-11-20 2024-12-17 深圳市睿阳精视科技有限公司 A method for detecting rubber ring breakage
CN119151950B (en) * 2024-11-20 2025-01-10 深圳市睿阳精视科技有限公司 Rubber ring rubber breakage detection method
CN119295463A (en) * 2024-12-13 2025-01-10 湘潭大学 Device and method for detecting foreign matters in interlayer of glass of multi-layer screen cover plate

Similar Documents

Publication Publication Date Title
CN112419250B (en) Digital Image Extraction, Crack Repair and Crack Parameter Calculation Method for Pavement Cracks
CN114792310A (en) A Mura Defect Detection Method with Blurred Edges in LCD Screens
CN109978839B (en) Detection method for low-texture defects in wafers
CN106683075B (en) A method for detecting bolt defects at the cross arm of a transmission line tower
CN108460757B (en) Mobile phone TFT-LCD screen Mura defect online automatic detection method
CN111612781A (en) Screen defect detection method and device and head-mounted display equipment
CN108629775A (en) A kind of hot high-speed rod surface image processing method
CN114677601B (en) Dam crack detection method based on unmanned aerial vehicle inspection and combined with deep learning
CN108596880A (en) Weld defect feature extraction based on image procossing and welding quality analysis method
CN115908415B (en) Edge-based defect detection method, device, equipment and storage medium
CN108038883A (en) A kind of Crack Detection and recognition methods applied to highway pavement video image
CN110163219A (en) Object detection method based on image border identification
CN113706464B (en) Printed matter appearance quality detection method and system
CN106780486A (en) A kind of Surface Defects in Steel Plate image extraction method
CN116542974B (en) Method for detecting surface defects of copper-clad plate based on multi-scale gridding
CN111986170A (en) Defect detection algorithm based on Mask R-CNN (deep neural network)
CN117274113B (en) Broken silicon wafer cleaning effect visual detection method based on image enhancement
CN118275449B (en) Copper strip surface defect detection method, device and equipment
CN114926387B (en) Weld defect detection method and device based on background estimation and edge gradient suppression
CN117974601B (en) Method and system for detecting surface defects of silicon wafer based on template matching
CN115880288B (en) Detection method, system and computer equipment for electronic element welding
CN107016657A (en) The restorative procedure of the face picture covered by reticulate pattern
CN113487563B (en) An adaptive detection method for photovoltaic module cracks based on EL images
CN101315664A (en) Text Image Preprocessing Method for Text Recognition
Ma et al. An automatic detection method of Mura defects for liquid crystal display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination