Dead pixel searching method, device and system for display module detection
By grouping and subdividing the display images of the display module, combining the method of superimposing RGB values and color, the problem of insufficient detection accuracy of the display module in bad points in abnormally shiny or dark areas is solved, and effective inspection of bad points in reflective areas and defect areas is achieved.
Patent Information
- Application Number
- CN202510136068.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-07
- Publication Date
- 2025-05-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When detecting the bad points of the display module, the previous technology is affected by problems such as light source reflection and screen depression, resulting in insufficient detection accuracy of bad points in abnormally shiny or dark areas.
By selecting a preset number of display modules, the display image of the display module displaying preset color light is obtained, and the acquired display images are grouped. Then, the abnormal areas of the display module are determined, and they are subdivided into bad point areas, defect areas and reflective areas. Finally, the bad point judgment is made based on the RGB value, and the bad point judgment is made for the reflective area and defect area by color superposition.
The damaged points in the reflective areas and defect areas of the display module are effectively checked, and the accuracy of detection of bad points in abnormally shiny or dark areas is improved.
Smart Images

Figure CN119935507A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, and in particular to a method, device and system for finding bad pixels for display module detection. Background Art
[0002] The display module needs to undergo screen quality inspection before leaving the factory to ensure its quality and performance. Among them, bad pixel detection is an important inspection link. Bad pixel detection is the process of identifying pixel defects in the display module.
[0003] At present, the production test method for bad pixel detection of display modules is generally to light up all display areas of the display module in sequence with a fixed color, use an image acquisition device to capture the display image after the display module is lit, and perform bad pixel detection on the display image.
[0004] Due to problems such as light source reflection and screen depression, some areas of the display image captured by the image acquisition device may be abnormally bright or abnormally dark, and these areas will interfere with the detection results of the display module, thereby affecting the detection effect of bad pixel detection. There is a problem of insufficient accuracy in bad pixel detection of the display module in abnormally bright or abnormally dark areas. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device and system for finding bad pixels for display module detection in order to address the above-mentioned problems.
[0006] The embodiment of the present invention is implemented as follows: a method for finding bad pixels for display module detection, the method for finding bad pixels for display module detection comprising:
[0007] S101, selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights;
[0008] S102, grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light;
[0009] S103, for each selected display module, determining an abnormal area of the display module according to the first group of display images of the display module;
[0010] S104, determining a bad pixel area, a defect area, and a reflective area in the abnormal area of the display module according to all display images of the second group in which the display module is located;
[0011] S105, performing bad pixel determination on the bad pixel area according to RGB values of the pixels in the bad pixel area in the first group of display images of the display module;
[0012] S106, judging bad pixels in the defective area according to the result of color superposition of the first group of display images of the display module;
[0013] S107, judging bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module.
[0014] In one embodiment, the present invention provides a bad pixel search device for display module detection, the bad pixel search device for display module detection comprising:
[0015] An image acquisition module, used for selecting a preset number of display modules and acquiring display images of the display modules displaying preset color lights;
[0016] An image grouping module, used for grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light;
[0017] A region determination module, configured to determine, for each selected display module, an abnormal region of the display module according to a first group of display images of the display module;
[0018] A region subdivision module, used for determining a bad pixel region, a defect region and a reflective region in an abnormal region of the display module according to display images of all the second groups in which the display module is located;
[0019] A first judgment module, used for judging a bad pixel region according to RGB values of pixels in the bad pixel region in a first group of display images of the display module;
[0020] A second judgment module is used to judge the bad pixel of the defective area according to the result of color superposition of the display image of the first group of the display module;
[0021] The third judgment module is used to judge the bad pixels in the reflective area according to the result of color superposition of the display images of the first group of the display module.
[0022] In one embodiment, the present invention provides a bad pixel search system for display module detection, the bad pixel search system for display module detection comprising: an image acquisition device and a computer device;
[0023] The image acquisition device is connected to the computer device and is used to acquire display images when the display module displays different preset color lights;
[0024] The computer device is used to execute the steps of the above-mentioned bad pixel search method for display module detection.
[0025] A bad pixel search method for display module detection provided by an embodiment of the present invention selects a preset number of display modules and obtains display images of the display modules displaying preset color light; groups the obtained display images to obtain a first group belonging to a display module and a second group belonging to a preset color light; for each selected display module, determines the abnormal area of the display module according to the display image of the first group of the display module; determines the bad pixel area, defective area and reflective area in the abnormal area of the display module according to the display images of all the second groups where the display module is located; judges the bad pixel area according to the RGB value of the pixel in the bad pixel area in the display image of the first group of the display module; judges the defective area according to the result of color superposition of the display image of the first group of the display module; judges the reflective area according to the result of color superposition of the display image of the first group of the display module. The present invention first determines the reflective area, defective area and bad pixel area of the display module according to different groups of display images, and then performs bad pixel judgment on the bad pixel area separately. For the reflective area and the defective area, the bad pixel judgment is performed by color superposition of the display images of the first group of the display module. In this way, only the display image of the preset color light is still used, and no other color change operation is required. The abnormal pixel points of the reflective area and the defective area are amplified by color superposition, so that the bad pixels of the reflective area and the defective area can be checked out, which solves the problem of insufficient accuracy of bad pixel detection in abnormally bright or abnormally dark areas of the display module. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A flowchart of a method for finding bad pixels for display module detection in one embodiment;
[0027] Figure 2 A structural block diagram of a bad pixel search device for display module detection in one embodiment;
[0028] Figure 3 FIG. 4 is a block diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0030] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script without departing from the scope of the present invention.
[0031] like Figure 1 As shown, in one embodiment, a method for finding bad pixels for display module detection is proposed, which may specifically include the following steps:
[0032] S101, selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights;
[0033] S102, grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light;
[0034] S103, for each selected display module, determining an abnormal area of the display module according to the first group of display images of the display module;
[0035] S104, determining a bad pixel area, a defect area, and a reflective area in the abnormal area of the display module according to all display images of the second group in which the display module is located;
[0036] S105, performing bad pixel determination on the bad pixel area according to RGB values of the pixels in the bad pixel area in the first group of display images of the display module;
[0037] S106, judging bad pixels in the defective area according to the result of color superposition of the first group of display images of the display module;
[0038] S107, judging bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module.
[0039] In this embodiment, the display module generally performs bad pixel detection under five background colors: red, green, blue, white, and black. Therefore, the preset color lights are red, green, blue, white, and black. Meanwhile, the preset number can be set to five.
[0040] In this embodiment, in S101, if the preset number is 5, then 5 display modules are obtained to display images of 5 preset color lights respectively, that is, 25 display images. In S102, the first group has 5 because there are 5 display modules; the second group has 5 because there are 5 preset color lights.
[0041] In this embodiment, the abnormal area may be caused by reflection, or by a depression of the display module screen, or by a bad pixel. For the display images in the first group, except for the abnormal area caused by the bad pixel, the abnormal areas caused by other reasons all exist in the display images of the first group.
[0042] In this embodiment, the second group of display images are from different display modules, wherein the reflective areas are the same, and the bad pixel areas and defect areas are generally different.
[0043] In this embodiment, there are three types of bad pixels, namely, bright spots, dark spots and dead spots. Dark spots are luminous spots that are fixed to maintain a lower pixel value. The essential reason is that some of the three colors of red, green and blue cannot emit light or emit insufficient light, which is easier to be observed in a completely white environment. Bright spots are luminous spots that are fixed to maintain a higher pixel value, which are easier to be observed in a completely black environment. Dead spots are luminous spots that cannot work, that is, none of the three colors of red, green and blue can emit light. There are also many ways to classify dark spots, such as dark spots caused by insufficient light emission of a certain color, dark spots caused by the lack of a certain color, etc. Therefore, it is necessary to judge bad spots.
[0044] In this embodiment, color overlay is not color coverage, but a combination of multiplication and screen blending mode, specifically a special overlay calculation of RGB values. Color overlay is a prior art, for example, the image overlay function in Photoshop, which will not be described in detail here.
[0045] In this embodiment, in addition to the color superposition method, other color mixing modes such as color difference and color saturation may also be used.
[0046] A bad pixel search method for display module detection provided by an embodiment of the present invention selects a preset number of display modules and obtains display images of the display modules displaying preset color light; groups the obtained display images to obtain a first group belonging to a display module and a second group belonging to a preset color light; for each selected display module, determines the abnormal area of the display module according to the display image of the first group of the display module; determines the bad pixel area, defective area and reflective area in the abnormal area of the display module according to the display images of all the second groups where the display module is located; judges the bad pixel area according to the RGB value of the pixel in the bad pixel area in the display image of the first group of the display module; judges the defective area according to the result of color superposition of the display image of the first group of the display module; judges the reflective area according to the result of color superposition of the display image of the first group of the display module. The present invention first determines the reflective area, defective area and bad pixel area of the display module according to different groups of display images, and then performs bad pixel judgment on the bad pixel area separately. For the reflective area and the defective area, the bad pixel judgment is performed by color superposition of the display images of the first group of the display module. In this way, only the display image of the preset color light is still used, and no other color change operation is required. The abnormal pixel points of the reflective area and the defective area are amplified by color superposition, so that the bad pixels of the reflective area and the defective area can be checked out, which solves the problem of insufficient accuracy of bad pixel detection in abnormally bright or abnormally dark areas of the display module.
[0047] In one embodiment, the step of selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights includes:
[0048] S201, controlling the display module to display five preset colors of red, green, blue, white and black respectively;
[0049] S202, controlling the image acquisition device to acquire a display image when the display module displays a preset color light;
[0050] S203, executing S201-S202 for the selected preset number of display modules.
[0051] In this embodiment, black may be a scene where the display module does not emit light or a scene where the display module displays black. The scene where the display module does not emit light does not mean that the display module is not powered on, but that the LED lamp does not light up after the display module is powered on.
[0052] In this embodiment, the display order of the five colors of preset colored lights can be arbitrary, and the important thing is to obtain a display image showing the preset colored lights.
[0053] In one embodiment, determining the abnormal area of the display module according to the first group of display images of the display module includes:
[0054] For each display image of the first group of the display module, determining the RGB value of each pixel of the display image;
[0055] For each pixel, determine whether the RGB difference between the pixel and its adjacent pixels is greater than a first preset value, and if so, determine the pixel as an abnormal pixel;
[0056] Determining a plurality of first areas of the displayed image according to the closed areas surrounded by the abnormal pixels;
[0057] superimposing all display images of the first group of the display module;
[0058] For each first region, the maximum area after the first regions are superimposed is recorded as the abnormal region of the display module.
[0059] In this embodiment, the first preset value may be set to 50.
[0060] In this embodiment, the neighboring pixels of the pixel are not only the neighboring pixels between the edges, but also the neighboring pixels between the corners, so the number of neighboring pixels of the pixels other than the pixels at the edge of the displayed image is 8. The number of neighboring pixels of the corner pixels of the displayed image is 3, and the number of neighboring pixels of the edge pixels of the displayed image excluding the corner pixels is 5.
[0061] In this embodiment, the RGB value has three different brightness values, R, G, and B. When calculating the RGB difference, it is calculated separately, that is, two R values, two G values, and two B values in two RGB values are subtracted, and then the absolute values of the values obtained after the subtraction are taken to obtain three brightness value differences, so three brightness value differences can be obtained after the two RGB values are subtracted. These three brightness value differences constitute the RGB difference. As long as one brightness value difference is greater than the first preset value, it is regarded that the entire RGB difference is greater than the first preset value.
[0062] In this embodiment, the reason why abnormal pixels can be judged in this way is that, for example, in a black display image, the difference between the pixels in the reflective area and the surrounding pixels is very obvious; and in the red, green and blue display images, the edges of the defective area are also very obvious, and the edge pixels are overall dark close to black; the bad pixel area also has obvious differences in the display images of different colors depending on the situation of the bad pixels.
[0063] In this embodiment, a plurality of first regions of the displayed image are determined based on the closed regions enclosed by abnormal pixels. Even if the abnormal pixels cannot enclose a closed region, for example, if only one abnormal pixel is determined, the region where the abnormal pixel is located is also considered the first region, because pixels themselves have areas.
[0064] In this embodiment, each first area does not necessarily exist in every display image of the first group of the display module, and it is also possible that different display images may have errors in determining the edge pixels of the same first area. However, as long as the first area exists in any display image of the first group of the display module, the position of the first area in each display image of the first group of the display module is regarded as an abnormal area of the display module, and the first area with the largest area is selected as the determined first area.
[0065] In one embodiment, the step of determining the bad pixel area, defect area and reflective area in the abnormal area of the display module according to the display images of all the second groups in which the display module is located includes:
[0066] Determine a problem area of the display module according to each second group in which the display module is located;
[0067] For each abnormal area of the display module, determine whether there is a problem area in the area where the abnormal area is located on any display image of the display module, and if so, determine whether the difference between the area of the problem area and the area of the abnormal area is less than a preset area, and if so, determine the abnormal area as a reflective area;
[0068] If the abnormal area is located in an area on any display image of the display module where there is no problem area or the difference between the area of the problem area and the area of the abnormal area is greater than or equal to a preset area, then the abnormal area is determined to be an area S on the display image of the preset color light of red / green / blue in the first group of the display module;
[0069] Determine the mean of the RGB values of the pixels in the region S;
[0070] It is determined whether the RGB difference between the mean of the RGB value and the RGB value of black is within a preset range. If so, the abnormal area is determined as a defective area. If not, the abnormal area is determined as a bad pixel area.
[0071] In this embodiment, in theory, if the preset color light is one of red / green / blue, the reflective area will present a light color close to white based on the original color light, such as light red, light green, and light blue. The defective area will present a dark color close to black based on the original color light, such as dark red, dark green, and dark blue. The reason why the RGB value of the pixel is not used to determine the bad pixel area, defective area, and reflective area is that there are many situations for bad pixels. If only the RGB value of the pixel is relied on, it is impossible to distinguish between dark spots / bright spots and reflective areas, dark spots / dead spots, and defective areas.
[0072] In this embodiment, in a second group, the displayed color light is the same, and the reflective area is also the same, but the display images of the second group come from multiple display modules, so the defect area and the bad pixel area are generally different. Therefore, when the problem area and the abnormal area overlap, the problem area / abnormal area is generally the reflective area. The problem area and the abnormal area are areas surrounded by abnormal pixels, and there may be errors, so a preset area is set to eliminate the error.
[0073] In this embodiment, the preset area can be set to 10% of the area of the problem area. The area of the abnormal area or the problem area can be calculated by determining the number of pixels.
[0074] In this embodiment, only edge pixels of the region S are selected to avoid the problem that pixels in the middle of the defective region appear normal.
[0075] In this embodiment, the preset range can be set to 50-150. If the RGB difference between the mean of the RGB values and the RGB value of black is less than 50, the abnormal area can be considered to be a dead area in the bad pixel. If it is greater than 150, the abnormal area can be considered to be a bright spot or dark spot area in the bad pixel. Therefore, only the abnormal area with an RGB difference within the preset range is a defective area. If any of the three brightness value differences is not within the preset range, the RGB difference is not within the preset range.
[0076] In one embodiment, the step of determining the problem area of the display module according to each second group to which the display module belongs includes:
[0077] For each second group in which the display module is located, determining each display image of the second group;
[0078] For each displayed image, determining the RGB value of each pixel of the displayed image;
[0079] For each pixel, determine whether the RGB difference between the pixel and its adjacent pixels is greater than a second preset value, and if so, determine the pixel as a problem pixel;
[0080] Determine a plurality of second areas of the displayed image according to the closed areas surrounded by the problem pixels;
[0081] For each second area, it is determined whether the second area has a corresponding area in each display image of the second group. If so, the second area is determined as a problem area of the display module.
[0082] In this embodiment, the second preset value may be 50.
[0083] In this embodiment, in a second group, the displayed color light is the same, and the reflective area is also the same, but the displayed images of the second group come from multiple display modules, so the defect area and the bad pixel area are generally different. Therefore, only if the second area has a corresponding area in each displayed image of the second group can it be a reflective area.
[0084] In one embodiment, the step of determining the bad pixel area according to the RGB values of the pixels in the bad pixel area in the first group of display images of the display module includes:
[0085] For each pixel in the bad pixel area, respectively obtain the RGB value of the pixel in all display images of the first group of the display module;
[0086] Determine the number A of RGB values of black for the RGB value of the pixel in the first group of display images of the display module;
[0087] Determine whether the number A is greater than 3, if so, determine the pixel as a dead point, if not, determine whether the number A is less than 1;
[0088] If the number A is less than 1, the pixel is determined as a bright spot;
[0089] If the number A is greater than or equal to 1, determine whether the number A is 2, and if so, determine the pixel as a dark spot;
[0090] If the number A is not 2, it is determined whether the RGB values of the pixel in the first group of display images of the display module are all red, green, and blue RGB values. If so, the pixel is determined as a normal point, otherwise, the pixel is determined as a dark point.
[0091] In this embodiment, for a normal pixel, the RGB values in the display image of the first group of the display module should be the RGB values of the five colors of red, green, blue, white and black. So if the number A is less than 1, that is, the pixel is not black in the black display image, then this pixel will only be a bright spot. If the number is greater than 3, since white is a mixture of red, green and blue, if the display image of the display module in white is black, then the display image of other colors must also be black. Conversely, if the display image of the display module in other colors is black, then the display image of white must also be black. Therefore, if the number is greater than 3, the number must be 5, and this pixel is a dead point. If the number is 2, then the situation where the pixel is black will only appear in the black display image and the display image of one of the colors of red, green and blue, then the pixel is a dark spot. For the case where the number is 1 or 3, it is determined whether the RGB values of the pixel in the display image of the first group of the display module are all the RGB values of red, green and blue to ensure whether it is a normal point or a dark point.
[0092] In this embodiment, the bad pixel area is an area surrounded by abnormal pixels. If the bad pixels just form a circle, it is possible that the normal pixels are surrounded. Therefore, normal pixels may exist in the bad pixel area.
[0093] In one embodiment, the step of judging the bad pixel in the defective area according to the result of color superposition of the first group of display images of the display module includes:
[0094] For each pixel in the defective area, respectively obtain the RGB values of all display images of the pixel in the first group of the display module;
[0095] Determine whether the RGB value of the pixel in the black display image is the RGB value of black. If not, determine the pixel as a bright spot. If so, determine whether the RGB value of the pixel in the white display image is the RGB value of black.
[0096] If the RGB value of the pixel in the white display image is the RGB value of black, the pixel is determined as a dead point;
[0097] If the RGB value of the pixel in the white display image is not the RGB value of black, the pixel is determined as a point to be determined;
[0098] Perform color superposition of the to-be-determined point in the red, green and blue display images;
[0099] For each point to be determined, it is determined whether the grayscale value of the point to be determined after color superposition is less than a third preset value. If so, the point to be determined is determined as a normal point; if not, the point to be determined is determined as a dark point.
[0100] In this embodiment, if it is a defective area, the pixel will appear dark close to black in the original color light, but the RGB value of the pixel in the black display image is (0, 0, 0), so if the RGB value of the pixel in the black display image is not the RGB value of black, then the pixel is a bright spot.
[0101] In this embodiment, assuming that there are dark spots, for example, dark spots with red defects, the R value of the pixel in the red display image is theoretically smaller, but the defective area itself will deepen the red color of the pixel, so it may not be recognized if only the RGB value is relied upon. However, the difference will be magnified through color superposition. Normal pixels will appear black after superposition, while dark spots will appear dark red after superposition.
[0102] In this embodiment, the third preset value may be set to 50.
[0103] In this embodiment, when determining the point to be determined, in addition to using the grayscale value for determination, other values such as the HSV value may be used for determination.
[0104] In one embodiment, the step of judging the bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module includes:
[0105] For each pixel in the reflective area, respectively obtain the RGB values of all display images of the pixel in the first group of the display module;
[0106] Determine whether the RGB value of the pixel in the black display image is the RGB value of white. If so, determine the pixel as a bright spot. If not, determine whether the RGB value of the pixel in the white display image is the RGB value of white.
[0107] If the RGB value of the pixel in the white display image is not the RGB value of white, the pixel is determined as a dead point;
[0108] If the RGB value of the pixel in the white display image is the RGB value of white, the pixel is determined as a point to be determined;
[0109] Perform color superposition of the to-be-determined point in the red, green and blue display images;
[0110] For each point to be determined, it is determined whether the grayscale value of the point to be determined after color superposition is greater than a fourth preset value. If not, the point to be determined is determined as a normal point. If so, the point to be determined is determined as a dark point.
[0111] In this embodiment, if it is a reflective area, the pixel will appear light in color close to white in the original color light, but the RGB value of the pixel in the white display image is (255, 255, 255), so if the RGB value of the pixel in the white display image is not the RGB value of white, then the pixel is a dead point.
[0112] In this embodiment, assuming that there are dark spots, for example, dark spots with red defects, then the pixel's R value is theoretically smaller in the red display image, and the reflective area will amplify the lightness of the pixel. If only the RGB value is relied upon, it may not be recognized, but the difference will be amplified through color superposition. Normal pixels will present a specific color after superposition, while dark spots will present a color lighter than the specific color after superposition.
[0113] In this embodiment, the fourth preset value may be set to 200.
[0114] In this embodiment, when determining the point to be determined, in addition to using the grayscale value for determination, other values such as the HSV value may be used for determination.
[0115] like Figure 2 As shown, in one embodiment, a bad pixel search device for display module detection is provided, which may specifically include:
[0116] An image acquisition module, used for selecting a preset number of display modules and acquiring display images of the display modules displaying preset color lights;
[0117] An image grouping module, used for grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light;
[0118] A region determination module, configured to determine, for each selected display module, an abnormal region of the display module according to a first group of display images of the display module;
[0119] A region subdivision module, used for determining a bad pixel region, a defect region and a reflective region in an abnormal region of the display module according to display images of all the second groups in which the display module is located;
[0120] A first judgment module, used for judging a bad pixel region according to RGB values of pixels in the bad pixel region in a first group of display images of the display module;
[0121] A second judgment module is used to judge the bad pixel of the defective area according to the result of color superposition of the display image of the first group of the display module;
[0122] The third judgment module is used to judge the bad pixels in the reflective area according to the result of color superposition of the display images of the first group of the display module.
[0123] In this embodiment, each module of the bad pixel search device for display module detection is a modularization of the method part of the present invention. For the specific explanation of each module, please refer to the corresponding content of the method part of the present invention, and the embodiment of the present invention will not be repeated here.
[0124] In one embodiment, a bad pixel search system for display module detection is provided, which may specifically include: an image acquisition device and a computer device;
[0125] The image acquisition device is connected to the computer device and is used to acquire display images when the display module displays different preset color lights;
[0126] The computer device is used to execute the steps of the above-mentioned bad pixel search method for display module detection.
[0127] In this embodiment, the image acquisition device may be a camera or other device. The computer device may be an independent physical server or terminal, or a server cluster composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, cloud storage, and CDN.
[0128] A bad pixel search method for display module detection provided by an embodiment of the present invention selects a preset number of display modules and obtains display images of the display modules displaying preset color light; groups the obtained display images to obtain a first group belonging to a display module and a second group belonging to a preset color light; for each selected display module, determines the abnormal area of the display module according to the display image of the first group of the display module; determines the bad pixel area, defective area and reflective area in the abnormal area of the display module according to the display images of all the second groups where the display module is located; judges the bad pixel area according to the RGB value of the pixel in the bad pixel area in the display image of the first group of the display module; judges the defective area according to the result of color superposition of the display image of the first group of the display module; judges the reflective area according to the result of color superposition of the display image of the first group of the display module. The present invention first determines the reflective area, defective area and bad pixel area of the display module according to different groups of display images, and then performs bad pixel judgment on the bad pixel area separately. For the reflective area and the defective area, the bad pixel judgment is performed by color superposition of the display images of the first group of the display module. In this way, only the display image of the preset color light is still used, and no other color change operation is required. The abnormal pixel points of the reflective area and the defective area are amplified by color superposition, so that the bad pixels of the reflective area and the defective area can be checked out, which solves the problem of insufficient accuracy of bad pixel detection in abnormally bright or abnormally dark areas of the display module.
[0129] Figure 3 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 3 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a method for finding bad points in display module detection provided by an embodiment of the present invention. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute a method for finding bad points in display module detection provided by an embodiment of the present invention. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0130] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0131] In one embodiment, a bad pixel search device for display module detection provided by the embodiment of the present invention can be implemented in the form of a computer program. The computer program can be used in Figure 3 The memory of the computer device can store various program modules constituting the bad pixel search device for display module detection, for example, Figure 2 The computer program composed of the image acquisition module, image grouping module, region determination module, region subdivision module, first judgment module, second judgment module and third judgment module shown in the figure enables the processor to execute the steps of a bad pixel search method for display module detection in each embodiment of the present invention described in this specification.
[0132] For example, Figure 3 The computer device shown can be Figure 2 The image acquisition module in the bad pixel search device for display module detection shown executes step S101; the computer device can execute step S102 through the image grouping module; the computer device can execute step S103 through the area determination module; the computer device can execute step S104 through the area subdivision module; the computer device can execute step S105 through the first judgment module; the computer device can execute step S106 through the second judgment module; the computer device can execute step S107 through the third judgment module.
[0133] In one embodiment, a computer device is provided, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
[0134] S101, selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights;
[0135] S102, grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light;
[0136] S103, for each selected display module, determining an abnormal area of the display module according to the first group of display images of the display module;
[0137] S104, determining a bad pixel area, a defect area, and a reflective area in the abnormal area of the display module according to all display images of the second group in which the display module is located;
[0138] S105, performing bad pixel determination on the bad pixel area according to RGB values of the pixels in the bad pixel area in the first group of display images of the display module;
[0139] S106, judging bad pixels in the defective area according to the result of color superposition of the first group of display images of the display module;
[0140] S107, judging bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module.
[0141] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor performs the following steps:
[0142] S101, selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights;
[0143] S102, grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light;
[0144] S103, for each selected display module, determining an abnormal area of the display module according to the first group of display images of the display module;
[0145] S104, determining a bad pixel area, a defect area, and a reflective area in the abnormal area of the display module according to all display images of the second group in which the display module is located;
[0146] S105, performing bad pixel determination on the bad pixel area according to RGB values of the pixels in the bad pixel area in the first group of display images of the display module;
[0147] S106, judging bad pixels in the defective area according to the result of color superposition of the first group of display images of the display module;
[0148] S107, judging bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module.
[0149] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0150] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0151] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0152] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A method for finding bad pixels for display module detection, characterized in that: The display module detection bad pixel search method comprises: S101, selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights; S102, grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light; S103, for each selected display module, determining an abnormal area of the display module according to the first group of display images of the display module; S104, determining a bad pixel area, a defect area, and a reflective area in the abnormal area of the display module according to all display images of the second group in which the display module is located; S105, performing bad pixel determination on the bad pixel area according to RGB values of the pixels in the bad pixel area in the first group of display images of the display module; S106, judging bad pixels in the defective area according to the result of color superposition of the first group of display images of the display module; S107, judging bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module.
2. The bad pixel search method for display module detection according to claim 1, characterized in that: The step of selecting a preset number of display modules and obtaining display images of the display modules displaying preset color lights comprises: S201, controlling the display module to display five preset colors of red, green, blue, white and black respectively; S202, controlling the image acquisition device to acquire a display image when the display module displays a preset color light; S203, executing S201-S202 for the selected preset number of display modules.
3. The bad pixel search method for display module detection according to claim 1, characterized in that: The step of determining the abnormal area of the display module according to the first group of display images of the display module comprises: For each display image of the first group of the display module, determining the RGB value of each pixel of the display image; For each pixel, determine whether the RGB difference between the pixel and its adjacent pixels is greater than a first preset value, and if so, determine the pixel as an abnormal pixel; Determining a plurality of first areas of the displayed image according to the closed areas surrounded by the abnormal pixels; superimposing all display images of the first group of the display module; For each first region, the maximum area after the first regions are superimposed is recorded as the abnormal region of the display module.
4. The bad pixel search method for display module detection according to claim 1, characterized in that: The step of determining the bad pixel area, defect area and reflective area in the abnormal area of the display module according to the display images of all the second groups in which the display module is located comprises: Determine a problem area of the display module according to each second group in which the display module is located; For each abnormal area of the display module, determine whether there is a problem area in the area where the abnormal area is located on any display image of the display module, and if so, determine whether the difference between the area of the problem area and the area of the abnormal area is less than a preset area, and if so, determine the abnormal area as a reflective area; If the abnormal area is located in an area on any display image of the display module where there is no problem area or the difference between the area of the problem area and the area of the abnormal area is greater than or equal to a preset area, then the abnormal area is determined to be an area S on the display image of the preset color light of red / green / blue in the first group of the display module; Determine the mean of the RGB values of the edge pixels of the region S; It is determined whether the RGB difference between the mean of the RGB value and the RGB value of black is within a preset range. If so, the abnormal area is determined as a defective area. If not, the abnormal area is determined as a bad pixel area.
5. The bad pixel search method for display module detection according to claim 4, characterized in that: The step of determining the problem area of the display module according to each second group in which the display module is located includes: For each second group in which the display module is located, determining each display image of the second group; For each displayed image, determining the RGB value of each pixel of the displayed image; For each pixel, determine whether the RGB difference between the pixel and its adjacent pixels is greater than a second preset value, and if so, determine the pixel as a problem pixel; Determine a plurality of second areas of the displayed image according to the closed areas surrounded by the problem pixels; For each second area, it is determined whether the second area has a corresponding area in each display image of the second group. If so, the second area is determined as a problem area of the display module.
6. The bad pixel search method for display module detection according to claim 1, characterized in that: The step of judging the bad pixel area according to the RGB values of the pixels in the bad pixel area in the first group of display images of the display module includes: For each pixel in the bad pixel area, respectively obtain the RGB value of the pixel in all display images of the first group of the display module; Determine the number A of RGB values of black for the RGB value of the pixel in the first group of display images of the display module; Determine whether the number A is greater than 3, if so, determine the pixel as a dead point, if not, determine whether the number A is less than 1; If the number A is less than 1, the pixel is determined as a bright spot; If the number A is greater than or equal to 1, determine whether the number A is 2, and if so, determine the pixel as a dark spot; If the number A is not 2, it is determined whether the RGB values of the pixel in the first group of display images of the display module are all red, green, and blue RGB values. If so, the pixel is determined as a normal point, otherwise, the pixel is determined as a dark point.
7. The bad pixel search method for display module detection according to claim 1, characterized in that: The step of judging the bad pixel in the defective area according to the result of color superposition of the first group of display images of the display module comprises: For each pixel in the defective area, respectively obtain the RGB values of all display images of the pixel in the first group of the display module; Determine whether the RGB value of the pixel in the black display image is the RGB value of black. If not, determine the pixel as a bright spot. If so, determine whether the RGB value of the pixel in the white display image is the RGB value of black. If the RGB value of the pixel in the white display image is the RGB value of black, the pixel is determined as a dead point; If the RGB value of the pixel in the white display image is not the RGB value of black, the pixel is determined as a point to be determined; Perform color superposition of the to-be-determined point in the red, green and blue display images; For each point to be determined, it is determined whether the grayscale value of the point to be determined after color superposition is less than a third preset value. If so, the point to be determined is determined as a normal point; if not, the point to be determined is determined as a dark point.
8. The bad pixel search method for display module detection according to claim 1, characterized in that: The step of judging the bad pixels in the reflective area according to the result of color superposition of the first group of display images of the display module comprises: For each pixel in the reflective area, respectively obtain the RGB values of all display images of the pixel in the first group of the display module; Determine whether the RGB value of the pixel in the black display image is the RGB value of white. If so, determine the pixel as a bright spot. If not, determine whether the RGB value of the pixel in the white display image is the RGB value of white. If the RGB value of the pixel in the white display image is not the RGB value of white, the pixel is determined as a dead point; If the RGB value of the pixel in the white display image is the RGB value of white, the pixel is determined as a point to be determined; Perform color superposition of the to-be-determined point in the red, green and blue display images; For each point to be determined, it is determined whether the grayscale value of the point to be determined after color superposition is greater than a fourth preset value. If not, the point to be determined is determined as a normal point. If so, the point to be determined is determined as a dark point.
9. A bad pixel search device for display module detection, characterized in that: The bad pixel finding device for display module detection comprises: An image acquisition module, used for selecting a preset number of display modules and acquiring display images of the display modules displaying preset color lights; An image grouping module, used for grouping the acquired display images to obtain a first group belonging to a display module and a second group belonging to a preset color light; A region determination module, configured to determine, for each selected display module, an abnormal region of the display module according to a first group of display images of the display module; A region subdivision module, used for determining a bad pixel region, a defect region and a reflective region in an abnormal region of the display module according to display images of all the second groups in which the display module is located; A first judgment module, used for judging a bad pixel region according to RGB values of pixels in the bad pixel region in a first group of display images of the display module; A second judgment module is used to judge the bad pixel of the defective area according to the result of color superposition of the display image of the first group of the display module; The third judgment module is used to judge the bad pixels in the reflective area according to the result of color superposition of the display images of the first group of the display module.
10. A bad pixel search system for display module detection, characterized in that: The bad pixel search system for display module detection includes: an image acquisition device and a computer device; The image acquisition device is connected to the computer device and is used to acquire display images when the display module displays different preset color lights; The computer device is used to execute the steps of the bad pixel search method for display module detection as described in any one of claims 1 to 8.