A defect indication method, device and computer equipment for display module detection

By using slice images and camera perspective segmentation technology in display module detection, the location of dead pixels on the display module is accurately located, thus solving the problem of inaccurate positioning in the existing technology.

CN117849068BActive Publication Date: 2024-08-27深圳市深顺欣科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410070435.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-18
Publication Date
2024-08-27
Estimated Expiration
2044-01-18

AI Technical Summary

Technical Problem

Existing display module detection methods are difficult to accurately locate the specific location of dead pixels on the display module, mainly due to distortion and size inconsistencies in image acquisition.

Method used

By obtaining the dead pixel image of the display module, the auxiliary image corresponding to the dead pixel image is determined, and two slices perpendicular to the dead pixel image are made through the dead pixel to obtain mutually perpendicular slice images. The target clip is determined based on the camera center point and the recognition distance. Angle, segment the camera angle, adjust the segmentation angle, repair the pixels on the slice image, calculate the actual position of the dead pixel in the slice image, and finally determine the coordinate position of the dead pixel on the display module.

Benefits of technology

It achieves accurate positioning of dead pixels on the display module and solves the problem of inaccurate positioning caused by image distortion and size inconsistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117849068B
    Figure CN117849068B
Patent Text Reader

Abstract

The present invention relates to the field of display module detection technology, and in particular to a defect indication method, device and computer equipment for display module detection. The method comprises: obtaining a bad pixel image of a display module and its corresponding auxiliary image, determining the identification spacing according to the auxiliary image; making two sections perpendicular to the bad pixel image through the bad pixel; for any section image, determining a target angle; obtaining a plurality of segmentation angles according to the target angle; determining the pixel corresponding to each segmentation angle on the bad pixel image; for each segmentation angle, obtaining an adjustment angle according to the segmentation angle; for each adjustment angle, repairing the opposite side of the adjustment angle and calculating the repair coefficient of the opposite side of the adjustment angle; determining the actual position of the bad pixel on the bad pixel image in the section image; and determining the coordinate position of the bad pixel on the display module according to the two actual positions of the bad pixel. The present invention solves the problem of accurately determining the position of the bad pixel on the display module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of display module detection, and in particular to a defect indication method, device and computer equipment for display module detection. Background Art

[0002] The display module is composed of a multi-layer structure. After the finished product is produced, the display effect of the display module needs to be tested to determine whether the display module is qualified.

[0003] Currently, the detection of display modules generally adopts the image acquisition method. The display module is first lit up to display a specific pattern, and then the image of the display module is captured by the camera. By analyzing the difference between the image and the standard image, it is possible to find out whether there are bad pixels, thereby judging whether the display module is qualified.

[0004] This method detects the presence of bad pixels in the display module, but due to the distortion of the captured image, only the approximate position of the bad pixel in the image can be obtained, and since the size of the captured image is inconsistent with the actual display module, it is even more difficult to locate the specific position of the bad pixel in the display module. Therefore, how to accurately determine the position of the bad pixel on the display module is a problem that needs to be solved. Summary of the invention

[0005] Based on this, it is necessary to provide a defect indication method, device and computer equipment for display module detection to address the above problems.

[0006] The embodiment of the present invention is implemented as follows: a defect indication method for display module detection, the defect indication method for display module detection comprising:

[0007] Get the bad pixel image of the display module;

[0008] Determine the auxiliary image corresponding to the bad pixel image, and determine the recognition interval according to the auxiliary image;

[0009] Make two sections perpendicular to the bad pixel image through the bad pixel to obtain two section images perpendicular to each other;

[0010] For any slice image, a target angle is determined based on the camera center point and the recognition distance;

[0011] The camera viewing angle is segmented according to the target angle to obtain several segmentation angles;

[0012] Determine the pixel corresponding to each segmentation angle on the bad pixel image;

[0013] For each segmentation angle, the angle of the segmentation angle is adjusted according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle;

[0014] For each adjustment angle, the opposite side of the adjustment angle is repaired according to the identification spacing and the repair coefficient of the opposite side of the adjustment angle is calculated;

[0015] Determine the actual position of the bad point on the bad point image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located;

[0016] The coordinate position of the bad pixel on the display module is determined according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular section images.

[0017] In one embodiment, the present invention provides a defect indication device for display module detection, the defect indication device for display module detection comprising:

[0018] A bad pixel image acquisition module is used to acquire a bad pixel image of a display module;

[0019] A recognition interval determination module is used to determine the auxiliary image corresponding to the bad pixel image, and determine the recognition interval according to the auxiliary image;

[0020] A section image determination module is used to make two sections perpendicular to the bad point image through the bad point to obtain two section images perpendicular to each other;

[0021] A target angle determination module is used to determine a target angle for any section image according to the camera center point and the recognition distance;

[0022] A segmentation angle determination module is used to segment the camera viewing angle according to the target angle to obtain a number of segmentation angles;

[0023] A pixel determination module is used to determine the pixel corresponding to each segmentation angle on the bad pixel image;

[0024] An angle adjustment module is used to adjust the angle of each segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle;

[0025] A module for repairing opposite sides, for repairing the opposite sides of each adjustment angle according to the identification interval and calculating a repair coefficient of the opposite sides of the adjustment angle;

[0026] A module for determining the position of a bad pixel section is used to determine the actual position of the bad pixel on the bad pixel image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad pixel is located;

[0027] The module for determining the actual position of the bad pixel is used to determine the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular section images.

[0028] In one embodiment, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned defect indication method for display module detection.

[0029] A defect indication method for display module detection provided by an embodiment of the present invention comprises the following steps: obtaining a bad pixel image of a display module; determining an auxiliary image corresponding to the bad pixel image, and determining an identification distance according to the auxiliary image; making two sections perpendicular to the bad pixel image through the bad pixel to obtain two mutually perpendicular section images; for any section image, determining a target angle according to a camera center point and an identification distance; dividing the camera viewing angle according to the target angle to obtain a plurality of segmentation angles; determining the pixels corresponding to each segmentation angle on the bad pixel image; for each segmentation angle, adjusting the angle of the segmentation angle according to the pixels corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle; for each adjustment angle, repairing the opposite side of the adjustment angle according to the identification distance and calculating the repair coefficient of the opposite side of the adjustment angle; determining the actual position of the bad pixel on the bad pixel image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad pixel is located; and determining the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel image of the two mutually perpendicular section images. This solves the problem of accurately determining the location of the bad pixel on the display module. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flowchart of a defect indication method for display module detection provided in one embodiment;

[0031] Figure 2 A logic diagram of a defect indication method for display module detection provided in one embodiment;

[0032] Figure 3 A schematic diagram of a defect indication method for display module detection provided in an embodiment;

[0033] Figure 4 It is a structural block diagram of a defect indication device for display module detection in one embodiment;

[0034] Figure 5 FIG. 4 is a block diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

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

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

[0037] like Figure 1 , Figure 2 As shown, in one embodiment, a defect indication method for display module detection is proposed, which may specifically include the following steps:

[0038] S101, obtaining a bad pixel image of a display module;

[0039] S102, determining an auxiliary image corresponding to the bad pixel image, and determining a recognition interval according to the auxiliary image;

[0040] S103, making two sections perpendicular to the bad pixel image through the bad pixel, to obtain two section images perpendicular to each other;

[0041] S104, for any cross-sectional image, determining a target angle according to the camera center point and the recognition distance;

[0042] S105, segmenting the camera viewing angle according to the target angle to obtain a plurality of segmentation angles;

[0043] S106, determining the pixel corresponding to each segmentation angle on the bad pixel image;

[0044] S107, for each segmentation angle, adjusting the angle of the segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjusted angle;

[0045] S108, for each adjustment angle, repairing the opposite side of the adjustment angle according to the identification interval and calculating the repair coefficient of the opposite side of the adjustment angle;

[0046] S109, determining the actual position of the bad point on the bad point image in the cross-sectional image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located;

[0047] S110, determining the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular cross-sectional images.

[0048] In this embodiment, the bad pixel image of the display module is obtained by taking pictures with a camera. How to obtain the bad pixel image of the display module is a prior art and will not be described in detail here.

[0049] In this embodiment, since a camera is used to obtain the bad pixel image of the display module, the bad pixel image has a certain degree of distortion, and the distortion is more serious the farther away from the center point. In this way, if the bad pixel is at the edge, the coordinate position of the bad pixel in the display module obtained based on the bad pixel image is inaccurate, and therefore the coordinate position of the bad pixel in the display module needs to be repaired.

[0050] In this embodiment, the size of the auxiliary image is the same as that of the bad pixel image, and the auxiliary image is used to determine the recognition interval.

[0051] In this embodiment, since the bad pixel image is composed of pixels, two cross-sections perpendicular to the bad pixel image are made through the bad pixel, which are also cross-sections of the pixels. Since the pixel itself has width, the obtained cross-section image is a line segment, which is the imaging length of the bad pixel image in the cross-section image rather than the actual length.

[0052] In this embodiment, the center point of the camera can be set to the center point of the mirror in the camera lens. This is because the image captured by the camera at the center point will not be distorted. The target angle is determined based on the center point of the camera, and the opposite side corresponding to the target angle is near the center of the image captured by the camera, so there is almost no distortion.

[0053] In this embodiment, the viewing angle of the camera is determined by the camera lens. For example, the angle of a standard lens is about 45°, the angle of a wide-angle lens is 60-80°, and the angle of a wide-angle lens is 80-120°.

[0054] In this embodiment, when the camera view angle is divided according to the target angle, the camera view angle is divided according to the size of the target angle, and the target angle is set as the first division angle, and the division is performed on both sides of the target angle with the target angle as the center. If the last remaining camera view angle is smaller than the target angle, the last remaining camera view angle is also regarded as a division angle.

[0055] In this embodiment, the more pixels the segmentation angle that is farther from the target angle corresponds to on the bad pixel image. In theory, the opposite sides of each segmentation angle are the same in actual distance, but due to image distortion, the imaging distance of the segmentation angle that is farther from the target angle is longer. Therefore, in order to reduce the impact of image distortion, in theory, the opposite side of each segmentation angle should be repaired. Since the adjacent side of the segmentation angle may fall within the width range of the pixel, the segmentation angle needs to be adjusted so that the number of pixels corresponding to the opposite side of each segmentation angle is an integer.

[0056] In this embodiment, the adjacent side of the segmentation angle may just fall within the width of the pixel, so it is necessary to determine the segmentation angle to which the pixel belongs. A pixel can only belong to one segmentation angle, so for the pixel that just intersects the adjacent side of the segmentation angle, the angle of the segmentation angle needs to be readjusted according to the pixel after the attribution is determined.

[0057] In this embodiment, the opposite side of the adjustment angle is essentially a part of the line segment represented by the bad pixel image in the cross-section image, so repairing the opposite side of the adjustment angle is essentially repairing the distortion of the bad pixel image to obtain the actual length of the line segment represented by the bad pixel image in the cross-section image.

[0058] In this embodiment, theoretically, the opposite side of the segmentation angle should be repaired. However, since the adjacent side of the segmentation angle may just fall within the width of the pixel, the segmentation angle is adjusted to obtain the adjusted angle. There is a maximum difference of 2 pixels between the opposite side of the adjusted angle and the opposite side of the segmentation angle. Therefore, repairing the opposite side of the adjusted angle replaces repairing the opposite side of the segmentation angle.

[0059] In this embodiment, the actual position of the bad pixel on the bad pixel image in the section image can be determined based on the actual length of the line segment of the bad pixel image in the section image and the position of the bad pixel in the bad pixel image of the section image, or the position of the bad pixel can be determined directly based on the relative distance between the bad pixel and the center point of the bad pixel image of the section image.

[0060] In this embodiment, if Figure 3 As shown, point P is a bad point, angle c is the target angle, and angle e is the segmentation angle.

[0061] In this embodiment, the center point of the camera is opposite to the center point of the bad pixel image on the z-axis of space. The plane of the display module can be set as the XOY plane, and the center point of the display module can be set as the origin. The relative distance between the bad pixel and the center point of the bad pixel pattern in the X-axis direction and the Y-axis direction can determine the coordinate position of the bad pixel on the display module. The plane of the display module is the plane of the bad pixel image, and the center point of the display module is the center point of the bad pixel image.

[0062] A defect indication method for display module detection provided by an embodiment of the present invention comprises the following steps: obtaining a bad pixel image of a display module; determining an auxiliary image corresponding to the bad pixel image, and determining an identification distance according to the auxiliary image; making two sections perpendicular to the bad pixel image through the bad pixel to obtain two mutually perpendicular section images; for any section image, determining a target angle according to a camera center point and an identification distance; dividing the camera viewing angle according to the target angle to obtain a plurality of segmentation angles; determining the pixels corresponding to each segmentation angle on the bad pixel image; for each segmentation angle, adjusting the angle of the segmentation angle according to the pixels corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle; for each adjustment angle, repairing the opposite side of the adjustment angle according to the identification distance and calculating the repair coefficient of the opposite side of the adjustment angle; determining the actual position of the bad pixel on the bad pixel image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad pixel is located; and determining the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel image of the two mutually perpendicular section images. This solves the problem of accurately determining the location of the bad pixel on the display module.

[0063] In one embodiment, determining the auxiliary image corresponding to the bad pixel image and determining the identification interval according to the auxiliary image includes:

[0064] After obtaining the bad pixel image of the display module, keep the position of the camera unchanged and obtain several auxiliary images with uniformly staggered black and white areas. The number of pixels in a single black area or white area of ​​the auxiliary image is ;

[0065] For each auxiliary image, the auxiliary image is magnified to a preset multiple, and the auxiliary image is identified according to the RGB values ​​of the black pixels and the RGB values ​​of the white pixels;

[0066] Determine whether the black area and the white area in the recognition result are still evenly interlaced. If so, filter out the auxiliary image;

[0067] Determine the auxiliary image with the smallest i from all the screened auxiliary images, and determine the auxiliary image as the auxiliary image corresponding to the bad pixel image;

[0068] The side length of the black area or the white area of ​​the auxiliary image corresponding to the bad pixel image is determined as the recognition interval;

[0069] The initial value of i is 1, and i is accumulated by 1 each time an auxiliary image is obtained.

[0070] In this embodiment, for several black and white auxiliary images with evenly interlaced black and white areas, if i is 1, a single black area or white area of ​​the auxiliary image is 1 pixel; if i is 2, a single black area or white area of ​​the auxiliary image is a square area composed of 4 pixels; and so on for i being other positive integers.

[0071] In this embodiment, i is a positive integer. In order to reduce the number of auxiliary images, i can be set to between 1-10.

[0072] In this embodiment, the preset magnification may be set as the maximum magnification for image recognition by the computer device.

[0073] In this embodiment, during the screening process, the corresponding auxiliary images can be screened according to the order of i from large to small. For example, when i is 3, that is, 9 pixels of a single black area or white area constitute a square area, and the black area and the white area are still evenly staggered in the recognition result, then the auxiliary image corresponding to i being 3 will be screened out; when i is 2, that is, 4 pixels of a single black area or white area constitute a square area, and the number of pixels in the black area or white area in the recognition result is not equal to 4, then the auxiliary image corresponding to i being 2 will not be screened out, because the single black area or white area of ​​the auxiliary image cannot be clearly identified, that is, the camera cannot identify the square area composed of 4 pixels. Therefore, i is selected as 3 as the auxiliary image corresponding to the bad pixel image.

[0074] In this embodiment, if i is 3, the recognition interval is the sum of the side lengths of 3 pixels.

[0075] In this embodiment, the recognition pitch is the minimum pitch that can accurately read the pixel value of the bad pixel image.

[0076] In one embodiment, Figure 3 As shown, determining a target angle according to the camera center point and the recognition distance includes:

[0077] Draw a vertical line A perpendicular to the bad pixel image from the center point of the camera;

[0078] Take the intersection of A on the bad pixel image as the starting point, and take a line segment B with a length equal to the identification spacing on the bad pixel image toward the side where the bad pixel is located;

[0079] Determine a triangle based on A and B, and record the angle corresponding to B as the target angle.

[0080] In this embodiment, if Figure 3As shown, the vertical line A is a line segment, and the bad pixel image in the cross-section image is also a line segment, so the vertical line A and the bad pixel image in the cross-section image are perpendicular to each other and there is an intersection. According to the principle of determining a triangle, knowing the two line segments and the angle between the two line segments, a triangle can be determined.

[0081] In this embodiment, the identification spacing is taken for the opposite sides of the target angle, and the identification spacing is the minimum spacing that can accurately read the pixel value of the bad pixel image. In this way, the camera viewing angle can be divided to obtain the maximum number of segmentation angles, thereby increasing the accuracy of repairing the distortion of the bad pixel image.

[0082] In this embodiment, if Figure 3 As shown, angle c is the target angle.

[0083] In one embodiment, Figure 3 As shown, the step of determining the pixel corresponding to each segmentation angle on the bad pixel image includes:

[0084] For each segmentation angle, determine the opposite side of the segmentation angle according to the adjacent side of the segmentation angle;

[0085] Take the target angle as the first segmentation angle, and sort the segmentation angles from near to far from the target angle toward the side where the bad point is located;

[0086] A segmentation angle is selected in sequence according to the order, and the pixel corresponding to the segmentation angle on the bad pixel image is determined according to the adjacent side and the opposite side of the segmentation angle.

[0087] In this embodiment, the two adjacent sides of the segmentation angle have intersections with the bad pixel image in the section image, so a closed triangle can be obtained. The opposite side of the segmentation angle is essentially a part of the line segment shown by the bad pixel image in the section image.

[0088] In this embodiment, the larger the serial number of the segmentation angle is, the more pixels the segmentation angle corresponds to on the bad pixel image.

[0089] In this embodiment, if Figure 3 As shown, angle e is a dividing angle having the same angle as angle c, and angle c can be regarded as the first dividing angle.

[0090] In one embodiment, determining the pixel corresponding to the segmentation angle on the bad pixel image according to the adjacent side and the opposite side of the segmentation angle includes:

[0091] For each pixel of the bad pixel image on the section image, determine whether the pixel completely falls within the opposite side of the segmentation angle, and if so, determine the pixel as the pixel corresponding to the segmentation angle on the bad pixel image;

[0092] If the pixel does not completely fall into the opposite side of the segmentation angle, then determine whether the pixel intersects with the adjacent side of the segmentation angle close to the target angle. If so, then determine whether the number of pixels corresponding to the previous segmentation angle on the bad pixel image is greater than or equal to the number of pixels corresponding to the segmentation angle on the bad pixel image. If so, then determine the pixel as the pixel corresponding to the segmentation angle on the bad pixel image.

[0093] If the number of pixels corresponding to the previous segmentation angle on the bad pixel image is less than the number of pixels corresponding to the current segmentation angle on the bad pixel image, determine whether the length corresponding to the segmentation angle on the pixel is greater than half of the length of the pixel. If so, determine the pixel as the pixel corresponding to the segmentation angle on the bad pixel image. If not, determine the pixel as the pixel corresponding to the previous segmentation angle on the bad pixel image.

[0094] In this embodiment, in essence, it is only necessary to determine the pixel corresponding to the segmentation angle, and there is no need to determine all the pixels. That is, if the pixel does not intersect with the adjacent side of the segmentation angle close to the target angle, and the prerequisite is that the pixel does not completely fall into the opposite side of the segmentation angle, then there is no need to determine the ownership of the pixel in the process of determining the segmentation angle.

[0095] In this embodiment, if a pixel intersects with an adjacent side of the segmentation angle that is far away from the target angle, the pixel is judged with the next segmentation angle to determine the ownership of the pixel.

[0096] In this embodiment, during the pixel attribution process, it is ensured that the number of pixels corresponding to the segmentation angle close to the target angle of two adjacent segmentation angles is less than or equal to the number of pixels corresponding to the other segmentation angle.

[0097] In this embodiment, in fact, in the process of judging whether the number of pixels corresponding to the previous segmentation angle on the bad pixel image is greater than or equal to the number of pixels corresponding to the segmentation angle on the bad pixel image, the situation where the number of pixels corresponding to the previous segmentation angle on the bad pixel image is greater than the number of pixels corresponding to the segmentation angle on the bad pixel image will not occur.

[0098] In one embodiment, the step of adjusting the angle of the segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain the adjustment angle includes:

[0099] Determine the line segment formed by the side lengths of all pixels corresponding to the segmentation angle on the bad pixel image;

[0100] Connect the two endpoints of the line segment to the center point of the camera to obtain an adjustment triangle, and record the diagonal of the line segment as the adjustment angle.

[0101] In this embodiment, the segmentation angle is adjusted only according to the pixel corresponding to the segmentation angle on the bad pixel image, so the number of adjustment angles is the same as the number of segmentation angles, and adjacent adjustment angles still share a common edge, so the sum of all adjustment angles is still equal to the camera viewing angle.

[0102] In this embodiment, adjusting the segmentation angle to obtain the adjustment angle is to determine the opposite side of the adjustment angle, because the number of pixels is determined, the side length of the pixels is also determined, and the difference between the two is the length of the opposite side of the adjustment angle.

[0103] In one embodiment, the step of repairing the opposite side of the adjusted angle according to the identified spacing and calculating the repair coefficient of the opposite side of the adjusted angle includes:

[0104] The length of the opposite side of the adjustment angle is repaired to the recognition spacing;

[0105] Depend on The imaging length l of the adjustment angle is obtained;

[0106] Depend on Get the repair coefficient k of the side opposite to the adjustment angle;

[0107] Wherein, a is the side length of the pixel, n is the number of pixels corresponding to the adjustment angle, and d is the recognition spacing.

[0108] In this embodiment, the target angle is the first segmentation angle. Since the length of the opposite side of the target angle is the recognition interval, and the image corresponding to the target angle is not distorted, theoretically the actual length of the bad pixel image is the product of the number of segmentation angles and the recognition interval. Therefore, it can be known that the actual length of the opposite side corresponding to each segmentation angle is the recognition interval, so the length of the opposite side of the segmentation angle should be repaired to the recognition interval. Since the adjacent side of the segmentation angle may just fall within the width range of the pixel, the segmentation angle is adjusted to obtain the adjustment angle. There is a maximum difference of 2 pixels between the opposite side of the adjustment angle and the opposite side of the segmentation angle. Therefore, the opposite side of the adjustment angle is repaired instead of the opposite side of the segmentation angle.

[0109] In this embodiment, if the bad pixel does not fall on the pixels at the two ends of the pixel corresponding to the adjustment angle, a repair coefficient is required to determine the actual position of the bad pixel in the opposite side of the adjustment angle.

[0110] In one embodiment, the determining the actual position of the bad point on the bad point image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located includes:

[0111] Draw a vertical line A perpendicular to the bad pixel image from the center point of the camera;

[0112] The cross-sectional image is divided into two parts by the vertical line A. For the part where the bad pixel is located, the adjustment angles are sorted in the order from near to far from the vertical line A;

[0113] Determine the sequence number m of the adjustment angle where the bad pixel is located and the repair coefficient k;

[0114] Depend on Get the relative distance from the bad point to the vertical line A;

[0115] Taking the vertical line A and the bad point image of the bad point in the section image as the origin, the actual position of the bad point on the bad point image in the section image is determined according to the relative distance from the bad point to the vertical line A;

[0116] Among them, d is the recognition spacing, a is the side length of the pixel, b is the serial number of the pixel corresponding to the pixel where the bad point is located before the opposite side of the adjustment angle is repaired in the adjustment angle where the bad point is located, and the pixels corresponding to the adjustment angle where the bad point is located are sorted in the order from close to the vertical line A to farthest from the vertical line A.

[0117] In this embodiment, the center point of the camera and the center point of the bad pixel image are on the same vertical line on the z-axis of the space, and the vertical line A also passes through the center line of the bad pixel image.

[0118] In this embodiment, for the target angle, the opposite side of the target angle is the identification spacing, so the identification spacing is the sum of the side lengths of several pixels, so the target angle does not need to be adjusted, but the target angle should also be regarded as an adjustment angle. Similarly, for the segmentation angle that does not need to be adjusted, the segmentation angle should also be regarded as an adjustment angle.

[0119] In this embodiment, for example, if the bad pixel is the fourth pixel of the fourth adjustment angle, then the actual lengths of the opposite sides of the first three adjustment angles are , the actual length from the bad pixel in the fourth adjustment angle to the center of the bad line image is , so the relative distance between the bad point and the vertical line A is .

[0120] like Figure 4 As shown, in one embodiment, a defect indication device for display module detection is provided, which may specifically include:

[0121] A bad pixel image acquisition module is used to acquire a bad pixel image of a display module;

[0122] A recognition interval determination module is used to determine the auxiliary image corresponding to the bad pixel image, and determine the recognition interval according to the auxiliary image;

[0123] A section image determination module is used to make two sections perpendicular to the bad point image through the bad point to obtain two section images perpendicular to each other;

[0124] A target angle determination module is used to determine a target angle for any section image according to the camera center point and the recognition distance;

[0125] A segmentation angle determination module is used to segment the camera viewing angle according to the target angle to obtain a number of segmentation angles;

[0126] A pixel determination module is used to determine the pixel corresponding to each segmentation angle on the bad pixel image;

[0127] An angle adjustment module is used to adjust the angle of each segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle;

[0128] A module for repairing opposite sides, for repairing the opposite sides of each adjustment angle according to the identification interval and calculating a repair coefficient of the opposite sides of the adjustment angle;

[0129] A module for determining the position of a bad pixel section is used to determine the actual position of the bad pixel on the bad pixel image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad pixel is located;

[0130] The module for determining the actual position of the bad pixel is used to determine the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular section images.

[0131] In this embodiment, the various modules of the defect indication device for display module detection are modularized in 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.

[0132] Figure 5 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 5 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 display module detection defect indication 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 detection defect indication 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.

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

[0134] In one embodiment, a display module inspection defect indication 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 5 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 defect indication device for display module detection, for example, Figure 4 The computer program composed of the various program modules enables the processor to execute the steps of a defect indication method for display module detection in various embodiments of the present invention described in this specification.

[0135] For example, Figure 5 The computer device shown can be Figure 4 The bad pixel image acquisition module in the defect indication device for display module detection shown in the figure executes step S101; the computer device can execute step S102 by determining the identification distance module; the computer device can execute step S103 by determining the cross-section image module; the computer device can execute step S104 by determining the target angle module; the computer device can execute step S105 by determining the segmentation angle module; the computer device can execute step S106 by determining the pixel module; the computer device can execute step S107 by adjusting the angle module; the computer device can execute step S108 by repairing the opposite edge module; the computer device can execute step S109 by determining the bad pixel cross-section position module; the computer device can execute step S110 by determining the bad pixel actual position module.

[0136] 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:

[0137] S101, obtaining a bad pixel image of a display module;

[0138] S102, determining an auxiliary image corresponding to the bad pixel image, and determining a recognition interval according to the auxiliary image;

[0139] S103, making two sections perpendicular to the bad pixel image through the bad pixel, to obtain two section images perpendicular to each other;

[0140] S104, for any cross-sectional image, determining a target angle according to the camera center point and the recognition distance;

[0141] S105, segmenting the camera viewing angle according to the target angle to obtain a plurality of segmentation angles;

[0142] S106, determining the pixel corresponding to each segmentation angle on the bad pixel image;

[0143] S107, for each segmentation angle, adjusting the angle of the segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjusted angle;

[0144] S108, for each adjustment angle, repairing the opposite side of the adjustment angle according to the identification interval and calculating the repair coefficient of the opposite side of the adjustment angle;

[0145] S109, determining the actual position of the bad point on the bad point image in the cross-sectional image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located;

[0146] S110, determining the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular cross-sectional images.

[0147] 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:

[0148] S101, obtaining a bad pixel image of a display module;

[0149] S102, determining an auxiliary image corresponding to the bad pixel image, and determining a recognition interval according to the auxiliary image;

[0150] S103, making two sections perpendicular to the bad pixel image through the bad pixel, to obtain two section images perpendicular to each other;

[0151] S104, for any cross-sectional image, determining a target angle according to the camera center point and the recognition distance;

[0152] S105, segmenting the camera viewing angle according to the target angle to obtain a plurality of segmentation angles;

[0153] S106, determining the pixel corresponding to each segmentation angle on the bad pixel image;

[0154] S107, for each segmentation angle, adjusting the angle of the segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjusted angle;

[0155] S108, for each adjustment angle, repairing the opposite side of the adjustment angle according to the identification interval and calculating the repair coefficient of the opposite side of the adjustment angle;

[0156] S109, determining the actual position of the bad point on the bad point image in the cross-sectional image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located;

[0157] S110, determining the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular cross-sectional images.

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

[0159] 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).

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

[0161] 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 defect indication method for display module detection, characterized in that: The display module detection defect indication method comprises: Get the bad pixel image of the display module; Determine the auxiliary image corresponding to the bad pixel image, and determine the recognition interval according to the auxiliary image; Make two sections perpendicular to the bad pixel image through the bad pixel to obtain two section images perpendicular to each other; For any slice image, a target angle is determined based on the camera center point and the recognition distance; The camera viewing angle is segmented according to the target angle to obtain several segmentation angles; Determine the pixel corresponding to each segmentation angle on the bad pixel image; For each segmentation angle, the angle of the segmentation angle is adjusted according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle; For each adjustment angle, the opposite side of the adjustment angle is repaired according to the identification spacing and the repair coefficient of the opposite side of the adjustment angle is calculated; Determine the actual position of the bad point on the bad point image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located; Determine the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular cross-sectional images; The step of determining the auxiliary image corresponding to the bad pixel image and determining the recognition interval according to the auxiliary image includes: After obtaining the bad pixel image of the display module, keep the position of the camera unchanged and obtain several auxiliary images with uniformly staggered black and white areas. The number of pixels in a single black area or white area of ​​the auxiliary image is ; For each auxiliary image, the auxiliary image is magnified to a preset multiple, and the auxiliary image is identified according to the RGB values ​​of the black pixels and the RGB values ​​of the white pixels; Determine whether the black area and the white area in the recognition result are still evenly interlaced. If so, filter out the auxiliary image; Determine the auxiliary image with the smallest i from all the screened auxiliary images, and determine the auxiliary image as the auxiliary image corresponding to the bad pixel image; The side length of the black area or the white area of ​​the auxiliary image corresponding to the bad pixel image is determined as the recognition interval; The initial value of i is 1, and each time an auxiliary image is obtained, i is accumulated by 1; Determining a target angle according to the camera center point and the recognition distance includes: Draw a vertical line A perpendicular to the bad pixel image from the center point of the camera; Take the intersection of A on the bad pixel image as the starting point, and take a line segment B with a length equal to the identification spacing on the bad pixel image toward the side where the bad pixel is located; Determine a triangle based on A and B, and record the angle corresponding to B as the target angle; The step of determining the pixel corresponding to each segmentation angle on the bad pixel image includes: For each segmentation angle, determine the opposite side of the segmentation angle according to the adjacent side of the segmentation angle; Take the target angle as the first segmentation angle, and sort the segmentation angles from near to far from the target angle toward the side where the bad point is located; Select a segmentation angle in order according to the ranking, and determine the pixel corresponding to the segmentation angle on the bad pixel image according to the adjacent side and the opposite side of the segmentation angle; The step of repairing the opposite side of the adjustment angle according to the identified spacing and calculating the repair coefficient of the opposite side of the adjustment angle includes: The length of the opposite side of the adjustment angle is repaired to the recognition spacing; Depend on The imaging length l of the adjustment angle is obtained; Depend on Get the repair coefficient k of the side opposite to the adjustment angle; Where a is the side length of the pixel, n is the number of pixels corresponding to the adjustment angle, and d is the recognition spacing; The method of determining the actual position of the bad point on the bad point image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located comprises: Draw a vertical line A perpendicular to the bad pixel image from the center point of the camera; The cross-sectional image is divided into two parts by the vertical line A. For the part where the bad pixel is located, the adjustment angles are sorted in the order from near to far from the vertical line A; Determine the sequence number m of the adjustment angle where the bad pixel is located and the repair coefficient k; Depend on Get the relative distance from the bad point to the vertical line A; Taking the vertical line A and the bad point image of the bad point in the section image as the origin, the actual position of the bad point on the bad point image in the section image is determined according to the relative distance from the bad point to the vertical line A; Among them, d is the recognition spacing, a is the side length of the pixel, b is the serial number of the pixel corresponding to the pixel where the bad point is located before the opposite side of the adjustment angle is repaired in the adjustment angle where the bad point is located, and the pixels corresponding to the adjustment angle where the bad point is located are sorted in the order from close to the vertical line A to farthest from the vertical line A.

2. The defect indication method for display module detection according to claim 1, characterized in that: The step of determining the pixel corresponding to the segmentation angle on the bad pixel image according to the adjacent side and the opposite side of the segmentation angle comprises: For each pixel of the bad pixel image on the section image, determine whether the pixel completely falls within the opposite side of the segmentation angle, and if so, determine the pixel as the pixel corresponding to the segmentation angle on the bad pixel image; If the pixel does not completely fall into the opposite side of the segmentation angle, then determine whether the pixel intersects with the adjacent side of the segmentation angle close to the target angle. If so, then determine whether the number of pixels corresponding to the previous segmentation angle on the bad pixel image is greater than or equal to the number of pixels corresponding to the segmentation angle on the bad pixel image. If so, then determine the pixel as the pixel corresponding to the segmentation angle on the bad pixel image. If the number of pixels corresponding to the previous segmentation angle on the bad pixel image is less than the number of pixels corresponding to the current segmentation angle on the bad pixel image, determine whether the length corresponding to the segmentation angle on the pixel is greater than half of the length of the pixel. If so, determine the pixel as the pixel corresponding to the segmentation angle on the bad pixel image. If not, determine the pixel as the pixel corresponding to the previous segmentation angle on the bad pixel image.

3. The defect indication method for display module detection according to claim 1, characterized in that: The step of adjusting the angle of the segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain the adjustment angle includes: Determine the line segment formed by the side lengths of all pixels corresponding to the segmentation angle on the bad pixel image; Connect the two endpoints of the line segment to the center point of the camera to obtain an adjustment triangle, and record the diagonal of the line segment as the adjustment angle.

4. A defect indication device for display module detection, characterized in that: The defect indication device for display module detection comprises: A bad pixel image acquisition module is used to acquire a bad pixel image of a display module; A recognition interval determination module is used to determine the auxiliary image corresponding to the bad pixel image, and determine the recognition interval according to the auxiliary image; A section image determination module is used to make two sections perpendicular to the bad point image through the bad point to obtain two section images perpendicular to each other; A target angle determination module is used to determine a target angle for any section image according to the camera center point and the recognition distance; A segmentation angle determination module is used to segment the camera viewing angle according to the target angle to obtain a number of segmentation angles; A pixel determination module is used to determine the pixel corresponding to each segmentation angle on the bad pixel image; An angle adjustment module is used to adjust the angle of each segmentation angle according to the pixel corresponding to the segmentation angle on the bad pixel image to obtain an adjustment angle; A module for repairing opposite sides, for repairing the opposite sides of each adjustment angle according to the identified spacing and calculating a repair coefficient of the opposite sides of the adjustment angle; A module for determining the position of a bad pixel section is used to determine the actual position of the bad pixel on the bad pixel image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad pixel is located; A module for determining the actual position of a bad pixel, used to determine the coordinate position of the bad pixel on the display module according to the actual position of the bad pixel on the bad pixel images of two mutually perpendicular cross-sectional images; The step of determining the auxiliary image corresponding to the bad pixel image and determining the recognition interval according to the auxiliary image includes: After obtaining the bad pixel image of the display module, keep the position of the camera unchanged and obtain several auxiliary images with uniformly staggered black and white areas. The number of pixels in a single black area or white area of ​​the auxiliary image is ; For each auxiliary image, the auxiliary image is magnified to a preset multiple, and the auxiliary image is identified according to the RGB values ​​of the black pixels and the RGB values ​​of the white pixels; Determine whether the black area and the white area in the recognition result are still evenly interlaced. If so, filter out the auxiliary image; Determine the auxiliary image with the smallest i from all the screened auxiliary images, and determine the auxiliary image as the auxiliary image corresponding to the bad pixel image; The side length of the black area or the white area of ​​the auxiliary image corresponding to the bad pixel image is determined as the recognition interval; The initial value of i is 1, and each time an auxiliary image is obtained, i is accumulated by 1; Determining a target angle according to the camera center point and the recognition distance includes: Draw a vertical line A perpendicular to the bad pixel image from the center point of the camera; Take the intersection of A on the bad pixel image as the starting point, and take a line segment B with a length equal to the identification spacing on the bad pixel image toward the side where the bad pixel is located; Determine a triangle based on A and B, and record the angle corresponding to B as the target angle; The step of determining the pixel corresponding to each segmentation angle on the bad pixel image includes: For each segmentation angle, determine the opposite side of the segmentation angle according to the adjacent side of the segmentation angle; Take the target angle as the first segmentation angle, and sort the segmentation angles from near to far from the target angle toward the side where the bad point is located; Select a segmentation angle in order according to the ranking, and determine the pixel corresponding to the segmentation angle on the bad pixel image according to the adjacent side and the opposite side of the segmentation angle; The step of repairing the opposite side of the adjustment angle according to the identified spacing and calculating the repair coefficient of the opposite side of the adjustment angle includes: The length of the opposite side of the adjustment angle is repaired to the recognition spacing; Depend on The imaging length l of the adjustment angle is obtained; Depend on Get the repair coefficient k of the side opposite to the adjustment angle; Where a is the side length of the pixel, n is the number of pixels corresponding to the adjustment angle, and d is the recognition spacing; The method of determining the actual position of the bad point on the bad point image in the section image according to the opposite side of the repaired adjustment angle, the repair coefficient of the opposite side of the adjustment angle, and the adjustment angle where the bad point is located comprises: Draw a vertical line A perpendicular to the bad pixel image from the center point of the camera; The cross-sectional image is divided into two parts by the vertical line A. For the part where the bad pixel is located, the adjustment angles are sorted in the order from near to far from the vertical line A; Determine the sequence number m of the adjustment angle where the bad pixel is located and the repair coefficient k; Depend on Get the relative distance from the bad point to the vertical line A; Taking the vertical line A and the bad point image of the bad point in the section image as the origin, the actual position of the bad point on the bad point image in the section image is determined according to the relative distance from the bad point to the vertical line A; Among them, d is the recognition spacing, a is the side length of the pixel, b is the serial number of the pixel corresponding to the pixel where the bad point is located before the opposite side of the adjustment angle is repaired in the adjustment angle where the bad point is located, and the pixels corresponding to the adjustment angle where the bad point is located are sorted in the order from close to the vertical line A to farthest from the vertical line A.

5. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of a defect indication method for display module detection as claimed in any one of claims 1 to 3.