Method, device and equipment for detecting display panel and readable storage medium
By mirroring and comparing the brightness of the first and second display areas of the display panel, the problems of numerous parameter files and slow speed in irregular edge detection are solved, enabling faster model switching and lower algorithm running time.
Patent Information
- Application Number
- CN202310995024.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-08
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-08-08
AI Technical Summary
In existing technologies, the detection of irregular edges on display panels suffers from problems such as numerous parameter files, large space requirements, slow model switching and parameter formula import speeds, and long algorithm running times.
By acquiring the images to be detected from the first and second display areas of the display panel, mirroring the first image using the axis of symmetry, comparing the pixel brightness at the same position, generating a target image, and determining whether there are abnormal pixels, the need to back up a standard image for each parameter recipe is avoided.
It reduces parameter files and storage space, improves model switching speed and parameter recipe import speed, and reduces algorithm running time.
Smart Images

Figure CN116862905B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, specifically to a method, apparatus, device, and readable storage medium for detecting a display panel. Background Technology
[0002] Currently, to meet the aesthetic requirements of display panels, irregularly shaped edges are incorporated into the display area. The size and shape of these irregular edges vary among different display panels.
[0003] Automatic optical inspection (AOI) technology for display panels requires defect identification across all areas of the display panel's display area. However, the irregularity of irregular edges makes edge identification difficult. Existing methods for identifying irregular edges suffer from problems such as numerous parameter files, large file sizes, inconvenience when switching display panel models, slow recipe import speed, and long processing times. These parameter recipes can include parameters from the display panel inspection method. Summary of the Invention
[0004] This application provides a method, apparatus, device, and readable storage medium for detecting display panels, which helps to reduce parameter files and space usage, improve model switching speed and parameter formula import speed, and reduce algorithm running time.
[0005] This application provides a method for detecting a display panel. The display panel has at least a first display area and a second display area. Both the first and second display areas have irregular edges. The first and second display areas are symmetrically arranged about a first axis of symmetry. The method includes:
[0006] Acquire the first image to be detected in the first display area and the second image to be detected in the second display area;
[0007] Based on the first axis of symmetry, the first image to be detected is mirrored to obtain the third image to be detected.
[0008] The brightness of pixels at the same location in the second and third images to be detected is compared to obtain the first target image;
[0009] Determine whether there are abnormal pixels in the first display area and the second display area based on the first target image.
[0010] In some optional implementations, the brightness of pixels at the same location in the second and third images to be detected is compared to obtain a first target image, including:
[0011] XOR the luminance of the pixels at the same position in the second to-be-detected image and the third to-be-detected image to obtain a first target image, wherein if the difference between the luminance of the pixels at the same position in the second to-be-detected image and the third to-be-detected image is within a first preset range, the luminance of the pixels at the position in the first target image is a first luminance, and if the difference between the luminance of the pixels at the same position in the second to-be-detected image and the third to-be-detected image is not within the first preset range, the luminance of the pixels at the position in the first target image is a second luminance.
[0012] In some optional embodiments, the first luminance is less than the second luminance.
[0013] In some optional embodiments, the first luminance is equal to the black screen luminance of the display panel, and the second luminance is equal to the white screen luminance of the display panel.
[0014] In some optional embodiments, in the case where the first target image includes the second luminance, the pixels corresponding to the second luminance in the first target image are abnormal pixels of the display panel.
[0015] In some optional embodiments, the method for detecting the display panel further includes:
[0016] determining the position of the abnormal pixel in the display area according to the second to-be-detected image, the third to-be-detected image, and the target position of the abnormal pixel in the first target image.
[0017] In some optional embodiments, the determination of the position of the abnormal pixel in the display area according to the second to-be-detected image, the third to-be-detected image, and the target position of the abnormal pixel in the first target image includes:
[0018] performing AND operation on the luminance of the pixels at the same position in the second to-be-detected image and the target position to obtain a second target image, wherein if the difference between the luminance of the pixels at the same position in the second to-be-detected image and the target position is not within a second preset range, the luminance of the pixels at the position in the second target image is a third luminance, and if the difference between the luminance of the pixels at the same position in the second to-be-detected image and the target position is within the second preset range, the luminance of the pixels at the position in the second target image is a fourth luminance;
[0019] performing AND operation on the luminance of the pixels at the same position in the third to-be-detected image and the target position to obtain a third target image, wherein if the difference between the luminance of the pixels at the same position in the third to-be-detected image and the target position is not within a third preset range, the luminance of the pixels at the position in the third target image is a fifth luminance, and if the difference between the luminance of the pixels at the same position in the third to-be-detected image and the target position is within the third preset range, the luminance of the pixels at the position in the third target image is a sixth luminance;
[0020] According to the second target image and the third target image, a position of the abnormal pixel in the display area is determined.
[0021] In some optional embodiments, in a case where the second target image includes the fourth luminance and the third target image does not include the sixth luminance, it is determined that the abnormal pixel is in the first display area.
[0022] In some optional embodiments, in a case where the second target image does not include the fourth luminance and the third target image includes the sixth luminance, it is determined that the abnormal pixel is in the second display area.
[0023] In some optional embodiments, in a case where the second target image includes the fourth luminance and the third target image includes the sixth luminance, it is determined that the abnormal pixel is in the first display area and the second display area.
[0024] In some optional embodiments, the third luminance is less than the fourth luminance, and the fifth luminance is less than the sixth luminance.
[0025] In some optional embodiments, the first luminance, the third luminance and the fifth luminance are equal to a black screen luminance of the display panel, and the second luminance, the fourth luminance and the sixth luminance are equal to a white screen luminance of the display panel.
[0026] In some optional embodiments, in a case where the first target image does not include the second luminance, the display panel does not have the abnormal pixel.
[0027] Based on the same inventive concept, in a second aspect, embodiments of the present application also provide a display panel detection device, a display area of the display panel has at least a first display area and a second display area, the first display area and the second display area both have a special-shaped edge, the first display area and the second display area are symmetrically arranged about a first symmetry axis, and the device comprises:
[0028] An acquisition module is configured to acquire a first to-be-detected image of the first display area and a second to-be-detected image of the second display area.
[0029] A mirroring module is configured to perform mirroring processing on the first to-be-detected image based on the first symmetry axis to obtain a third to-be-detected image.
[0030] A comparison module is configured to compare luminances of pixels at the same positions in the second to-be-detected image and the third to-be-detected image to obtain a first target image.
[0031] A first determination module is configured to determine whether the first display area and the second display area have an abnormal pixel according to the first target image.
[0032] Based on the same inventive concept, in a third aspect, the embodiments of the present application also provide a display panel detection device, the display panel detection device comprising a processor and a memory storing computer program instructions.
[0033] The processor executes the computer program instructions to implement the display panel detection method of the first aspect.
[0034] Based on the same inventive concept, in a fourth aspect, the embodiments of the present application also provide a computer readable storage medium, the computer readable storage medium storing computer program instructions, the computer program instructions being executed by a processor to implement the display panel detection method of the first aspect.
[0035] According to the display panel detection method, device, equipment and readable storage medium provided by the embodiments of the present application, the first display area first detection image and the second display area second detection image are obtained, then the first detection image is mirror processed based on the first symmetry axis to obtain a third detection image, and then the pixel brightness of the same position in the second detection image and the third detection image is compared to obtain a first target image. Since the first display area and the second display area are symmetrically arranged about the first symmetry axis, whether the first display area and the second display area have abnormal pixels can be determined according to the first target image. According to the embodiments of the present application, on the one hand, a standard image needs to be backed up for each parameter formula, so as to reduce the parameter file and the occupied space; on the other hand, in the display panel detection process, a standard image does not need to be loaded, so as to improve the model switching speed and the parameter formula import speed, and reduce the algorithm running time. BRIEF DESCRIPTION OF DRAWINGS
[0036] Other characteristics, objects and advantages of the present application will become more apparent from the following detailed description of non-restrictive embodiments, with reference to the attached drawings, in which the same or similar reference signs refer to the same or similar features, and the drawings are not drawn to scale.
[0037] Figure 1 A schematic diagram of a standard image in the display panel detection process in the related art is shown;
[0038] Figure 2 A schematic diagram of a to-be-detected image in the display panel detection process in the related art is shown;
[0039] Figure 3 A structural schematic diagram of a display panel provided by the embodiments of the present application is shown;
[0040] Figure 4 A flowchart of a display panel detection method provided by the embodiments of the present application is shown;
[0041] Figure 5 Fig. 1 shows a schematic diagram of one principle of a method for detecting a display panel according to an embodiment of the present application;
[0042] Figure 6 Fig. 2 shows a schematic diagram of another principle of a method for detecting a display panel according to an embodiment of the present application;
[0043] Figure 7 Fig. 3 shows a schematic diagram of another flow of a method for detecting a display panel according to an embodiment of the present application;
[0044] Figure 8 Fig. 4 shows a schematic diagram of another flow of a method for detecting a display panel according to an embodiment of the present application;
[0045] Figure 9 Fig. 5 shows a schematic diagram of another flow of a method for detecting a display panel according to an embodiment of the present application;
[0046] Figure 10 Fig. 6 shows a schematic diagram of another principle of a method for detecting a display panel according to an embodiment of the present application;
[0047] Figure 11 Fig. 7 shows a schematic diagram of one structure of a device for detecting a display panel according to an embodiment of the present application;
[0048] Figure 12 Fig. 8 shows a schematic diagram of one structure of a device for detecting a display panel according to an embodiment of the present application. DETAILED DESCRIPTION
[0049] The features and exemplary embodiments of various aspects of the present application will be described below in detail, in order to make the purposes, technical solutions and advantages of the present application more clear. The following further describes the present application in detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are configured only to explain the present application, and are not configured to limit the present application. The present application can be implemented without some of the specific details by those skilled in the art. The following description of the embodiments is merely to provide a better understanding of the present application by showing examples of the present application.
[0050] It should be noted that, in this article, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or equipment. Without more limitations, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.
[0051] It should be understood that the term "and / or" used in this article is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " in this article generally represents that the front and rear associated objects are in an "or" relationship.
[0052] Various modifications and changes can be made to the present application without departing from the spirit or scope thereof, which will be apparent to one skilled in the art. Therefore, the present application is intended to cover the modifications and variations of the present application falling within the scope of the corresponding claims (claimed technical solutions) and their equivalents. It should be noted that the embodiments provided by the present application can be combined with each other without contradiction.
[0053] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0054] In the related art, in order to realize the detection of the irregular edge of the display panel, the standard image is generally introduced, as shown in Figure 1 and Figure 2 By comparing the standard image including the irregular edge and the to-be-detected image including the irregular edge, in the case that the standard image and the to-be-detected image are completely the same, it is determined that the pixel of the irregular edge of the display panel is normal, and in the case that the standard image and the to-be-detected image are different, it is determined that the pixel of the irregular edge of the display panel is abnormal.
[0055] While the above method can identify whether pixels at irregular edges of the display panel are abnormal, it requires backing up a standard image for each parameter recipe, thus increasing the parameter file size and storage space. Furthermore, loading the standard image during each display panel test slows down model switching and parameter recipe import, thereby increasing the test time for the detection algorithm.
[0056] To address the aforementioned problems, embodiments of this application provide a method, apparatus, device, and readable storage medium for detecting a display panel. The following description, in conjunction with the accompanying drawings, will illustrate various embodiments of the method, apparatus, device, and readable storage medium for detecting a display panel.
[0057] Before introducing the detection method for the display panel, let's first introduce the display panel provided in the embodiments of this application.
[0058] like Figure 3 As shown, Figure 3 A schematic diagram of a display panel provided in an embodiment of this application is shown. The display area AA of the display panel has at least a first display area AA1 and a second display area AA2. Both the first display area AA1 and the second display area AA2 have irregular edges, and the first display area AA1 and the second display area AA2 are symmetrically arranged about a first axis of symmetry X.
[0059] The second display area AA2 may include a first sub-display area AA21, a second sub-display area AA22, and a third sub-display area AA23.
[0060] The first axis of symmetry X may include a first sub-axis of symmetry X1, a second sub-axis of symmetry X2, and a third sub-axis of symmetry X3.
[0061] The first display area AA1 is symmetrical to the first sub-display area AA21 about the first sub-axis of symmetry X1. The first display area AA1 is symmetrical to the second sub-display area AA22 about the second sub-axis of symmetry X2. The first display area AA1 is symmetrical to the third sub-display area AA23 about the third sub-axis of symmetry X3.
[0062] Figure 3 Taking the irregular edge as rounded corner and the second display area AA2 including three sub-display areas AA23 as an example, but not limited to this, the irregular edge can also be other irregular edges besides rounded corners, and the second display area AA2 can include one sub-display area, two sub-display areas, etc.
[0063] The following describes the detection method for the display panel provided in the embodiments of this application.
[0064] Figure 4 This is a schematic flowchart illustrating a method for detecting a display panel according to an embodiment of this application.
[0065] The display panel detection method provided by the embodiments of the present application can be applied to an electronic device or a display panel detection device. Figure 4 As shown in the figure, the display panel detection method provided by the embodiments of the present application can include S410 to S440.
[0066] S410, a first to-be-detected image of a first display area and a second to-be-detected image of a second display area are acquired.
[0067] S420, the first to-be-detected image is mirror processed based on a first symmetry axis to obtain a third to-be-detected image.
[0068] S430, the pixel brightness of the same position in the second to-be-detected image and the third to-be-detected image is compared to obtain a first target image.
[0069] S440, whether the first display area and the second display area have abnormal pixels is determined according to the first target image.
[0070] According to the display panel detection method provided by the embodiments of the present application, the first to-be-detected image of the first display area and the second to-be-detected image of the second display area are acquired, then the first to-be-detected image is mirror processed based on the first symmetry axis to obtain a third to-be-detected image, and then the pixel brightness of the same position in the second to-be-detected image and the third to-be-detected image is compared to obtain a first target image. Since the first display area and the second display area are symmetrically arranged about the first symmetry axis, whether the first display area and the second display area have abnormal pixels can be determined according to the first target image. According to the embodiments of the present application, on the one hand, a standard image does not need to be backed up for each parameter formula, thus being conducive to reducing parameter files and occupied space; on the other hand, in the detection process of the display panel, a standard image does not need to be loaded, thus being conducive to improving model switching speed and parameter formula import speed and reducing algorithm running time.
[0071] The specific implementation of S410 to S440 is introduced below.
[0072] S410 is introduced first.
[0073] In the embodiments of the present application, in the case of lighting all the sub-pixels of the first display area and all the sub-pixels of the second display area, the electronic device or the display panel detection device can acquire the first to-be-detected image of the first display area and the second to-be-detected image of the second display area through a camera, a video camera or other acquisition equipment. The first to-be-detected image of the first display area and the second to-be-detected image of the second display area are stored in the electronic device or the display panel detection device, and the electronic device or the display panel detection device can directly acquire the first to-be-detected image of the first display area and the second to-be-detected image of the second display area from itself.
[0074] In the case where the second display area includes the first sub-display area, S410 can include:
[0075] The first to-be-detected image of the first display area and the first sub-to-be-detected image of the first sub-display area are acquired.
[0076] In the case where the second display area includes the first sub-display area, the second sub-display area, and the third sub-display area, S410 can include:
[0077] The first to-be-detected image of the first display area, the first sub-to-be-detected image of the first sub-display area, the second sub-to-be-detected image of the second sub-display area, and the third sub-to-be-detected image of the third sub-display area are acquired.
[0078] Embodiments of the present application take the first to-be-detected image, the first sub-to-be-detected image, the second sub-to-be-detected image, and the third sub-to-be-detected image in Figure 5 as examples for illustration, but are not limited thereto, and each to-be-detected image can be another image.
[0079] Next, S420 is introduced.
[0080] As an example, in the case where the second display area includes the first sub-display area, the third to-be-detected image includes the fourth sub-to-be-detected image, and S420 can include:
[0081] The first to-be-detected image is mirror-processed with the first sub-symmetry axis as a mirror axis to obtain the fourth sub-to-be-detected image.
[0082] In the present embodiment, it can be understood that the first to-be-detected image is horizontally mirror-processed with the first sub-symmetry axis as a mirror axis to obtain the fourth sub-to-be-detected image.
[0083] As another example, in the case where the second display area includes the first sub-display area, the second sub-display area, and the third sub-display area, the third to-be-detected image includes the fifth sub-to-be-detected image and the sixth sub-to-be-detected image, and S420 can include:
[0084] The first to-be-detected image is mirror-processed with the first sub-symmetry axis as a mirror axis to obtain the fourth sub-to-be-detected image;
[0085] The first to-be-detected image is mirror-processed with the second sub-symmetry axis as a mirror axis to obtain the fifth sub-to-be-detected image;
[0086] The first to-be-detected image is mirror-processed with the third sub-symmetry axis as a mirror axis to obtain the sixth sub-to-be-detected image.
[0087] In the present embodiment, after mirror-processing, the fourth sub-to-be-detected image, the fifth sub-to-be-detected image, and the sixth to-be-detected image obtained can be as shown in Figure 5 .
[0088] In this embodiment, it can be understood that the second sub-symmetry axis is taken as a mirror axis to perform vertical mirroring on the first to-be-detected image to obtain a fifth to-be-detected image, and the third sub-symmetry axis is taken as a mirror axis to perform diagonal mirroring on the first to-be-detected image to obtain a sixth to-be-detected image.
[0089] Then, S430 is introduced.
[0090] As an example, in a case where the second display area includes a first sub-display area and the third to-be-detected image includes a fourth to-be-detected image, the first target image can include a first target sub-image.
[0091] As another example, in a case where the second display area includes a first sub-display area, a second sub-display area, and a third sub-display area, the third to-be-detected image includes a fourth to-be-detected image, a fifth to-be-detected image, and a sixth to-be-detected image, the first target image can include a first target sub-image, a second target sub-image, and a third target sub-image.
[0092] In some optional embodiments, as shown in FIG. 4B, S430 can include S431. Figure 7
[0093] S431, performing XOR operation on the pixel brightnesses at the same positions in the second to-be-detected image and the third to-be-detected image to obtain the first target image, wherein if the difference between the pixel brightnesses at the same positions in the second to-be-detected image and the third to-be-detected image is within a first preset range, the pixel brightness at the position in the first target image is a first brightness, and if the difference between the pixel brightnesses at the same positions in the second to-be-detected image and the third to-be-detected image is not within the first preset range, the pixel brightness at the position in the first target image is a second brightness.
[0094] In this embodiment, by performing XOR operation on the pixel brightnesses at the same positions in the second to-be-detected image and the third to-be-detected image, the first target image can be quickly and accurately determined, which provides a basis for subsequent determination of whether the first display area and the second display area have abnormal pixels.
[0095] The first preset range can be set according to actual conditions. For example, the first preset range can be [0, 5] nits, or [-5, 5] nits, etc.
[0096] In some optional embodiments, the first brightness can be less than the second brightness. For example, the first brightness can be 100 nits, and the second brightness can be 400 nits. Since the first brightness is less than the second brightness, the second brightness is more significant than the first brightness, and is more easily recognized by the detection device of the electronic device or the display panel.
[0097] In some alternative implementations, the first brightness may be less than the second brightness. For example, the first brightness may be 600 nits and the second brightness may be 200 nits.
[0098] In some alternative implementations, the first brightness can be equal to the black screen brightness of the display panel, and the second brightness can be equal to the white screen brightness of the display panel. In this way, the first brightness and the second brightness can be clearly distinguished.
[0099] In some alternative implementations, the first brightness may be equal to the white screen brightness of the display panel, and the second brightness may be equal to the black screen brightness of the display panel.
[0100] The brightness of a black screen on a display panel can be understood as the brightness corresponding to 0 gray levels on the display panel, and the brightness of a white screen on a display panel can be understood as the brightness corresponding to 255 gray levels on the display panel.
[0101] The first preset range can be set according to the actual situation and is not limited here. For example, the first preset range can be [0, 10] nits, or it can be [0, 50] nits, etc.
[0102] Optionally, if the second display area includes a first sub-display area, the third image to be detected includes a fourth sub-image to be detected, and the first target image includes a first sub-target image, then S431 may include S1.
[0103] S1. Perform an XOR operation on the pixel brightness at the same position in the first sub-detection image and the fourth sub-detection image to obtain the first sub-target image. If the difference in pixel brightness at the same position in the first sub-detection image and the fourth sub-detection image is within a first preset range, then the difference in pixel brightness at that position in the first sub-target image is the first brightness. If the difference in pixel brightness at the same position in the first sub-detection image and the fourth sub-detection image is not within the first preset range, then the difference in pixel brightness at that position in the first sub-target image is the second brightness.
[0104] like Figure 5 As shown, if the difference in pixel brightness at the same position in the first sub-detection image and the fourth sub-detection image is within a first preset range, then the pixel brightness at the same position in the first sub-detection image and the fourth sub-detection image is considered to be the same. An XOR operation is performed on the pixel brightness at the same position in the first sub-detection image and the fourth sub-detection image, and the resulting pixel brightness at that position in the first sub-target image is the black screen brightness of the display panel. For example... Figure 6As shown in S2, if the difference of the pixel brightness at the same position in the first sub-to-be-detected image and the fourth sub-to-be-detected image is not in the first preset range, it is considered that the pixel brightness at the same position in the first sub-to-be-detected image and the fourth sub-to-be-detected image is different, and the pixel brightness at the same position in the first sub-to-be-detected image and the fourth sub-to-be-detected image is subjected to XOR operation, and the pixel brightness at the position in the first sub-target image obtained is the white screen brightness of the display panel.
[0105] Optionally, the second display area can further include a second sub-display area and a third sub-display area, the third to-be-detected image can further include a fifth sub-to-be-detected image and a sixth sub-to-be-detected image, the first target image can further include a second sub-target image and a third sub-target image, and S431 can further include S2 and S3.
[0106] S2, the pixel brightness at the same position in the second sub-to-be-detected image and the fifth sub-to-be-detected image is subjected to XOR operation to obtain a second sub-target image, wherein if the difference of the pixel brightness at the same position in the second sub-to-be-detected image and the fifth sub-to-be-detected image is in the first preset range, the difference of the pixel brightness at the position in the second sub-target image is the first brightness, and if the difference of the pixel brightness at the same position in the second sub-to-be-detected image and the fifth sub-to-be-detected image is not in the first preset range, the difference of the pixel brightness at the position in the second sub-target image is the second brightness.
[0107] S3, the pixel brightness at the same position in the third sub-to-be-detected image and the sixth sub-to-be-detected image is subjected to XOR operation to obtain a third sub-target image, wherein if the difference of the pixel brightness at the same position in the second to-be-detected image and the sixth sub-to-be-detected image is in the first preset range, the difference of the pixel brightness at the position in the third sub-target image is the first brightness, and if the difference of the pixel brightness at the same position in the second to-be-detected image and the sixth sub-to-be-detected image is not in the first preset range, the difference of the pixel brightness at the position in the third sub-target image is the second brightness.
[0108] In S2, as shown in S2, if the difference of the pixel brightness at the same position in the second sub-to-be-detected image and the fifth sub-to-be-detected image is in the first preset range, it is considered that the pixel brightness at the same position in the second sub-to-be-detected image and the fifth sub-to-be-detected image is the same, and the pixel brightness at the same position in the second sub-to-be-detected image and the fifth sub-to-be-detected image is subjected to XOR operation to obtain the pixel brightness at the position in the second sub-target image, which is the black screen brightness of the display panel. Figure 5 Figure 6 As shown in FIG. 6, if the difference between the pixel brightness at the same position in the second sub-detected image and the sixth sub-detected image is not within the first preset range, it is considered that the pixel brightness at the same position in the second sub-detected image and the sixth sub-detected image is different. The pixel brightness at the same position in the second sub-detected image and the sixth sub-detected image is subjected to XOR operation, and the pixel brightness at the same position in the obtained second sub-target image is the white screen brightness of the display panel.
[0109] In S3, as shown in FIG. 5, if the difference between the pixel brightness at the same position in the third sub-detected image and the sixth sub-detected image is within the first preset range, it is considered that the pixel brightness at the same position in the third sub-detected image and the sixth sub-detected image is the same. The pixel brightness at the same position in the third sub-detected image and the sixth sub-detected image is subjected to XOR operation, and the pixel brightness at the same position in the obtained third sub-target image is the black screen brightness of the display panel. Figure 5 Figure 6 As shown in FIG. 6, if the difference between the pixel brightness at the same position in the second sub-detected image and the sixth sub-detected image is not within the first preset range, it is considered that the pixel brightness at the same position in the second sub-detected image and the sixth sub-detected image is different. The pixel brightness at the same position in the second sub-detected image and the sixth sub-detected image is subjected to XOR operation, and the pixel brightness at the same position in the obtained second sub-target image is the white screen brightness of the display panel.
[0110] Then, S440 is introduced.
[0111] Optionally, in a case where the first target image includes the second brightness, the pixel corresponding to the second brightness in the first target image is an abnormal pixel of the display panel.
[0112] In this embodiment, by including the second brightness in the first target image, it can be quickly and accurately determined that the display panel has an abnormal pixel.
[0113] The first target image includes the second brightness, which indicates that the pixel brightness at the same position in the second detected image and the third detected image is different, that is, the lighting condition of at least one pixel in the second detected image and the third detected image is different, and at least one pixel of the first display area and / or the second display area is not lit, that is, the first display area and / or the second display area has an abnormal pixel.
[0114] Optionally, in a case where the first target image does not include the second brightness, the display panel does not have an abnormal pixel.
[0115] In this embodiment, by not including the second brightness in the first target image, it can be quickly and accurately determined that the display panel does not have an abnormal pixel.
[0116] The first target image does not include the second brightness, i.e., the first target image only includes the first brightness, which indicates that the lighting conditions of all pixels in the second to-be-detected image and the third to-be-detected image are the same, i.e., there is no abnormal pixel in the first display area and / or the second display area.
[0117] As an example, in a case where the first target image includes the first sub-target image, S441 can include S5.
[0118] S5, determining whether the first display area and the second display area have abnormal pixels according to the first sub-target image.
[0119] Correspondingly, in a case where the first sub-target image includes the second brightness, the pixel corresponding to the second brightness in the first sub-target image is an abnormal pixel of the display panel. In a case where the first sub-target image does not include the second brightness, the display panel does not have abnormal pixels.
[0120] As another example, in a case where the first target image includes the first sub-target image, the second sub-target image, and the third sub-target image, S441 can include S6.
[0121] S6, determining whether the first display area and the second display area have abnormal pixels according to the first sub-target image, the second sub-target image, and the third sub-target image.
[0122] Correspondingly, in a case where at least one of the first sub-target image, the second sub-target image, and the third sub-target image includes the second brightness, the pixel corresponding to the second brightness in the sub-target image is an abnormal pixel of the display panel.
[0123] Since the first sub-display area, the second sub-display area, the third sub-display area, and the first display area all have a very low possibility of having abnormal pixels in the same position, in a case where the first sub-target image, the second sub-target image, and the third sub-target image do not include the second brightness, it can be considered that the display panel does not have abnormal pixels.
[0124] In some optional embodiments, as shown in FIG. 4B, in a case where it is determined that the display area of the display panel has abnormal pixels, the detection method of the display panel can further include S450. Figure 8
[0125] S450, determining the position of the abnormal pixel in the display area according to the second to-be-detected image, the third to-be-detected image, and the target position of the abnormal pixel in the first target image.
[0126] In this embodiment, the position of the abnormal pixel sub-display area can be accurately determined through the second to-be-detected image, the third to-be-detected image, and the target position of the abnormal pixel in the first target image.
[0127] The target position can be understood as the position of the abnormal pixel in the first target image.
[0128] The position of the abnormal pixel in the display area can be understood as which position in the display area the abnormal pixel is specifically in, i.e., whether the abnormal pixel is specifically in the first display area or the second display area.
[0129] In some optional embodiments, as shown in FIG. 4, S450 can include S451-S453. Figure 9
[0130] S451, performing a subtraction operation on the pixel brightnesses at the same positions in the second to-be-detected image and the target position to obtain a second target image, wherein if the difference between the pixel brightnesses at the same positions in the second to-be-detected image and the target position is not within a second preset range, the pixel brightness at the position in the second target image is a third brightness, and if the difference between the pixel brightnesses at the same positions in the second to-be-detected image and the target position is within the second preset range, the pixel brightness at the position in the second target image is a fourth brightness.
[0131] S452, performing a subtraction operation on the pixel brightnesses at the same positions in the third to-be-detected image and the target position to obtain a third target image, wherein if the difference between the pixel brightnesses at the same positions in the third to-be-detected image and the target position is not within a third preset range, the pixel brightness at the position in the third target image is a fifth brightness, and if the difference between the pixel brightnesses at the same positions in the third to-be-detected image and the target position is within the third preset range, the pixel brightness at the position in the third target image is a sixth brightness.
[0132] S453, determining the position of the abnormal pixel in the display area according to the second target image and the third target image.
[0133] In this embodiment, by performing a subtraction operation on the pixel brightnesses at the same positions in the second to-be-detected image and the target position to obtain a second target image, and performing a subtraction operation on the pixel brightnesses at the same positions in the third to-be-detected image and the target position to obtain a third target image, the second target image and the third target image can be quickly and accurately obtained, and the position of the abnormal pixel in the display area can be accurately determined according to the second target image and the third target image.
[0134] In S451, the second preset range can be set according to actual conditions, which is not limited herein, for example, the second preset range can be [0, 30] nit, or [-5, 5] nit.
[0135] Exemplarily, if the difference between the pixel brightness of the same position in the first sub-detected image (i.e. the second detected image) and the target position is not within the second preset range, it is considered that the pixel brightness of the same position in the first sub-detected image and the target position is different, and the pixel brightness of the same position in the first sub-detected image and the target position is subjected to AND operation, and the pixel brightness of the same position in the obtained second target image is the black screen brightness of the display panel. As shown in Figure 10 Exemplarily, if the difference between the pixel brightness of the same position in the first sub-detected image (i.e. the second detected image) and the target position is not within the second preset range, it is considered that the pixel brightness of the same position in the first sub-detected image and the target position is different, and the pixel brightness of the same position in the first sub-detected image and the target position is subjected to AND operation, and the pixel brightness of the same position in the obtained second target image is the black screen brightness of the display panel. As shown in
[0136] In S452, the third preset range can be set according to actual conditions, which is not limited herein, for example, the third preset range can be [0, 30] nit, or [-10, 10] nit.
[0137] Exemplarily, as shown in Figure 10 Exemplarily, if the difference between the pixel brightness of the same position in the first sub-detected image (i.e. the second detected image) and the target position is not within the second preset range, it is considered that the pixel brightness of the same position in the first sub-detected image and the target position is different, and the pixel brightness of the same position in the first sub-detected image and the target position is subjected to AND operation, and the pixel brightness of the same position in the obtained second target image is the black screen brightness of the display panel. As shown in
[0138] In S453, as an example, in the case that the second target image includes the fourth brightness and the third target image does not include the sixth brightness, it is determined that the abnormal pixel is in the first display area.
[0139] As another example, in the case that the second target image does not include the fourth brightness and the third target image includes the sixth brightness, it is determined that the abnormal pixel is in the second display area.
[0140] As another example, in the case that the second target image does not include the fourth brightness and the third target image includes the sixth brightness, it is determined that the abnormal pixel is in the second display area.
[0141] In the embodiment, by judging whether the fourth luminance is included in the second target image and whether the sixth luminance is included in the third target image, the position of the abnormal pixel in the display area can be quickly and accurately determined.
[0142] The second target image includes the fourth luminance and the third target image does not include the sixth luminance, which indicates that the lighting conditions of all the pixels in the second to-be-detected image and the target position are the same, and the lighting conditions of all the pixels in the third to-be-detected image and the target position are different, that is, there is an abnormal pixel in the first display area and there is no abnormal pixel in the second display area. Correspondingly, in the case that the second target image does not include the fourth luminance and the third target image includes the sixth luminance, it is indicated that the lighting conditions of all the pixels in the second to-be-detected image and the target position are different, and the lighting conditions of all the pixels in the third to-be-detected image and the target position are the same, that is, at least one pixel in the second to-be-detected image is not lit, that is, there is no abnormal pixel in the first display area and there is an abnormal pixel in the second display area.
[0143] Similarly, the second target image includes the fourth luminance and the third target image includes the sixth luminance, which indicates that the lighting conditions of a part of the pixels in the second to-be-detected image and the target position are the same, and the lighting conditions of another part of the pixels in the second to-be-detected image and the target position are the same. That is, there is at least one pixel that is not lit in the second to-be-detected image and the third to-be-detected image, that is, there is an abnormal pixel in the first display area and the second display area.
[0144] In some optional embodiments, the third luminance can be less than the fourth luminance, and the fifth luminance can be less than the sixth luminance. Since the third luminance is less than the fourth luminance and the fifth luminance is less than the sixth luminance, the fourth luminance is more significant than the third luminance, the sixth luminance is more significant than the fifth luminance, and the fourth luminance and the sixth luminance are more easily recognized by the detection device of the electronic device or the display panel.
[0145] At least two of the first luminance, the third luminance and the fifth luminance can be equal, and at least two of the second luminance, the fourth luminance and the sixth luminance can be equal. Alternatively, the first luminance, the third luminance and the fifth luminance are all different, and the second luminance, the fourth luminance and the sixth luminance are all different.
[0146] In some optional embodiments, the first luminance, the third luminance and the fifth luminance are all equal to the black screen luminance of the display panel, and the second luminance, the fourth luminance and the sixth luminance are all equal to the white screen luminance of the display panel. In this way, the first luminance and the second luminance, the third luminance and the fourth luminance, and the fifth luminance and the sixth luminance can be distinguished obviously and clearly.
[0147] In some alternative embodiments, the first luminance, the third luminance and the fifth luminance are all equal to a white picture luminance of the display panel, and the second luminance, the fourth luminance and the sixth luminance are all equal to a black picture luminance of the display panel.
[0148] The first preset range, the second preset range and the third preset range can be the same or different, which is not limited herein.
[0149] Exemplarily, the second display area can include a first sub-display area, the third to-be-detected image can include a fourth sub-to-be-detected image, and the second target image can include a fourth sub-target image. S452 can include S5.
[0150] S5, performing a subtraction operation on the pixel luminance of the same position in the fourth sub-to-be-detected image and the target position to obtain a fourth sub-target image, wherein if the difference between the pixel luminance of the same position in the fourth sub-to-be-detected image and the target position is not within the third preset range, the pixel luminance of the position in the fourth sub-target image is the fifth luminance, and if the difference between the pixel luminance of the same position in the fourth sub-to-be-detected image and the target position is within the third preset range, the pixel luminance of the position in the fourth sub-target image is the sixth luminance.
[0151] In a case where the second target image includes the fourth luminance and the fourth sub-target image does not include the sixth luminance, it is determined that the abnormal pixel is in the first display area. In a case where the second target image does not include the fourth luminance and the fourth sub-target image includes the sixth luminance, it is determined that the abnormal pixel is in the second display area. In a case where the second target image includes the fourth luminance and the fourth sub-target image includes the sixth luminance, it is determined that the abnormal pixel is in the first display area and the second display area.
[0152] Further, the second display area can further include a second sub-display area and a third sub-display area, the third to-be-detected image can further include a fifth sub-to-be-detected image and a sixth sub-to-be-detected image, and the second target image can further include a fifth sub-target image and a sixth sub-target image. S452 can further include S6 to S7, and S453 can include S8.
[0153] S6, performing a subtraction operation on the pixel luminance of the same position in the fifth sub-to-be-detected image and the target position to obtain a fifth sub-target image, wherein if the difference between the pixel luminance of the same position in the fifth sub-to-be-detected image and the target position is not within the third preset range, the pixel luminance of the position in the fifth sub-target image is the fifth luminance, and if the difference between the pixel luminance of the same position in the fifth sub-to-be-detected image and the target position is within the third preset range, the pixel luminance of the position in the fifth sub-target image is the sixth luminance.
[0154] S7, performing AND operation on the pixel brightness of the same position in the sixth sub-detected image and the target position to obtain a sixth sub-target image, wherein if the difference between the pixel brightness of the same position in the sixth sub-detected image and the target position is not within the third preset range, the pixel brightness of the position in the sixth sub-target image is the fifth brightness, and if the difference between the pixel brightness of the same position in the sixth sub-detected image and the target position is within the third preset range, the pixel brightness of the position in the sixth sub-target image is the sixth brightness.
[0155] S8, determining the position of the abnormal pixel in the display area according to the third target image, the fourth sub-target image, the fifth sub-target image and the sixth sub-target image.
[0156] In the embodiment, the position of the abnormal pixel in the display area is determined according to the third target image, the fourth sub-target image, the fifth sub-target image and the sixth sub-target image, and the accuracy of determining the position of the abnormal pixel in the display area can be improved.
[0157] As an example, in the case that the third target image includes the fourth brightness, and the fourth sub-target image, the fifth sub-target image and the sixth sub-target image all include the sixth brightness, it is determined that the abnormal pixel is in the first display area, the first sub-display area, the second sub-display area and the third sub-display area.
[0158] As another example, in the case that the third target image includes the fourth brightness, and the fourth sub-target image, the fifth sub-target image and the sixth sub-target image all do not include the sixth brightness, it is determined that the abnormal pixel is in the first sub-display area, the second sub-display area and the third sub-display area.
[0159] As still another example, in the case that the third target image includes the fourth brightness, the fourth sub-target image includes the sixth brightness, and the fifth sub-target image and the sixth sub-target image both do not include the sixth brightness, the third target image includes the fourth brightness and the fourth sub-target image includes the sixth brightness, which indicates that the lighting conditions of a part of the pixels in the third target image and the target position are the same, and the lighting conditions of another part of the pixels in the fourth sub-target image and the target position are the same, at this time, the lighting conditions of the part of the pixels in the third target image and the part of the pixels in the fourth sub-target image are different from those in the target position, therefore, it is determined that the abnormal pixel is in the first display area, the first sub-display area, the second sub-display area and the third sub-display area.
[0160] Based on the same inventive concept as the above detection method of the display panel, the embodiment of the present application further provides a detection device of a display panel.
[0161] Figure 11 A structure schematic diagram of the detection device of the display panel provided by the embodiment of the present application is shown.
[0162] The display panel provided in the embodiments of the present application has at least a first display area and a second display area, both of which have a special-shaped edge, and the first display area and the second display area are symmetrically arranged about a first symmetry axis. Figure 11 As shown in the figure, the detection device 1100 of the display panel can include an acquisition module 1110, a mirroring module 1120, a comparison module 1130 and a first determination module 1140.
[0163] The acquisition module 1110 is configured to acquire a first to-be-detected image of the first display area and a second to-be-detected image of the second display area.
[0164] The mirroring module 1120 is configured to perform mirroring processing on the first to-be-detected image based on the first symmetry axis to obtain a third to-be-detected image.
[0165] The comparison module 1130 is configured to compare the pixel brightness at the same position in the second to-be-detected image and the third to-be-detected image to obtain a first target image.
[0166] The first determination module 1140 is configured to determine whether there is an abnormal pixel in the first display area and the second display area according to the first target image.
[0167] According to the detection device of the display panel provided in the embodiments of the present application, the first to-be-detected image of the first display area and the second to-be-detected image of the second display area are acquired, then the first to-be-detected image is processed based on the first symmetry axis to obtain a third to-be-detected image, and then the pixel brightness at the same position in the second to-be-detected image and the third to-be-detected image is compared to obtain a first target image. Since the first display area and the second display area are symmetrically arranged about the first symmetry axis, whether there is an abnormal pixel in the first display area and the second display area can be determined according to the first target image. According to the embodiments of the present application, on the one hand, a standard image does not need to be backed up for each parameter formula, thus being conducive to reducing the parameter file and the occupied space; on the other hand, in the detection process of the display panel, a standard image does not need to be loaded, thus being conducive to improving the model switching speed and the parameter formula import speed and reducing the algorithm running time.
[0168] In some optional embodiments, the comparison module 1130 can be specifically configured to:
[0169] perform exclusive OR operation on the pixel brightness at the same position in the second to-be-detected image and the third to-be-detected image to obtain the first target image, wherein if the difference between the pixel brightness at the same position in the second to-be-detected image and the third to-be-detected image is within a first preset range, the pixel brightness at the position in the first target image is a first brightness, and if the difference between the pixel brightness at the same position in the second to-be-detected image and the third to-be-detected image is not within the first preset range, the pixel brightness at the position in the first target image is a second brightness.
[0170] In some optional embodiments, the first luminance is less than the second luminance.
[0171] In some optional embodiments, the first luminance is equal to a black picture luminance of the display panel, and the second luminance is equal to a white picture luminance of the display panel.
[0172] In some optional embodiments, in a case where the first target image includes the second luminance, a pixel corresponding to the second luminance in the first target image is an abnormal pixel of the display panel.
[0173] In some optional embodiments, the detection device of the display panel can further include:
[0174] The second determination module is configured to determine the position of the abnormal pixel in the display area according to the second to-be-detected image, the third to-be-detected image, and the target position of the abnormal pixel in the first target image.
[0175] In some optional embodiments, the second determination module can include:
[0176] The first operation sub-module is configured to perform AND operation on the luminance of the pixels at the same position in the second to-be-detected image and the target position to obtain the second target image, wherein if the difference between the luminance of the pixels at the same position in the second to-be-detected image and the target position is not within the second preset range, the luminance of the pixels at the same position in the second target image is a third luminance, and if the difference between the luminance of the pixels at the same position in the second to-be-detected image and the target position is within the second preset range, the luminance of the pixels at the same position in the second target image is a fourth luminance.
[0177] The second operation sub-module is configured to perform AND operation on the luminance of the pixels at the same position in the third to-be-detected image and the target position to obtain the third target image, wherein if the difference between the luminance of the pixels at the same position in the third to-be-detected image and the target position is not within the third preset range, the luminance of the pixels at the same position in the third target image is a fifth luminance, and if the difference between the luminance of the pixels at the same position in the third to-be-detected image and the target position is within the third preset range, the luminance of the pixels at the same position in the third target image is a sixth luminance.
[0178] The determination sub-module is configured to determine the position of the abnormal pixel in the display area according to the second target image and the third target image.
[0179] In some optional embodiments, in a case where the second target image includes the fourth luminance and the third target image does not include the sixth luminance, it is determined that the abnormal pixel is in the first display area.
[0180] In some optional embodiments, in a case where the second target image does not include the fourth luminance and the third target image includes the sixth luminance, it is determined that the abnormal pixel is in the second display area.
[0181] In some optional embodiments, in a case where the second target image includes the fourth luminance and the third target image includes the sixth luminance, it is determined that the abnormal pixel is in the first display area and the second display area.
[0182] In some optional embodiments, the third luminance is less than the fourth luminance, and the fifth luminance is less than the sixth luminance.
[0183] In some optional embodiments, the first luminance, the third luminance and the fifth luminance are equal to a black screen luminance of the display panel, and the second luminance, the fourth luminance and the sixth luminance are equal to a white screen luminance of the display panel.
[0184] In some optional embodiments, in a case where the first target image does not include the second luminance, the display panel does not have an abnormal pixel.
[0185] The detection device of the display panel provided by the embodiments of the present application can achieve the following advantages. Figure 1 Each process in the detection method of the display panel is not repeated here.
[0186] Figure 12 A hardware structure schematic diagram of the detection device of the display panel provided by the embodiments of the present application is shown.
[0187] The detection device of the display panel can include a processor 1201 and a memory 1202 having computer program instructions stored therein.
[0188] Specifically, the processor 1201 can include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or can be configured as one or more integrated circuits that implement the embodiments of the present application.
[0189] The memory 1202 can include mass storage for data or instructions. As an example and not by way of limitation, the memory 1202 can include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive or a combination of two or more of these. The memory 1202 can include removable or non-removable (or fixed) media, where appropriate. The memory 1202 can be considered a computer-readable medium, where appropriate. Where appropriate, memory 1202 can be internal or external to the integrated gateway disaster recovery device. In particular embodiments, the memory 1202 is non-volatile, solid-state memory. In particular embodiments, the memory 1202 includes read-only memory (ROM). Where appropriate, this ROM can be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM), or flash memory or a combination of two or more of these. By way of example, the memory can include nonvolatile memory.
[0190] The processor 1201 implements a detection method of a display panel in any of the above embodiments by reading and executing computer program instructions stored in the memory 1202.
[0191] In one example, the display panel detection device can further include a communication interface 1203 and a bus 1210. As shown, the processor 1201, the memory 1202, and the communication interface 1203 are connected through the bus 1210 and complete communication with each other. Figure 12
[0192] The communication interface 1203 is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiments of the application.
[0193] Bus 1210 includes hardware, software, or both, to couple components of the display panel detection apparatus to each other in a form, for example, but not limited to, a bus. For example, without limitation, the bus can include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or another suitable bus or combination of two or more of these. Where appropriate, bus 1210 can include one or more buses. Although the present embodiments describe and show a particular bus, the present embodiments contemplate any suitable bus or interconnect.
[0194] The display panel detection apparatus can perform the display panel detection method in the embodiments of the present application, thereby realizing the display panel detection method and the display panel detection apparatus described in combination Figure 1 and Figure 11 with the above.
[0195] The embodiments of the present application also provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the display panel detection method in the above embodiments and achieve the same technical effects. To avoid repetition, details are not described herein. The computer readable storage medium can include a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and is not limited herein.
[0196] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), appropriate firmware, a plug-in, a functional card, and the like. When implemented in software, the elements of the present application are program or code segments used to perform the required tasks. The program or code segments can be stored in a machine-readable medium or transmitted through a data signal carried in a carrier wave over a transmission medium or communication link. The "computer readable medium" can include any medium capable of storing or transmitting information. Examples of the computer readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency links, and the like. The code segments can be downloaded via a computer network such as the Internet, an intranet, and the like.
[0197] According to an embodiment of the present application, the computer readable storage medium can be a non-transitory computer readable storage medium.
[0198] It is also important to note that the examples mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or different from the order in the embodiments, or several steps are performed simultaneously.
[0199] The aspects of the present application are described above with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine, so that the instructions, which are executed via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. The processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block of the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can also be implemented by special hardware to perform the specified functions or actions, or can be implemented by a combination of special hardware and computer instructions.
[0200] In accordance with the embodiments of the present application as described above, the embodiments do not describe all the details, nor limit the present application to only the specific embodiments described. Obviously, many modifications and variations are possible in light of the above description. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can well utilize the present application and make modifications and uses on the basis of the present application. The present application is limited only by the claims and their full scope and equivalents.
Claims
1. A method for detecting a display panel, characterized in that, The display panel has at least a first display area and a second display area, both of which have irregular edges. The first display area and the second display area are symmetrically arranged about a first axis of symmetry. The method includes: Acquire a first image to be detected in the first display area and a second image to be detected in the second display area; Based on the first axis of symmetry, the first image to be detected is mirrored to obtain the third image to be detected; The brightness of pixels at the same position in the second and third images to be detected is compared to obtain the first target image; The method further includes determining whether abnormal pixels exist in the first display area and the second display area based on the first target image; the method also includes: The position of the abnormal pixel in the display area is determined based on the second image to be detected, the third image to be detected, and the target position of the abnormal pixel in the first target image; the step of determining the position of the abnormal pixel in the display area based on the second image to be detected, the third image to be detected, and the target position of the abnormal pixel in the first target image includes: The second target image is obtained by performing a bitwise AND operation on the pixel brightness of the second image to be detected and the pixel brightness of the same position in the target image. If the difference between the pixel brightness of the second image to be detected and the pixel brightness of the same position in the target image is not within a second preset range, then the pixel brightness of that position in the second target image is the third brightness. If the difference between the pixel brightness of the second image to be detected and the pixel brightness of the same position in the target image is within the second preset range, then the pixel brightness of that position in the second target image is the fourth brightness. The pixel brightness at the same position in the third image to be detected and the target position are ANDed to obtain the third target image. If the difference between the pixel brightness at the same position in the third image to be detected and the target position is not within a third preset range, the pixel brightness at that position in the third target image is the fifth brightness. If the difference between the pixel brightness at the same position in the third image to be detected and the target position is within the third preset range, the pixel brightness at that position in the third target image is the sixth brightness. The location of the abnormal pixel in the display area is determined based on the second target image and the third target image; If the second target image includes the fourth brightness and the third target image does not include the sixth brightness, the abnormal pixel is determined to be in the first display area; And / or, if the second target image does not include the fourth brightness and the third target image includes the sixth brightness, the abnormal pixel is determined to be in the second display area; And / or, if the second target image includes the fourth brightness and the third target image includes the sixth brightness, the abnormal pixel is determined to be in the first display area and the second display area.
2. The method for detecting a display panel according to claim 1, characterized in that, The step of comparing the pixel brightness at the same position in the second and third images to be detected to obtain the first target image includes: The pixel brightness at the same position in the second image to be detected and the third image to be detected are XORed to obtain the first target image. If the difference between the pixel brightness at the same position in the second image to be detected and the third image to be detected is within a first preset range, then the pixel brightness at that position in the first target image is the first brightness. If the difference between the pixel brightness at the same position in the second image to be detected and the third image to be detected is not within the first preset range, then the pixel brightness at that position in the first target image is the second brightness.
3. The method for detecting a display panel according to claim 2, characterized in that, The first brightness is less than the second brightness.
4. The method for detecting a display panel according to claim 2, characterized in that, The first brightness is equal to the black screen brightness of the display panel, and the second brightness is equal to the white screen brightness of the display panel.
5. The method for detecting a display panel according to claim 2, characterized in that, If the first target image includes the second brightness, the pixel corresponding to the second brightness in the first target image is an abnormal pixel of the display panel.
6. The method for detecting a display panel according to claim 2, characterized in that, The third brightness is less than the fourth brightness, and the fifth brightness is less than the sixth brightness.
7. The method for detecting a display panel according to claim 2, characterized in that, The first brightness, the third brightness, and the fifth brightness are all equal to the black screen brightness of the display panel, and the second brightness, the fourth brightness, and the sixth brightness are all equal to the white screen brightness of the display panel.
8. The method for detecting a display panel according to claim 2, characterized in that, If the first target image does not include the second brightness, the display panel does not have abnormal pixels.
9. A detection device for a display panel, characterized in that, The display panel has at least a first display area and a second display area, both of which have irregular edges. The first display area and the second display area are symmetrically arranged about a first axis of symmetry. The device includes: The acquisition module is used to acquire a first image to be detected in the first display area and a second image to be detected in the second display area; The mirroring module is used to mirror the first image to be detected based on the first axis of symmetry to obtain a third image to be detected. The comparison module is used to compare the pixel brightness at the same position in the second image to be detected and the third image to be detected to obtain the first target image; The first determining module is used to determine whether there are abnormal pixels in the first display area and the second display area based on the first target image; The device further includes: The second determining module is configured to determine the position of the abnormal pixel in the display area based on the second image to be detected, the third image to be detected, and the target position of the abnormal pixel in the first target image; the second determining module includes: The first calculation submodule is used to perform a bitwise AND operation on the pixel brightness of the second image to be detected and the pixel brightness of the same position in the target position to obtain a second target image. If the difference between the pixel brightness of the second image to be detected and the pixel brightness of the same position in the target position is not within a second preset range, then the pixel brightness of that position in the second target image is a third brightness. If the difference between the pixel brightness of the second image to be detected and the pixel brightness of the same position in the target position is within the second preset range, then the pixel brightness of that position in the second target image is a fourth brightness. The second calculation submodule is used to perform a bitwise AND operation on the pixel brightness of the third image to be detected and the pixel brightness of the same position in the target position to obtain a third target image. If the difference between the pixel brightness of the third image to be detected and the pixel brightness of the same position in the target position is not within a third preset range, then the pixel brightness of that position in the third target image is a fifth brightness. If the difference between the pixel brightness of the third image to be detected and the pixel brightness of the same position in the target position is within a third preset range, then the pixel brightness of that position in the third target image is a sixth brightness. A determination submodule is used to determine the position of the abnormal pixel in the display area based on the second target image and the third target image; If the second target image includes the fourth brightness and the third target image does not include the sixth brightness, the abnormal pixel is determined to be in the first display area; And / or, if the second target image does not include the fourth brightness and the third target image includes the sixth brightness, the abnormal pixel is determined to be in the second display area; And / or, if the second target image includes the fourth brightness and the third target image includes the sixth brightness, the abnormal pixel is determined to be in the first display area and the second display area.
10. A testing device for a display panel, characterized in that, The detection device for the display panel includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the display panel detection method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the display panel detection method as described in any one of claims 1-8.
Citation Information
Patent Citations
An intelligent detection method of PCB defects based on image processing
CN109242853A
Mobile phone glass cover plate window area defect detection method based on symmetry
CN114881915A