Display module dead pixel detection method, device and system

The method employs color-interlaced display patterns to enhance bad point detection accuracy in display modules by minimizing the influence of light halos and image distortion, ensuring precise identification of dark, bright, and dead points.

CN119942943AActive Publication Date: 2025-05-06深圳市深顺欣科技有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510414356.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-05-06
Estimated Expiration
2045-04-03

AI Technical Summary

Technical Problem

Existing display module bad point detection methods are inaccurate due to the influence of light halos in pure color backgrounds, especially in areas with significant image distortion, leading to incorrect identification of bad points.

Method used

Implement a method that uses color interlaced display patterns to capture images, determining the corresponding display areas based on color changes, and perform dark and bright point judgments to accurately identify bad points.

Benefits of technology

This approach reduces the impact of light halos on bad point identification by using color-interlaced patterns, ensuring accurate detection even in distorted areas, thereby improving the precision of bad point detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119942943A_ABST
    Figure CN119942943A_ABST
Patent Text Reader

Abstract

The invention relates to the field of display module detection, in particular to a display module dead pixel detection method, device and system. The method comprises the following steps: performing color staggering setting on a display pattern of a display module to obtain a plurality of display templates; controlling an image acquisition module to respectively acquire and obtain display images when the display module displays different display templates; determining a display area corresponding to a luminous point on the display module on the display image according to the color change condition of the display image; carrying out dark spot judgment and bright spot judgment on the display areas on all the display images; respectively determining a dark spot target area, a dead spot target area and a bright spot target area according to the dark spot judgment result and the bright spot judgment result; and according to the dark spot target area, the bright spot target area and the dead spot target area, determining the defective pixels in the display module. According to the invention, the influence of halo on the position of the dead pixel is weakened from two angles of a light-emitting point source and light-emitting point positioning, and the problem of inaccurate dead pixel detection is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display module detection, and in particular to a display module bad pixel detection method, device and system. Background Art

[0002] The display module needs to undergo screen quality inspection before leaving the factory to ensure its quality and performance. Quality inspection includes a variety of functional inspections, such as appearance inspection, electrical inspection, safety inspection, etc., among which bad pixel inspection is a very important part. Bad pixel inspection includes the inspection of bright spots, dark spots and dead spots.

[0003] Currently, the detection of bad pixels usually involves controlling the display module to display five pure colors, namely red, green, blue, white and black, respectively, using an image acquisition device to capture images of the display module under the five pure colors, and detecting each luminous point in the captured image one by one to determine whether the luminous point is a bad pixel to complete the bad pixel detection.

[0004] Doing so requires that the image acquisition device must have high accuracy and that the distance between the image acquisition device and the display module being detected must be close. If these two requirements are not met, since the light source is the display module, the image captured by the image acquisition device may have a halo problem. In this way, against a pure color background, the location of the bad pixel may be affected by the halo around it, resulting in inaccurate identification of the bad pixel, especially in areas with more serious image distortion, where there is a problem of inaccurate bad pixel detection. Summary of the invention

[0005] Based on this, it is necessary to provide a display module bad pixel detection method, device and system to address the above problems.

[0006] The embodiment of the present invention is implemented as follows: a display module bad pixel detection method, the display module bad pixel detection method comprising: S101, performing color interlacing on a display pattern of a display module to obtain a plurality of display templates; S102, controlling the image acquisition module to respectively acquire display images when the display module displays different display templates; S103, determining a display area corresponding to a light-emitting point on a display module on the display image according to a color change of the display image; S104, performing dark spot judgment and bright spot judgment on display areas on all display images; S105, determining a dark spot target area, a dead spot target area, and a bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment; S106, determining bad pixels in the display module according to the dark pixel target area, the bright pixel target area, and the dead pixel target area.

[0007] In one embodiment, the present invention provides a display module bad pixel detection device, the display module bad pixel detection device comprising: A display template setting module, used for setting the display pattern of the display module in an interlaced manner to obtain a plurality of display templates; A display image acquisition module, used to control the image acquisition module to respectively acquire display images when the display module displays different display templates; A display area determination module, used to determine the display area corresponding to the light-emitting point on the display module on the display image according to the color change of the display image; A dark spot and bright spot judgment module is used to judge dark spots and bright spots in all display areas on the displayed images; A target area determination module is used to determine a dark spot target area, a dead spot target area and a bright spot target area according to the results of dark spot judgment and bright spot judgment; The bad pixel determination module is used to determine the bad pixels in the display module according to the dark pixel target area, the bright pixel target area and the dead pixel target area.

[0008] In one embodiment, the present invention provides a display module bad pixel detection system, the display module bad pixel detection system comprising: 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 display templates; The computer device is used to execute the steps of the above-mentioned display module bad pixel detection method.

[0009] A display module bad pixel detection method provided by an embodiment of the present invention obtains a plurality of display templates by setting the colors of the display pattern of the display module in an interlaced manner; controls the image acquisition module to respectively acquire and collect display images when the display module displays different display templates; determines the display area corresponding to the luminous point on the display module on the display image according to the color change of the display image; performs dark spot judgment and bright spot judgment on the display area on all display images; determines the dark spot target area, the dead spot target area and the bright spot target area according to the results of the dark spot judgment and the bright spot judgment; and determines the bad pixels in the display module according to the dark spot target area, the bright spot target area and the dead spot target area. In this way, the display graphics obtained by the display template with interlaced colors have different colors of halos, which reduces the influence of the position of the bad pixel on the pure color background by the halos of the same color around it, thereby causing inaccurate identification of the bad pixel; and the display area is determined according to the color change of the displayed image, not according to the ratio of the displayed image to the display module. In areas with more serious image distortion, the display area corresponding to the luminous point can be accurately determined, which greatly reduces the further influence of the halo on the position of the bad pixel due to the positioning error of the display area; the influence of the halo on the position of the bad pixel is weakened from the two angles of the source of the luminous point and the positioning of the luminous point, thereby solving the problem of inaccurate bad pixel detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flowchart of a method for detecting bad pixels of a display module in one embodiment; Figure 2 is a schematic diagram of a fifth unit in one embodiment; Figure 3 It is a structural block diagram of a display module bad pixel detection device in one embodiment; Figure 4 FIG. 4 is a block diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0011] 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.

[0012] 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.

[0013] like Figure 1 As shown, in one embodiment, a method for detecting bad pixels of a display module is proposed, which may specifically include the following steps: S101, performing color interlacing on a display pattern of a display module to obtain a plurality of display templates; S102, controlling the image acquisition module to respectively acquire display images when the display module displays different display templates; S103, determining a display area corresponding to a light-emitting point on a display module on the display image according to a color change of the display image; S104, performing dark spot judgment and bright spot judgment on display areas on all display images; S105, determining a dark spot target area, a dead spot target area, and a bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment; S106, determining bad pixels in the display module according to the dark pixel target area, the bright pixel target area, and the dead pixel target area.

[0014] In this embodiment, when performing bad pixel detection on the display module, the prior art uses five pure color backgrounds of red, green, blue, white and black for detection, while in the present invention, only four colors of red, green, blue and black are used for staggered setting. In order to ensure that the light-emitting points on the display module pass through the four colors, four display templates need to be set. Compared with the prior art, the cost is also reduced.

[0015] In this embodiment, the display image is only a picture taken when the display module displays the display template, and does not include the background image of the environment in which the display module is located. When the image acquisition module acquires the display image, it also acquires the background image of the display module. How to cut the background image from the display image is a prior art and will not be described in detail here.

[0016] In this embodiment, a light-emitting point of the display module is generally composed of light-emitting tubes of three colors: red, green, and blue. Therefore, the color change of the displayed image is more obvious.

[0017] In this embodiment, bad pixels are divided into three types, namely dark pixels, bright pixels and dead pixels. Dark pixels are luminous points that maintain a fixed lower pixel value. The essential reason is that some colors among the three colors of red, green and blue cannot emit light or emit insufficient light. They are easier to be observed in a completely white environment. Bright pixels are luminous points that maintain a fixed higher pixel value. They are easier to be observed in a completely black environment. Dead pixels are luminous points that do not work, that is, none of the three colors of red, green and blue can emit light. There are also many ways to classify dark pixels, such as dark pixels caused by insufficient light emission of a certain color, dark pixels caused by the lack of a certain color, etc.

[0018] In this embodiment, since the display area in a display image only displays one color, it can only be used to judge dark spots and bright spots. The judgment of dead spots is obtained by combining the judgment of dark spots. If a display area is a dark spot in all three colors of red, green and blue, and the color of the dark spot is black, then this display area is a dead spot.

[0019] A display module bad pixel detection method provided by an embodiment of the present invention obtains a plurality of display templates by setting the colors of the display pattern of the display module in an interlaced manner; controls the image acquisition module to respectively acquire and collect display images when the display module displays different display templates; determines the display area corresponding to the luminous point on the display module on the display image according to the color change of the display image; performs dark spot judgment and bright spot judgment on the display area on all display images; determines the dark spot target area, the dead spot target area and the bright spot target area according to the results of the dark spot judgment and the bright spot judgment; and determines the bad pixels in the display module according to the dark spot target area, the bright spot target area and the dead spot target area. In this way, the display graphics obtained by the display template with interlaced colors have different colors of halos, which reduces the influence of the position of the bad pixel on the pure color background by the halos of the same color around it, thereby causing inaccurate identification of the bad pixel; and the display area is determined according to the color change of the displayed image, not according to the ratio of the displayed image to the display module. In areas with more serious image distortion, the display area corresponding to the luminous point can be accurately determined, which greatly reduces the further influence of the halo on the position of the bad pixel due to the positioning error of the display area; the influence of the halo on the position of the bad pixel is weakened from the two angles of the source of the luminous point and the positioning of the luminous point, thereby solving the problem of inaccurate bad pixel detection.

[0020] In one embodiment, the display pattern of the display module is subjected to color interlacing to obtain a plurality of display templates, including: Create the first unit in the form of a four-square grid with red, green, blue and black from left to right and from top to bottom; Create the second unit in the form of a four-square grid by placing green, red, black and blue from left to right and from top to bottom; Create the third unit in the form of a four-square grid by placing blue, black, red and green from left to right and from top to bottom; Create the fourth unit in the form of a four-square grid by placing black, blue, green and red from left to right and from top to bottom; Arrange the first unit, the second unit, the third unit and the fourth unit from left to right and from top to bottom in a four-square grid to create the fifth unit; Arrange the second unit, the first unit, the fourth unit and the third unit from left to right and from top to bottom in a four-square grid to create the sixth unit; Create the seventh unit in the form of a four-square grid by placing the third unit, the fourth unit, the first unit, and the second unit from left to right and from top to bottom; Arrange the fourth unit, the third unit, the second unit and the first unit from left to right and from top to bottom in a four-square grid to create the eighth unit; The fifth unit is used as a display pattern to cover the display components of the display module to establish a first display template; The display components of the display module are covered with the sixth unit as the display pattern to establish a second display template; The display components of the display module are covered with the seventh unit as a display pattern to establish a third display template; The eighth unit is used as a display pattern to cover the display components of the display module, thereby establishing a fourth display template.

[0021] In this embodiment, the three colors of red, green and blue are determined according to the three luminous colors of the luminous point. If the three luminous colors of the luminous point are not red, green and blue, they are also changed synchronously according to the three luminous colors of the luminous point.

[0022] In this embodiment, if the three luminous colors of the luminous point are all non-luminous, the luminous point will appear black. If light leakage occurs, it will cause light to appear at the black position, that is, the luminous point corresponding to the position is a bright spot.

[0023] In this embodiment, the first unit, the second unit, the third unit, and the fourth unit include four light-emitting points, and each light-emitting point displays only one of the four colors of red, green, blue, and black, and the colors are different from each other.

[0024] In this embodiment, the fifth unit, the sixth unit, the seventh unit, and the eighth unit include 16 light-emitting points, and the colors of the four central light-emitting points must be consistent.

[0025] In this embodiment, if Figure 2As shown, it is a schematic diagram of the fifth unit. Taking the first display template as an example, except for the light-emitting point at the edge of the display module, for the four-square grid X1, the four colors are all different, and for the four-square grid X2, the four colors are all the same. The purpose of doing this is, on the one hand, to facilitate the determination of the display area, by increasing the number of adjacent display areas sending the same color light to reduce the mutual influence of the halo between the display areas; on the other hand, if there is a bad point, the halo of the color above and below the position is different, and the halo of the color on the left and right is different, which is smaller than the method of directly using the first unit as the display pattern to fill the display module to establish the first display template. If the colors in the first unit, the second unit, the third unit, and the fourth unit are randomly arranged, although the same purpose can be achieved, more computer equipment processing time is required in the template setting and the determination of the display area, and the influence of the halo is the same as the method of directly using the first unit as the display pattern to fill the display module to establish the first display template. Since black is the effect caused by the light-emitting point not emitting light, the light-emitting point set to black will not have a halo. Instead, the halo of other colors will act on the black light-emitting point. Therefore, the method of establishing a first display template by using a display component with the fifth unit as the display pattern to cover the entire display module can also weaken the influence of the light-emitting points around the light-emitting point set to black on the halo of the light-emitting point set to black.

[0026] In this embodiment, taking the first display template as an example, if the number of light-emitting points in each row or column of the display module is not a multiple of 4 and cannot be fully covered, the last unit in each row or column can select part of the fifth unit to complete it. For example, if there are only 2 light-emitting points left at the end of each row, and the fifth unit is 4*4 in specification, the left half of the fifth unit can be selected to complete it. Generally speaking, the fifth unit fills the display module in order from left to right and from top to bottom.

[0027] In one embodiment, the step of determining the display area corresponding to the light-emitting point on the display module on the display image according to the color change of the display image includes: S301, selecting any display image, dividing the selected display image into a plurality of sub-images according to a first preset area, and having overlapping portions of a second preset area between two adjacent sub-images; S302, for each sub-image, determining the RGB value of each pixel in the sub-image; S303, for each pixel, determining whether the RGB difference between the RGB value of the pixel and the RGB value of each adjacent pixel is less than or equal to a first preset value; if not, determining the pixel as a boundary pixel; S304, for each boundary pixel, determining a color interval corresponding to the boundary pixel according to the RGB value of the boundary pixel; S305, determining an image surrounded by adjacent boundary pixels in the same color interval as a first image and determining a color interval of each first image; S306, selecting a first image from the first images that are not at the edge of the sub-image and regularizing the selected first image, and obtaining the side length of the display area corresponding to the light-emitting point on the sub-image according to the area of ​​the regularized first image; S307, determining the display area corresponding to the light-emitting point on the display module on the selected display image in the sub-image according to the side length of the display area corresponding to the light-emitting point on the sub-image; S308, aligning the remaining display images with the selected display image, and determining the display area corresponding to the light-emitting point on the display module on the remaining display images according to the alignment result.

[0028] In this embodiment, for a displayed image, distortion is inevitable, and the closer to the edge, the greater the degree of distortion, so the side length of the display area at the edge of the displayed image is different from the side length of the display area at the center of the displayed image, so it is necessary to divide it into several sub-images to distinguish the display areas at different positions.

[0029] In this embodiment, taking the first display template as an example, the fifth unit is the minimum unit constituting the first display template. A first / second / third / fourth unit is composed of 4 display areas in a 4-grid, so the area of ​​the fifth unit is the area of ​​a square composed of 16 display areas in a 16-grid. The first preset area can be set to the area of ​​a square composed of 16 display areas in a 16-grid. Due to the existence of distortion, the first preset area is larger than the area of ​​a square composed of 16 display areas in a 16-grid. The area of ​​a square composed of 16 display areas in a 16-grid can be determined by the fifth unit of the display area at the center of the display image. Since the degree of distortion of the display area at the center is extremely small or even non-existent, the side length of the display area can also be directly determined according to the ratio of the display area at the center of the display image to the light-emitting point at the center of the display module. The side length of the first preset area can be set to a length that is 3 more than the sum of the side lengths of the 4 display areas. The side lengths of the extra 3 display areas are to ensure the tolerance of distortion and ensure that the first preset area can obtain four first images that are adjacent to each other and in different color intervals without bad pixels.

[0030] In this embodiment, in the present invention, the light-emitting point of the display module displays a square effect on the display module, and the first preset area is set to be a square based on this. At this time, only one side length of the display area needs to be determined. If the display effect of the light-emitting point is a rectangle, the length and width can be calculated separately, or the first preset area can be adjusted according to the aspect ratio of the light-emitting point to change the first preset area from a square to a rectangle.

[0031] In this embodiment, the two-to-two sub-images are two adjacent sub-images on the left or right or up and down. Because there is an overlapping part, they are called two-to-two sub-images. The length of one side of the overlapping part of the two sub-images is consistent with the length of the two adjacent sides. Pasting can be regarded as a single-direction translation of the frame of the sub-image in the up / down / left / right direction. Due to distortion, the first preset area needs to be larger than the area of ​​the square composed of 16 display areas in the 16-grid, and the calculation process is only for the middle part of the first preset area. The first image of the edge part is essentially integrated with the first image of the edge part of the sub-image that is pasted, that is, the fifth unit is divided into two parts, so the two adjacent sub-images on the left or right or up and down need to overlap to eliminate this problem. The second preset area can be the length of the side of the three display areas multiplied by the length of the side of the first preset area, or it can be half the length of the side of the first preset area multiplied by the side of the first preset area.

[0032] In this embodiment, the pixel adjacency is not only the adjacency between the edges, but also the adjacency between the corners, so the number of adjacent pixels of the pixels other than the pixels at the edge of the sub-image is 8. The number of adjacent pixels of the sub-image corner pixels is 3, and the number of adjacent pixels of the edge pixels of the sub-image excluding the corner pixels is 5.

[0033] 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 subtracting two RGB values.

[0034] In this embodiment, the RGB value of red is (255, 0, 0), the RGB value of green is (0, 255, 0), the RGB value of blue is (0, 0, 255), and the RGB value of black is (0, 0, 0). Even if the color of the halo is lighter, the halo of each color remains within the original color range, and the boundary pixels of two different color ranges are very different, so the boundary pixels can be determined by the brightness value difference. If one or more of the three brightness value differences obtained by subtracting two RGB values ​​is less than or equal to the first preset value, then it is determined that the RGB difference of the two RGB values ​​is less than or equal to the first preset value. Determine whether the RGB difference between the RGB value of the pixel and the RGB value of each adjacent pixel is less than or equal to a first preset value, specifically: select an adjacent pixel of the pixel and subtract the RGB value from the pixel to obtain three brightness value differences; determine whether the three brightness value differences are all less than or equal to the first preset value, if so, determine that the RGB value between the adjacent pixel of the pixel and the pixel is less than or equal to the first preset value, if not, determine that the RGB value between the adjacent pixel of the pixel and the pixel is greater than the first preset value; perform the above steps on all adjacent pixels of the pixel; determine whether the RGB difference between the RGB value of the pixel and the RGB value of each adjacent pixel is less than or equal to the first preset value.

[0035] In this embodiment, the first preset value may be set to 100.

[0036] In this embodiment, there are 4 color intervals, namely, red color interval, green color interval, blue color interval, and black color interval. The red color interval, green color interval, and blue color interval can be set with reference to the spectrum. The black color interval can be set between (0, 0, 0) and (100, 100, 100), but the three brightness values ​​of the black color interval need to remain consistent or the difference in brightness values ​​is within 10. It is worth noting that color interval and color are two different concepts. Color is monochrome, and there is only one RGB value corresponding to the color, while the color interval is a set of multiple similar colors. For example, the red color interval includes multiple colors such as red and orange. There are multiple RGB values ​​corresponding to the color interval.

[0037] In this embodiment, since the first image is obtained based on boundary pixels, pixels of the edge length of the image will inevitably be partially offset during the process, so the first image needs to be regularized so that its edge length is a straight line.

[0038] In this embodiment, in S307, the position of the selected first image has been determined, and the size and shape of the display area in the same first image are consistent, so knowing the side length of the display area can divide the selected first image into several display areas. As for the first image that is not selected in the sub-image, several display areas are also divided according to the side length of the display area. If a display area is included and divided by two sub-images at the same time, the one with the larger side length is selected as the final result. The correspondence between the light-emitting point on the display module and the display area can be matched by the correspondence between the light-emitting point in the row and column and the display area in the row and column.

[0039] In this embodiment, the other display images are only different in display templates, and the specifications of the display module and the camera and the distance between the two have not changed, so only alignment is required to obtain the display area corresponding to the light-emitting point on the other display images.

[0040] In one embodiment, the selecting a first image from the first image that is not at the edge of the sub-image and regularizing the selected first image, and obtaining the side length of the display area corresponding to the luminous point on the sub-image according to the regularized first image, includes: S401, acquiring a first image A which is not at the edge of a sub-image; S402, determining whether the number of the first images A is greater than or equal to 4, and if so, determining the area value of each first image A respectively; S403, judging whether the difference between the area values ​​of each pair of first images A is within a preset range according to the area value of each first image A, if so, selecting four first images B that are adjacent to each other and in different color intervals and regularizing the four first images B respectively, and executing S404; S404, according to Get the side length of the display area corresponding to the luminous point on the sub-image, where n is the number of the selected first images, i is the sequence number of the selected first image, S i is the area of ​​the regularized i-th first image; S405, if the difference between the area values ​​of each pair is not within the preset range, all the first images A are selected and regularized, and then S407 is executed; S406, determining that the number of first images A is less than 4, selecting all first images A and regularizing them, and executing S407; S407, obtaining any sub-image C that is attached to the sub-image, and taking the side length of the display area corresponding to the luminous point on the sub-image C as the side length of the display area corresponding to the luminous point on the sub-image.

[0041] In this embodiment, according to the setting of the display template, assuming that the influence of bad pixels and halo is not considered, the maximum area of ​​the first image is essentially composed of four display areas in a 4-grid, and these four display areas display the same color. For the first image at the edge of the sub-image, it is either the display area at the edge of the display image or the redundant part to ensure the tolerance of distortion. These do not constitute the four display areas in a 4-grid, and these four display areas display the same color, so the first image at the edge of the sub-image is excluded first.

[0042] In this embodiment, if the number of first images A is greater than or equal to 4, and the difference between the area values ​​of each pair is within the preset range, it indicates that there is no bad pixel in each first image A, and the result is that the area is composed of 4 display areas in a 4-square grid, and these 4 display areas display the same color. At this time, the number of first images A must be equal to 4. If the number of first images A is less than 4, there must be a bad pixel. If the number is greater than or equal to 4, but the difference between the area values ​​of each pair is not within the preset range, it also indicates that there is a bad pixel. In these two cases, the side length of the display area cannot be determined, and the side length of the display area of ​​the adjacent sub-image C can only be used as the side length of the corresponding display area on the sub-image.

[0043] In this embodiment, the preset range may be set to a range between 0 and the areas of two display regions at the center of the display image.

[0044] In this embodiment, the four first images B that are adjacent to each other and in different color intervals are not only adjacent to each other side by side, but also adjacent to each other corner by corner.

[0045] In this embodiment, n is 4. Due to the influence of halo, the areas of the four selected first images B may be different, but the difference will not be greater than the preset range, so the side length of the display area corresponding to the luminous point on the sub-image is determined by averaging.

[0046] In one embodiment, the dark spot judgment and bright spot judgment of the display areas on all displayed images include: S501, selecting a display image, and determining the RGB value of each display area on the display image; S502, determining the color that the display area should display according to the display template of the display image; S503, determining whether the color that the display area should display is black, and if so, determining whether the RGB value of the display area is the RGB value of black, and if so, determining the display area as a normal point on the display image; S504, if the RGB value of the display area is not the RGB value of black, the display area is determined as a bright spot on the display image; S505, if it is determined that the color that the display area should display is not black, determine whether the RGB value of the display area is the RGB value of the color that the display area should display; if not, determine the display area as a dark point on the display image; if yes, determine the display area as a normal point on the display image; S506, executing S501-S505 for the remaining display images.

[0047] In this embodiment, the display area should display only four colors: red, green, blue and black, so the color that the display area should display is not a color interval, but a certain color, and the RGB value of the color that the display area should display is also a certain value. For example, the RGB value of red is (255, 0, 0).

[0048] In this embodiment, only the black display area can be used to determine the bright spot, so only the black area is used to determine the bright spot, and the display areas of the other three colors are used to determine the dark spot.

[0049] In one embodiment, determining the RGB value of the display area includes: Get the RGB value of the center pixel of the display area; Determine the number x of pixels in the display area whose RGB difference with the RGB value of the central pixel is less than a second preset value; Determine the number y of all pixels in the display area; Determine whether the ratio of x to y is greater than a preset ratio. If so, determine the RGB value of the center pixel as the RGB value of the display area. If not, determine the RGB value of black as the RGB value of the display area.

[0050] In this embodiment, determining the RGB value of the display area is a very important step, because the display area consists of multiple pixels, and the pixels at the edge of the display area will be affected by the halo of other display areas, resulting in color changes, and the accuracy of the RGB value of a display area will affect the judgment of bright spots and dark spots.

[0051] In this embodiment, the second preset value may be set to 100.

[0052] In this embodiment, if one or more of the three brightness value differences obtained by subtracting two RGB values ​​are less than or equal to a second preset value, then it is determined that the RGB difference between the two RGB values ​​is less than or equal to the second preset value.

[0053] In this embodiment, the preset ratio can be obtained in a bad pixel simulation environment, where a light point that is supposed to emit color light is changed to non-luminous to simulate the invasion ratio of the surrounding halo to the light point in an environment of a bad pixel. The preset ratio is set slightly larger than the invasion ratio. For example, if the invasion ratio is 9 / 25, the preset ratio can be set to 10 / 25.

[0054] In this embodiment, only red, green and blue colors will produce halos, and black is caused by the fact that the light-emitting point does not emit light, so there is no halo. For the three colors of red, green and blue, the light-emitting point itself will emit corresponding color light, and the RGB value of the central pixel is the color light emitted by the corresponding light-emitting point. There are three situations for the light-emitting points of red, green and blue: the first is that the color display is normal, the second is that the color display is dark, and the third is that there is no display color; for the first and second situations, the ratio of x to y must be greater than the preset ratio, and the RGB value of the central pixel is the corresponding color light; for the third situation, the display area is black at this time, so the RGB value of black is determined as the RGB value of the display area. There are two situations for the black luminous point: one is no light, and the other is a tiny amount of light. For the first situation, since the RGB value of the central pixel is the RGB value of black, if the ratio of x to y is greater than the preset ratio, the RGB value of the central pixel is determined as the RGB value of the display area, that is, the RGB value of black is determined as the RGB value of the display area. For the second situation, at this time, the ratio of x to y must be greater than the preset ratio, and the RGB value of the central pixel is determined as the RGB value of the display area.

[0055] In this embodiment, there are multiple reasons for using the central pixel. For example, the display area is divided, and the pixels at the edge of the display area may be pixels affected by the halo. The RGB values ​​of these pixels cannot be considered. Moreover, the colors in different directions are different, and the changes in the RGB values ​​after the impact are also different.

[0056] In one embodiment, the step of determining the dark spot target area, the dead spot target area, and the bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment includes: Determine a display area determined as a bright spot on any display image as a bright spot target area; For a display area determined as a dark spot in any display image, determine whether the RGB values ​​of the display area in all display images are black RGB values. If so, determine the display area as a dead point target area; if not, determine the display area as a dark point target area.

[0057] In this embodiment, the RGB values ​​of the dead point target area in all displayed images are all black RGB values.

[0058] In this embodiment, the bright spot target area must not be a dead spot target area.

[0059] In one embodiment, the step of determining the bad pixels in the display module according to the dark spot target area, the bright spot target area, and the dead spot target area includes: Determine the luminous point corresponding to the bright spot target area in the display module as a bad point belonging to the bright spot in the display module; Determine the luminous point corresponding to the dead point target area in the display module as a bad point belonging to the dead point in the display module; For each dark spot target area, the color A that should be displayed by the dark spot target area is determined based on the display template of the display image in which the dark spot target area is judged to be a dark spot, the luminous point corresponding to the dark spot target area in the display module is determined as a bad point belonging to the dark spot in the display module, and the defective color of the dark spot is determined based on the color A.

[0060] In this embodiment, dark spots include defective dark spots in different colors of red, green and blue.

[0061] like Figure 3 As shown, in one embodiment, a display module bad pixel detection device is provided, which may specifically include: A display template setting module, used for setting the display pattern of the display module in an interlaced manner to obtain a plurality of display templates; A display image acquisition module, used to control the image acquisition module to respectively acquire display images when the display module displays different display templates; A display area determination module, used to determine the display area corresponding to the light-emitting point on the display module on the display image according to the color change of the display image; A dark spot and bright spot judgment module is used to judge dark spots and bright spots in all display areas on the displayed images; A target area determination module is used to determine a dark spot target area, a dead spot target area and a bright spot target area according to the results of dark spot judgment and bright spot judgment; The bad pixel determination module is used to determine the bad pixels in the display module according to the dark pixel target area, the bright pixel target area and the dead pixel target area.

[0062] In this embodiment, each module of the display module bad pixel detection device 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.

[0063] In one embodiment, a display module bad pixel detection system is provided, which may specifically include: 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 display templates; The computer device is used to execute the steps of the above-mentioned display module bad pixel detection method.

[0064] 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.

[0065] A display module bad pixel detection system provided by an embodiment of the present invention obtains a plurality of display templates by setting the colors of the display pattern of the display module in an interlaced manner; controls the image acquisition module to respectively acquire and collect display images when the display module displays different display templates; determines the display area corresponding to the luminous point on the display module on the display image according to the color change of the display image; performs dark spot judgment and bright spot judgment on the display area on all display images; determines the dark spot target area, the dead spot target area and the bright spot target area according to the results of the dark spot judgment and the bright spot judgment; and determines the bad pixels in the display module according to the dark spot target area, the bright spot target area and the dead spot target area. In this way, the display graphics obtained by the display template with interlaced colors have different colors of halos, which reduces the influence of the position of the bad pixel on the pure color background by the halos of the same color around it, thereby causing inaccurate identification of the bad pixel; and the display area is determined according to the color change of the displayed image, not according to the ratio of the displayed image to the display module. In areas with more serious image distortion, the display area corresponding to the luminous point can be accurately determined, which greatly reduces the further influence of the halo on the position of the bad pixel due to the positioning error of the display area; the influence of the halo on the position of the bad pixel is weakened from the two angles of the source of the luminous point and the positioning of the luminous point, thereby solving the problem of inaccurate bad pixel detection.

[0066] Figure 4 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 4As 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 display module bad pixel detection method provided in 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 display module bad pixel detection method provided in 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.

[0067] Those skilled in the art will understand that Figure 4 The 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.

[0068] In one embodiment, a display module bad pixel detection device provided by an embodiment of the present invention can be implemented in the form of a computer program. The computer program can be used in Figure 4 The computer device shown in the figure is run on the computer device. The memory of the computer device can store various program modules constituting the display module bad pixel detection device, for example, Figure 3 The computer program composed of the display template setting module, display image acquisition module, display area determination module, dark spot and bright spot judgment module, target area determination module and bad spot determination module shown in the figure enables the processor to execute the steps of a display module bad spot detection method of each embodiment of the present invention described in this specification.

[0069] For example, Figure 4 The computer device shown can be Figure 3 The display template setting module in the display module bad pixel detection device shown executes step S101; the computer device can execute step S102 through the display image acquisition module; the computer device can execute step S103 through the display area determination module; the computer device can execute step S104 through the dark spot and bright spot judgment module; the computer device can execute step S105 through the target area determination module; the computer device can execute step S106 through the bad pixel determination module.

[0070] 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: S101, performing color interlacing on a display pattern of a display module to obtain a plurality of display templates; S102, controlling the image acquisition module to respectively acquire display images when the display module displays different display templates; S103, determining a display area corresponding to a light-emitting point on a display module on the display image according to a color change of the display image; S104, performing dark spot judgment and bright spot judgment on display areas on all display images; S105, determining a dark spot target area, a dead spot target area, and a bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment; S106, determining bad pixels in the display module according to the dark pixel target area, the bright pixel target area, and the dead pixel target area.

[0071] 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: S101, performing color interlacing on a display pattern of a display module to obtain a plurality of display templates; S102, controlling the image acquisition module to respectively acquire display images when the display module displays different display templates; S103, determining a display area corresponding to a light-emitting point on a display module on the display image according to a color change of the display image; S104, performing dark spot judgment and bright spot judgment on display areas on all display images; S105, determining a dark spot target area, a dead spot target area, and a bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment; S106, determining bad pixels in the display module according to the dark pixel target area, the bright pixel target area, and the dead pixel target area.

[0072] 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. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method 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 may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may 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).

[0073] 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.

[0074] 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 detecting bad pixels of a display module, characterized in that: The display module bad pixel detection method comprises: S101, performing color interlacing on a display pattern of a display module to obtain a plurality of display templates; S102, controlling the image acquisition module to respectively acquire display images when the display module displays different display templates; S103, determining a display area corresponding to a light-emitting point on a display module on the display image according to a color change of the display image; S104, performing dark spot judgment and bright spot judgment on display areas on all display images; S105, determining a dark spot target area, a dead spot target area, and a bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment; S106, determining bad pixels in the display module according to the dark pixel target area, the bright pixel target area, and the dead pixel target area.

2. The display module bad pixel detection method according to claim 1, characterized in that: The display pattern of the display module is subjected to color interlacing to obtain a plurality of display templates, including: Create the first unit in the form of a four-square grid with red, green, blue and black from left to right and from top to bottom; Create the second unit in the form of a four-square grid by placing green, red, black and blue from left to right and from top to bottom; Create the third unit in the form of a four-square grid by placing blue, black, red and green from left to right and from top to bottom; Create the fourth unit in the form of a four-square grid by placing black, blue, green and red from left to right and from top to bottom; Arrange the first unit, the second unit, the third unit and the fourth unit from left to right and from top to bottom in a four-square grid to create the fifth unit; Arrange the second unit, the first unit, the fourth unit and the third unit from left to right and from top to bottom in a four-square grid to create the sixth unit; Create the seventh unit in the form of a four-square grid by placing the third unit, the fourth unit, the first unit, and the second unit from left to right and from top to bottom; Arrange the fourth unit, the third unit, the second unit and the first unit from left to right and from top to bottom in a four-square grid to create the eighth unit; The fifth unit is used as a display pattern to cover the display components of the display module to establish a first display template; The display components of the display module are covered with the sixth unit as the display pattern to establish a second display template; The display components of the display module are covered with the seventh unit as a display pattern to establish a third display template; The eighth unit is used as a display pattern to cover the display components of the display module, thereby establishing a fourth display template.

3. The display module bad pixel detection method according to claim 1, characterized in that: The method of determining the display area corresponding to the light-emitting point on the display module on the display image according to the color change of the display image comprises: S301, selecting any display image, dividing the selected display image into a plurality of sub-images according to a first preset area, and having overlapping portions of a second preset area between two adjacent sub-images; S302, for each sub-image, determining the RGB value of each pixel in the sub-image; S303, for each pixel, determining whether the RGB difference between the RGB value of the pixel and the RGB value of each adjacent pixel is less than or equal to a first preset value; if not, determining the pixel as a boundary pixel; S304, for each boundary pixel, determining a color interval corresponding to the boundary pixel according to the RGB value of the boundary pixel; S305, determining an image surrounded by adjacent boundary pixels in the same color interval as a first image and determining a color interval of each first image; S306, selecting a first image from the first images that are not at the edge of the sub-image and regularizing the selected first image, and obtaining the side length of the display area corresponding to the light-emitting point on the sub-image according to the area of ​​the regularized first image; S307, determining the display area corresponding to the light-emitting point on the display module on the selected display image in the sub-image according to the side length of the display area corresponding to the light-emitting point on the sub-image; S308, aligning the remaining display images with the selected display image, and determining the display area corresponding to the light-emitting point on the display module on the remaining display images according to the alignment result.

4. The display module bad pixel detection method according to claim 3, characterized in that: The step of selecting a first image from the first image that is not at the edge of the sub-image and regularizing the selected first image, and obtaining the side length of the display area corresponding to the luminous point on the sub-image according to the regularized first image, includes: S401, acquiring a first image A which is not at the edge of a sub-image; S402, determining whether the number of the first images A is greater than or equal to 4, and if so, determining the area value of each first image A respectively; S403, judging whether the difference between the area values ​​of each pair of first images A is within a preset range according to the area value of each first image A, if so, selecting four first images B that are adjacent to each other and in different color intervals and regularizing the four first images B respectively, and executing S404; S404, according to Get the side length of the display area corresponding to the luminous point on the sub-image, where n is the number of the selected first images, i is the sequence number of the selected first image, S i is the area of ​​the regularized i-th first image; S405, if the difference between the area values ​​of each pair is not within the preset range, all the first images A are selected and regularized, and then S407 is executed; S406, determining that the number of first images A is less than 4, selecting all first images A and regularizing them, and executing S407; S407, obtaining any sub-image C that is attached to the sub-image, and taking the side length of the display area corresponding to the luminous point on the sub-image C as the side length of the display area corresponding to the luminous point on the sub-image.

5. The display module bad pixel detection method according to claim 1, characterized in that: The dark spot judgment and bright spot judgment of the display areas on all the displayed images include: S501, selecting a display image, and determining the RGB value of each display area on the display image; S502, determining the color that the display area should display according to the display template of the display image; S503, determining whether the color that the display area should display is black, and if so, determining whether the RGB value of the display area is the RGB value of black, and if so, determining the display area as a normal point on the display image; S504, if the RGB value of the display area is not the RGB value of black, the display area is determined as a bright spot on the display image; S505, if it is determined that the color that the display area should display is not black, determine whether the RGB value of the display area is the RGB value of the color that the display area should display; if not, determine the display area as a dark point on the display image; if yes, determine the display area as a normal point on the display image; S506, executing S501-S505 for the remaining display images.

6. The display module bad pixel detection method according to claim 5, characterized in that: Determining the RGB value of the display area includes: Get the RGB value of the center pixel of the display area; Determine the number x of pixels in the display area whose RGB difference with the RGB value of the central pixel is less than a second preset value; Determine the number y of all pixels in the display area; Determine whether the ratio of x to y is greater than a preset ratio. If so, determine the RGB value of the center pixel as the RGB value of the display area. If not, determine the RGB value of black as the RGB value of the display area.

7. The display module bad pixel detection method according to claim 1, characterized in that: The method of determining the dark spot target area, the dead spot target area and the bright spot target area respectively according to the results of the dark spot judgment and the bright spot judgment comprises: Determine a display area determined as a bright spot on any display image as a bright spot target area; For a display area determined as a dark spot in any display image, determine whether the RGB values ​​of the display area in all display images are black RGB values. If so, determine the display area as a dead point target area; if not, determine the display area as a dark point target area.

8. The display module bad pixel detection method according to claim 1, characterized in that: The method of determining the bad pixels in the display module according to the dark spot target area, the bright spot target area and the dead spot target area includes: Determine the luminous point corresponding to the bright spot target area in the display module as a bad point belonging to the bright spot in the display module; Determine the luminous point corresponding to the dead point target area in the display module as a bad point belonging to the dead point in the display module; For each dark spot target area, the color A that should be displayed by the dark spot target area is determined based on the display template of the display image in which the dark spot target area is judged to be a dark spot, the luminous point corresponding to the dark spot target area in the display module is determined as a bad point belonging to the dark spot in the display module, and the defective color of the dark spot is determined based on the color A.

9. A display module bad pixel detection device, characterized in that: The display module bad pixel detection device comprises: A display template setting module, used for setting the display pattern of the display module in an interlaced manner to obtain a plurality of display templates; A display image acquisition module, used to control the image acquisition module to respectively acquire display images when the display module displays different display templates; A display area determination module, used to determine the display area corresponding to the light-emitting point on the display module on the display image according to the color change of the display image; A dark spot and bright spot judgment module is used to judge dark spots and bright spots in all display areas on the displayed images; A target area determination module is used to determine a dark spot target area, a dead spot target area and a bright spot target area according to the results of dark spot judgment and bright spot judgment; The bad pixel determination module is used to determine the bad pixels in the display module according to the dark pixel target area, the bright pixel target area and the dead pixel target area.

10. A display module bad pixel detection system, characterized in that: The display module bad pixel detection system comprises: 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 display templates; The computer device is used to execute the steps of the display module bad pixel detection method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Automatic optical detection method and automatic optical detection system

    CN104749184A

  • Display panel fault detection method and device system and a storage medium

    CN109767711A

  • Defect detection method, device and equipment and readable storage medium

    CN113256635A

  • Fusion method, device and equipment based on AOI equipment acquisition image and medium

    CN114638824A

  • Dead pixel detection method, system and equipment for liquid crystal display screen and storage medium

    CN119492522A