CN118603505A - A LCD defect detection method based on uniformity correction - Google Patents
A LCD defect detection method based on uniformity correction Download PDFInfo
- Publication number
- CN118603505A CN118603505A CN202410824990.4A CN202410824990A CN118603505A CN 118603505 A CN118603505 A CN 118603505A CN 202410824990 A CN202410824990 A CN 202410824990A CN 118603505 A CN118603505 A CN 118603505A
- Authority
- CN
- China
- Prior art keywords
- channel
- image
- screen image
- gain coefficient
- defect detection
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M11/00—Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
- G01M11/02—Testing optical properties
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
- G01N2021/8887—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N2021/9513—Liquid crystal panels
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30121—CRT, LCD or plasma display
Landscapes
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Testing Of Optical Devices Or Fibers (AREA)
Abstract
本发明公开了一种基于均匀性校正的LCD缺陷检测方法,包括:取一粒良品显示面板玻璃放在测试治具上点亮,并获取第一白色画面图像;对第一白色画面图像进行处理并获取第一白色画面图像的第一AA区域图像的每一像素的第一增益系数;将待测显示面板玻璃放置于测试治具上点亮,并获取第二白色画面图像;将第二白色画面图像的第二AA区域图像的每一像素的灰度值与第一增益系数相乘,以对第二白色画面图像进行均匀性校正,获取第三白色画面图像;对第三白色画面图像进行显示功能缺陷检测。实施本发明,有效消除了治具本身背光划伤脏污、边缘暗带来的显示异常,突出了待测显示面板玻璃的显示缺陷与背景的对比度,降低了显示功能缺陷的误判率。
The present invention discloses an LCD defect detection method based on uniformity correction, comprising: taking a good display panel glass and placing it on a test fixture to light it up, and obtaining a first white screen image; processing the first white screen image and obtaining a first gain coefficient of each pixel of the first AA area image of the first white screen image; placing the display panel glass to be tested on the test fixture to light it up, and obtaining a second white screen image; multiplying the grayscale value of each pixel of the second AA area image of the second white screen image by the first gain coefficient to perform uniformity correction on the second white screen image, and obtaining a third white screen image; and performing display function defect detection on the third white screen image. The implementation of the present invention effectively eliminates display anomalies caused by scratches and dirt on the backlight of the fixture itself and dark edges, highlights the contrast between the display defects of the display panel glass to be tested and the background, and reduces the misjudgment rate of display function defects.
Description
技术领域Technical Field
本发明涉及显示屏缺陷检测技术领域,特别涉及一种基于均匀性校正的LCD缺陷检测方法。The present invention relates to the technical field of display screen defect detection, and in particular to an LCD defect detection method based on uniformity correction.
背景技术Background Art
TFT-LCD(Thin Film Rrarsistor Liquid Crystal Display,薄膜场效应晶体管-液晶显示器)是通过控制具有折射率各向异性的液晶分子取向使通过液晶屏透过率发生变化来实现显示的一种光电显示器件,薄膜晶体管(TFT)在其中起着开关作用。近年来己成为新一代的主流显示器,广泛应用于笔记本电脑、桌面显示器、液品电视、移动显示终端等显示领域。LCD由偏光片、滤光片、液晶、驱动电路和背光板组成,LCD器件加工制作过程中会经过阵列(Array)、成盒(Cell)和模块(Module)工艺阶段中的几十道工序。显示屏的加工制造过程中由于原材料特性和生产工艺的影响,可能产生各种缺陷,如LCD屏幕液晶层有机发光层与框架吻合不紧密导致的漏光,各种制造过程产生的mura(显示不均),屏幕基板或滤光片存在的气泡划伤和脏污,像素无法正常工作产生的坏点(亮点、暗点),同时还可能存在LCD屏幕液晶偏转问题导致的色偏等缺陷。TFT-LCD (Thin Film Field Effect Transistor Liquid Crystal Display) is a photoelectric display device that realizes display by controlling the orientation of liquid crystal molecules with anisotropy of refractive index to change the transmittance through the liquid crystal screen. Thin film transistors (TFT) play a switching role in it. In recent years, it has become a new generation of mainstream displays and is widely used in display fields such as laptops, desktop monitors, liquid crystal televisions, and mobile display terminals. LCD consists of polarizers, filters, liquid crystals, drive circuits, and backlight panels. During the processing and manufacturing of LCD devices, dozens of processes will be required in the array, cell, and module stages. During the processing and manufacturing of the display screen, various defects may occur due to the characteristics of raw materials and production processes, such as light leakage caused by the loose fit between the organic light-emitting layer of the liquid crystal layer of the LCD screen and the frame, mura (uneven display) caused by various manufacturing processes, bubbles, scratches, and dirt on the screen substrate or filter, and bad points (bright spots and dark spots) caused by the failure of pixels to work properly. At the same time, there may also be defects such as color deviation caused by the deflection problem of the liquid crystal on the LCD screen.
因此,需要对LCD进行显示功能的缺陷检测,但是在检测设备进行LCD(不自带光源的显示屏)点亮功能缺陷检查时,由于测试治具遮光设计及制作偏差、背光亮度不均背光脏污、相机暗角等因素,导致CCD对LCD画面拍照成像时,图像的亮度显示不均匀及中间亮周围暗的问题等问题,对于一些轻微对比度低的显示缺陷(例如mura,暗划等显示缺陷),其不良现象,容易造成漏判,增加了检查设备的误判率。Therefore, it is necessary to perform defect detection on the LCD display function. However, when the detection equipment performs LCD (display without its own light source) lighting function defect inspection, due to factors such as test fixture shading design and production deviation, uneven backlight brightness, dirty backlight, camera dark corners, etc., when the CCD takes pictures of the LCD screen, the image brightness is uneven and the middle is bright and the surroundings are dark. For some minor low-contrast display defects (such as mura, dark scratches and other display defects), this undesirable phenomenon is easy to cause missed judgments, increasing the misjudgment rate of the inspection equipment.
发明内容Summary of the invention
现有的LCD在进行显示功能缺陷检测,由于测试治具自身遮光设计及制作偏差、背光亮度不均背光脏污、相机暗角等因素,导致CCD相机获取的LCD画面图像,呈现亮度显示不均匀及中间亮周围暗的问题,使得一些轻微对比度低的显示缺陷(例如mura,暗划等显示缺陷),容易造成漏判。When testing the display function defects of existing LCDs, due to factors such as the test fixture's own shading design and manufacturing deviations, uneven backlight brightness, dirty backlight, and camera vignetting, the LCD screen image captured by the CCD camera shows problems such as uneven brightness and bright in the middle and dark around, which makes it easy for some minor low-contrast display defects (such as mura, dark scratches, and other display defects) to be missed.
针对上述问题,提出一种基于均匀性校正的LCD缺陷检测方法,通过获取良品显示面板玻璃AA区域的增益系数,并将增益系数与待测显示面板玻璃的AA区域的像素的灰度值进行相乘,消除了治具本身背光划伤脏污、边缘暗带来的显示异常,突出了待测显示面板玻璃的显示缺陷与背景的对比度,降低了显示功能缺陷的误判率。To solve the above problems, a LCD defect detection method based on uniformity correction is proposed. By obtaining the gain coefficient of the AA area of the qualified display panel glass and multiplying the gain coefficient with the grayscale value of the pixel in the AA area of the display panel glass to be tested, the display anomaly caused by scratches and dirt on the backlight of the fixture itself and dark edges is eliminated, the contrast between the display defects of the display panel glass to be tested and the background is highlighted, and the misjudgment rate of display function defects is reduced.
第一方面,一种基于均匀性校正的LCD缺陷检测方法,包括:In a first aspect, a method for detecting LCD defects based on uniformity correction includes:
步骤100、取一粒良品显示面板玻璃放在测试治具上点亮,并获取第一白色画面图像;Step 100: Take a good display panel glass and place it on the test fixture to light it up, and obtain a first white screen image;
步骤200、对所述第一白色画面图像进行处理并获取所述第一白色画面图像的第一AA区域图像的每一像素的第一增益系数;Step 200: Process the first white screen image and obtain a first gain coefficient of each pixel of a first AA area image of the first white screen image;
步骤300、将待测显示面板玻璃放置于所述测试治具上点亮,并获取第二白色画面图像;Step 300: placing the display panel glass to be tested on the test fixture, lighting it, and acquiring a second white screen image;
步骤400、将所述第二白色画面图像的第二AA区域图像的每一像素的灰度值与所述第一增益系数相乘,以对所述第二白色画面图像进行均匀性校正,获取第三白色画面图像;Step 400: multiply the grayscale value of each pixel of the second AA area image of the second white screen image by the first gain coefficient to perform uniformity correction on the second white screen image to obtain a third white screen image;
步骤500、对所述第三白色画面图像进行显示功能缺陷检测。Step 500: Perform display function defect detection on the third white screen image.
结合本发明第一方面所述的基于均匀性校正的LCD缺陷检测方法,第一种可能的实施方式中,所述步骤100包括:In conjunction with the LCD defect detection method based on uniformity correction according to the first aspect of the present invention, in a first possible implementation manner, step 100 includes:
步骤110、在暗场环境中,将点亮治具与CCD相机进行相对位置固定;Step 110: In a dark field environment, fix the lighting fixture and the CCD camera in relative position;
步骤120、对所述CCD相机进行调试,使其成像清晰。Step 120: debug the CCD camera to make it have clear imaging.
结合本发明第一方面第一种可能的实施方式,第二种可能的实施方式中,所述步骤100还包括:In combination with the first possible implementation manner of the first aspect of the present invention, in a second possible implementation manner, step 100 further includes:
步骤130、设定所述CCD相机的最亮成像的灰度值;Step 130, setting the gray value of the brightest image of the CCD camera;
步骤140、利用所述CCD相机获取良品显示面板玻璃的所述第一白色画面图像。Step 140: Use the CCD camera to obtain the first white screen image of the good display panel glass.
结合本发明第一方面所述的基于均匀性校正的LCD缺陷检测方法,第三种可能的实施方式中,所述步骤200包括:In combination with the LCD defect detection method based on uniformity correction according to the first aspect of the present invention, in a third possible implementation manner, step 200 includes:
步骤210、利用Otsu算法对所述第一白色画面图像进行阈值分割,获取第一AA区域图像;Step 210: Use the Otsu algorithm to perform threshold segmentation on the first white screen image to obtain a first AA area image;
步骤220、对所述第一AA区域图像进行中值滤波降噪,使所述第一AA区域图像平滑。Step 220: Perform median filtering to reduce noise on the first AA region image to make the first AA region image smooth.
结合本发明第一方面第三种可能的实施方式,第四种可能的实施方式中,所述步骤200还包括:In combination with the third possible implementation manner of the first aspect of the present invention, in a fourth possible implementation manner, step 200 further includes:
步骤230、计算所述第一AA区域图像的平均灰度值;Step 230, calculating the average gray value of the first AA area image;
步骤240、将所述平均灰度值与每个像素的灰度值相除,获取所述第一增益系数。Step 240: Divide the average grayscale value by the grayscale value of each pixel to obtain the first gain coefficient.
结合本发明第一方面所述的基于均匀性校正的LCD缺陷检测方法,第五种可能的实施方式中,所述步骤400包括:In combination with the LCD defect detection method based on uniformity correction according to the first aspect of the present invention, in a fifth possible implementation manner, step 400 includes:
步骤410、利用Otsu算法对所述第二白色画面图像进行阈值分割,获取第二AA区域图像;Step 410: Perform threshold segmentation on the second white screen image using the Otsu algorithm to obtain a second AA area image;
步骤420、对所述第二AA区域图像进行中值滤波降噪,使所述第二AA区域图像平滑;Step 420: Perform median filtering to reduce noise on the second AA region image to make the second AA region image smooth;
步骤430、将所述第二AA区域图像的每一像素的灰度值与所述第一增益系数相乘,以增强待测显示面板玻璃缺陷与背景的对比度、消除治具本身偏差带来的显示异常。Step 430: multiply the grayscale value of each pixel of the second AA region image by the first gain coefficient to enhance the contrast between the glass defect of the display panel to be tested and the background and eliminate the display anomaly caused by the deviation of the fixture itself.
第二方面,一种基于均匀性校正的LCD缺陷检测方法,包括:In a second aspect, a method for detecting LCD defects based on uniformity correction includes:
步骤600、取一粒良品显示面板玻璃放在测试治具上点亮,并获取第一彩色画面图像,对所述第一彩色画面图像进行处理并获取所述第一彩色画面图像的每一通道AA区域图像的每一像素的增益系数;Step 600: Take a piece of good display panel glass, place it on the test fixture, light it up, and obtain a first color screen image, process the first color screen image and obtain a gain coefficient of each pixel of each channel AA area image of the first color screen image;
步骤700、将待测显示面板玻璃放置于所述治具上点亮,并获取第二彩色画面图像;Step 700: placing the display panel glass to be tested on the fixture, lighting it, and acquiring a second color screen image;
步骤800、将所述第二彩色画面图像每一通道AA区域图像的每一像素的灰度值与对应通道图像的增益系数相乘,以对所述第二彩色画面图像进行均匀性校正,获取第三彩色画面图像;Step 800: multiply the gray value of each pixel of the AA region image of each channel of the second color screen image by the gain coefficient of the corresponding channel image to perform uniformity correction on the second color screen image to obtain a third color screen image;
步骤900、对所述第三彩色画面图像进行显示功能缺陷检测。Step 900: Perform display function defect detection on the third color screen image.
结合本发明第二方面所述的基于均匀性校正的LCD缺陷检测方法,第一种可能的实施方式中,所述步骤600包括:In conjunction with the LCD defect detection method based on uniformity correction according to the second aspect of the present invention, in a first possible implementation manner, step 600 includes:
步骤610、将所述第一彩色画面图像分解为第一R通道画面图像、第一G通道画面图像、第一B通道画面图像,利用Otsu算法对所述第一R通道画面图像、第一G通道画面图像、第一B通道画面图像进行阈值分割,获取第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像;Step 610: decompose the first color screen image into a first R channel screen image, a first G channel screen image, and a first B channel screen image; perform threshold segmentation on the first R channel screen image, the first G channel screen image, and the first B channel screen image using an Otsu algorithm to obtain a first R channel AA region image, a first G channel AA region image, and a first B channel AA region image;
步骤620、对所述第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像进行中值滤波降噪,使所述第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像平滑。Step 620: Perform median filtering to reduce noise on the first R channel AA region image, the first G channel AA region image, and the first B channel AA region image to make the first R channel AA region image, the first G channel AA region image, and the first B channel AA region image smooth.
结合本发明第二方面第一种可能的实施方式,第二种可能的实施方式中,所述步骤600还包括:In combination with the first possible implementation manner of the second aspect of the present invention, in a second possible implementation manner, step 600 further includes:
步骤630、分别计算所述第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像的第一R通道平均灰度值、第一G通道平均灰度值、第一B通道平均灰度值;Step 630, respectively calculating the first R channel average gray value, the first G channel average gray value, and the first B channel average gray value of the first R channel AA region image, the first G channel AA region image, and the first B channel AA region image;
步骤640、分别将所述第一R通道平均灰度值、第一G通道平均灰度值、第一B通道平均灰度值与每个像素的灰度值相除,获取第一R通道增益系数、第一G通道增益系数、第一B通道增益系数。Step 640: Divide the first R channel average grayscale value, the first G channel average grayscale value, and the first B channel average grayscale value by the grayscale value of each pixel to obtain a first R channel gain coefficient, a first G channel gain coefficient, and a first B channel gain coefficient.
结合本发明第二方面所述的基于均匀性校正的LCD缺陷检测方法,第三种可能的实施方式中,所述步骤800包括:In combination with the LCD defect detection method based on uniformity correction according to the second aspect of the present invention, in a third possible implementation manner, step 800 includes:
步骤810、将所述第二彩色画面图像分解为第二R通道画面图像、第二G通道画面图像、第二B通道画面图像,利用Otsu算法对所述第二R通道画面图像、第二G通道画面图像、第二B通道画面图像进行阈值分割,获取第二R通道AA区域图像、第二G通道AA区域图像、第二B通道AA区域图像;Step 810: decompose the second color screen image into a second R channel screen image, a second G channel screen image, and a second B channel screen image; perform threshold segmentation on the second R channel screen image, the second G channel screen image, and the second B channel screen image using an Otsu algorithm to obtain a second R channel AA region image, a second G channel AA region image, and a second B channel AA region image;
步骤820、分别将所述第二R通道AA区域图像、第二G通道AA区域图像、第二B通道AA区域图像的像素的灰度值与第一R通道增益系数、第一G通道增益系数、第一B通道增益系数相乘,获取第三R通道AA区域图像、第三G通道AA区域图像、第三B通道AA区域图像;Step 820: Multiply the grayscale values of the pixels of the second R channel AA area image, the second G channel AA area image, and the second B channel AA area image by the first R channel gain coefficient, the first G channel gain coefficient, and the first B channel gain coefficient, respectively, to obtain a third R channel AA area image, a third G channel AA area image, and a third B channel AA area image;
步骤830、将所述第三R通道AA区域图像、第三G通道AA区域图像、第三B通道AA区域图像进行合并,获取所述第三彩色画面图像。Step 830: Merge the third R channel AA area image, the third G channel AA area image, and the third B channel AA area image to obtain the third color screen image.
实施本发明所述的一种基于均匀性校正的LCD缺陷检测方法,通过获取良品显示面板玻璃AA区域的增益系数,并将增益系数与待测显示面板玻璃的AA区域的像素的灰度值进行相乘,消除了治具本身背光划伤脏污、边缘暗带来的显示异常,突出了待测显示面板玻璃的显示缺陷与背景的对比度,降低了显示功能缺陷的误判率。The LCD defect detection method based on uniformity correction described in the present invention is implemented to obtain the gain coefficient of the AA area of the good display panel glass, and multiply the gain coefficient by the grayscale value of the pixel in the AA area of the display panel glass to be tested, thereby eliminating the display anomaly caused by scratches and dirt on the backlight of the fixture itself and dark edges, highlighting the contrast between the display defects of the display panel glass to be tested and the background, and reducing the misjudgment rate of display function defects.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
图1为本发明中测试治具导致的显示异常示意图;FIG1 is a schematic diagram of display abnormality caused by a test fixture in the present invention;
图2为本发明中待测显示面板玻璃校正之前的白色画面图像示意图;FIG2 is a schematic diagram of a white screen image before the display panel glass to be tested is calibrated in the present invention;
图3为本发明中待测显示面板玻璃校正之前的白色画面图像示意图。FIG. 3 is a schematic diagram of a white screen image of the display panel glass to be tested before calibration in the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的其他实施例,都属于本发明保护的范围。The following will be combined with the accompanying drawings in the invention to clearly and completely describe the technical solutions in the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/ 或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and/or" used herein includes any and all combinations of one or more related listed items.
需要说明的是,当元件被称为“固定于”或“设置于”另一个元件,它可以直接在另一个元件上或者间接在该另一个元件上。当一个元件被称为是“连接于”另一个元件,它可以是直接连接到另一个元件或间接连接至该另一个元件上。It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
需要理解的是,术语“长度”、“宽度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
现有的LCD在进行显示功能缺陷20检测,由于测试治具自身遮光设计及制作偏差、背光亮度不均背光脏污、相机暗角等因素,导致CCD相机获取的LCD画面图像,呈现亮度显示不均匀及中间亮周围暗的问题,使得一些轻微对比度低的显示缺陷(例如mura,暗划等显示缺陷),容易造成漏判。When the existing LCD is being tested for display function defects 20, due to the test fixture's own shading design and manufacturing deviations, uneven backlight brightness, dirty backlight, camera vignetting and other factors, the LCD screen image obtained by the CCD camera shows problems of uneven brightness display and bright in the middle and dark around, making some slight low-contrast display defects (such as mura, dark scratches and other display defects) easily missed.
针对上述问题,提出一种基于均匀性校正的LCD缺陷检测方法。To solve the above problems, a LCD defect detection method based on uniformity correction is proposed.
第一方面,一种基于均匀性校正的LCD缺陷检测方法,包括:In a first aspect, a method for detecting LCD defects based on uniformity correction includes:
步骤100、取一粒良品显示面板玻璃放在测试治具上点亮,并获取第一白色画面图像。Step 100: Take a piece of good display panel glass, place it on a test fixture, light it up, and obtain a first white screen image.
优选地,步骤100包括:步骤110、在暗场环境中,将点亮治具与CCD相机进行相对位置固定;步骤120、对CCD相机进行调试,使其成像清晰。Preferably, step 100 includes: step 110, fixing the relative position of the lighting fixture and the CCD camera in a dark field environment; step 120, debugging the CCD camera to make its imaging clear.
优选地,步骤100还包括:步骤130、设定CCD相机的最亮成像的灰度值;步骤140、利用CCD相机获取良品显示面板玻璃的第一白色画面图像。Preferably, step 100 further includes: step 130, setting the gray value of the brightest image of the CCD camera; step 140, acquiring a first white screen image of a good display panel glass by using the CCD camera.
在暗场环境中,放置固定好点亮测试治具,测试治具上面架好CCD相机,CCD相机与测试治具的相对位置不变。将显示功能良好的显示面板玻璃(LCD)放置在点亮测试治具上,显示画面为白色画面(或者其他单色画面),调试CCD相机的光圈、焦距或者点亮测试治具的背光,使CCD相机成像清晰,CCD相机图像最亮的灰度值设定在180左右。In a dark environment, place and fix the lighting test fixture, set up the CCD camera on the test fixture, and keep the relative position of the CCD camera and the test fixture unchanged. Place the display panel glass (LCD) with good display function on the lighting test fixture, display a white screen (or other monochrome screen), adjust the aperture and focal length of the CCD camera or the backlight of the lighting test fixture to make the CCD camera image clear, and set the brightest grayscale value of the CCD camera image to about 180.
虚线方框为背光本身的脏污划伤,及亮度不均和相机暗角导致的白色画面四周暗中间亮的显示异常10现象,如图1,图1为本发明中测试治具导致的显示异常10示意图。The dotted box represents the display abnormality 10 phenomenon in which the white screen is dark around and bright in the middle due to dirt and scratches on the backlight itself, as well as uneven brightness and camera vignetting, as shown in FIG1 . FIG1 is a schematic diagram of the display abnormality 10 caused by the test fixture in the present invention.
步骤200、对第一白色画面图像进行处理并获取第一白色画面图像的第一AA区域图像的每一像素的第一增益系数。Step 200: Process a first white screen image and obtain a first gain coefficient of each pixel in a first AA region image of the first white screen image.
优选地,步骤200包括:步骤210、利用Otsu算法对第一白色画面图像进行阈值分割,获取第一AA区域图像;步骤220、对第一AA区域图像进行中值滤波降噪,使第一AA区域图像平滑。Preferably, step 200 includes: step 210, performing threshold segmentation on the first white screen image using the Otsu algorithm to obtain a first AA region image; step 220, performing median filtering to reduce noise on the first AA region image to make the first AA region image smooth.
优选地,步骤200还包括:步骤230、计算第一AA区域图像的平均灰度值;步骤240、将平均灰度值与每个像素的灰度值相除,获取第一增益系数。Preferably, step 200 further includes: step 230, calculating the average gray value of the first AA region image; step 240, dividing the average gray value by the gray value of each pixel to obtain a first gain coefficient.
CCD相机获取第一白色画面图像,通过Otsu大津算法(最大类间方差法),将第一白色画面图像中LCD的AA区(Active Area)分割出来,得到AAReg区域。对该区域进行中值滤波降噪,使图像平滑,求取该区域的平均灰度值GrayMean,再将该平均灰度值GrayMean除以该区域内的每个像素的灰度值,得到每个像素的实数类型的增益系数Gain_K(每个像素对应一个增益系数),也为画面均匀性校正系数。The CCD camera acquires the first white screen image, and the AA area (Active Area) of the LCD in the first white screen image is segmented out through the Otsu algorithm (maximum inter-class variance method) to obtain the AAReg area. The median filter is used to reduce noise in the area to smooth the image, and the average grayscale value GrayMean of the area is obtained. The average grayscale value GrayMean is then divided by the grayscale value of each pixel in the area to obtain the real number type gain coefficient Gain_K of each pixel (each pixel corresponds to a gain coefficient), which is also the screen uniformity correction coefficient.
步骤300、将待测显示面板玻璃放置于测试治具上点亮,并获取第二白色画面图像。Step 300: Place the display panel glass to be tested on a test fixture and light it up, and obtain a second white screen image.
步骤400、将第二白色画面图像的第二AA区域图像的每一像素的灰度值与第一增益系数相乘,以对第二白色画面图像进行均匀性校正,获取第三白色画面图像。Step 400: multiply the grayscale value of each pixel of the second AA region image of the second white screen image by the first gain coefficient to perform uniformity correction on the second white screen image to obtain a third white screen image.
优选地,如图2和图3,图2为本发明中待测显示面板玻璃校正之前的白色画面图像示意图,图3为本发明中待测显示面板玻璃校正之前的白色画面图像示意图;步骤400包括:步骤410、利用Otsu算法对第二白色画面图像进行阈值分割,获取第二AA区域图像;步骤420、对第二AA区域图像进行中值滤波降噪,使第二AA区域图像平滑;步骤430、将第二AA区域图像的每一像素的灰度值与第一增益系数相乘,以增强待测显示面板玻璃的显示功能缺陷20与背景的对比度、消除治具本身偏差带来的显示异常10。Preferably, as shown in Figures 2 and 3, Figure 2 is a schematic diagram of a white screen image before the display panel glass to be tested is corrected in the present invention, and Figure 3 is a schematic diagram of a white screen image before the display panel glass to be tested is corrected in the present invention; step 400 includes: step 410, using the Otsu algorithm to perform threshold segmentation on the second white screen image to obtain a second AA area image; step 420, performing median filtering and noise reduction on the second AA area image to make the second AA area image smooth; step 430, multiplying the grayscale value of each pixel of the second AA area image by the first gain coefficient to enhance the contrast between the display function defect 20 of the display panel glass to be tested and the background, and eliminate the display abnormality 10 caused by the deviation of the fixture itself.
测试时,取带有显示缺陷的待测显示面板玻璃放置于测试治具点亮,显示画面为白色,CCD相机拍照取像。截取其AA区部分的图像,将该图像的每个像素与以上得出的对应的每个增益系数Gain_K相乘,得出了均匀校正后的图像,突出待测显示面板玻璃的显示功能缺陷20与背景的对比度,经过校正后,待测显示面板玻璃的显示功能缺陷20对比度增强,测试治具本身的背光划伤脏污被校正消失以及AA区边缘暗的显示异常10也被校正均匀。During the test, the display panel glass with display defects to be tested is placed on the test fixture and lit, the display screen is white, and the CCD camera takes pictures. The image of the AA area is intercepted, and each pixel of the image is multiplied by each corresponding gain coefficient Gain_K obtained above to obtain a uniformly corrected image, highlighting the contrast between the display function defect 20 of the display panel glass to be tested and the background. After correction, the contrast of the display function defect 20 of the display panel glass to be tested is enhanced, the scratches and dirt on the backlight of the test fixture itself are corrected and disappeared, and the display abnormality 10 at the dark edge of the AA area is also corrected uniformly.
步骤500、对第三白色画面图像进行显示功能缺陷20检测。通过获取良品显示面板玻璃AA区域的增益系数,并将增益系数与待测显示面板玻璃的AA区域的像素的灰度值进行相乘,消除了治具本身背光划伤脏污、边缘暗带来的显示异常10,突出了待测显示面板玻璃的显示缺陷与背景的对比度,降低了显示功能缺陷20的误判率。Step 500: Detect the display function defect 20 on the third white screen image. By obtaining the gain coefficient of the AA area of the good display panel glass and multiplying the gain coefficient with the grayscale value of the pixel in the AA area of the display panel glass to be tested, the display abnormality 10 caused by the scratches and dirt on the backlight of the fixture itself and the dark edge is eliminated, the contrast between the display defect of the display panel glass to be tested and the background is highlighted, and the misjudgment rate of the display function defect 20 is reduced.
第二方面,一种基于均匀性校正的LCD缺陷检测方法,包括:In a second aspect, a method for detecting LCD defects based on uniformity correction includes:
步骤600、取一粒良品显示面板玻璃放在测试治具上点亮,并获取第一彩色画面图像,对第一彩色画面图像进行处理并获取第一彩色画面图像的每一通道AA区域图像的每一像素的增益系数。Step 600: Take a good display panel glass, place it on the test fixture, light it up, and obtain a first color screen image. Process the first color screen image and obtain the gain coefficient of each pixel of each channel AA area image of the first color screen image.
优选地,步骤600包括:步骤610、将第一彩色画面图像分解为第一R通道画面图像、第一G通道画面图像、第一B通道画面图像,利用Otsu算法对第一R通道画面图像、第一G通道画面图像、第一B通道画面图像进行阈值分割,获取第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像;步骤620、对第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像进行中值滤波降噪,使第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像平滑。Preferably, step 600 includes: step 610, decomposing the first color screen image into a first R channel screen image, a first G channel screen image, and a first B channel screen image, and using the Otsu algorithm to perform threshold segmentation on the first R channel screen image, the first G channel screen image, and the first B channel screen image to obtain the first R channel AA area image, the first G channel AA area image, and the first B channel AA area image; step 620, performing median filtering to reduce noise on the first R channel AA area image, the first G channel AA area image, and the first B channel AA area image to make the first R channel AA area image, the first G channel AA area image, and the first B channel AA area image smooth.
优选地,步骤600还包括:步骤630、分别计算第一R通道AA区域图像、第一G通道AA区域图像、第一B通道AA区域图像的第一R通道平均灰度值、第一G通道平均灰度值、第一B通道平均灰度值;步骤640、分别将第一R通道平均灰度值、第一G通道平均灰度值、第一B通道平均灰度值与每个像素的灰度值相除,获取第一R通道增益系数(Gain_K_R)、第一G通道增益系数(Gain_K_G)、第一B通道增益系数(Gain_K_B)。Preferably, step 600 also includes: step 630, respectively calculating the first R channel average grayscale value, the first G channel average grayscale value, and the first B channel average grayscale value of the first R channel AA area image, the first G channel AA area image, and the first B channel AA area image; step 640, respectively dividing the first R channel average grayscale value, the first G channel average grayscale value, and the first B channel average grayscale value by the grayscale value of each pixel to obtain the first R channel gain coefficient (Gain_K_R), the first G channel gain coefficient (Gain_K_G), and the first B channel gain coefficient (Gain_K_B).
若获取的图像为RGB三通道彩色图像,则需将彩色图像分解成红、绿、蓝三张单通道图,求三个单通道图在AA区域的三个平均灰度值,再求得增益系数Gain_K_R,Gain_K_G,Gain_K_B)。If the acquired image is an RGB three-channel color image, it is necessary to decompose the color image into three single-channel images of red, green and blue, calculate the three average grayscale values of the three single-channel images in the AA area, and then calculate the gain coefficients Gain_K_R, Gain_K_G, Gain_K_B).
步骤700、将待测显示面板玻璃放置于治具上点亮,并获取第二彩色画面图像;Step 700: Place the display panel glass to be tested on a fixture, light it up, and obtain a second color screen image;
步骤800、将第二彩色画面图像每一通道AA区域图像的每一像素的灰度值与对应通道图像的增益系数相乘,以对第二彩色画面图像进行均匀性校正,获取第三彩色画面图像。Step 800: multiply the grayscale value of each pixel of the AA region image of each channel of the second color image by the gain coefficient of the corresponding channel image to perform uniformity correction on the second color image to obtain a third color image.
优选地,步骤800包括:步骤810、将第二彩色画面图像分解为第二R通道画面图像、第二G通道画面图像、第二B通道画面图像,利用Otsu算法对第二R通道画面图像、第二G通道画面图像、第二B通道画面图像进行阈值分割,获取第二R通道AA区域图像、第二G通道AA区域图像、第二B通道AA区域图像;步骤820、分别将第二R通道AA区域图像、第二G通道AA区域图像、第二B通道AA区域图像的像素的灰度值与第一R通道增益系数(Gain_K_R)、第一G通道增益系数(Gain_K_G)、第一B通道增益系数(Gain_K_B)相乘,获取第三R通道AA区域图像、第三G通道AA区域图像、第三B通道AA区域图像;步骤830、将第三R通道AA区域图像、第三G通道AA区域图像、第三B通道AA区域图像进行合并,获取第三彩色画面图像。Preferably, step 800 includes: step 810, decomposing the second color screen image into a second R channel screen image, a second G channel screen image, and a second B channel screen image, and performing threshold segmentation on the second R channel screen image, the second G channel screen image, and the second B channel screen image using the Otsu algorithm to obtain a second R channel AA area image, a second G channel AA area image, and a second B channel AA area image; step 820, multiplying the grayscale values of the pixels of the second R channel AA area image, the second G channel AA area image, and the second B channel AA area image with the first R channel gain coefficient (Gain_K_R), the first G channel gain coefficient (Gain_K_G), and the first B channel gain coefficient (Gain_K_B), respectively, to obtain a third R channel AA area image, a third G channel AA area image, and a third B channel AA area image; step 830, merging the third R channel AA area image, the third G channel AA area image, and the third B channel AA area image to obtain a third color screen image.
将每个单通道图的AA区内的每个像素与对应的增益系数相乘,再将乘积后的三张图合成一张三通道彩色图。Each pixel in the AA area of each single-channel image is multiplied by the corresponding gain coefficient, and the three images after the multiplication are combined into a three-channel color image.
步骤900、对第三彩色画面图像进行显示功能缺陷20检测。Step 900: Detect the display function defect 20 on the third color screen image.
实施本发明的一种基于均匀性校正的LCD缺陷检测方法,通过获取良品显示面板玻璃AA区域的增益系数,并将增益系数与待测显示面板玻璃的AA区域的像素的灰度值进行相乘,消除了治具本身背光划伤脏污、边缘暗带来的显示异常10,突出了待测显示面板玻璃的显示缺陷与背景的对比度,降低了显示功能缺陷20的误判率。The present invention implements an LCD defect detection method based on uniformity correction, which obtains the gain coefficient of the AA area of the good display panel glass and multiplies the gain coefficient by the grayscale value of the pixel in the AA area of the display panel glass to be tested, thereby eliminating the display anomaly 10 caused by scratches and dirt on the backlight of the fixture itself and dark edges, highlighting the contrast between the display defect of the display panel glass to be tested and the background, and reducing the misjudgment rate of display function defects 20.
以上仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410824990.4A CN118603505A (en) | 2024-06-25 | 2024-06-25 | A LCD defect detection method based on uniformity correction |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410824990.4A CN118603505A (en) | 2024-06-25 | 2024-06-25 | A LCD defect detection method based on uniformity correction |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118603505A true CN118603505A (en) | 2024-09-06 |
Family
ID=92548072
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410824990.4A Pending CN118603505A (en) | 2024-06-25 | 2024-06-25 | A LCD defect detection method based on uniformity correction |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118603505A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119831910A (en) * | 2024-12-13 | 2025-04-15 | 信利光电股份有限公司 | Image correction method and device based on side light source brightness |
| CN120912584A (en) * | 2025-08-08 | 2025-11-07 | 成都博视达科技有限公司 | Liquid crystal panel defect detection method and system, electronic equipment and product |
-
2024
- 2024-06-25 CN CN202410824990.4A patent/CN118603505A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119831910A (en) * | 2024-12-13 | 2025-04-15 | 信利光电股份有限公司 | Image correction method and device based on side light source brightness |
| CN120912584A (en) * | 2025-08-08 | 2025-11-07 | 成都博视达科技有限公司 | Liquid crystal panel defect detection method and system, electronic equipment and product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN118603505A (en) | A LCD defect detection method based on uniformity correction | |
| US9224361B2 (en) | Method, device and system for compensating brightness of a liquid crystal module | |
| KR101291843B1 (en) | Apparatus for inspection of liquid crystal display device and inspecting method thereof | |
| CN103149722B (en) | liquid crystal display processing method, device and liquid crystal display | |
| CN107749288B (en) | Mura compensation method of liquid crystal display device and liquid crystal display device | |
| WO2019100443A1 (en) | Mura compensation method and device | |
| KR102328446B1 (en) | Detecting method of gray scale correction data of liquid crystal display panel | |
| US11404015B2 (en) | Display device and medical device | |
| WO2021027270A1 (en) | Display panel driving method and display device | |
| CN117850099A (en) | Display module, control method thereof, and display device | |
| WO2016061818A1 (en) | Liquid crystal panel, drive method therefor, and liquid crystal display | |
| KR20110044153A (en) | Control unit and electronic equipment | |
| US8100542B2 (en) | Electro-optic device and electronic apparatus | |
| CN208093127U (en) | Screen brightness of LCD and color temperature correction system | |
| CN111383604B (en) | A method, system and storage medium for improving regional dimming algorithm | |
| CN115167017B (en) | Display panel detection method, display module and display device | |
| US20150338710A1 (en) | Array structure, method for manufacturing the same and array substrate | |
| Yan et al. | Research on an optical system based on multi-camera imaging for TFT-LCD module defect detection | |
| JP2009157306A (en) | Electro-optical device and electronic apparatus | |
| CN108428438A (en) | Screen brightness of LCD and color temperature correction system, method and storage medium | |
| KR20120003330A (en) | Liquid crystal display device and liquid crystal display device inspection method | |
| KR20050114132A (en) | Test apparatus of auto probe and method of testing using the same | |
| KR101016750B1 (en) | LCD Inspection Device | |
| CN116137031B (en) | LCD display screen slight bright point defect detection method | |
| TWI889417B (en) | Display device and light leakage compensation method for display panel of display device |
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 |