WO2021189259A1 - Oled screen point defect determination method and apparatus, storage medium and electronic device - Google Patents

Oled screen point defect determination method and apparatus, storage medium and electronic device Download PDF

Info

Publication number
WO2021189259A1
WO2021189259A1 PCT/CN2020/080945 CN2020080945W WO2021189259A1 WO 2021189259 A1 WO2021189259 A1 WO 2021189259A1 CN 2020080945 W CN2020080945 W CN 2020080945W WO 2021189259 A1 WO2021189259 A1 WO 2021189259A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
oled screen
point
defect
size
Prior art date
Application number
PCT/CN2020/080945
Other languages
French (fr)
Chinese (zh)
Inventor
王帅
姜立
Original Assignee
京东方科技集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Priority to PCT/CN2020/080945 priority Critical patent/WO2021189259A1/en
Priority to CN202080000368.1A priority patent/CN113785181A/en
Publication of WO2021189259A1 publication Critical patent/WO2021189259A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to a method, device, storage medium and electronic equipment for determining point defects of OLED screens.
  • Defect point detection is an indispensable part of the display screen manufacturing process.
  • An efficient and accurate defect point detection method can not only detect defective products, improve the quality of display screen shipments, but also save costs and improve corporate efficiency.
  • defect detection methods in related technologies mainly rely on manual detection.
  • the defect point detection efficiency is low, the detection speed is slow, and the defect point detection effect is not good.
  • This application aims to solve one of the technical problems in the related technology at least to a certain extent.
  • the present application is to propose a method, device, storage medium and electronic equipment for determining point defects of OLED screens, which can improve the efficiency of defect detection of OLED screens, increase the detection speed, and improve the effect of defect detection.
  • the method for determining point defects of an OLED screen proposed by the embodiment of the first aspect of the present application includes: acquiring an image of the OLED screen; converting the image into a YUV image, and extracting the Y image corresponding to the YUV image;
  • the image feature of the Y image identifies the outline size of the defect position of the OLED screen point, and uses the outline size as the outline feature; and performs defect judgment on the OLED screen point according to the outline feature.
  • the method for determining the point defect of the OLED screen proposed by the embodiment of the first aspect of the application is to obtain an image of the OLED screen; convert the image to a YUV image, and extract the Y image corresponding to the YUV image; identify the OLED screen point according to the image characteristics of the Y image
  • the contour size of the defect position is used as the contour feature; the defect judgment of the OLED screen point according to the contour feature can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
  • the device for determining the point defect of the OLED screen proposed in the embodiment of the second aspect of the present application includes: an acquisition module for acquiring an image of the OLED screen; a conversion module for converting the image into a YUV image and extracting The Y image corresponding to the YUV image; an identification module, used to identify the outline size of the defect position of the OLED screen point according to the image characteristics of the Y image, and use the outline size as the outline feature; the determination module uses Based on the outline feature, the defect judgment of the OLED screen dot is performed.
  • the device for determining the point defect of the OLED screen proposed by the embodiment of the second aspect of the present application acquires an image of the OLED screen; converts the image into a YUV image, and extracts the Y image corresponding to the YUV image; and identifies the OLED screen point according to the image characteristics of the Y image
  • the contour size of the defect position is used as the contour feature; the defect judgment of the OLED screen point according to the contour feature can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
  • the non-transitory computer-readable storage medium proposed by the embodiment of the third aspect of the present application when the instructions in the storage medium are executed by the processor of the electronic device, enables the electronic device to execute a method for determining point defects of OLED screens,
  • the method includes: the point defect determination method of the OLED screen proposed by the embodiment of the first aspect of the present application.
  • the non-temporary computer-readable storage medium proposed by the embodiment of the third aspect of the present application acquires an image of an OLED screen; converts the image into a YUV image, and extracts the Y image corresponding to the YUV image; recognizes the OLED according to the image characteristics of the Y image
  • the contour size of the defect position of the screen point, and the contour size is used as the contour feature; the defect judgment of the OLED screen point according to the contour feature can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
  • the electronic device proposed by the embodiment of the fourth aspect of the present application includes: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is arranged inside a space enclosed by the housing, The processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the electronic equipment; the memory is used to store executable program codes; the processor The program corresponding to the executable program code is run by reading the executable program code stored in the memory, so as to execute the OLED screen point defect determination method proposed in the embodiment of the first aspect of the present application.
  • the electronic device proposed in the embodiment of the fourth aspect of the present application acquires an image of the OLED screen; converts the image into a YUV image, and extracts the Y image corresponding to the YUV image; according to the image characteristics of the Y image, it can identify the defect location of the OLED screen point Contour size, and use the contour size as the contour feature; according to the contour feature to determine the defect of the OLED screen point, it can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
  • FIG. 1 is a schematic flowchart of a method for determining point defects of an OLED screen according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an image of an OLED screen according to an embodiment of the application.
  • Figure 3 is a schematic diagram of a Y image in an embodiment of the application.
  • FIG. 4 is a schematic flowchart of a method for determining point defects of an OLED screen proposed by another embodiment of the present application.
  • FIG. 5 is a schematic diagram of a pixel distribution curve diagram according to an embodiment of the application.
  • FIG. 6 is a schematic diagram of converting a Y image into a binary image according to an embodiment of the application.
  • FIG. 7 is a schematic diagram of a target binary image according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of point defects of an OLED screen in an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of an OLED screen point defect determination device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a point defect determination device for an OLED screen according to another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an electronic device proposed in an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for determining point defects of an OLED screen proposed by an embodiment of the present application.
  • the OLED screen point defect determination method is configured as an OLED screen point defect determination device for example.
  • the OLED screen is an organic light-emitting semiconductor (Organic Light-Emitting Diode, OLED) screen.
  • OLED Organic Light-Emitting Diode
  • the OLED screen point defect determination method in this embodiment may be configured in the OLED screen point defect determination device, and the OLED screen point defect determination device may be set in the server or may also be set in the electronic device. This embodiment of the application does not do this. limit.
  • the point defect determination method of an OLED screen is configured in an electronic device as an example.
  • the execution subject of the embodiments of the present application may be, for example, a server or a central processing unit (CPU) in an electronic device in hardware, and may be, for example, a server or a related processor in an electronic device in software. There is no restriction on the background service.
  • CPU central processing unit
  • the method includes:
  • the boundary between the normal points and the defective points of the screen will form a bright and dark contour line.
  • the difference in display brightness can be reflected in the image of the screen. Therefore, this application
  • the embodiment can use the image of the OLED screen to determine the defects of the screen dots, and can effectively use the image characteristics of the screen defect dots, so that the judgment result is more accurate.
  • the device (such as a mobile terminal, a video camera, etc.) with an image acquisition function may specifically capture a picture displayed on the screen and use it as an image of the screen, which is not limited.
  • FIG. 2 is a schematic diagram of an image of an OLED screen according to an embodiment of the application, which includes a plurality of screen points.
  • the point defect determination method of the OLED screen in the embodiment of the invention is used to determine whether each screen point is a defect point. When it is judged as a defect point, the position information of the defect point can be determined, and the number of screen defect points can be counted.
  • the image of the OLED screen obtained above can be recorded as I1.
  • I1 can be input to the electronic device that executes the OLED screen point defect determination method, and the electronic device automatically determines the defect of the screen point.
  • the above-mentioned image of the OLED screen may be an original image obtained by shooting, and the original image may be, for example, a RAW format image without any processing that is collected by an image sensor of an electronic device, and there is no limitation on this.
  • the RAW format image is the original image that the image sensor converts the captured light source signal into a digital signal.
  • S102 Convert the image into a YUV image, and extract a Y image corresponding to the YUV image.
  • S103 According to the image feature of the Y image, identify the outline size of the defect position of the OLED screen point, and use the outline size as the outline feature.
  • the image feature can be, for example, the brightness, grayscale, chroma, saturation and other features of the image. Therefore, the corresponding brightness, grayscale, chroma, saturation and other features can be combined to identify the screen points. Defective points, alternatively, any other possible image features can be combined to identify defective points, and there is no restriction on this.
  • the image when identifying the contour feature of the defect position of the OLED screen according to the image feature of the image, the image can be converted into a YUV image, and the Y image corresponding to the YUV image is extracted, and the identification is based on the image feature of the Y image.
  • the outline feature of the defect location of the OLED screen point by extracting the gray image of the image of the OLED screen, can effectively assist the subsequent identification of the OLED screen defect point, and improve the recognition accuracy of the screen defect point.
  • FIG. 3 is a schematic diagram of a Y image in an embodiment of the application.
  • the above-mentioned YUV image refers to an image that can be processed by the display of an electronic device, and the image format is an image in the YUV format.
  • the luminance signal of the image is called Y
  • the chrominance signal is composed of two independent signals.
  • the two chrominance signals are often called U and V.
  • the image of the OLED screen is obtained, the image can be converted into a YUV image by an image signal processor (Image Signal Processing, ISP), and the Y image corresponding to the YUV image can be extracted, and the OLED screen can be identified according to the image characteristics of the Y image The contour feature of the defect location of the point.
  • ISP Image Signal Processing
  • S104 Perform defect judgment on the OLED screen dots according to the contour characteristics.
  • the outline feature After identifying the outline feature of the defect position of the OLED screen point, the outline feature can be compared with the set feature threshold. When the result of the comparison between the outline feature and the set feature threshold meets the condition, it is determined that the outline feature corresponds to The screen point of the defect position is a defect point, and the position information of the defect point is recorded, and there is no restriction on this.
  • the image of the OLED screen is acquired; the image is converted into a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size
  • a contour feature Defect judgment of OLED screen points based on contour features can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
  • FIG. 4 is a schematic flowchart of a method for determining point defects of an OLED screen according to another embodiment of the present application.
  • the method includes:
  • the method includes:
  • the boundary between the normal points and the defective points of the screen will form a bright and dark contour line.
  • the difference in display brightness can be reflected in the image of the screen. Therefore, this application
  • the embodiment can use the image of the OLED screen to determine the defects of the screen dots, and can effectively use the image characteristics of the screen defect dots, so that the judgment result is more accurate.
  • the device (such as a mobile terminal, a video camera, etc.) with an image acquisition function may specifically capture a picture displayed on the screen and use it as an image of the screen, which is not limited.
  • FIG. 2 is a schematic diagram of an image of an OLED screen according to an embodiment of the application, which includes a plurality of screen points.
  • the point defect determination method of the OLED screen in the embodiment of the invention is used to determine whether each screen point is a defect point. When it is judged as a defect point, the position information of the defect point can be determined, and the number of screen defect points can be counted.
  • the image of the OLED screen obtained above can be recorded as I1.
  • I1 can be input to the electronic device that executes the OLED screen point defect determination method, and the electronic device automatically determines the defect of the screen point.
  • the above-mentioned image of the OLED screen may be an original image obtained by shooting, and the original image may be, for example, a RAW format image without any processing that is collected by an image sensor of an electronic device, and there is no limitation on this.
  • the RAW format image is the original image that the image sensor converts the captured light source signal into a digital signal.
  • S402 Convert the image into a YUV image, and extract a Y image corresponding to the YUV image.
  • the above-mentioned YUV image refers to an image that can be processed by the display of an electronic device, and the image format is an image in the YUV format.
  • the luminance signal of the image is called Y
  • the chrominance signal is composed of two independent signals.
  • the two chrominance signals are often called U and V.
  • the image of the OLED screen is obtained, the image can be converted into a YUV image by an image signal processor (Image Signal Processing, ISP), and the Y image corresponding to the YUV image can be extracted, and the OLED screen can be identified according to the image characteristics of the Y image The contour feature of the defect location of the point.
  • ISP Image Signal Processing
  • S403 Convert the Y image into a binary image according to the image characteristics of the Y image.
  • the Y image is converted into a binary image, which can be to traverse each pixel of the Y image, determine the number of pixels with different gray values, and according to the number of pixels with different gray values , To form a pixel distribution curve, determine the pixel gray threshold according to the pixel distribution curve, compare the gray value of each pixel with the pixel gray threshold, and convert the Y image into a binary image according to the result of the comparison .
  • Binary Image means that each pixel on the image has only two possible values or gray levels.
  • black and white, B&W, and monochrome images are used to represent the binary image, and the image is binarized.
  • the function is to facilitate the extraction of information in the image, and the binary image can increase the recognition efficiency during computer recognition.
  • FIG. 5 is a schematic diagram of a pixel distribution curve diagram according to an embodiment of the application, and I3 is used to represent the pixel distribution curve diagram, and FIG. 6 is a schematic diagram of converting a Y image into a binary image according to an embodiment of the application.
  • the defective point should be located at the extreme value of the curve, and the pixel gray threshold can be calculated according to the above-mentioned pixel distribution curve I3, so that the pixel gray threshold is used as the judgment condition to traverse all the pixels of the image, and the gray value is lower than the pixel
  • the grayscale of the pixel with the grayscale threshold is set to 255 (full white), and the grayscale of the pixel with a grayscale value higher than the pixel gray threshold is set to 0 (full black), forming a binary image I4.
  • the number of pixels with different gray values is determined, and the pixel distribution curve is formed according to the number of pixels with different gray values.
  • the pixel gray threshold is determined according to the pixel distribution curve, and each pixel
  • the gray value of the point is compared with the pixel gray threshold, and the Y image is converted into a binary image according to the result of the comparison.
  • S404 Perform morphological processing on the binary image to obtain a target binary image.
  • morphological processing is performed on the binary image to obtain the target binary image, which may be to use structural elements of the first size to perform corrosion processing on the binary image, and to use structural elements of the second size to perform corrosion processing on the two-valued image.
  • the first size, second size, and third size can be the same or different .
  • first size a1*a1, second size a2*a2, and third size a3*a3 can be adjusted according to the size and resolution of the image capture device and the panel.
  • value range of a1, a2, and a3 belongs to [3, 7]
  • the above-mentioned target binary image can be expressed as I5, see FIG. 7, which is a schematic diagram of the target binary image according to an embodiment of the application.
  • the above-mentioned structure elements of the first size are used to perform corrosion processing on the binary image
  • the structure elements of the second size are used to perform expansion processing on the binary image after the corrosion processing
  • the structure elements of the third size are used to perform the expansion processing on the two-value image.
  • the value image is corroded again to obtain the target binary image, which provides an effective method to remove the interference points of the screen image, denoises the screen image, reduces the computing resources required for identification, and guarantees subsequent screen defects The recognition effect.
  • S405 Identify the outline size of the defect position of the OLED screen point according to the target binary image, and use the outline size as the outline feature.
  • identifying the outline size of the defect location of the OLED screen point according to the target binary image can be based on the target binary image, determining the outline set of the defect location of the OLED screen point, and traversing each element of the outline set, Recognizing the outline rectangles, forming a set of outline rectangles, and using the length and width of each outline rectangle in the set of outline rectangles as the outline size, it can effectively identify the characteristics of the outline boundary line at the boundary between the normal point and the defect point. Realize the contour recognition and positioning of the screen point defect position.
  • S407 Form a point defect set according to the retained contour rectangles and the coordinate information corresponding to each contour rectangle.
  • the outline set of the defect position of the OLED screen point can be determined according to the target binary image I5, and the screen point corresponding to the defect position can be a suspected defect point. Therefore, the outline set can be regarded as The contour line set of the suspected point, and then each element in the contour line set can be traversed to determine the contour line rectangle to form the contour line rectangle set, which is determined according to the length and width of each contour line rectangle in the contour line rectangle set Whether the corresponding screen point is a defect point.
  • the contour rectangle is collected from the contour rectangle Delete, otherwise keep, the contour line rectangle set after the traversal is completed, and the point defect set is formed according to the reserved contour line rectangle and the coordinate information corresponding to each contour line rectangle.
  • a4 can be adjusted according to the size and resolution of the image capture device and the panel.
  • a4 4, which is not limited.
  • S408 Determine the number of point defects and the location information of each point defect according to the point defect collection.
  • the number of point defects in the point defect set and the location information of each point defect can be counted, thereby completing the point defect judgment of the OLED screen.
  • FIG. 8 is a schematic diagram of a point defect of an OLED screen in an embodiment of the application.
  • Fig. 8 is the output result of the design algorithm based on the flowchart shown in Fig. 4.
  • the purpose of determining the number and location of OLED screen point defects can be achieved, so as to solve the problem that a large number of point defects cannot be quantitatively described, and for large-size printing OLED
  • the bad judgment of the display screen provides technical support, effectively identifies the defects of the screen points, and obtains the number and location information of the defect points, which can effectively guide the production staff to improve the screen, enhance the recognition effect, and enrich the recognition content.
  • the image of the OLED screen is acquired; the image is converted into a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size
  • a contour feature Defect judgment of OLED screen points based on contour features can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
  • Provides a convenient and fast method for obtaining a binary image which can adaptively determine the threshold, and enables the obtained binary image to better show the difference between normal points and defective points of the screen image. It can effectively remove the interference isolated points and improve the display effect of the screen defect points in the screen image.
  • a method for effectively removing interference points on the screen image is provided, and the screen image is denoised, which reduces the computing resources required for recognition and guarantees the recognition effect of subsequent screen defects. It can effectively identify the characteristics of the contour boundary line at the boundary between the normal point and the defect point, so as to realize the contour recognition and positioning of the screen point defect position. Effectively identify the defects of the screen points, and obtain the number and location information of the defect points, which can effectively guide the production staff to improve the screen, enhance the recognition effect, and enrich the recognition content.
  • FIG. 9 is a schematic structural diagram of a point defect determination device for an OLED screen provided by an embodiment of the present application.
  • the device 900 includes:
  • the obtaining module 901 is used to obtain an image of the OLED screen.
  • the conversion module 902 is used to convert the image into a YUV image and extract the Y image corresponding to the YUV image.
  • the recognition module 903 is used to recognize the contour size of the defect position of the OLED screen point according to the image characteristics of the Y image, and use the contour size as the contour feature.
  • the judging module 904 is used for judging the defects of the OLED screen points according to the contour characteristics.
  • the identification module 903 includes:
  • the conversion sub-module 9031 is used to convert the Y image into a binary image according to the image characteristics of the Y image;
  • the processing sub-module 9032 is used to perform morphological processing on the binary image to obtain the target binary image;
  • the recognition sub-module 9033 is used to recognize the outline size of the defect position of the OLED screen point according to the target binary image, and use the outline size as the outline feature.
  • the conversion sub-module 9031 is specifically used for:
  • the Y image is converted into a binary image.
  • processing sub-module 9032 is specifically configured to:
  • the first size, the second size, and the third size may be the same or different.
  • the identification sub-module 9033 is specifically used to:
  • the length and width of each contour rectangle in the contour rectangle set are used as the contour size.
  • the determination module 904 is specifically configured to:
  • the image of the OLED screen is acquired; the image is converted to a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size
  • a contour feature Defect judgment on OLED screen points based on contour characteristics can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
  • FIG. 11 is a schematic structural diagram of an electronic device proposed in an embodiment of the present application.
  • the electronic device 1100 of this embodiment includes a housing 1101, a processor 1102, a memory 1103, a circuit board 1104, and a power supply circuit 1105.
  • the circuit board 1104 is arranged inside the space enclosed by the housing 1101, and the processor 1102 And the memory 1103 are arranged on the circuit board 1104;
  • the power supply circuit 1105 is used to supply power to various circuits or devices of the electronic device 1100;
  • the memory 1103 is used to store executable program codes;
  • the processor 1102 reads the executable stored in the memory 1103 Program code to run the program corresponding to the executable program code for execution:
  • the image characteristics of the Y image identify the outline size of the defect location of the OLED screen point, and use the outline size as the outline feature;
  • the defects of the OLED screen are judged.
  • the image of the OLED screen is acquired; the image is converted into a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size
  • a contour feature Defect judgment of OLED screen points based on contour features can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
  • the embodiments of the present application propose a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the OLED screen point defect determination method of the foregoing method embodiment is implemented.
  • each part of this application can be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if it is implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate array (PGA), field programmable gate array (FPGA), etc.
  • a person of ordinary skill in the art can understand that all or part of the steps carried in the method of the foregoing embodiments can be implemented by a program instructing relevant hardware to complete.
  • the program can be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.

Abstract

The present application provides an OLED screen point defect determination method and apparatus, a storage medium and an electronic device. The method comprises: acquiring an image of an OLED screen; converting the image into a YUV image, and extracting a Y image corresponding to the YUV image; identifying the contour size of a defect position of OLED screen points according to image features of the Y image, and taking the contour size as a contour feature; and performing defect determination on the OLED screen points according to the contour feature. The present application can improve OLED screen defect point detecting efficiency, increase detecting speed, and improve a defect point detecting effect.

Description

OLED屏幕点缺陷判定方法、装置、存储介质及电子设备Method, device, storage medium and electronic equipment for determining point defect of OLED screen 技术领域Technical field
本申请涉及电子设备技术领域,尤其涉及一种OLED屏幕点缺陷判定方法、装置、存储介质及电子设备。This application relates to the technical field of electronic equipment, and in particular to a method, device, storage medium and electronic equipment for determining point defects of OLED screens.
背景技术Background technique
缺陷点检测,是显示屏幕生产制造过程中必不可少的环节,高效、准确的缺陷点检测方法既能够检出不良品,提升显示屏幕的出货品质,还能节约成本,提升企业效益。Defect point detection is an indispensable part of the display screen manufacturing process. An efficient and accurate defect point detection method can not only detect defective products, improve the quality of display screen shipments, but also save costs and improve corporate efficiency.
相关技术中的缺陷点检测方法主要依赖于人工检测。The defect detection methods in related technologies mainly rely on manual detection.
这种方式下,缺陷点检测效率低,检测速度慢,缺陷点检测效果不佳。In this way, the defect point detection efficiency is low, the detection speed is slow, and the defect point detection effect is not good.
发明内容Summary of the invention
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。This application aims to solve one of the technical problems in the related technology at least to a certain extent.
为此,本申请在于提出一种OLED屏幕点缺陷判定方法、装置、存储介质及电子设备,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。To this end, the present application is to propose a method, device, storage medium and electronic equipment for determining point defects of OLED screens, which can improve the efficiency of defect detection of OLED screens, increase the detection speed, and improve the effect of defect detection.
为达到上述目的,本申请第一方面实施例提出的OLED屏幕点缺陷判定方法,包括:获取OLED屏幕的图像;将所述图像转换为YUV图像,并提取所述YUV图像对应的Y图像;根据所述Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将所述轮廓尺寸作为所述轮廓特征;根据所述轮廓特征对所述OLED屏幕点进行缺陷判定。In order to achieve the above objective, the method for determining point defects of an OLED screen proposed by the embodiment of the first aspect of the present application includes: acquiring an image of the OLED screen; converting the image into a YUV image, and extracting the Y image corresponding to the YUV image; The image feature of the Y image identifies the outline size of the defect position of the OLED screen point, and uses the outline size as the outline feature; and performs defect judgment on the OLED screen point according to the outline feature.
本申请第一方面实施例提出的OLED屏幕点缺陷判定方法,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。The method for determining the point defect of the OLED screen proposed by the embodiment of the first aspect of the application is to obtain an image of the OLED screen; convert the image to a YUV image, and extract the Y image corresponding to the YUV image; identify the OLED screen point according to the image characteristics of the Y image The contour size of the defect position is used as the contour feature; the defect judgment of the OLED screen point according to the contour feature can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
为达到上述目的,本申请第二方面实施例提出的OLED屏幕点缺陷判定装置,包括:获取模块,用于获取OLED屏幕的图像;转换模块,用于将所述图像转换为YUV图像,并提取所述YUV图像对应的Y图像;识别模块,用于根据所述Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将所述轮廓尺寸作为所述轮廓特征;判定模块,用于根据所述轮廓特征对所述OLED屏幕点进行缺陷判定。In order to achieve the above purpose, the device for determining the point defect of the OLED screen proposed in the embodiment of the second aspect of the present application includes: an acquisition module for acquiring an image of the OLED screen; a conversion module for converting the image into a YUV image and extracting The Y image corresponding to the YUV image; an identification module, used to identify the outline size of the defect position of the OLED screen point according to the image characteristics of the Y image, and use the outline size as the outline feature; the determination module uses Based on the outline feature, the defect judgment of the OLED screen dot is performed.
本申请第二方面实施例提出的OLED屏幕点缺陷判定装置,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。The device for determining the point defect of the OLED screen proposed by the embodiment of the second aspect of the present application acquires an image of the OLED screen; converts the image into a YUV image, and extracts the Y image corresponding to the YUV image; and identifies the OLED screen point according to the image characteristics of the Y image The contour size of the defect position is used as the contour feature; the defect judgment of the OLED screen point according to the contour feature can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
本申请第三方面实施例提出的非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器被执行时,使得电子设备能够执行一种OLED屏幕点缺陷判定方法,所述方法包括:本申请第一方面实施例提出的OLED屏幕点缺陷判定方法。The non-transitory computer-readable storage medium proposed by the embodiment of the third aspect of the present application, when the instructions in the storage medium are executed by the processor of the electronic device, enables the electronic device to execute a method for determining point defects of OLED screens, The method includes: the point defect determination method of the OLED screen proposed by the embodiment of the first aspect of the present application.
本申请第三方面实施例提出的非临时性计算机可读存储介质,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。The non-temporary computer-readable storage medium proposed by the embodiment of the third aspect of the present application acquires an image of an OLED screen; converts the image into a YUV image, and extracts the Y image corresponding to the YUV image; recognizes the OLED according to the image characteristics of the Y image The contour size of the defect position of the screen point, and the contour size is used as the contour feature; the defect judgment of the OLED screen point according to the contour feature can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
本申请第四方面实施例提出的电子设备,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述电子设备的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行本申请第一方面实施例提出的OLED屏幕点缺陷判定方法。The electronic device proposed by the embodiment of the fourth aspect of the present application includes: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is arranged inside a space enclosed by the housing, The processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the electronic equipment; the memory is used to store executable program codes; the processor The program corresponding to the executable program code is run by reading the executable program code stored in the memory, so as to execute the OLED screen point defect determination method proposed in the embodiment of the first aspect of the present application.
本申请第四方面实施例提出的电子设备,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。The electronic device proposed in the embodiment of the fourth aspect of the present application acquires an image of the OLED screen; converts the image into a YUV image, and extracts the Y image corresponding to the YUV image; according to the image characteristics of the Y image, it can identify the defect location of the OLED screen point Contour size, and use the contour size as the contour feature; according to the contour feature to determine the defect of the OLED screen point, it can improve the defect detection efficiency of the OLED screen, increase the detection speed, and improve the defect detection effect.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。The additional aspects and advantages of this application will be partly given in the following description, and some will become obvious from the following description, or be understood through the practice of this application.
附图说明Description of the drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become obvious and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1是本申请一实施例提出的OLED屏幕点缺陷判定方法的流程示意图;FIG. 1 is a schematic flowchart of a method for determining point defects of an OLED screen according to an embodiment of the present application;
图2为本申请实施例OLED屏幕的图像示意图;2 is a schematic diagram of an image of an OLED screen according to an embodiment of the application;
图3为本申请实施例中Y图像示意图;Figure 3 is a schematic diagram of a Y image in an embodiment of the application;
图4是本申请另一实施例提出的OLED屏幕点缺陷判定方法的流程示意图;4 is a schematic flowchart of a method for determining point defects of an OLED screen proposed by another embodiment of the present application;
图5为本申请实施例的像素分布曲线图示意图;5 is a schematic diagram of a pixel distribution curve diagram according to an embodiment of the application;
图6为本申请实施例的Y图像转换为二值图像示意图;FIG. 6 is a schematic diagram of converting a Y image into a binary image according to an embodiment of the application;
图7为本申请实施例的目标二值图像示意图;FIG. 7 is a schematic diagram of a target binary image according to an embodiment of the application;
图8为本申请实施例中OLED屏幕的点缺陷示意图;FIG. 8 is a schematic diagram of point defects of an OLED screen in an embodiment of the application;
图9是本申请一实施例提出的OLED屏幕点缺陷判定装置的结构示意图;FIG. 9 is a schematic structural diagram of an OLED screen point defect determination device provided by an embodiment of the present application;
图10是本申请另一实施例提出的OLED屏幕点缺陷判定装置的结构示意图;FIG. 10 is a schematic structural diagram of a point defect determination device for an OLED screen according to another embodiment of the present application;
图11是本申请一个实施例提出的电子设备的结构示意图。FIG. 11 is a schematic structural diagram of an electronic device proposed in an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。相反,本申请的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary, and are only used to explain the present application, and should not be construed as a limitation to the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents falling within the scope of the spirit and connotation of the appended claims.
图1是本申请一实施例提出的OLED屏幕点缺陷判定方法的流程示意图。FIG. 1 is a schematic flowchart of a method for determining point defects of an OLED screen proposed by an embodiment of the present application.
本实施例以OLED屏幕点缺陷判定方法被配置为OLED屏幕点缺陷判定装置中来举例说明。In this embodiment, the OLED screen point defect determination method is configured as an OLED screen point defect determination device for example.
其中,OLED屏幕,即有机发光半导体(Organic Light-Emitting Diode,OLED)屏幕。Among them, the OLED screen is an organic light-emitting semiconductor (Organic Light-Emitting Diode, OLED) screen.
本实施例中OLED屏幕点缺陷判定方法可以被配置在OLED屏幕点缺陷判定装置中,OLED屏幕点缺陷判定装置可以设置在服务器中,或者也可以设置在电子设备中,本申请实施例对此不作限制。The OLED screen point defect determination method in this embodiment may be configured in the OLED screen point defect determination device, and the OLED screen point defect determination device may be set in the server or may also be set in the electronic device. This embodiment of the application does not do this. limit.
本实施例以OLED屏幕点缺陷判定方法被配置在电子设备中为例。In this embodiment, the point defect determination method of an OLED screen is configured in an electronic device as an example.
需要说明的是,本申请实施例的执行主体,在硬件上可以例如为服务器或者电子设备中的中央处理器(Central Processing Unit,CPU),在软件上可以例如为服务器或者电子设备中的相关的后台服务,对此不作限制。It should be noted that the execution subject of the embodiments of the present application may be, for example, a server or a central processing unit (CPU) in an electronic device in hardware, and may be, for example, a server or a related processor in an electronic device in software. There is no restriction on the background service.
参见图1,该方法包括:Referring to Figure 1, the method includes:
S101:获取OLED屏幕的图像。S101: Obtain an image of the OLED screen.
由于考虑到屏幕的缺陷点在显示亮度上存在差异,屏幕的正常点与缺陷点的分界处会形 成明暗的轮廓分界线,该显示亮度上的差异能够体现在屏幕的图像中,因此,本申请实施例可以利用OLED屏幕的图像来对屏幕点的缺陷进行判定,能够有效地利用屏幕缺陷点的图像特征,使得判定结果较为精准。Considering that the defective points of the screen have differences in display brightness, the boundary between the normal points and the defective points of the screen will form a bright and dark contour line. The difference in display brightness can be reflected in the image of the screen. Therefore, this application The embodiment can use the image of the OLED screen to determine the defects of the screen dots, and can effectively use the image characteristics of the screen defect dots, so that the judgment result is more accurate.
上述在获取OLED屏幕的图像时,可以具体是通过具备图像采集功能的设备(如移动终端,摄像机等)抓取屏幕显示图片并作为屏幕的图像,对此不作限制。When acquiring the image of the OLED screen described above, the device (such as a mobile terminal, a video camera, etc.) with an image acquisition function may specifically capture a picture displayed on the screen and use it as an image of the screen, which is not limited.
参见图2,图2为本申请实施例OLED屏幕的图像示意图,其中包括了多个屏幕点,采用发明实施例中的OLED屏幕点缺陷判定方法,对各屏幕点是否为缺陷点进行判定,当判定为缺陷点时,可以确定该缺陷点的位置信息,并对屏幕缺陷点的数量进行统计。Refer to Figure 2, which is a schematic diagram of an image of an OLED screen according to an embodiment of the application, which includes a plurality of screen points. The point defect determination method of the OLED screen in the embodiment of the invention is used to determine whether each screen point is a defect point. When it is judged as a defect point, the position information of the defect point can be determined, and the number of screen defect points can be counted.
上述获取OLED屏幕的图像,可以被记为I1,当获取了I1时,可以将I1输入执行的OLED屏幕点缺陷判定方法的电子设备,由电子设备自动化地对屏幕点进行缺陷判定。The image of the OLED screen obtained above can be recorded as I1. When I1 is obtained, I1 can be input to the electronic device that executes the OLED screen point defect determination method, and the electronic device automatically determines the defect of the screen point.
上述的OLED屏幕的图像可以为拍摄得到的原始图像,原始图像可以例如通过电子设备的图像传感器采集得到的未做任何处理的RAW格式图像,对此不作限制。The above-mentioned image of the OLED screen may be an original image obtained by shooting, and the original image may be, for example, a RAW format image without any processing that is collected by an image sensor of an electronic device, and there is no limitation on this.
其中,RAW格式图像就是图像传感器将捕捉到的光源信号转化为数字信号的原始图像。Among them, the RAW format image is the original image that the image sensor converts the captured light source signal into a digital signal.
S102:将图像转换为YUV图像,并提取YUV图像对应的Y图像。S102: Convert the image into a YUV image, and extract a Y image corresponding to the YUV image.
S103:根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征。S103: According to the image feature of the Y image, identify the outline size of the defect position of the OLED screen point, and use the outline size as the outline feature.
一些实施例中,图像特征可以例如为图像的亮度、灰度、色度、饱和度等特征,由此,可以结合相应的亮度、灰度、色度、饱和度等特征识别出屏幕点中的缺陷点,或者,也可以结合其它任意可能的图像特征识别出缺陷点,对此不作限制。In some embodiments, the image feature can be, for example, the brightness, grayscale, chroma, saturation and other features of the image. Therefore, the corresponding brightness, grayscale, chroma, saturation and other features can be combined to identify the screen points. Defective points, alternatively, any other possible image features can be combined to identify defective points, and there is no restriction on this.
而本申请实施例中,在根据图像的图像特征识别OLED屏幕点的缺陷位置的轮廓特征时,可以是将图像转换为YUV图像,并提取YUV图像对应的Y图像,根据Y图像的图像特征识别OLED屏幕点的缺陷位置的轮廓特征,通过提取OLED屏幕的图像的灰度图像,能够有效地辅助后续识别OLED屏幕缺陷点,提升屏幕缺陷点的识别精准度。In the embodiment of the present application, when identifying the contour feature of the defect position of the OLED screen according to the image feature of the image, the image can be converted into a YUV image, and the Y image corresponding to the YUV image is extracted, and the identification is based on the image feature of the Y image. The outline feature of the defect location of the OLED screen point, by extracting the gray image of the image of the OLED screen, can effectively assist the subsequent identification of the OLED screen defect point, and improve the recognition accuracy of the screen defect point.
参见图3,图3为本申请实施例中Y图像示意图。Refer to Fig. 3, which is a schematic diagram of a Y image in an embodiment of the application.
上述YUV图像,是指电子设备的显示器能够处理的,图像格式为YUV格式的图像。The above-mentioned YUV image refers to an image that can be processed by the display of an electronic device, and the image format is an image in the YUV format.
其中,图像的亮度信号被称作Y,色度信号是由两个互相独立的信号组成,视颜色系统和格式不同,两种色度信号经常被称作U和V。在这种情况下,得到OLED屏幕的图像之后,可以通过图像信号处理器(Image Signal Processing,ISP)将图像转换为YUV图像,提取YUV图像对应的Y图像,根据Y图像的图像特征识别OLED屏幕点的缺陷位置的轮廓特征。Among them, the luminance signal of the image is called Y, and the chrominance signal is composed of two independent signals. Depending on the color system and format, the two chrominance signals are often called U and V. In this case, after the image of the OLED screen is obtained, the image can be converted into a YUV image by an image signal processor (Image Signal Processing, ISP), and the Y image corresponding to the YUV image can be extracted, and the OLED screen can be identified according to the image characteristics of the Y image The contour feature of the defect location of the point.
S104:根据轮廓特征对OLED屏幕点进行缺陷判定。S104: Perform defect judgment on the OLED screen dots according to the contour characteristics.
上述在识别了OLED屏幕点的缺陷位置的轮廓特征之后,可以将轮廓特征与设定特征阈值进行比对,将轮廓特征与设定特征阈值比对的结果满足条件时,确定该轮廓特征对应的缺陷位置的屏幕点为缺陷点,并记录该缺陷点的位置信息,对此不作限制。After identifying the outline feature of the defect position of the OLED screen point, the outline feature can be compared with the set feature threshold. When the result of the comparison between the outline feature and the set feature threshold meets the condition, it is determined that the outline feature corresponds to The screen point of the defect position is a defect point, and the position information of the defect point is recorded, and there is no restriction on this.
本实施例中,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。In this embodiment, the image of the OLED screen is acquired; the image is converted into a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size As a contour feature: Defect judgment of OLED screen points based on contour features can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
图4是本申请另一实施例提出的OLED屏幕点缺陷判定方法的流程示意图。4 is a schematic flowchart of a method for determining point defects of an OLED screen according to another embodiment of the present application.
参见图4,该方法包括:Referring to Figure 4, the method includes:
在本实施例的说明步骤中,可以一并参见上述的图2和图3。In the description steps of this embodiment, reference may be made to Figs. 2 and 3 described above.
参见图4,该方法包括:Referring to Figure 4, the method includes:
S401:获取OLED屏幕的图像。S401: Obtain an image of the OLED screen.
由于考虑到屏幕的缺陷点在显示亮度上存在差异,屏幕的正常点与缺陷点的分界处会形成明暗的轮廓分界线,该显示亮度上的差异能够体现在屏幕的图像中,因此,本申请实施例可以利用OLED屏幕的图像来对屏幕点的缺陷进行判定,能够有效地利用屏幕缺陷点的图像特征,使得判定结果较为精准。Considering that the defective points of the screen have differences in display brightness, the boundary between the normal points and the defective points of the screen will form a bright and dark contour line. The difference in display brightness can be reflected in the image of the screen. Therefore, this application The embodiment can use the image of the OLED screen to determine the defects of the screen dots, and can effectively use the image characteristics of the screen defect dots, so that the judgment result is more accurate.
上述在获取OLED屏幕的图像时,可以具体是通过具备图像采集功能的设备(如移动终端,摄像机等)抓取屏幕显示图片并作为屏幕的图像,对此不作限制。When acquiring the image of the OLED screen described above, the device (such as a mobile terminal, a video camera, etc.) with an image acquisition function may specifically capture a picture displayed on the screen and use it as an image of the screen, which is not limited.
参见图2,图2为本申请实施例OLED屏幕的图像示意图,其中包括了多个屏幕点,采用发明实施例中的OLED屏幕点缺陷判定方法,对各屏幕点是否为缺陷点进行判定,当判定为缺陷点时,可以确定该缺陷点的位置信息,并对屏幕缺陷点的数量进行统计。Refer to Figure 2, which is a schematic diagram of an image of an OLED screen according to an embodiment of the application, which includes a plurality of screen points. The point defect determination method of the OLED screen in the embodiment of the invention is used to determine whether each screen point is a defect point. When it is judged as a defect point, the position information of the defect point can be determined, and the number of screen defect points can be counted.
上述获取OLED屏幕的图像,可以被记为I1,当获取了I1时,可以将I1输入执行的OLED屏幕点缺陷判定方法的电子设备,由电子设备自动化地对屏幕点进行缺陷判定。The image of the OLED screen obtained above can be recorded as I1. When I1 is obtained, I1 can be input to the electronic device that executes the OLED screen point defect determination method, and the electronic device automatically determines the defect of the screen point.
上述的OLED屏幕的图像可以为拍摄得到的原始图像,原始图像可以例如通过电子设备的图像传感器采集得到的未做任何处理的RAW格式图像,对此不作限制。The above-mentioned image of the OLED screen may be an original image obtained by shooting, and the original image may be, for example, a RAW format image without any processing that is collected by an image sensor of an electronic device, and there is no limitation on this.
其中,RAW格式图像就是图像传感器将捕捉到的光源信号转化为数字信号的原始图像。Among them, the RAW format image is the original image that the image sensor converts the captured light source signal into a digital signal.
S402:将图像转换为YUV图像,并提取YUV图像对应的Y图像。S402: Convert the image into a YUV image, and extract a Y image corresponding to the YUV image.
上述YUV图像,是指电子设备的显示器能够处理的,图像格式为YUV格式的图像。The above-mentioned YUV image refers to an image that can be processed by the display of an electronic device, and the image format is an image in the YUV format.
其中,图像的亮度信号被称作Y,色度信号是由两个互相独立的信号组成,视颜色系统和格式不同,两种色度信号经常被称作U和V。在这种情况下,得到OLED屏幕的图像之后, 可以通过图像信号处理器(Image Signal Processing,ISP)将图像转换为YUV图像,提取YUV图像对应的Y图像,根据Y图像的图像特征识别OLED屏幕点的缺陷位置的轮廓特征。Among them, the luminance signal of the image is called Y, and the chrominance signal is composed of two independent signals. Depending on the color system and format, the two chrominance signals are often called U and V. In this case, after the image of the OLED screen is obtained, the image can be converted into a YUV image by an image signal processor (Image Signal Processing, ISP), and the Y image corresponding to the YUV image can be extracted, and the OLED screen can be identified according to the image characteristics of the Y image The contour feature of the defect location of the point.
S403:根据Y图像的图像特征,将Y图像转换为二值图像。S403: Convert the Y image into a binary image according to the image characteristics of the Y image.
可选地,根据Y图像的图像特征,将Y图像转换为二值图像,可以是遍历Y图像的各像素点,确定不同灰度值的像素点数量,并根据不同灰度值的像素点数量,形成像素分布曲线图,根据像素分布曲线图确定像素灰度阈值,将各像素点的灰度值与像素灰度阈值作比对,以及根据比对的结果,将Y图像转换为二值图像。Optionally, according to the image characteristics of the Y image, the Y image is converted into a binary image, which can be to traverse each pixel of the Y image, determine the number of pixels with different gray values, and according to the number of pixels with different gray values , To form a pixel distribution curve, determine the pixel gray threshold according to the pixel distribution curve, compare the gray value of each pixel with the pixel gray threshold, and convert the Y image into a binary image according to the result of the comparison .
上述的二值图像(Binary Image)是指将图像上的每一个像素只有两种可能的取值或灰度等级状态,通常用黑白、B&W、单色图像表示二值图像,图像二值化的作用是为了方便提取图像中的信息,二值图像在进行计算机识别时可以增加识别效率。The above-mentioned binary image (Binary Image) means that each pixel on the image has only two possible values or gray levels. Usually black and white, B&W, and monochrome images are used to represent the binary image, and the image is binarized. The function is to facilitate the extraction of information in the image, and the binary image can increase the recognition efficiency during computer recognition.
参见图5和图6,图5为本申请实施例的像素分布曲线图示意图,采用I3表示像素分布曲线图,图6为本申请实施例的Y图像转换为二值图像示意图。Referring to FIGS. 5 and 6, FIG. 5 is a schematic diagram of a pixel distribution curve diagram according to an embodiment of the application, and I3 is used to represent the pixel distribution curve diagram, and FIG. 6 is a schematic diagram of converting a Y image into a binary image according to an embodiment of the application.
作为一种示例,遍历Y图像I2中每一个像素点,统计Y图像I2中与不同灰度值对应像素点的数量,得到像素分布曲线图I3,由于缺陷点数量相比正常像素点数量存在数量级差异,因此,缺陷点应位于曲线极值处,可以根据上述像素分布曲线图I3计算像素灰度阈值,从而以像素灰度阈值为判定条件,遍历图像所有像素点,将灰度值低于像素灰度阈值的像素点的灰度设为255(全白),灰度值高于像素灰度阈值的像素点的灰度设为0(全黑),形成二值图像I4。As an example, traverse each pixel in the Y image I2, count the number of pixels corresponding to different gray values in the Y image I2, and get the pixel distribution curve I3, because the number of defective points is orders of magnitude compared to the number of normal pixels Therefore, the defective point should be located at the extreme value of the curve, and the pixel gray threshold can be calculated according to the above-mentioned pixel distribution curve I3, so that the pixel gray threshold is used as the judgment condition to traverse all the pixels of the image, and the gray value is lower than the pixel The grayscale of the pixel with the grayscale threshold is set to 255 (full white), and the grayscale of the pixel with a grayscale value higher than the pixel gray threshold is set to 0 (full black), forming a binary image I4.
通过遍历Y图像的各像素点,确定不同灰度值的像素点数量,并根据不同灰度值的像素点数量,形成像素分布曲线图,根据像素分布曲线图确定像素灰度阈值,将各像素点的灰度值与像素灰度阈值作比对,以及根据比对的结果,将Y图像转换为二值图像,提供了一种便捷、快速获得二值图像的方法,能够自适应地确定出阈值,并且使得获得的二值图像能够较好地表现出屏幕图像的正常点和缺陷点之间的差别。By traversing each pixel of the Y image, the number of pixels with different gray values is determined, and the pixel distribution curve is formed according to the number of pixels with different gray values. The pixel gray threshold is determined according to the pixel distribution curve, and each pixel The gray value of the point is compared with the pixel gray threshold, and the Y image is converted into a binary image according to the result of the comparison. This provides a convenient and fast method to obtain a binary image, which can be determined adaptively Threshold, and make the obtained binary image can better show the difference between the normal point and the defective point of the screen image.
S404:对二值图像进行形态学处理,得到目标二值图像。S404: Perform morphological processing on the binary image to obtain a target binary image.
可选地,对二值图像进行形态学处理,得到目标二值图像,可以是采用第一尺寸的结构元素对二值图像进行腐蚀处理,并采用第二尺寸的结构元素对腐蚀处理后的二值图像进行膨胀处理,以及采用第三尺寸的结构元素对膨胀处理后的二值图像再次进行腐蚀处理,得到目标二值图像,第一尺寸、第二尺寸、第三尺寸可相同,或者不相同。Optionally, morphological processing is performed on the binary image to obtain the target binary image, which may be to use structural elements of the first size to perform corrosion processing on the binary image, and to use structural elements of the second size to perform corrosion processing on the two-valued image. Perform expansion processing on the value image, and use the structural elements of the third size to perform corrosion processing on the expanded binary image again to obtain the target binary image. The first size, second size, and third size can be the same or different .
上述的第一尺寸a1*a1、第二尺寸a2*a2、第三尺寸a3*a3可以是根据图像采集设备和面板大小及分辨率进行调整,一般的,a1,a2,a3的取值范围属于[3,7],对于本实施例, a1=5,a2=3,a3=3,对此不作限制。The above-mentioned first size a1*a1, second size a2*a2, and third size a3*a3 can be adjusted according to the size and resolution of the image capture device and the panel. Generally, the value range of a1, a2, and a3 belongs to [3, 7] For this embodiment, a1=5, a2=3, and a3=3, and there is no restriction on this.
上述的目标二值图像可以表示为I5,参见图7,图7为本申请实施例的目标二值图像示意图。The above-mentioned target binary image can be expressed as I5, see FIG. 7, which is a schematic diagram of the target binary image according to an embodiment of the application.
上述采用第一尺寸的结构元素对二值图像进行腐蚀处理,并采用第二尺寸的结构元素对腐蚀处理后的二值图像进行膨胀处理,以及采用第三尺寸的结构元素对膨胀处理后的二值图像再次进行腐蚀处理,得到目标二值图像,提供了一种有效去除屏幕图像干扰点的方法,对屏幕图像进行了去噪处理,降低了识别所需要消耗的运算资源,保障后续屏幕缺陷点的识别效果。The above-mentioned structure elements of the first size are used to perform corrosion processing on the binary image, the structure elements of the second size are used to perform expansion processing on the binary image after the corrosion processing, and the structure elements of the third size are used to perform the expansion processing on the two-value image. The value image is corroded again to obtain the target binary image, which provides an effective method to remove the interference points of the screen image, denoises the screen image, reduces the computing resources required for identification, and guarantees subsequent screen defects The recognition effect.
S405:根据目标二值图像,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征。S405: Identify the outline size of the defect position of the OLED screen point according to the target binary image, and use the outline size as the outline feature.
可选地,根据目标二值图像,识别OLED屏幕点的缺陷位置的轮廓尺寸,可以是根据目标二值图像,确定OLED屏幕点的缺陷位置的轮廓线集合,并遍历轮廓线集合的各元素,识别出轮廓线矩形,形成轮廓线矩形集合,以及将轮廓线矩形集合中各轮廓线矩形的长和宽,作为轮廓尺寸,能够有效地识别出正常点与缺陷点分界处轮廓分界线的特征,实现对屏幕点缺陷位置进行轮廓识别定位。Optionally, identifying the outline size of the defect location of the OLED screen point according to the target binary image can be based on the target binary image, determining the outline set of the defect location of the OLED screen point, and traversing each element of the outline set, Recognizing the outline rectangles, forming a set of outline rectangles, and using the length and width of each outline rectangle in the set of outline rectangles as the outline size, it can effectively identify the characteristics of the outline boundary line at the boundary between the normal point and the defect point. Realize the contour recognition and positioning of the screen point defect position.
S406:保留轮廓线矩形集合中长和宽均大于设定阈值的轮廓线矩形。S406: Retain the contour rectangles whose length and width are greater than the set threshold in the contour rectangle set.
S407:根据保留的轮廓线矩形,以及与各轮廓线矩形对应的坐标信息形成点缺陷集合。S407: Form a point defect set according to the retained contour rectangles and the coordinate information corresponding to each contour rectangle.
作为一种示例,可以根据上述目标二值图像I5确定OLED屏幕点的缺陷位置的轮廓线集合,该缺陷位置对应的屏幕点可以为疑似的缺陷点,由此,该轮廓线集合可以被视为疑似点的轮廓线集合,而后,可以遍历轮廓线集合中的每个元素,从中确定出轮廓线矩形,形成轮廓线矩形集合,根据轮廓线矩形集合中的各轮廓线矩形的长和宽来确定对应屏幕点是否为缺陷点。As an example, the outline set of the defect position of the OLED screen point can be determined according to the target binary image I5, and the screen point corresponding to the defect position can be a suspected defect point. Therefore, the outline set can be regarded as The contour line set of the suspected point, and then each element in the contour line set can be traversed to determine the contour line rectangle to form the contour line rectangle set, which is determined according to the length and width of each contour line rectangle in the contour line rectangle set Whether the corresponding screen point is a defect point.
可选地,根据轮廓线矩形集合中的各轮廓线矩形的长和宽来确定对应屏幕点是否为缺陷点,可以是当长和宽均小于a4,则将该轮廓线矩形从轮廓线矩形集合删除,否则保留,遍历完毕后的轮廓线矩形集合,根据保留的轮廓线矩形,以及与各轮廓线矩形对应的坐标信息形成点缺陷集合。Optionally, determine whether the corresponding screen point is a defect point according to the length and width of each contour rectangle in the contour rectangle set. When the length and width are both smaller than a4, then the contour rectangle is collected from the contour rectangle Delete, otherwise keep, the contour line rectangle set after the traversal is completed, and the point defect set is formed according to the reserved contour line rectangle and the coordinate information corresponding to each contour line rectangle.
需要说明的是,上述a4的大小可以是根据图像采集设备和面板大小及分辨率进行调整,对于本实施例,a4=4,对此不作限制。It should be noted that the size of a4 can be adjusted according to the size and resolution of the image capture device and the panel. For this embodiment, a4=4, which is not limited.
S408:根据点缺陷集合确定点缺陷数量以及各点缺陷的位置信息。S408: Determine the number of point defects and the location information of each point defect according to the point defect collection.
上述在得到点缺陷集合后,可以统计点缺陷集合中点缺陷数量,以及各点缺陷的位置信 息,从而完成了对OLED屏幕的点缺陷判定。After the point defect set is obtained, the number of point defects in the point defect set and the location information of each point defect can be counted, thereby completing the point defect judgment of the OLED screen.
参见图8,图8为本申请实施例中OLED屏幕的点缺陷示意图。图8为基于图4所示流程图的设计算法的输出结果,通过本申请可以实现确定OLED屏幕点缺陷数量及位置的目的,从而解决面临大量点缺陷无法定量描述的问题,为大尺寸打印OLED显示屏幕的不良判定提供了技术支持,有效地识别出屏幕点的缺陷,并得到缺陷点的数量和位置信息,能够有效指导生产人员对屏幕进行改进,提升识别效果,丰富识别内容。Refer to FIG. 8, which is a schematic diagram of a point defect of an OLED screen in an embodiment of the application. Fig. 8 is the output result of the design algorithm based on the flowchart shown in Fig. 4. Through this application, the purpose of determining the number and location of OLED screen point defects can be achieved, so as to solve the problem that a large number of point defects cannot be quantitatively described, and for large-size printing OLED The bad judgment of the display screen provides technical support, effectively identifies the defects of the screen points, and obtains the number and location information of the defect points, which can effectively guide the production staff to improve the screen, enhance the recognition effect, and enrich the recognition content.
本实施例中,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。提供了一种便捷、快速获得二值图像的方法,能够自适应地确定出阈值,并且使得获得的二值图像能够较好地表现出屏幕图像的正常点和缺陷点之间的差别。能够有效去除了干扰的孤立点,提升屏幕缺陷点在屏幕图像中的显示效果。提供了一种有效去除屏幕图像干扰点的方法,对屏幕图像进行了去噪处理,降低了识别所需要消耗的运算资源,保障后续屏幕缺陷点的识别效果。能够有效地识别出正常点与缺陷点分界处轮廓分界线的特征,从而实现对屏幕点缺陷位置进行轮廓识别定位。有效地识别出屏幕点的缺陷,并得到缺陷点的数量和位置信息,能够有效指导生产人员对屏幕进行改进,提升识别效果,丰富识别内容。In this embodiment, the image of the OLED screen is acquired; the image is converted into a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size As a contour feature: Defect judgment of OLED screen points based on contour features can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects. Provides a convenient and fast method for obtaining a binary image, which can adaptively determine the threshold, and enables the obtained binary image to better show the difference between normal points and defective points of the screen image. It can effectively remove the interference isolated points and improve the display effect of the screen defect points in the screen image. A method for effectively removing interference points on the screen image is provided, and the screen image is denoised, which reduces the computing resources required for recognition and guarantees the recognition effect of subsequent screen defects. It can effectively identify the characteristics of the contour boundary line at the boundary between the normal point and the defect point, so as to realize the contour recognition and positioning of the screen point defect position. Effectively identify the defects of the screen points, and obtain the number and location information of the defect points, which can effectively guide the production staff to improve the screen, enhance the recognition effect, and enrich the recognition content.
图9是本申请一实施例提出的OLED屏幕点缺陷判定装置的结构示意图。FIG. 9 is a schematic structural diagram of a point defect determination device for an OLED screen provided by an embodiment of the present application.
参见图9,该装置900包括:Referring to FIG. 9, the device 900 includes:
获取模块901,用于获取OLED屏幕的图像。The obtaining module 901 is used to obtain an image of the OLED screen.
转换模块902,用于将图像转换为YUV图像,并提取YUV图像对应的Y图像。The conversion module 902 is used to convert the image into a YUV image and extract the Y image corresponding to the YUV image.
识别模块903,用于根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征。The recognition module 903 is used to recognize the contour size of the defect position of the OLED screen point according to the image characteristics of the Y image, and use the contour size as the contour feature.
判定模块904,用于根据轮廓特征对OLED屏幕点进行缺陷判定。The judging module 904 is used for judging the defects of the OLED screen points according to the contour characteristics.
可选地,一些实施例中,参见图10,识别模块903,包括:Optionally, in some embodiments, referring to FIG. 10, the identification module 903 includes:
转换子模块9031,用于根据Y图像的图像特征,将Y图像转换为二值图像;The conversion sub-module 9031 is used to convert the Y image into a binary image according to the image characteristics of the Y image;
处理子模块9032,用于对二值图像进行形态学处理,得到目标二值图像;The processing sub-module 9032 is used to perform morphological processing on the binary image to obtain the target binary image;
识别子模块9033,用于根据目标二值图像,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征。The recognition sub-module 9033 is used to recognize the outline size of the defect position of the OLED screen point according to the target binary image, and use the outline size as the outline feature.
可选地,一些实施例中,转换子模块9031,具体用于:Optionally, in some embodiments, the conversion sub-module 9031 is specifically used for:
遍历Y图像的各像素点,确定不同灰度值的像素点数量;Traverse each pixel of the Y image to determine the number of pixels with different gray values;
根据不同灰度值的像素点数量,形成像素分布曲线图;According to the number of pixels with different gray values, a pixel distribution curve is formed;
根据像素分布曲线图确定像素灰度阈值;Determine the pixel gray threshold according to the pixel distribution curve;
将各像素点的灰度值与像素灰度阈值作比对;Compare the gray value of each pixel with the pixel gray threshold;
根据比对的结果,将Y图像转换为二值图像。According to the result of the comparison, the Y image is converted into a binary image.
可选地,一些实施例中,处理子模块9032,具体用于:Optionally, in some embodiments, the processing sub-module 9032 is specifically configured to:
采用第一尺寸的结构元素对二值图像进行腐蚀处理;Use the first-size structural elements to corrode the binary image;
采用第二尺寸的结构元素对腐蚀处理后的二值图像进行膨胀处理;Use the second-size structural element to expand the binary image after the corrosion treatment;
采用第三尺寸的结构元素对膨胀处理后的二值图像再次进行腐蚀处理,得到目标二值图像,第一尺寸、第二尺寸、第三尺寸可相同,或者不相同。Using the structural elements of the third size to perform corrosion processing on the binary image after the expansion process again to obtain the target binary image, the first size, the second size, and the third size may be the same or different.
可选地,一些实施例中,识别子模块9033,具体用于:Optionally, in some embodiments, the identification sub-module 9033 is specifically used to:
根据目标二值图像,确定OLED屏幕点的缺陷位置的轮廓线集合;According to the target binary image, determine the outline set of the defect position of the OLED screen point;
遍历轮廓线集合的各元素,识别出轮廓线矩形,形成轮廓线矩形集合;Traverse each element of the contour line set, identify the contour line rectangle, and form the contour line rectangle set;
将轮廓线矩形集合中各轮廓线矩形的长和宽,作为轮廓尺寸。The length and width of each contour rectangle in the contour rectangle set are used as the contour size.
可选地,一些实施例中,判定模块904,具体用于:Optionally, in some embodiments, the determination module 904 is specifically configured to:
保留轮廓线矩形集合中长和宽均大于设定阈值的轮廓线矩形;Keep the contour rectangles whose length and width are greater than the set threshold in the contour rectangle set;
根据保留的轮廓线矩形,以及与各轮廓线矩形对应的坐标信息形成点缺陷集合;Form a point defect set according to the retained contour rectangles and the coordinate information corresponding to each contour rectangle;
根据点缺陷集合确定点缺陷数量以及各点缺陷的位置信息。Determine the number of point defects and the location information of each point defect according to the point defect collection.
需要说明的是,对前述图1-图8实施例中对OLED屏幕点缺陷判定方法实施例的解释说明也适用于该实施例的OLED屏幕点缺陷判定装置900,其实现原理类似,此处不再赘述。It should be noted that the explanation of the OLED screen point defect determination method embodiment in the aforementioned embodiments of FIGS. 1 to 8 is also applicable to the OLED screen point defect determination device 900 of this embodiment. The implementation principle is similar, and it is not here. Go into details again.
本实施例中,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。In this embodiment, the image of the OLED screen is acquired; the image is converted to a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size As a contour feature: Defect judgment on OLED screen points based on contour characteristics can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
图11是本申请一个实施例提出的电子设备的结构示意图。FIG. 11 is a schematic structural diagram of an electronic device proposed in an embodiment of the present application.
参见图11,本实施例的电子设备1100包括壳体1101、处理器1102、存储器1103、电路板1104和电源电路1105,其中,电路板1104安置在壳体1101围成的空间内部,处理器1102和存储器1103设置在电路板1104上;电源电路1105,用于为电子设备1100的各个电路或器件供电;存储器1103用于存储可执行程序代码;处理器1102通过读取存储器1103中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行:11, the electronic device 1100 of this embodiment includes a housing 1101, a processor 1102, a memory 1103, a circuit board 1104, and a power supply circuit 1105. The circuit board 1104 is arranged inside the space enclosed by the housing 1101, and the processor 1102 And the memory 1103 are arranged on the circuit board 1104; the power supply circuit 1105 is used to supply power to various circuits or devices of the electronic device 1100; the memory 1103 is used to store executable program codes; the processor 1102 reads the executable stored in the memory 1103 Program code to run the program corresponding to the executable program code for execution:
获取OLED屏幕的图像;Obtain the image of the OLED screen;
将图像转换为YUV图像,并提取YUV图像对应的Y图像;Convert the image to a YUV image, and extract the Y image corresponding to the YUV image;
根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;According to the image characteristics of the Y image, identify the outline size of the defect location of the OLED screen point, and use the outline size as the outline feature;
根据轮廓特征对OLED屏幕点进行缺陷判定。According to the contour characteristics, the defects of the OLED screen are judged.
需要说明的是,对前述图1-图8实施例中对OLED屏幕点缺陷判定方法实施例的解释说明也适用于该实施例的电子设备1100,其实现原理类似,此处不再赘述。It should be noted that the explanation of the embodiment of the OLED screen point defect determination method in the aforementioned embodiments of FIG. 1 to FIG. 8 is also applicable to the electronic device 1100 of this embodiment, and its implementation principles are similar, and will not be repeated here.
本实施例中,通过获取OLED屏幕的图像;将图像转换为YUV图像,并提取YUV图像对应的Y图像;根据Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将轮廓尺寸作为轮廓特征;根据轮廓特征对OLED屏幕点进行缺陷判定,能够提升OLED屏幕的缺陷点检测效率,提升检测速度,提升缺陷点检测效果。In this embodiment, the image of the OLED screen is acquired; the image is converted into a YUV image, and the Y image corresponding to the YUV image is extracted; according to the image characteristics of the Y image, the outline size of the defect location of the OLED screen is identified, and the outline size As a contour feature: Defect judgment of OLED screen points based on contour features can improve the efficiency of defect detection of OLED screens, increase detection speed, and improve defect detection effects.
为了实现上述实施例,本申请实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述方法实施例的OLED屏幕点缺陷判定方法。In order to implement the foregoing embodiments, the embodiments of the present application propose a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the OLED screen point defect determination method of the foregoing method embodiment is implemented.
需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description described in the flowchart or described in other ways herein can be understood as a module, segment, or part of code that includes one or more executable instructions for implementing specific logical functions or steps of the process , And the scope of the preferred embodiments of the present application includes additional implementations, which may not be in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. This should It is understood by those skilled in the art to which the embodiments of the present application belong.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of this application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate array (PGA), field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person of ordinary skill in the art can understand that all or part of the steps carried in the method of the foregoing embodiments can be implemented by a program instructing relevant hardware to complete. The program can be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean specific features described in conjunction with the embodiment or example , The structure, materials, or characteristics are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above-mentioned terms do not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present application. A person of ordinary skill in the art can comment on the foregoing within the scope of the present application. The embodiment undergoes changes, modifications, substitutions, and modifications.

Claims (14)

  1. 一种OLED屏幕点缺陷判定方法,其特征在于,所述方法包括:A method for determining point defects of an OLED screen, characterized in that the method includes:
    获取OLED屏幕的图像;Obtain the image of the OLED screen;
    将所述图像转换为YUV图像,并提取所述YUV图像对应的Y图像;Converting the image into a YUV image, and extracting a Y image corresponding to the YUV image;
    根据所述Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将所述轮廓尺寸作为所述轮廓特征;According to the image feature of the Y image, identify the outline size of the defect position of the OLED screen point, and use the outline size as the outline feature;
    根据所述轮廓特征对所述OLED屏幕点进行缺陷判定。Defect judgment is performed on the OLED screen dots according to the contour feature.
  2. 如权利要求1所述的OLED屏幕点缺陷判定方法,其特征在于,所述根据所述Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,包括:The method for determining point defects of an OLED screen according to claim 1, wherein the identifying the outline size of the defect position of the OLED screen according to the image characteristics of the Y image comprises:
    根据所述Y图像的图像特征,将所述Y图像转换为二值图像;Converting the Y image into a binary image according to the image characteristics of the Y image;
    对所述二值图像进行形态学处理,得到目标二值图像;Performing morphological processing on the binary image to obtain a target binary image;
    根据所述目标二值图像,识别OLED屏幕点的缺陷位置的轮廓尺寸。According to the target binary image, the outline size of the defect position of the OLED screen point is identified.
  3. 如权利要求2所述的OLED屏幕点缺陷判定方法,其特征在于,所述根据所述Y图像的图像特征,将所述Y图像转换为二值图像,包括:The method for determining point defects of an OLED screen according to claim 2, wherein the converting the Y image into a binary image according to the image characteristics of the Y image comprises:
    遍历所述Y图像的各像素点,确定不同灰度值的像素点数量;Traverse each pixel of the Y image to determine the number of pixels with different gray values;
    根据所述不同灰度值的像素点数量,形成像素分布曲线图;Forming a pixel distribution curve diagram according to the number of pixels with different gray values;
    根据所述像素分布曲线图确定像素灰度阈值;Determining a pixel gray level threshold according to the pixel distribution curve;
    将所述各像素点的灰度值与所述像素灰度阈值作比对;Comparing the gray value of each pixel with the pixel gray threshold;
    根据比对的结果,将所述Y图像转换为二值图像。According to the result of the comparison, the Y image is converted into a binary image.
  4. 如权利要求2或3所述的OLED屏幕点缺陷判定方法,其特征在于,所述对所述二值图像进行形态学处理,得到目标二值图像,包括:The method for determining point defects of an OLED screen according to claim 2 or 3, wherein said performing morphological processing on said binary image to obtain a target binary image comprises:
    采用第一尺寸的结构元素对所述二值图像进行腐蚀处理;Corroding the binary image by using structural elements of the first size;
    采用第二尺寸的结构元素对腐蚀处理后的二值图像进行膨胀处理;Use the second-size structural element to expand the binary image after the corrosion treatment;
    采用第三尺寸的结构元素对膨胀处理后的二值图像再次进行腐蚀处理,得到所述目标二值图像,所述第一尺寸、所述第二尺寸、所述第三尺寸可相同,或者不相同。Using the structural elements of the third size to perform corrosion processing on the binary image after expansion processing again to obtain the target binary image, the first size, the second size, and the third size may be the same or different same.
  5. 如权利要求2-4任一项所述的OLED屏幕点缺陷判定方法,其特征在于,所述根据所述目标二值图像,识别OLED屏幕点的缺陷位置的轮廓尺寸,包括:The method for determining point defects of an OLED screen according to any one of claims 2-4, wherein the identifying the outline size of the defect position of the OLED screen according to the target binary image comprises:
    根据所述目标二值图像,确定OLED屏幕点的缺陷位置的轮廓线集合;According to the target binary image, determine the outline set of the defect position of the OLED screen point;
    遍历所述轮廓线集合的各元素,识别出轮廓线矩形,形成轮廓线矩形集合;Traverse each element of the contour line set, identify contour line rectangles, and form a contour line rectangle set;
    将所述轮廓线矩形集合中各轮廓线矩形的长和宽,作为所述轮廓尺寸。The length and width of each contour rectangle in the contour rectangle set are used as the contour size.
  6. 如权利要求5所述的OLED屏幕点缺陷判定方法,其特征在于,所述根据所述轮廓特征对所述OLED屏幕点进行缺陷判定,包括:7. The method for determining point defects of an OLED screen according to claim 5, wherein said determining the point defects of said OLED screen according to said contour feature comprises:
    保留所述轮廓线矩形集合中所述长和宽均大于设定阈值的轮廓线矩形;Retaining the contour rectangles whose length and width are both greater than a set threshold in the contour rectangle set;
    根据保留的所述轮廓线矩形,以及与各所述轮廓线矩形对应的坐标信息形成点缺陷集合;Forming a point defect set according to the retained outline rectangles and the coordinate information corresponding to each of the outline rectangles;
    根据所述点缺陷集合确定点缺陷数量以及各点缺陷的位置信息。The number of point defects and the location information of each point defect are determined according to the set of point defects.
  7. 一种OLED屏幕点缺陷判定装置,其特征在于,所述装置包括:An OLED screen point defect judging device, characterized in that the device comprises:
    获取模块,用于获取OLED屏幕的图像;The acquisition module is used to acquire the image of the OLED screen;
    转换模块,用于将所述图像转换为YUV图像,并提取所述YUV图像对应的Y图像;A conversion module for converting the image into a YUV image, and extracting a Y image corresponding to the YUV image;
    识别模块,用于根据所述Y图像的图像特征,识别OLED屏幕点的缺陷位置的轮廓尺寸,并将所述轮廓尺寸作为所述轮廓特征;An identification module, configured to identify the outline size of the defect position of the OLED screen point according to the image feature of the Y image, and use the outline size as the outline feature;
    判定模块,用于根据所述轮廓特征对所述OLED屏幕点进行缺陷判定。The judging module is used for judging the defects of the OLED screen points according to the contour characteristics.
  8. 如权利要求7所述的OLED屏幕点缺陷判定装置,其特征在于,所述识别模块,包括:7. The device for determining point defects of an OLED screen according to claim 7, wherein the identification module comprises:
    转换子模块,用于根据所述Y图像的图像特征,将所述Y图像转换为二值图像;A conversion sub-module for converting the Y image into a binary image according to the image characteristics of the Y image;
    处理子模块,用于对所述二值图像进行形态学处理,得到目标二值图像;The processing sub-module is used to perform morphological processing on the binary image to obtain the target binary image;
    识别子模块,用于根据所述目标二值图像,识别OLED屏幕点的缺陷位置的轮廓尺寸。The recognition sub-module is used to recognize the outline size of the defect position of the OLED screen point according to the target binary image.
  9. 如权利要求8所述的OLED屏幕点缺陷判定装置,其特征在于,所述转换子模块,具体用于:8. The OLED screen point defect judging device according to claim 8, wherein the conversion sub-module is specifically used for:
    遍历所述Y图像的各像素点,确定不同灰度值的像素点数量;Traverse each pixel of the Y image to determine the number of pixels with different gray values;
    根据所述不同灰度值的像素点数量,形成像素分布曲线图;Forming a pixel distribution curve diagram according to the number of pixels with different gray values;
    根据所述像素分布曲线图确定像素灰度阈值;Determining a pixel gray level threshold according to the pixel distribution curve;
    将所述各像素点的灰度值与所述像素灰度阈值作比对;Comparing the gray value of each pixel with the pixel gray threshold;
    根据比对的结果,将所述Y图像转换为二值图像。According to the result of the comparison, the Y image is converted into a binary image.
  10. 如权利要求8或9所述的OLED屏幕点缺陷判定装置,其特征在于,所述处理子模块,具体用于:The device for determining point defects of an OLED screen according to claim 8 or 9, wherein the processing sub-module is specifically configured to:
    采用第一尺寸的结构元素对所述二值图像进行腐蚀处理;Corroding the binary image by using structural elements of the first size;
    采用第二尺寸的结构元素对腐蚀处理后的二值图像进行膨胀处理;Use the second-size structural element to expand the binary image after the corrosion treatment;
    采用第三尺寸的结构元素对膨胀处理后的二值图像再次进行腐蚀处理,得到所述目标二 值图像,所述第一尺寸、所述第二尺寸、所述第三尺寸可相同,或者不相同。Using the structural elements of the third size to perform corrosion processing on the binary image after expansion processing again to obtain the target binary image, the first size, the second size, and the third size may be the same or different same.
  11. 如权利要求8-10任一项所述的OLED屏幕点缺陷判定装置,其特征在于,所述识别子模块,具体用于:The device for determining point defects of an OLED screen according to any one of claims 8-10, wherein the identification sub-module is specifically used for:
    根据所述目标二值图像,确定OLED屏幕点的缺陷位置的轮廓线集合;According to the target binary image, determine the outline set of the defect position of the OLED screen point;
    遍历所述轮廓线集合的各元素,识别出轮廓线矩形,形成轮廓线矩形集合;Traverse each element of the contour line set, identify contour line rectangles, and form a contour line rectangle set;
    将所述轮廓线矩形集合中各轮廓线矩形的长和宽,作为所述轮廓尺寸。The length and width of each contour rectangle in the contour rectangle set are used as the contour size.
  12. 如权利要求11所述的OLED屏幕点缺陷判定装置,其特征在于,所述判定模块,具体用于:The OLED screen point defect judging device according to claim 11, wherein the judging module is specifically used for:
    保留所述轮廓线矩形集合中所述长和宽均大于设定阈值的轮廓线矩形;Retaining the contour rectangles whose length and width are both greater than a set threshold in the contour rectangle set;
    根据保留的所述轮廓线矩形,以及与各所述轮廓线矩形对应的坐标信息形成点缺陷集合;Forming a point defect set according to the retained outline rectangles and the coordinate information corresponding to each of the outline rectangles;
    根据所述点缺陷集合确定点缺陷数量以及各点缺陷的位置信息。The number of point defects and the location information of each point defect are determined according to the set of point defects.
  13. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6中任一项所述的OLED屏幕点缺陷判定方法。A non-temporary computer-readable storage medium with a computer program stored thereon, which is characterized in that when the program is executed by a processor, the method for determining a point defect of an OLED screen according to any one of claims 1 to 6 is realized.
  14. 一种电子设备,所述电子设备包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述电子设备的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行如权利要求1-6中任一项所述的OLED屏幕点缺陷判定方法。An electronic device comprising a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is arranged inside a space enclosed by the housing, the processor and the memory Is arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the electronic equipment; the memory is used to store executable program codes; the processor reads and stores in the memory The executable program code for running the program corresponding to the executable program code is used to execute the method for determining the point defect of the OLED screen according to any one of claims 1-6.
PCT/CN2020/080945 2020-03-24 2020-03-24 Oled screen point defect determination method and apparatus, storage medium and electronic device WO2021189259A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/080945 WO2021189259A1 (en) 2020-03-24 2020-03-24 Oled screen point defect determination method and apparatus, storage medium and electronic device
CN202080000368.1A CN113785181A (en) 2020-03-24 2020-03-24 OLED screen point defect judgment method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/080945 WO2021189259A1 (en) 2020-03-24 2020-03-24 Oled screen point defect determination method and apparatus, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2021189259A1 true WO2021189259A1 (en) 2021-09-30

Family

ID=77890886

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/080945 WO2021189259A1 (en) 2020-03-24 2020-03-24 Oled screen point defect determination method and apparatus, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN113785181A (en)
WO (1) WO2021189259A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117115157A (en) * 2023-10-23 2023-11-24 湖南隆深氢能科技有限公司 Defect detection method, system, terminal equipment and medium based on PEM (PEM) electrolytic cell
CN117237336A (en) * 2023-11-10 2023-12-15 湖南科技大学 Metallized ceramic ring defect detection method, system and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114264669B (en) * 2022-03-03 2022-05-17 武汉精立电子技术有限公司 Screen damage defect detection method, device and equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004239733A (en) * 2003-02-05 2004-08-26 Seiko Epson Corp Defect detection method and apparatus of screen
CN105301810A (en) * 2015-11-24 2016-02-03 上海斐讯数据通信技术有限公司 Screen defect detecting method and screen defect detecting device
CN107678192A (en) * 2017-07-16 2018-02-09 中科院成都信息技术股份有限公司 A kind of Mura defects detection method and system based on machine vision
CN108986069A (en) * 2018-05-30 2018-12-11 哈尔滨工业大学深圳研究生院 A kind of AMOLED display screen defect inspection method, system and storage medium
CN109752394A (en) * 2019-01-28 2019-05-14 凌云光技术集团有限责任公司 A kind of display screen defect high-precision detecting method and system
CN109886952A (en) * 2019-02-25 2019-06-14 京东方科技集团股份有限公司 A kind of screen defect point detecting method and its device, computer-readable medium
CN110175997A (en) * 2019-05-30 2019-08-27 深圳市洲明科技股份有限公司 Show screen dead pixel detection method, device, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101272005B1 (en) * 2011-08-10 2013-06-05 주식회사 포스코 Apparatus and method for detecting surface defects of hot billet
CN106204614B (en) * 2016-07-21 2019-01-08 湘潭大学 A kind of workpiece appearance defects detection method based on machine vision
KR20180077898A (en) * 2016-12-29 2018-07-09 엘지디스플레이 주식회사 Testing device and testing method using the same
CN110895806A (en) * 2019-07-25 2020-03-20 研祥智能科技股份有限公司 Method and system for detecting screen display defects

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004239733A (en) * 2003-02-05 2004-08-26 Seiko Epson Corp Defect detection method and apparatus of screen
CN105301810A (en) * 2015-11-24 2016-02-03 上海斐讯数据通信技术有限公司 Screen defect detecting method and screen defect detecting device
CN107678192A (en) * 2017-07-16 2018-02-09 中科院成都信息技术股份有限公司 A kind of Mura defects detection method and system based on machine vision
CN108986069A (en) * 2018-05-30 2018-12-11 哈尔滨工业大学深圳研究生院 A kind of AMOLED display screen defect inspection method, system and storage medium
CN109752394A (en) * 2019-01-28 2019-05-14 凌云光技术集团有限责任公司 A kind of display screen defect high-precision detecting method and system
CN109886952A (en) * 2019-02-25 2019-06-14 京东方科技集团股份有限公司 A kind of screen defect point detecting method and its device, computer-readable medium
CN110175997A (en) * 2019-05-30 2019-08-27 深圳市洲明科技股份有限公司 Show screen dead pixel detection method, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117115157A (en) * 2023-10-23 2023-11-24 湖南隆深氢能科技有限公司 Defect detection method, system, terminal equipment and medium based on PEM (PEM) electrolytic cell
CN117115157B (en) * 2023-10-23 2024-02-06 湖南隆深氢能科技有限公司 Defect detection method, system, terminal equipment and medium based on PEM (PEM) electrolytic cell
CN117237336A (en) * 2023-11-10 2023-12-15 湖南科技大学 Metallized ceramic ring defect detection method, system and readable storage medium
CN117237336B (en) * 2023-11-10 2024-02-23 湖南科技大学 Metallized ceramic ring defect detection method, system and readable storage medium

Also Published As

Publication number Publication date
CN113785181A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
WO2022062812A1 (en) Screen defect detection method, apparatus, and electronic device
WO2021189259A1 (en) Oled screen point defect determination method and apparatus, storage medium and electronic device
US20060067569A1 (en) Image inspection device, image inspection method, and image inspection program
JP2011188496A (en) Backlight detection device and backlight detection method
WO2015100777A1 (en) Display panel defect detecting method and defect detecting device
JP5301694B2 (en) Image processing apparatus, image processing method, program, and recording medium therefor
CN108037142B (en) Mask optical defect detection method based on image gray value
JP2012142935A (en) Night scene light source detection device and night scene light source detection method
JP2013004089A (en) Image processing method, image processor and scanner
TWI743837B (en) Training data increment method, electronic apparatus and computer-readable medium
JP5640622B2 (en) Method for classifying red-eye object candidates, computer-readable medium, and image processing apparatus
US9094617B2 (en) Methods and systems for real-time image-capture feedback
US20060245652A1 (en) Method for recognizing objects in an image without recording the image in its entirety
JP6628185B2 (en) Inspection method for transparent objects
JP2007208050A (en) External-appearance inspecting method
JP5754931B2 (en) Image analysis apparatus, image analysis method, and program
CN116993654A (en) Camera module defect detection method, device, equipment, storage medium and product
JP2006035505A (en) Method and device for inspecting printed matter
JP2004226272A (en) Method and apparatus for detecting stain defect
JP2012226676A (en) Counting method for bar
JP2004286708A (en) Defect detection apparatus, method, and program
JP2009043111A (en) Image processing method
TWI595224B (en) A method for inspecting color defects on contact lenses and a system thereof
JP2011064614A (en) Device and method for inspecting circular lens
JPH0723845B2 (en) Defect detection method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20927640

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20927640

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20927640

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/04/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20927640

Country of ref document: EP

Kind code of ref document: A1