Screen hole digging method, hole digging screen defect detection method and system
By pasting a template film on the screen and dividing the detection sub-partitions for defect detection, the problem of accuracy and efficiency of defect detection on the hole-digging screen is solved, and the quality and economic benefits of OLED production are improved.
Patent Information
- Application Number
- CN202011632581.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-12-31
AI Technical Summary
It is difficult to effectively detect screen defects on the outer edge of the hole-digging area of a hole-punch screen with existing technology, which affects the yield and economic benefits of OLED production.
By pasting a template film on the screen to be dug, the screen detection image is obtained and divided into multiple detection sub-partitions. Defect detection is performed based on the image parameters of each detection sub-partition, an alarm signal is generated or a hole digging operation is performed to ensure that the detection area Defect detection accuracy.
It improves the detection accuracy and efficiency of hole-digging screens, and improves the yield and economic benefits of OLED production.
Smart Images

Figure CN114689606B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen detection technology, and in particular to a screen hole digging method, a hole digging screen defect detection method and system. Background Art
[0002] Almost all high-end flagship phones now use OLED screens. As the demand for screen-to-body ratio increases, punch-hole cameras have emerged. Punch-hole cameras are small, so they will not affect the user's sensory experience. However, when producing OLED, there will be certain defects in the process or environment. At this time, defect detection at the punch-hole camera is essential. Defect detection of punch-hole screens will improve the yield of OLED production, thereby bringing direct economic benefits. Summary of the invention
[0003] The main technical problem solved by the present invention is how to detect screen defects at the outer edge of the hole area of the hole-punch screen.
[0004] According to the first aspect, an embodiment provides a screen hole digging method, including:
[0005] A template film is attached to the screen to be perforated, wherein the template film is marked with a perforated area and a detection area surrounding the perforated area, wherein the detection area and the perforated area are cocentric, centrally symmetrical figures;
[0006] Acquire a screen detection image with the template film currently attached, the screen detection image comprising a first area and a second area, the first area corresponds to the detection area of the template film, and the second area corresponds to the hole-digging area of the template film;
[0007] Acquire position information of a center point of the first area on the screen detection image;
[0008] Divide the first area of the screen detection image along the center of the first area at a preset equal division angle to obtain N detection sub-areas; wherein N is a natural number greater than 1;
[0009] Obtaining defect detection results of the detection area according to image parameters of each detection sub-area;
[0010] When the defect detection result shows that there is a defect point on the first area, an alarm signal is generated;
[0011] When the defect detection result shows that there is no defect point on the first area, the screen is correspondingly dug according to the digging area marked on the template film;
[0012] Acquire a screen detection image after the hole is dug, wherein the screen detection image after the hole is dug includes the first area and the second area;
[0013] Acquire the position information of the center point of the first area on the screen detection image after the hole is dug;
[0014] Divide the first area of the screen detection image after the hole is dug at a preset equal division angle along the center of the first area to obtain M detection sub-areas; wherein M is a natural number greater than 1;
[0015] According to the image parameters of each of the detection sub-areas, the defect detection result of the detection area is obtained again.
[0016] According to the second aspect, an embodiment provides a method for detecting hole-punch screen defects, including:
[0017] Acquire a screen detection image including a detection area and a hole-digging area of the screen; the detection area and the hole-digging area are cocentric central symmetrical figures, and the hole-digging area is located inside the detection area;
[0018] Acquiring position information of a center point of the detection area on the screen detection image;
[0019] Dividing the detection area along the center point of the detection area at a preset equal division angle to obtain N detection sub-areas; wherein N is a natural number greater than 1;
[0020] According to the image parameters of each of the detection sub-areas, the defect detection result of the detection area is obtained.
[0021] In one embodiment, a marker is provided in the hole-digging area; the marker includes a position marker, the position marker is a centrally symmetrical figure, the center point of which is located at the center point of the hole-digging area, and the position marker is used to identify the center position of the detection area;
[0022] The step of acquiring the position information of the center point of the detection area on the screen detection image includes:
[0023] Acquire an image of the position marker;
[0024] Binarizing the image of the position marker to obtain a binary image of the position marker;
[0025] Extracting a graphic of an edge contour of the position marker from the binary image of the position marker;
[0026] The center position information of the edge contour graphic in the image of the position marker is obtained, and the center point of the detection area is obtained according to the center position information of the edge contour graphic.
[0027] In one embodiment, the step of obtaining the center point of the detection area according to the center position information of the edge contour graphic includes:
[0028] Acquire the position information of the image of the position marker in the screen detection image;
[0029] The position information of the center point of the detection area in the screen detection image is obtained based on the center position information of the edge contour graphic in the image of the position marker and the position information of the image of the position marker in the screen detection image.
[0030] In one embodiment, the marker further includes a direction marker, the center point of the direction marker is at a different position from the center point of the hole area, and the direction marker is used to identify the direction of the screen.
[0031] In one embodiment, the value of the preset equally divided angle is 90 degrees.
[0032] In one embodiment, the pattern of the hole-digging area is circular, the pattern of the detection area is annular, and the pattern of the detection sub-area is a sector ring;
[0033] The step of obtaining the defect detection result of the detection area according to the image parameters of each detection sub-area includes:
[0034] Respectively intercept the image of each detection sub-area according to the preset equal division angle;
[0035] Taking the center point of the detection area as a reference point, flipping the image of each detection sub-area so as to adjust the sector ring graphics of each detection sub-area to be in the same direction;
[0036] The defect detection result of the detection area is obtained according to the image parameters of the fan-ring pattern of each detection sub-area.
[0037] In one embodiment, the screen detection image is a grayscale image, and the image parameters include grayscale values.
[0038] In one embodiment, obtaining the defect detection result of the detection area according to the image parameters of the sector ring pattern of each detection sub-area includes:
[0039] Comparing the grayscale value of each pixel point of the fan-ring figure of each detection sub-area with a preset grayscale threshold interval to obtain a grayscale threshold comparison result;
[0040] The defect detection result of the detection area is obtained according to the grayscale threshold comparison result.
[0041] In one embodiment, obtaining the defect detection result of the detection area according to the image parameters of the sector ring pattern of each detection sub-area includes:
[0042] Comparing the grayscale values of the pixels at the corresponding positions of the fan-ring graphics of the two detection sub-areas in sequence according to a preset order to obtain a comparison result of the pixels at the corresponding positions;
[0043] The defect detection result of the detection area is obtained according to the comparison result of the corresponding position pixels.
[0044] In one embodiment, obtaining the comparison result of the pixels at the corresponding positions includes:
[0045] The grayscale values of the pixels at the corresponding positions of the fan-ring graphics of the two detection sub-areas are different, and the difference is compared with a preset threshold value, and the obtained comparison result is used as the comparison result of the pixels at the corresponding positions.
[0046] According to the third aspect, an embodiment provides a computer-readable storage medium, on which a program is stored, and the program can be executed by a processor to implement the method as described in the first aspect.
[0047] According to a fourth aspect, an embodiment provides a hole-punch screen defect detection system, including:
[0048] A source image acquisition device, used to acquire a screen detection image including a detection area and a hole-punching area of the screen; the detection area and the hole-punching area are concentric central symmetrical figures, and the hole-punching area is located inside the detection area; the source image acquisition device includes a detection platform, a fixing device and an image acquisition device; the fixing device is used to fix the screen at a preset position of the detection platform in a preset direction; the preset position is that the detection area of the screen is located in the imaging center area of the image acquisition device;
[0049] A defect detection device, used to obtain the position information of the center point of the detection area on the screen detection image, and divide the detection area along the center point of the detection area at a preset equal angle to obtain N detection sub-partitions; wherein N is a natural number greater than 1; the defect detection device is also used to obtain the defect detection result of the detection area based on the image parameters of each of the detection sub-partitions.
[0050] According to the screen defect detection system of the above embodiment, it includes a source image acquisition device and a defect detection device. The source image acquisition device is used to acquire a screen detection image, wherein the screen detection image includes a detection area and a hole-digging area, and a marker is set in the hole-digging area. The marker includes a position marker, and the position marker is used to identify the position of the center of the detection area in the screen detection image. The source image acquisition device includes a detection platform, a fixing device and an image acquisition device, and the fixing device is used to fix the screen at a preset position of the detection platform in a preset direction. The defect detection device is used to obtain the center point of the detection area according to the position marker of the screen detection image, and divide the detection area along the center point of the detection area according to a preset equal division angle to obtain N detection sub-divisions, and the defect detection device is also used to obtain the defect detection result of the detection area of the screen according to the image parameters of each detection sub-division. Since the detection area of the screen detection image is divided first, and then the screen defect detection is performed according to the equally divided detection sub-divisions, the screen defect detection is faster and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram of a process of a screen hole digging method in an embodiment;
[0052] Figure 2 A schematic diagram of the structure of a hole-punch screen defect detection system in an embodiment;
[0053] Figure 3 A schematic diagram of the structure of a screen detection image in an embodiment;
[0054] Figure 4 A schematic diagram of the working process of a hole-punch screen defect detection system in an embodiment;
[0055] Figure 5 A schematic diagram of a flow chart of a method for detecting a hole-punch screen defect in another embodiment;
[0056] Figure 6 A schematic diagram of a screen detection image in another embodiment;
[0057] Figure 7 A schematic diagram of an image of a position marker in an embodiment
[0058] Figure 8 is a schematic diagram of an image of a binarized position marker in another embodiment;
[0059] Fig. 9 A schematic diagram of a graphic of an edge contour of a position marker in another embodiment;
[0060] Fig.10 A schematic diagram of dividing a detection area into detection sub-areas in another embodiment;
[0061] Fig.11 A schematic diagram of detection sub-areas respectively cut at 0°-90° in another embodiment;
[0062] Fig.12 A schematic diagram of detection sub-areas cut at 90°-180° in another embodiment;
[0063] Fig.13 A schematic diagram of detection sub-areas respectively cut at 180°-270° in another embodiment;
[0064] Fig.14 A schematic diagram of detection sub-areas respectively cut at 270°-360° in another embodiment;
[0065] Fig.15 A schematic diagram of detecting a sub-partition flip in another embodiment. DETAILED DESCRIPTION
[0066] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0067] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0068] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0069] In an embodiment of the present invention, a method for detecting a hole-punch screen defect comprises: first, obtaining a screen detection image, wherein the screen detection image comprises a detection area and a hole-punch area, the detection area and the hole-punch area are concentric centrally symmetrical figures, and the hole-punch area is located inside the detection area. Then, the position information of the center point of the detection area is obtained on the screen detection image, so as to divide the detection area along the center point of the detection area at a preset equal angle to obtain N detection sub-partitions. Then, based on the image parameters of each detection sub-partition, a defect detection result of the detection area is obtained. Since the detection area in the screen detection image is first divided into a plurality of detection sub-partitions, the hole-punch screen defect detection is performed based on the divided detection sub-partitions, so that the detection is faster and more accurate.
[0070] Embodiment 1:
[0071] Please refer to Figure 1 , is a flow chart of a screen hole digging method in an embodiment, the screen hole digging method comprising:
[0072] Step 110, attaching the template film.
[0073] A template film is pasted on the screen to be perforated, wherein the template film is marked with a perforation area and a detection area surrounding the perforation area, and the detection area and the perforation area are cocentric and centrally symmetrical figures.
[0074] Step 120, obtaining a screen detection image.
[0075] The screen detection image with the template film currently attached is obtained. The screen detection image includes a first area and a second area, wherein the first area corresponds to the detection area of the template film, and the second area corresponds to the hole-digging area of the template film.
[0076] Step 130, detecting the screen according to the screen detection image.
[0077] The first area of the screen detection image is divided into two equal parts along the center of the first area at a preset equal division angle to obtain N detection sub-areas, where N is a natural number greater than 1.
[0078] According to the image parameters of each detection sub-area, the defect detection result of the detection area is obtained. When the defect detection result shows that there are defect points on the detection area, an alarm signal is generated.
[0079] Step 140, dig a hole in the screen.
[0080] When the defect detection result shows that there is no defect point on the detection area, the screen is correspondingly punched according to the punching area marked on the template film.
[0081] Step 150, perform screen detection again.
[0082] A screen detection image after the hole is dug is obtained, and the screen detection image after the hole is dug includes a first area and a second area. The first area is divided into two equal parts at a preset equal division angle along the center of the first area of the screen detection image after the hole is dug, so as to obtain M detection sub-areas, where M is a natural number greater than 1. According to the image parameters of each detection sub-area, a defect detection result of the detection area is obtained again.
[0083] In an embodiment of the present application, a method for digging a hole in a screen includes: first, affixing a template film on the screen, on which a hole digging area and a detection area are marked. Then, a screen detection image including the hole digging area and the detection area is obtained, and the first area in the screen detection image is divided into N detection sub-partitions according to the center point of the first area pre-corresponding to the detection area on the screen detection image, so as to perform defect detection on the detection area according to the image parameters of the detection sub-partitions. Then, a hole is dug in the screen that has passed the inspection, and then the screen after the hole is dug is inspected. Since the same method is used to inspect the detection area of the screen before and after the hole is dug, the stability and accuracy of the screen hole digging process can be detected, and then the screen detection area in the obtained screen detection image is first divided, and then the screen defect detection is performed through the divided detection sub-partitions, thereby improving the detection accuracy and efficiency of the hole-digging screen.
[0084] Embodiment 2:
[0085] Please refer to Figure 2 , is a schematic diagram of the structure of a hole-punch screen defect detection system in an embodiment, including a screen 1 to be detected and a screen defect detection system 2. The screen defect detection system 2 includes a source image acquisition device 20 and a defect detection device 21. The source image acquisition device 20 is used to acquire a screen detection image including a detection area and a hole-punch area of the screen 1. Please refer to Figure 3 , is a structural schematic diagram of a screen detection image in an embodiment, wherein the screen detection image includes a detection area 11 and a hole-digging area 12, wherein the detection area 11 and the hole-digging area 12 are concentric central symmetrical figures, and the hole-digging area 12 is located inside the detection area 11. In one embodiment, a marker 13 is provided in the hole-digging area 12, and the marker 13 includes a position marker 131, and the position marker 131 is a central symmetrical figure, and its center point is located at the center point of the detection area 11, and the position marker 131 is used to identify the center position of the detection area 11. In one embodiment, the marker 13 also includes a direction marker 132, and the center point of the direction marker 132 is different from the center point of the hole-digging area 12, and the direction marker is used to identify the direction of the screen. In one embodiment, the figure of the hole-digging area 12 is circular, and the figure of the detection area 11 is annular.
[0086] In one embodiment, the source image acquisition device 20 includes a detection platform 23, a fixing device 22 and an image acquisition device 24. The fixing device 22 is used to fix the screen 1 at a preset position of the detection platform 23 in a preset direction. The preset position is that the detection area of the screen 1 is located in the imaging center area of the image acquisition device 24. The defect detection device 21 is used to obtain the position information of the center point of the detection area 11 on the screen detection image, and divide the detection area 11 along the center point of the detection area 11 at a preset equal division angle to obtain N detection sub-areas, where N is a natural number greater than 1. The defect detection device 21 is also used to obtain the defect detection result of the detection area of the screen according to the image parameters of each detection sub-area.
[0087] Please refer to Figure 4 , is a schematic diagram of a workflow of a hole-punch screen defect detection system in an embodiment, and the workflow of the screen defect detection system includes:
[0088] Step 210: Acquire a source image.
[0089] The fixing device 22 places the screen 1 to be inspected on the preset position of the inspection platform 23 through a manipulator or a suction cup mechanism. The preset position can ensure that the center of the inspection area of the screen 1 is located in the imaging center area of the image acquisition device 24. In one embodiment, the image acquisition device 24 includes a CCD camera. The image acquisition device 24 acquires the screen inspection image of the screen 1 and sends it to the defect detection device 21. In one embodiment, the screen inspection image is a rectangular image, and the center point of the screen inspection image acquired by the image acquisition device 24 coincides with the center point of the hole-digging area 12. In one embodiment, it can be judged whether the fixing device 22 correctly places the screen to be inspected at the preset position according to the position of the direction marker 132.
[0090] Step 220: image preprocessing.
[0091] The defect detection device 21 obtains the center point of the detection area 11 according to the position marker 131, first obtains the image of the position marker 131, binarizes the image of the position marker 131 to obtain the binarized image of the image of the position marker 131, then extracts the edge contour graphic of the image of the position marker 131, and then obtains the center position information of the edge contour graphic in the image of the position marker 131, so as to obtain the center point of the detection area 11 in the screen detection image according to the center position information of the edge contour graphic of the image of the position marker 131. Among them, obtaining the center point of the detection area 11 in the screen detection image according to the center position information of the edge contour graphic of the image of the position marker 131 includes:
[0092] The position information of the image of the position marker 131 in the screen detection image is obtained, and then the center point of the detection area 11 is obtained based on the center position information of the edge contour of the image of the position marker 131 and the position information of the image of the position marker 131 in the screen detection image.
[0093] In one embodiment, the image preprocessing process further includes:
[0094] The detection area 11 is divided into N detection sub-areas along the center point of the detection area 11 of the screen detection image at a preset equal division angle to obtain N detection sub-areas, where N is a natural number greater than 1. In one embodiment, the pattern of the detection sub-areas is a fan ring. In one embodiment, the image of each detection sub-area is intercepted respectively according to the preset equal division angle, and the value of the preset equal division angle is 90 degrees.
[0095] Step 230, defect inspection.
[0096] The defect detection device 21 uses the center point of the detection area 11 of the screen detection image as a reference point, flips the image of each detection sub-area, so as to adjust the direction of the fan ring image of each detection sub-area, and then obtains the defect detection result of the screen according to the image parameters of the fan ring image of each detection sub-area. Wherein, adjusting the direction of the fan ring image of each detection sub-area means adjusting the image by rotating the fan ring image in each detection sub-area clockwise, counterclockwise and / or flipping the image, so that each detection sub-area after the image adjustment can completely overlap the fan ring images in any two detection sub-areas only by translation. In one embodiment, the defect detection result of the screen is obtained according to the image parameters of the fan ring image of each detection sub-area. In one embodiment, the screen detection image is a grayscale image, and the image parameters of the fan ring image include grayscale values. The grayscale values of each pixel point of the fan ring image of each detection sub-area are respectively compared with a preset grayscale value interval to obtain a grayscale threshold comparison result, and then the defect detection result of the detection area of the screen is output according to the grayscale threshold comparison result. In one embodiment, the grayscale values of the pixel points at corresponding positions of the fan-ring images of two detection sub-partitions are compared in sequence in a preset order to obtain the grayscale value comparison results of the corresponding positions, and then the defect detection results of the detection area of the screen are output based on the grayscale value comparison results of the corresponding positions.
[0097] Step 240: Output the detection result.
[0098] The defect detection device 21 outputs the detection results, which include bad pixels, bad lines and block defects. In one embodiment, the positions of bad pixels, bad lines and block defects are determined according to the equally divided angles of each detection sub-area and the center point of the detection area.
[0099] In an embodiment of the present application, a screen defect detection system includes a source image acquisition device and a defect detection device. The source image acquisition device is used to acquire a screen detection image, wherein the screen detection image includes a detection area and a hole-digging area. A marker is set in the hole-digging area. The marker includes a position marker, and the position marker is used to identify the position of the center of the detection area in the screen detection image. The source image acquisition device includes a detection platform, a fixing device and an image acquisition device. The fixing device is used to fix the screen at a preset position of the detection platform in a preset direction. The defect detection device is used to acquire the center point of the detection area according to the position marker of the screen detection image, and divide the detection area along the center point of the detection area according to a preset equal division angle to obtain N detection sub-divisions, and the defect detection device is also used to acquire the defect detection result of the detection area of the screen according to the image parameters of each detection sub-division. Since the detection area of the screen detection image is first divided, and then the screen defect detection is performed according to the equally divided detection sub-divisions, the screen defect detection is faster and more accurate.
[0100] Embodiment three:
[0101] Please refer to Figure 5 , is a flow chart of a method for detecting a hole-punch screen defect in another embodiment, comprising:
[0102] Step 310, obtaining a screen detection image.
[0103] Get the screen detection image including the detection area and the hole area of the screen. Please refer to Figure 6 , is a schematic diagram of a screen detection image in another embodiment, in which the detection area 11 and the hole-digging area 12 in the screen detection image are concentric central symmetrical figures, and the hole-digging area 12 is located inside the detection area 11. In one embodiment, a marker 13 is provided in the hole-digging area 12. The marker 13 includes a position marker 131, which is a central symmetrical figure. The center point of the position marker 131 is located at the center point of the hole-digging area 12, and the position marker 131 is used to identify the center point position of the detection area 11. In one embodiment, the marker 13 also includes a direction marker 132, and the center point of the direction marker 132 is different from the center point of the hole-digging area 12. The direction marker 132 is used to identify the direction of the screen. In one embodiment, the direction marker 132 is a cross marker. The direction marker 132 also includes an equiangular star or a regular polygon.
[0104] Step 320, obtaining the center point of the detection area.
[0105] The position information of the center point of the detection area 11 is obtained on the screen detection image, including:
[0106] Gets the image of the place marker. Figure 7, which is a schematic diagram of an image of a position marker in an embodiment. In one embodiment, the image of the position marker is captured from the screen detection image, and the position information of the image of the position marker on the screen detection image is obtained.
[0107] Binarize the image of the position marker to obtain a binary image of the position marker. Figure 8 , is a schematic diagram of an image of a binarized position marker in another embodiment.
[0108] Extract the edge contour of the position marker in the binary image of the position marker. Please refer to Fig. 9 , is a schematic diagram of a graphic edge contour of a position marker in another embodiment.
[0109] The center position information of the edge contour graphic in the image of the position marker is obtained, and then the center point of the detection area on the screen detection image is obtained according to the center position information of the edge contour graphic.
[0110] In one embodiment, obtaining the center point of the detection area on the screen detection image according to the center position information of the edge contour graphic includes:
[0111] Get the position information of the image of the position marker in the screen detection image.
[0112] The position information of the center point of the detection area in the screen detection image is obtained based on the center position information of the edge contour graphic in the image of the position marker and the position information of the image of the position marker in the screen detection image.
[0113] For example, the image of the position marker captured from the screen detection image is a rectangle, and the coordinates of the lower left vertex of the rectangle on the screen detection image are O′(x1, y1), which is used as the position information of the image of the position marker on the screen detection image. The center position information of the edge contour graphic in the image of the position marker is obtained as O″(x2, y2). Then the position information of the center point of the detection area in the screen detection image is O(x1+x2, y1+y2).
[0114] Step 330: Acquire the detection sub-partition.
[0115] The detection area 11 is divided into N detection sub-areas along the center point of the detection area 11 according to a preset equal division angle, where N is a natural number greater than 1. In one embodiment, the value of the preset equal division angle is 90 degrees. In one embodiment, the pattern of the hole area 12 is circular, the pattern of the detection area 11 is annular, and the pattern of the detection sub-areas is a fan ring. Please refer to Fig.10 , is a schematic diagram of dividing the detection area into detection sub-partitions in another embodiment.
[0116] Step 340, obtaining defect detection results.
[0117] According to the image parameters of each detection sub-area, the defect detection results of the detection area are obtained, including:
[0118] Cut out the image of each detection sub-area according to the preset equal division angle. Please refer to Fig.11 , Fig.12 , Fig.13 and Fig.14 , are detection sub-partition 1, detection sub-partition 2, detection sub-partition 3 and detection sub-partition 4 respectively intercepted at 0°-90°, 90°-180°, 180°-270° and 270°-360° in another embodiment.
[0119] Taking the center point of the detection area as the reference point, flip the image of each detection sub-area to adjust the direction of the fan ring graphics of each detection sub-area. Fig.15 , is a schematic diagram of detecting sub-area flipping in another embodiment. In one embodiment, the screen detection image is a grayscale image. In one embodiment, the image parameter includes a grayscale value.
[0120] In one embodiment, obtaining defect detection results of the detection area according to image parameters of the fan ring pattern of each detection sub-area includes:
[0121] According to the image parameters of the fan ring pattern of each detection sub-area, the defect detection results of the detection area are obtained, including:
[0122] The grayscale value of each pixel point of the fan-ring figure of each detection sub-area is compared with a preset grayscale threshold range to obtain a grayscale threshold comparison result.
[0123] According to the grayscale threshold comparison result, the defect detection result of the detection area is obtained.
[0124] In one embodiment, obtaining defect detection results of the detection area according to image parameters of the fan ring pattern of each detection sub-area includes:
[0125] The grayscale values of the pixels at the corresponding positions of the fan-ring figures of the two detection sub-areas are compared in sequence according to a preset order to obtain the comparison results of the pixels at the corresponding positions.
[0126] The defect detection result of the detection area is obtained based on the comparison result of the corresponding position pixels.
[0127] The principle of comparing the inspection sub-partitions with each other to obtain the defect detection results of the inspection area is the same as the principle of finding different elements in a set. For example, a set includes 9 numbers 1 and one number 2. The method of obtaining number 2 is to compare each element in the set with each other to find different elements in the set to obtain the element number 2.
[0128] In one embodiment, obtaining the comparison result of pixels at corresponding positions includes:
[0129] The grayscale values of the pixels at the corresponding positions of the fan ring graphics of the two detection sub-partitions are taken as the difference, and the difference is compared with a preset threshold, and the obtained comparison result is used as the comparison result of the pixels at the corresponding positions. In one embodiment of the present application, the detection sub-partitions are used to compare with each other to perform hole screen defect detection, and defect points of the screen larger than 0.8um can be detected.
[0130] In the implementation of the present application, the method for detecting defects in a hole-punch screen includes: first, obtaining a screen detection image, wherein the screen detection image includes a detection area and a hole-punch area, the detection area and the hole-punch area are concentric centrally symmetrical figures, and the hole-punch area is located inside the detection area. Then, the position information of the center point of the detection area is obtained on the screen detection image, so as to divide the detection area along the center point of the detection area at a preset equal angle to obtain N detection sub-partitions. Then, based on the image parameters of each detection sub-partition, the defect detection result of the detection area is obtained. Since the detection area in the screen detection image is first divided into a plurality of detection sub-partitions, the hole-punch screen defect detection is performed based on the divided detection sub-partitions, so that the detection is faster and more accurate.
[0131] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer program. When all or part of the functions in the above-mentioned embodiments are implemented by computer program, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, CD, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the functions of the screen detection image can be realized. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer program, the program can also be stored in a storage medium such as a server, another computer, disk, CD, flash disk or mobile hard disk, and saved in the memory of the local device by downloading or copying, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be realized.
[0132] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A screen hole digging method, characterized in that: include: A template film is attached to the screen to be perforated, wherein the template film is marked with a perforated area and a detection area surrounding the perforated area, wherein the detection area and the perforated area are cocentric, centrally symmetrical figures; Acquire a screen detection image with the template film currently attached, the screen detection image comprising a first area and a second area, the first area corresponds to the detection area of the template film, and the second area corresponds to the hole-digging area of the template film; Acquire position information of a center point of the first area on the screen detection image; Divide the first area of the screen detection image along the center of the first area at a preset equal division angle to obtain N detection sub-areas; wherein N is a natural number greater than 1; Obtaining defect detection results of the detection area according to image parameters of each detection sub-area; When the defect detection result shows that there is a defect point on the first area, an alarm signal is generated; When the defect detection result shows that there is no defect point on the first area, the screen is correspondingly dug according to the digging area marked on the template film; Acquire a screen detection image after the hole is dug, wherein the screen detection image after the hole is dug includes the first area and the second area; Acquire the position information of the center point of the first area on the screen detection image after the hole is dug; Divide the first area of the screen detection image after the hole is dug at a preset equal division angle along the center of the first area to obtain M detection sub-areas; wherein M is a natural number greater than 1; According to the image parameters of each of the detection sub-areas, the defect detection result of the detection area is obtained again.
2. A method for detecting hole-punch screen defects, characterized in that: include: Acquire a screen detection image including a detection area and a hole-digging area of the screen; the detection area and the hole-digging area are cocentric central symmetrical figures, and the hole-digging area is located inside the detection area; Acquiring position information of a center point of the detection area on the screen detection image; Dividing the detection area along the center point of the detection area at a preset equal division angle to obtain N detection sub-areas; wherein N is a natural number greater than 1; According to the image parameters of each of the detection sub-areas, the defect detection result of the detection area is obtained.
3. The method according to claim 2, characterized in that A marker is provided in the hole-digging area; the marker includes a position marker, the position marker is a centrally symmetrical figure, the center point of which is located at the center point of the hole-digging area, and the position marker is used to identify the center position of the detection area; The step of acquiring the position information of the center point of the detection area on the screen detection image includes: Acquire an image of the position marker; Binarizing the image of the position marker to obtain a binary image of the position marker; Extracting a graphic of an edge contour of the position marker from the binary image of the position marker; The center position information of the edge contour graphic in the image of the position marker is obtained, and the center point of the detection area is obtained according to the center position information of the edge contour graphic.
4. The method according to claim 3, characterized in that The step of obtaining the center point of the detection area according to the center position information of the edge contour graphic includes: Acquire the position information of the image of the position marker in the screen detection image; The position information of the center point of the detection area in the screen detection image is obtained based on the center position information of the edge contour graphic in the image of the position marker and the position information of the image of the position marker in the screen detection image.
5. The method according to claim 3, characterized in that The marker further includes a direction marker, the center point of the direction marker is at a different position from the center point of the hole-punch area, and the direction marker is used to identify the direction of the screen.
6. The method according to claim 2, characterized in that The preset value of the equally divided angle is 90 degrees.
7. The method according to claim 2, characterized in that The pattern of the hole digging area is circular, the pattern of the detection area is annular, and the pattern of the detection sub-area is a sector ring; The step of obtaining the defect detection result of the detection area according to the image parameters of each detection sub-area includes: Respectively intercept the image of each detection sub-area according to the preset equal division angle; Taking the center point of the detection area as a reference point, flipping the image of each detection sub-area so as to adjust the sector ring graphics of each detection sub-area to be in the same direction; The defect detection result of the detection area is obtained according to the image parameters of the fan-ring pattern of each detection sub-area.
8. The method according to claim 7, characterized in that The screen detection image is a grayscale image, and the image parameters include grayscale values.
9. The method according to claim 8, characterized in that The step of obtaining the defect detection result of the detection area according to the image parameters of the sector ring pattern of each detection sub-area comprises: Comparing the grayscale value of each pixel point of the fan-ring figure of each detection sub-area with a preset grayscale threshold interval to obtain a grayscale threshold comparison result; The defect detection result of the detection area is obtained according to the grayscale threshold comparison result.
10. The method according to claim 8, characterized in that The step of obtaining the defect detection result of the detection area according to the image parameters of the sector ring pattern of each detection sub-area comprises: Comparing the grayscale values of the pixels at the corresponding positions of the fan-ring graphics of the two detection sub-areas in a preset order, to obtain the comparison results of the pixels at the corresponding positions; The defect detection result of the detection area is obtained according to the comparison result of the corresponding position pixels.
11. The method according to claim 10, characterized in that The obtaining of the comparison result of the pixels at the corresponding positions includes: The grayscale values of the pixels at the corresponding positions of the fan-ring graphics of the two detection sub-areas are different, and the difference is compared with a preset threshold value, and the obtained comparison result is used as the comparison result of the pixels at the corresponding positions.
12. A computer-readable storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 2 to 11.
13. A hole-punch screen defect detection system, characterized in that: include: A source image acquisition device, used to acquire a screen detection image including a detection area and a hole-punching area of the screen; the detection area and the hole-punching area are concentric central symmetrical figures, and the hole-punching area is located inside the detection area; the source image acquisition device includes a detection platform, a fixing device and an image acquisition device; the fixing device is used to fix the screen at a preset position of the detection platform in a preset direction; the preset position is that the detection area of the screen is located in the imaging center area of the image acquisition device; A defect detection device, used for obtaining position information of a center point of the detection area on the screen detection image, and dividing the detection area along the center point of the detection area at a preset equal division angle to obtain N detection sub-areas; wherein N is a natural number greater than 1; The defect detection device is also used to obtain the defect detection result of the detection area according to the image parameters of each detection sub-area.
Citation Information
Patent Citations
Nondestructive testing device and method for stack fault and dislocation defects of silicon polished wafer or epitaxial wafer
CN110161173A
Hole digging screen light leakage defect detection system
CN111208148A
Image-processing method for correcting a target image in accordance with a reference image, and corresponding image-processing device
WO2011015928A2
