[go: up one dir, main page]

WO2018187989A1 - Detection method and apparatus for use with display screen - Google Patents

Detection method and apparatus for use with display screen Download PDF

Info

Publication number
WO2018187989A1
WO2018187989A1 PCT/CN2017/080284 CN2017080284W WO2018187989A1 WO 2018187989 A1 WO2018187989 A1 WO 2018187989A1 CN 2017080284 W CN2017080284 W CN 2017080284W WO 2018187989 A1 WO2018187989 A1 WO 2018187989A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
display screen
image
test item
differential
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2017/080284
Other languages
French (fr)
Chinese (zh)
Inventor
陈灿
黄柏翰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
EELY Guangzhou Electronic Technology Co Ltd
Original Assignee
EELY Guangzhou Electronic Technology Co Ltd
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 EELY Guangzhou Electronic Technology Co Ltd filed Critical EELY Guangzhou Electronic Technology Co Ltd
Priority to PCT/CN2017/080284 priority Critical patent/WO2018187989A1/en
Priority to CN201780021454.9A priority patent/CN108885180B/en
Publication of WO2018187989A1 publication Critical patent/WO2018187989A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells

Definitions

  • Embodiments of the present invention relate to the field of electronic device screen detection technologies, and in particular, to a display screen detection method and apparatus.
  • the current practice is that workers control electronic devices to play a variety of photos, such as solid-colored photos, landscape photos, and portrait photos, which are evaluated by visually observing the display of the screen. Manually detecting the screen of an electronic device is not only inefficient, but also the accuracy of the inspection is affected by individual differences.
  • Embodiments of the present invention provide a method and apparatus for detecting a display screen to improve the efficiency of detecting a display screen.
  • an embodiment of the present invention provides a method for detecting a display screen, where the method includes:
  • the result of the at least one test item is determined by using a fuzzy logic decision method, and the detection result of the display screen to be tested is obtained.
  • the adjusting the camera sensitivity value according to the preset brightness value adaptively includes:
  • the third light sensitivity value is a camera light sensitivity value.
  • the method further includes:
  • the calculating a degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image includes:
  • At least one data reflecting the brightness of the image point is separately calculated as a partial differential in two mutually perpendicular directions, and a partial differential value of the at least one data is a degree of change of the image point.
  • the detecting of the at least one test item in the differential map of the plurality of acquired images comprises:
  • At least one test item is detected for an image point whose partial differential value is not equal to zero.
  • the fuzzy logic determination method is used to judge the result of the at least one test item shown And obtaining the detection result of the display screen to be tested, including:
  • an embodiment of the present invention further provides a detection device for a display screen, the device comprising:
  • a camera sensation adjustment module configured to set a brightness of the display to be tested to a preset brightness value, and adaptively adjust a camera sensation value according to the preset brightness value;
  • An image acquisition module configured to collect a picture displayed on the display screen according to the camera sensitivity value, and obtain a plurality of acquired images
  • a differential map obtaining module configured to calculate a degree of change of each image point of the plurality of acquired images in a spatial domain, to obtain a differential map of the acquired image
  • test item detecting module configured to perform at least one test item detection in the differential map of the plurality of acquired images
  • a detection result obtaining module configured to determine, by using a fuzzy logic determination method, a result of the at least one verification item, and obtain a detection result of the display screen to be tested.
  • the camera sensitization value adjustment module is further configured to:
  • the third light sensitivity value is a camera light sensitivity value.
  • a moiré filtering module for filtering moiré in the plurality of captured images.
  • differential map obtaining module is further configured to:
  • At least one data reflecting the brightness of the image point is separately calculated as a partial differential in two mutually perpendicular directions, and a partial differential value of the at least one data is a degree of change of the image point.
  • differential map obtaining module is further configured to:
  • At least one test item is detected for an image point whose partial differential value is not equal to zero.
  • the detection result obtaining module is further configured to:
  • the brightness of the display screen to be tested is set to a preset brightness value, and the camera sensitivity value is adaptively adjusted according to the preset brightness value, and then the picture displayed on the display screen is collected according to the camera sensitivity value, and more is obtained.
  • the image is acquired, and then the degree of change of each image point of the plurality of acquired images in the spatial domain is calculated, and a differential image of the acquired image is obtained, and then at least one test item is detected in the differential map of the plurality of acquired images, and finally
  • the fuzzy logic determination method is used to determine the result of at least one test item, and the detection result of the display screen to be tested is obtained.
  • FIG. 1 is a flowchart of a method for detecting a display screen according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for detecting a display screen according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for detecting a display screen according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a detecting device for a display screen according to Embodiment 4 of the present invention.
  • FIG. 1 is a flowchart of a method for detecting a display screen according to a first embodiment of the present invention.
  • the embodiment can be applied to the display effect detection on a display screen, wherein the display screen can be a liquid crystal display (LCD). ), Light Emitting Diode (LED), Organic Light Emitting Diode (OLED), Cathode Ray Tube (CRT) display, Plasma Display Panel (PDP) ), and any display screen that can change the display image according to the signal.
  • the method specifically includes the following steps:
  • Step 110 Set the brightness of the display to be tested to a preset brightness value, and adaptively adjust the camera sensitivity value according to the preset brightness value.
  • the preset brightness value may be a maximum brightness percentage displayed on the display screen to be tested, and may be set to any value between 70% and 90%.
  • the camera sensitivity value can be the camera's analog gain or exposure time. In this embodiment, when the display effect of the display screen is detected, the image displayed on the detection display screen is required to be photographed, and in order to obtain a better image, the sensitivity value of the camera needs to be adjusted.
  • the method of adaptively adjusting the camera sensitization value according to the preset brightness value may be: defining a first sensible value and a second sensible value when the camera collects an image, wherein the first sensible value is greater than the second sensible value, The first photosensitive value and the second photosensitive value are averaged to obtain a third photosensitive value. Light up the display to be tested, so that the display screen displays a white screen, and the screen brightness is the maximum brightness. The third sensitivity value is used to collect the picture, and the average brightness of the picture is calculated. If the difference between the average brightness and the preset brightness value is less than the preset error value , the third sensitivity value is the camera sensitivity value.
  • the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is less than the preset brightness value. Then, the second sensitization value is reset to the current camera sensation value, and then the third sensation value is obtained, and the third sensible value obtained by re-taking is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. The adjustment is performed a plurality of times until the difference between the average brightness and the preset brightness value is less than the preset error value.
  • the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is greater than the preset brightness value. Then, the first sensitized value is reset to the current camera sensitization value, and then the third sensible value is obtained, and the third sensible value obtained by re-photographing is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. The adjustment is performed a plurality of times until the difference between the average brightness and the preset brightness value is less than the preset error value.
  • Step 120 Collecting a picture displayed on the display screen according to the camera sensitivities, and obtaining a plurality of acquired images.
  • the captured image may be a color image displayed on the display screen to be tested, and may include a white image, a black image, a gray image, a red image, a green image, and a blue image.
  • the cameras of different colors displayed on the display screen are respectively photographed by using the camera with the adjusted sensitivity value, and multiple images are acquired.
  • Step 130 Calculate a degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image.
  • the degree of change of the image point may be the degree of change in brightness of the pixel of the image.
  • the manner of calculating the degree of change of each image point of the plurality of acquired images in the spatial domain may be: for a plurality of images of different colors, respectively, at least one data reflecting the brightness of the image points along two mutual The vertical direction is calculated separately for the partial differential, and the partial differential value of at least one of the data is the degree of change of the image point.
  • two mutually perpendicular directions may form a Cartesian coordinate system, and each pixel point has a corresponding position coordinate (x, y) in the teaching coordinate system.
  • the luminance values on the pixel position (x, y) coordinates of the image are in one-to-one correspondence with the coordinates (x, y, z) of the Euclidean three-dimensional space.
  • the difference between the brightness value of a certain pixel point and the brightness value of the surrounding pixel points is the brightness change value of the pixel point, which can be obtained by obtaining partial differential.
  • the pixel points represent the brightness data, and the degree of brightness change of each pixel point in two directions can be obtained by the partial differential algorithm.
  • the image data is embodied in red, green and blue (RGB) format, which respectively reflects red luminance data, green luminance data and blue luminance data.
  • the partial differential algorithm can obtain the brightness variation of the corresponding color of each pixel.
  • Step 140 Perform detection of at least one test item in a differential map of the plurality of acquired images.
  • the test items may include black and white group inspection, stain inspection, bright spot inspection, bright spot inspection, bright dark spot inspection, light leakage inspection, light shadow inspection and yellowish inspection.
  • the display screen is a perfect screen, and for the qualified screen, the differential value of the pixel in the screen to be tested is satisfied.
  • the method for performing the detection of the at least one test item in the differential map of the plurality of acquired images may be: searching for an image point whose partial differential value is not equal to 0, and performing at least one test item for the image point whose partial differential value is not equal to 0. Inspection Measurement.
  • the black and white group may be: in the differential graph, the differential value is greater than 0 and the inner non-hole region is the white group at the corresponding position, and the differential value in the differential map is less than 0 and the inner non-hole region is the black group at the corresponding position.
  • the smear may be a closed region in the differential map having a differential value greater than zero (or a differential value less than zero) and having a hole inside.
  • the bright spot can be a lone point with a differential value greater than zero in the differential map.
  • a bright spot may be a closed region in a differential map having a differential value greater than zero and having multiple internal holes.
  • the bright dark spot may be a closed area in which the differential value is greater than 0 in the differential image and the inner edge has a certain thickness of the edge, and the closed area in the corresponding position is a bright spot in the corresponding position, and the differential value in the differential image is less than 0 and the inner closed portion has a certain thickness of the closed area. It is a dark spot on the corresponding position.
  • the light leakage may be an area in which the differential value in the differential map is greater than 0 (or less than 0) and there is no hole inside and the difference between the shape shape and the shape closure area ratio is 0.5 to 2.
  • the light shadow may be a region in which the differential value in the differential map is greater than 0 (or less than 0) and there is no hole inside and the difference between the shape shape and the shape closure area ratio is less than 0.5 or greater than 2.
  • the yellowish picture may be yellowish in the mean color of the white and gray images in the spatial domain image.
  • the inspection items for detecting the white image include a black and white group inspection, a stain inspection, a light shadow inspection, and a screen whitening inspection.
  • Test items for detecting black images include bright spot test, bright spot test, and light leak test.
  • the test items for detecting gray image, red image, green image and blue image are all bright dark spot test. In this application scenario, when detecting the display effect of each display to be tested, six different color images are to be inspected.
  • Step 150 Determine a result of the at least one test item by using a fuzzy logic determination method, and obtain a detection result of the display screen to be tested.
  • the fuzzy logic judgment method can be a reasoning thinking system with transition between the true and the false and the true and false as the basic conceptual elements.
  • the detection result of each test item is not only represented by OK and NG, but a value indicating the test result of each test item is represented by a numerical value.
  • the degree value for example, the value of the degree of inspection detected by the test item is represented by 0-100 points.
  • the smudge test is taken as an example, 0 means no smudge on the display screen, and 100 means smudged on the display screen. , 20 indicates that there is a possibility of smudging on the display screen of 50%, and 80 indicates that the possibility of smudge on the display screen is 80%.
  • the fuzzy logic determination method is used to determine the result of at least one test item, and the method for obtaining the test result of the display screen to be tested may be: comparing the result of the test item with the fuzzy logic standard value of the test item, if If the result of the test item is greater than the fuzzy logic standard value of the test item, the inspection result of the display screen to be tested is unqualified. If the result of the test item is less than or equal to the fuzzy logic standard value of the test item, the inspection result of the display screen to be tested is qualified. .
  • the stain test as an example, if the fuzzy logic standard value of the stain is set to 30, and the stain value of the product A is 60, the product A is not qualified in the stain inspection, and the product B is detected. In the result, the stain value was 20, and the product B was qualified in the stain test. In this embodiment, when the inspection items in the images of the six different colors of the product are detected, all the inspection items are required to pass, and the product is qualified.
  • the fuzzy logic determination method is used to determine the result of the at least one test item, and may further include: when the test item detection result of a product is unqualified, and the detection result is close to the data in the machine learning library, then the The product can be specially qualified.
  • the product of the fuzzy logic setting value of product A, debris 10, bright spot 35, and color cast 50 is determined to be unacceptable. However, if the customer and supplier of this type of product agree to be qualified, the machine learning library will enter the test result value of the product and save the product image.
  • the machine This product was identified as qualified according to the recorded learning data.
  • the method further includes:
  • step 160 the moiré in the plurality of captured images is filtered out.
  • the moiré is a pixel point whose frequency in the frequency domain is greater than a preset frequency.
  • Images in which the human eye can acquire image intentional information are all spatial domain based images. For example, in a photo, the object in the photo appears on the photo according to the relative position of the space and the relative brightness color of the position, and the human eye recognizes the intentional information of the image by the brightness color embodied by the spatial position of the object in the photo.
  • Images that are directly recognized by the human eye and the visual system are spatial domain-based images. Compared with spatial domain-based images, there are frequency domain-based or time-domain-based images. Even if such images contain the same image information as the spatial domain-based images, they cannot be directly recognized by the human eye and the visual system. The information contained in it.
  • the method for filtering out the moiré in the plurality of acquired images may be: first, transforming the image in the spatial domain into a frequency domain by using a Fourier transform, and then using the frequency in the frequency domain to be greater than the preset frequency.
  • the pixel points are deleted, and finally the frequency domain map image is converted back to the spatial domain by using an inverse Fourier transform.
  • the moiré on the image of the spatial domain is filtered out.
  • the Fourier transform and the inverse Fourier transform method are used to filter out the moiré in the image, which can eliminate the interference of the moiré on the image.
  • the technical solution of the embodiment firstly sets the brightness of the display screen to be tested to a preset brightness value, adaptively adjusts the camera sensitivity value according to the preset brightness value, and then collects the picture displayed on the display screen according to the camera sensitivity value. Obtaining a plurality of acquired images, and then calculating a degree of change of each image point of the plurality of acquired images in the spatial domain, obtaining a differential image of the acquired image, and then performing at least one test item detection in the differential map of the plurality of acquired images Finally, the fuzzy logic determination method is used to determine the result of at least one test item, and the detection result of the display screen to be tested is obtained.
  • the technical solution provided by the embodiment of the invention overcomes the problem of low efficiency when manually detecting the screen in the prior art, and improves the efficiency of detecting the display effect of the electronic device to be detected.
  • FIG. 2 is a flowchart of a method for detecting a display screen according to Embodiment 2 of the present invention. Based on the foregoing embodiment, as shown in FIG. 2, step 110 includes:
  • Step 111 Define a first sensible value and a second sensible value when the camera captures an image, wherein the first sensible value is greater than the second sensible value.
  • the first sensitization value may be a maximum analog gain or a longest exposure time when the camera takes a picture, and is referred to as a maximum camera sensation value.
  • the second sensitization value may be the minimum analog gain or the shortest exposure time when the camera takes a picture, which is called the minimum camera sensation value.
  • Step 112 averaging the first photosensitive value and the second photosensitive value to obtain a third photosensitive value.
  • the first sensitized value and the second sensible value of the camera are added and divided by two to obtain a third sensitized value.
  • Step 113 Acquire a picture by using the third photosensitive value, and calculate an average brightness of the picture.
  • Step 114 If the difference between the average brightness and the preset brightness value is less than the preset error value, the third light sensitivity value is the camera light sensing value.
  • the preset error value can be set to any value between 0-10% of the maximum brightness of the display.
  • the maximum brightness of the display screen is 300, and the preset error value can be set to any number between 0-30.
  • the photosensitive value of the camera is set to the third sensitivity value.
  • the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is less than the preset brightness value. Then, the second sensitization value is reset to the current camera sensation value, and then the third sensation value is obtained, and the third sensible value obtained by re-taking is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. Adjusting so many times until the average brightness is the same as the pre- Let the difference between the brightness values be less than the preset error value.
  • the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is greater than the preset brightness value. Then, the first sensitized value is reset to the current camera sensitization value, and then the third sensible value is obtained, and the third sensible value obtained by re-photographing is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. The adjustment is performed a plurality of times until the difference between the average brightness and the preset brightness value is less than the preset error value.
  • the camera's first photosensitive value and the second photosensitive value are adaptively adjusted to adjust the camera's light sensitivity value, so that the camera can capture the image of the display screen.
  • FIG. 3 is a flowchart of a method for detecting a display screen according to Embodiment 3 of the present invention. Based on the foregoing embodiment, as shown in FIG. 3, preferably, step 150 includes:
  • step 151 the result of the test item is compared with the fuzzy logic standard value of the test item.
  • the fuzzy logic standard value can be set according to the characteristics of the product and the needs of the customer.
  • Step 152 if the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display screen to be tested is unqualified.
  • each color corresponds to a different inspection item, and if one of the inspection items fails, the display to be tested is unqualified. That is, when all the inspection items are qualified, the display to be tested is qualified.
  • the detection method of the display screen of this embodiment is based on concurrent calculation of multi-core multi-thread.
  • single-core multi-thread scheduling method since only one central processing unit (CPU) can execute one instruction at a time, single-core multi-thread scheduling is implemented based on time slice segmentation. Single core CPU Only one thread can be executed at the same time, and other threads are in a sleep state.
  • An algorithm is divided into two implementations, which implements A as a single-threaded operation and B as a multi-threaded operation.
  • implementation A When implementation A is executed on a single-core CPU, if the time required to implement A's thread CPU usage reaches 100% is Ta, then the time to implement B on the single-core CPU is Ta+Tt*N, N>> 0. It can be concluded that the implementation of implementation A on a single-core CPU is less than the time to implement implementation B, that is, single-thread execution is the fastest method when executing an algorithm on a single-core CPU.
  • the CPU has M cores and can execute M instructions at the same time. Therefore, the multi-core multi-thread scheduling is implemented based on the priority CPU core segmentation and then the time slice segmentation.
  • each CPU core is allocated to execute one thread, and the redundant CPU core is idle. If the number of threads to be executed is greater than M, one thread is preferentially allocated to each CPU core, and the redundant threads are scheduled for time slice segmentation on the most idle CPU core.
  • the most idle CPU core may change after each scheduling. So the extra threads are not necessarily executed on one of the most idle CPU cores, but are distributed to several of the most idle CPU cores at the time.
  • the algorithm is divided into two implementations, which implements A as a single-threaded operation and B as a multi-threaded operation (the number of threads is N).
  • FIG. 4 is a schematic structural diagram of a display device for a display screen according to Embodiment 4 of the present invention. As shown in FIG. 4, the device includes: a camera sensitivity adjustment module 410, an image acquisition module 420, and a differential image acquisition. The module 430, the verification item detection module 440 and the detection result acquisition module 450 are taken.
  • the camera sensation value adjustment module 410 is configured to set the brightness of the display screen to be tested to a preset brightness value, and adaptively adjust the camera sensation value according to the preset brightness value;
  • the image acquisition module 420 is configured to collect a picture displayed on the display screen according to the camera sensitivity value, and obtain a plurality of acquired images;
  • a differential map obtaining module 430 configured to calculate a degree of change of each image point of the plurality of acquired images in the spatial domain, to obtain a differential map of the acquired image
  • the test item detecting module 440 is configured to perform detection of at least one test item in the differential map of the plurality of acquired images
  • the detection result obtaining module 450 is configured to determine the result of the at least one test item by using the fuzzy logic determination method, and obtain the detection result of the display screen to be tested.
  • the camera sensitivity adjustment module 410 is further configured to:
  • the third light sensitivity value is the camera light sensitivity value.
  • the method further includes:
  • Moiré filter module for filtering moiré in multiple captured images.
  • the differential map obtaining module 430 is further configured to:
  • the partial differential value of at least one data is the degree of change of the image point.
  • the differential map obtaining module 430 is further configured to:
  • At least one test item is detected for an image point whose partial differential value is not equal to zero.
  • the detection result obtaining module 450 is further configured to:
  • the above product can perform the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Nonlinear Science (AREA)
  • Health & Medical Sciences (AREA)
  • Optics & Photonics (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)
  • Image Processing (AREA)

Abstract

A detection method and apparatus for use with a display screen. The method comprises: configuring the brightness of a display screen to be detected as a preset brightness value, and self-adaptively adjusting a light sensing value of a camera according to the preset brightness value; according to the light sensing value of the camera, collecting images which are displayed on the display screen to be detected to obtain a plurality of collected images; calculating a degree of variation for each image point of the plurality of collected images in the spatial domain to obtain a differential graph of the collected images; detecting at least one detection item in the differential diagram of the plurality of collected images; carrying out determination on a result of at least one detection item by using a fuzzy logic determination method to obtain a detection result for the display screen to be detected. The detection method overcomes the problem in the existing technology wherein efficiency is low when manually carrying out detection on a screen, and increases efficiency in detecting the display effect of an electronic device to be detected.

Description

一种显示屏的检测方法及装置Display method and device for display screen 技术领域Technical field

本发明实施例涉及电子设备屏幕检测技术领域,尤其涉及一种显示屏的检测方法及装置。Embodiments of the present invention relate to the field of electronic device screen detection technologies, and in particular, to a display screen detection method and apparatus.

背景技术Background technique

随着电子设备的广泛应用,用户对电子设备屏幕的显示效果的要求越来越高。厂家在组装完具有显示屏幕的电子设备后,需对电子设备显示屏幕的显示效果进行检测。With the wide application of electronic devices, users have higher and higher requirements for the display effect of electronic device screens. After assembling the electronic device with the display screen, the manufacturer needs to detect the display effect of the display screen of the electronic device.

目前的做法是工人控制电子设备播放多种照片,如纯色照片、风景照片以及人物照片,通过肉眼观察屏幕的显示效果进行评价。通过人工的方式对电子设备的屏幕进行检测,不仅效率低,检验精度也会由于人的个体差异而受到影响。The current practice is that workers control electronic devices to play a variety of photos, such as solid-colored photos, landscape photos, and portrait photos, which are evaluated by visually observing the display of the screen. Manually detecting the screen of an electronic device is not only inefficient, but also the accuracy of the inspection is affected by individual differences.

发明内容Summary of the invention

本发明实施例提供一种显示屏的检测方法及装置,以提高对显示屏检测的效率。Embodiments of the present invention provide a method and apparatus for detecting a display screen to improve the efficiency of detecting a display screen.

第一方面,本发明实施例提供了一种显示屏的检测方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for detecting a display screen, where the method includes:

将待测显示屏的亮度设置为预设亮度值,根据所述预设亮度值自适应的调整相机感光值;Setting the brightness of the display to be tested to a preset brightness value, and adaptively adjusting the camera sensitivity value according to the preset brightness value;

根据所述相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像;Collecting a picture displayed on the display screen according to the camera sensitivities, and obtaining a plurality of acquired images;

计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图; Calculating a degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image;

在所述多幅采集图像的微分图中进行至少一个检验项的检测;Performing detection of at least one test item in the differential map of the plurality of acquired images;

利用模糊逻辑判定法对所述至少一个检验项的结果进行判定,获取所述待测显示屏的检测结果。The result of the at least one test item is determined by using a fuzzy logic decision method, and the detection result of the display screen to be tested is obtained.

进一步地,所述据所述预设亮度值自适应的调整相机感光值,包括:Further, the adjusting the camera sensitivity value according to the preset brightness value adaptively includes:

定义相机采集图像时的第一感光值和第二感光值,其中所述第一感光值大于所述第二感光值;Defining a first photosensitive value and a second photosensitive value when the camera captures an image, wherein the first photosensitive value is greater than the second photosensitive value;

对所述第一感光值和所述第二感光值求平均得到第三感光值;Averageing the first photosensitive value and the second photosensitive value to obtain a third photosensitive value;

利用所述第三感光值采集图片,计算所述图片的平均亮度;Acquiring a picture by using the third photosensitive value, and calculating an average brightness of the picture;

若所述平均亮度与所述预设亮度值之差小于预设误差值,则第三感光值为相机感光值。If the difference between the average brightness and the preset brightness value is less than a preset error value, the third light sensitivity value is a camera light sensitivity value.

进一步地,在计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图之前,还包括:Further, before calculating the degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image, the method further includes:

滤除所述多幅采集图像中的摩尔纹。Filtering the moiré in the plurality of captured images.

进一步地,所述计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图,包括:Further, the calculating a degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image includes:

对反映图像点亮度的至少一个数据沿两个相互垂直的方向分别计算偏微分,所述至少一个数据的偏微分值为所述图像点的变化度。At least one data reflecting the brightness of the image point is separately calculated as a partial differential in two mutually perpendicular directions, and a partial differential value of the at least one data is a degree of change of the image point.

进一步地,所述在所述多幅采集图像的微分图中进行至少一个检验项的检测,包括:Further, the detecting of the at least one test item in the differential map of the plurality of acquired images comprises:

查找所述偏微分值不等于0的图像点;Finding an image point whose partial differential value is not equal to 0;

对偏微分值不等于0的图像点进行至少一个检验项的检测。At least one test item is detected for an image point whose partial differential value is not equal to zero.

进一步地,所述利用模糊逻辑判定法对所示至少一个检验项的结果进行判 定,获取所述待测显示屏的检测结果,包括:Further, the fuzzy logic determination method is used to judge the result of the at least one test item shown And obtaining the detection result of the display screen to be tested, including:

将检验项的结果与所述检验项的模糊逻辑标准值进行比较;Comparing the result of the test item with the fuzzy logic standard value of the test item;

若检验项的结果大于所述检验项的模糊逻辑标准值,则所述待测显示屏的检查结果为不合格。If the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display screen to be tested is unqualified.

第二方面,本发明实施例还提供了一种显示屏的检测装置,该装置包括:In a second aspect, an embodiment of the present invention further provides a detection device for a display screen, the device comprising:

相机感光值调整模块,用于将待测显示屏的亮度设置为预设亮度值,根据所述预设亮度值自适应的调整相机感光值;a camera sensation adjustment module, configured to set a brightness of the display to be tested to a preset brightness value, and adaptively adjust a camera sensation value according to the preset brightness value;

图像采集模块,用于根据所述相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像;An image acquisition module, configured to collect a picture displayed on the display screen according to the camera sensitivity value, and obtain a plurality of acquired images;

微分图获取模块,用于计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图;a differential map obtaining module, configured to calculate a degree of change of each image point of the plurality of acquired images in a spatial domain, to obtain a differential map of the acquired image;

检验项检测模块,用于在所述多幅采集图像的微分图中进行至少一个检验项的检测;a test item detecting module, configured to perform at least one test item detection in the differential map of the plurality of acquired images;

检测结果获取模块,用于利用模糊逻辑判定法对所述至少一个检验项的结果进行判定,获取所述待测显示屏的检测结果。And a detection result obtaining module, configured to determine, by using a fuzzy logic determination method, a result of the at least one verification item, and obtain a detection result of the display screen to be tested.

进一步地,所述相机感光值调整模块,还用于:Further, the camera sensitization value adjustment module is further configured to:

定义相机采集图像时的第一感光值和第二感光值,其中所述第一感光值大于所述第二感光值;Defining a first photosensitive value and a second photosensitive value when the camera captures an image, wherein the first photosensitive value is greater than the second photosensitive value;

对所述第一感光值和所述第二感光值求平均得到第三感光值;Averageing the first photosensitive value and the second photosensitive value to obtain a third photosensitive value;

利用所述第三感光值采集图片,计算所述图片的平均亮度;Acquiring a picture by using the third photosensitive value, and calculating an average brightness of the picture;

若所述平均亮度与所述预设亮度值之差小于预设误差值,则第三感光值为相机感光值。 If the difference between the average brightness and the preset brightness value is less than a preset error value, the third light sensitivity value is a camera light sensitivity value.

进一步地,还包括:Further, it also includes:

摩尔纹滤除模块,用于滤除所述多幅采集图像中的摩尔纹。a moiré filtering module for filtering moiré in the plurality of captured images.

进一步地,所述微分图获取模块,还用于:Further, the differential map obtaining module is further configured to:

对反映图像点亮度的至少一个数据沿两个相互垂直的方向分别计算偏微分,所述至少一个数据的偏微分值为所述图像点的变化度。At least one data reflecting the brightness of the image point is separately calculated as a partial differential in two mutually perpendicular directions, and a partial differential value of the at least one data is a degree of change of the image point.

进一步地,所述微分图获取模块,还用于:Further, the differential map obtaining module is further configured to:

查找所述偏微分值不等于0的图像点;Finding an image point whose partial differential value is not equal to 0;

对偏微分值不等于0的图像点进行至少一个检验项的检测。At least one test item is detected for an image point whose partial differential value is not equal to zero.

进一步地,所述检测结果获取模块,还用于:Further, the detection result obtaining module is further configured to:

将检验项的结果与所述检验项的模糊逻辑标准值进行比较;Comparing the result of the test item with the fuzzy logic standard value of the test item;

若检验项的结果大于所述检验项的模糊逻辑标准值,则所述待测显示屏的检查结果为不合格。If the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display screen to be tested is unqualified.

本发明实施例,首先将待测显示屏的亮度设置为预设亮度值,根据预设亮度值自适应的调整相机感光值,然后根据相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像,然后计算多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图,在然后在多幅采集图像的微分图中进行至少一个检验项的检测,最后利用模糊逻辑判定法对至少一个检验项的结果进行判定,获取待测显示屏的检测结果。本发明实施例提供的技术方案,克服了现有技术中利用人工对屏幕进行检测时效率低的问题,提高了待检测电子设备显示效果检测的效率。In the embodiment of the present invention, firstly, the brightness of the display screen to be tested is set to a preset brightness value, and the camera sensitivity value is adaptively adjusted according to the preset brightness value, and then the picture displayed on the display screen is collected according to the camera sensitivity value, and more is obtained. The image is acquired, and then the degree of change of each image point of the plurality of acquired images in the spatial domain is calculated, and a differential image of the acquired image is obtained, and then at least one test item is detected in the differential map of the plurality of acquired images, and finally The fuzzy logic determination method is used to determine the result of at least one test item, and the detection result of the display screen to be tested is obtained. The technical solution provided by the embodiment of the invention overcomes the problem of low efficiency when manually detecting the screen in the prior art, and improves the efficiency of detecting the display effect of the electronic device to be detected.

附图说明DRAWINGS

图1是本发明实施例一中的一种显示屏的检测方法的流程图; 1 is a flowchart of a method for detecting a display screen according to Embodiment 1 of the present invention;

图2是本发明实施例二中的一种显示屏的检测方法的流程图;2 is a flowchart of a method for detecting a display screen according to Embodiment 2 of the present invention;

图3是本发明实施例三中的一种显示屏的检测方法的流程图;3 is a flowchart of a method for detecting a display screen according to Embodiment 3 of the present invention;

图4是本发明实施例四中的一种显示屏的检测装置的结构示意图。4 is a schematic structural diagram of a detecting device for a display screen according to Embodiment 4 of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.

实施例一Embodiment 1

图1为本发明实施例一提供的一种显示屏的检测方法的流程图,本实施例可适用于对显示屏显示效果检测的情况,其中显示屏可以是液晶显示屏(Liquid Crystal Display,LCD)、发光二极管显示屏(Light Emitting Diode,LED)、有机发光二极管显示屏(Organic Light Emitting Diode,OLED)、阴极射线管(Cathode Ray Tube,CRT)显示屏、等离子显示屏(Plasma Display Panel,PDP)、以及任何可以根据信号改变显示图像的显示屏等。如图1所示,该方法具体包括如下步骤:FIG. 1 is a flowchart of a method for detecting a display screen according to a first embodiment of the present invention. The embodiment can be applied to the display effect detection on a display screen, wherein the display screen can be a liquid crystal display (LCD). ), Light Emitting Diode (LED), Organic Light Emitting Diode (OLED), Cathode Ray Tube (CRT) display, Plasma Display Panel (PDP) ), and any display screen that can change the display image according to the signal. As shown in FIG. 1 , the method specifically includes the following steps:

步骤110,将待测显示屏的亮度设置为预设亮度值,根据预设亮度值自适应的调整相机感光值。Step 110: Set the brightness of the display to be tested to a preset brightness value, and adaptively adjust the camera sensitivity value according to the preset brightness value.

其中,预设亮度值可以是待测显示屏显示的最大亮度百分比,可以设置为70%-90%之间的任意值。相机感光值可以是相机的模拟增益或曝光时间。本实施例中,对显示屏进行显示效果的检测时,需对待检测显示屏显示的图像进行拍照采集,为了得到效果较好的图像,需对相机的感光值进行调整。 The preset brightness value may be a maximum brightness percentage displayed on the display screen to be tested, and may be set to any value between 70% and 90%. The camera sensitivity value can be the camera's analog gain or exposure time. In this embodiment, when the display effect of the display screen is detected, the image displayed on the detection display screen is required to be photographed, and in order to obtain a better image, the sensitivity value of the camera needs to be adjusted.

本应用场景下,根据预设亮度值自适应的调整相机感光值的方式可以是,定义相机采集图像时的第一感光值和第二感光值,其中第一感光值大于第二感光值,对第一感光值和第二感光值求平均得到第三感光值。点亮待测显示屏,使显示屏显示白色画面,且屏幕亮度为最大亮度,利用第三感光值采集图片,计算图片的平均亮度,若平均亮度与预设亮度值之差小于预设误差值,则第三感光值为相机感光值。In this application scenario, the method of adaptively adjusting the camera sensitization value according to the preset brightness value may be: defining a first sensible value and a second sensible value when the camera collects an image, wherein the first sensible value is greater than the second sensible value, The first photosensitive value and the second photosensitive value are averaged to obtain a third photosensitive value. Light up the display to be tested, so that the display screen displays a white screen, and the screen brightness is the maximum brightness. The third sensitivity value is used to collect the picture, and the average brightness of the picture is calculated. If the difference between the average brightness and the preset brightness value is less than the preset error value , the third sensitivity value is the camera sensitivity value.

可选的,若平均亮度与预设亮度值之差大于预设误差值,且平均亮度小于预设亮度值。则将第二感光值重设为当前的相机感光值,再求取第三感光值,利用重新求得的第三感光值拍照,并计算图片的平均亮度,并将平均亮度和预设亮度值之差与预设误差值比较。如此多次进行调整,直到平均亮度与所述预设亮度值之差小于预设误差值。Optionally, if the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is less than the preset brightness value. Then, the second sensitization value is reset to the current camera sensation value, and then the third sensation value is obtained, and the third sensible value obtained by re-taking is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. The adjustment is performed a plurality of times until the difference between the average brightness and the preset brightness value is less than the preset error value.

可选的,若平均亮度与预设亮度值之差大于预设误差值,且平均亮度大于预设亮度值。则将第一感光值重设为当前的相机感光值,再求取第三感光值,利用重新求得的第三感光值拍照,并计算图片的平均亮度,并将平均亮度和预设亮度值之差与预设误差值比较。如此多次进行调整,直到平均亮度与所述预设亮度值之差小于预设误差值。Optionally, if the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is greater than the preset brightness value. Then, the first sensitized value is reset to the current camera sensitization value, and then the third sensible value is obtained, and the third sensible value obtained by re-photographing is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. The adjustment is performed a plurality of times until the difference between the average brightness and the preset brightness value is less than the preset error value.

步骤120,根据相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像。Step 120: Collecting a picture displayed on the display screen according to the camera sensitivities, and obtaining a plurality of acquired images.

其中,采集图像可以是待测显示屏显示的颜色图像,可以包括白色图像、黑色图像、灰色图像、红色图像、绿色图像及蓝色图像等。本应用场景下,利用调整好感光值的相机对待测显示屏显示的不同颜色的图像分别进行拍照,获得多幅采集图像。 The captured image may be a color image displayed on the display screen to be tested, and may include a white image, a black image, a gray image, a red image, a green image, and a blue image. In this application scenario, the cameras of different colors displayed on the display screen are respectively photographed by using the camera with the adjusted sensitivity value, and multiple images are acquired.

步骤130,计算多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图。Step 130: Calculate a degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image.

其中,图像点的变化度可以是图像像素点的亮度变化度。本实施例中,计算多幅采集图像在空间域中的每个图像点的变化度的方式可以是,对于不同颜色的多幅图像中,分别对反映图像点亮度的至少一个数据沿两个相互垂直的方向分别计算偏微分,至少一个数据的偏微分值为图像点的变化度。其中,两个相互垂直的方向可以组成一个直角坐标系,在该指教坐标系中,每一个像素点都有对应的位置坐标(x,y)。The degree of change of the image point may be the degree of change in brightness of the pixel of the image. In this embodiment, the manner of calculating the degree of change of each image point of the plurality of acquired images in the spatial domain may be: for a plurality of images of different colors, respectively, at least one data reflecting the brightness of the image points along two mutual The vertical direction is calculated separately for the partial differential, and the partial differential value of at least one of the data is the degree of change of the image point. Wherein, two mutually perpendicular directions may form a Cartesian coordinate system, and each pixel point has a corresponding position coordinate (x, y) in the teaching coordinate system.

本应用场景下,基于空间域图像,将图像的像素点位置(x,y)坐标上的亮度值与欧几里得三维空间的坐标(x,y,z)一一对应。某一像素点的亮度值与其周围像素点亮度值之差即为该像素点的亮度变化值,可通过求偏微分获得。对于黑白图像,像素点体现亮度数据,通过偏微分算法可以得到每个像素点沿两个方向的亮度变化度。对于彩色图像,按照红绿蓝(RGB)格式体现图像数据,分别体现红色亮度数据、绿色亮度数据和蓝色亮度数据,通过偏微分算法可以得到每个像素点相应颜色的亮度变化度。In this application scenario, based on the spatial domain image, the luminance values on the pixel position (x, y) coordinates of the image are in one-to-one correspondence with the coordinates (x, y, z) of the Euclidean three-dimensional space. The difference between the brightness value of a certain pixel point and the brightness value of the surrounding pixel points is the brightness change value of the pixel point, which can be obtained by obtaining partial differential. For black and white images, the pixel points represent the brightness data, and the degree of brightness change of each pixel point in two directions can be obtained by the partial differential algorithm. For color images, the image data is embodied in red, green and blue (RGB) format, which respectively reflects red luminance data, green luminance data and blue luminance data. The partial differential algorithm can obtain the brightness variation of the corresponding color of each pixel.

步骤140,在多幅采集图像的微分图中进行至少一个检验项的检测。Step 140: Perform detection of at least one test item in a differential map of the plurality of acquired images.

其中,检验项可以包括黑白团检验、污迹检验、亮点检验、亮斑检验、亮暗斑检验、漏光检验、灯影检验及画面偏黄检验等。在本实施例中,若待测显示屏中的所有像素点的微分值均为0,则该显示屏为一块完美的屏幕,而对于合格的屏幕,需要待测屏幕中像素点的微分值满足一定的条件。优选的,在多幅采集图像的微分图中进行至少一个检验项的检测的方法可以是,查找偏微分值不等于0的图像点,对偏微分值不等于0的图像点进行至少一个检验项的检 测。Among them, the test items may include black and white group inspection, stain inspection, bright spot inspection, bright spot inspection, bright dark spot inspection, light leakage inspection, light shadow inspection and yellowish inspection. In this embodiment, if the differential value of all the pixels in the display to be tested is 0, the display screen is a perfect screen, and for the qualified screen, the differential value of the pixel in the screen to be tested is satisfied. Certain conditions. Preferably, the method for performing the detection of the at least one test item in the differential map of the plurality of acquired images may be: searching for an image point whose partial differential value is not equal to 0, and performing at least one test item for the image point whose partial differential value is not equal to 0. Inspection Measurement.

其中,黑白团可以是,在微分图中微分值大于0且内部无洞区域即为对应位置上的白团,微分图中微分值小于0且内部无洞区域即为对应位置上的黑团。污迹可以是微分图中微分值大于0(或微分值小于0)且内部有洞的闭合区域。亮点可以是微分图中微分值大于0的孤独点。亮斑可以是微分图中微分值大于0且内部多洞的闭合区域。亮暗斑可以是,微分图中微分值大于0且内部有多洞边缘厚度一定的闭合区域为对应位置上的亮斑,微分图中微分值小于0且内部有多洞边缘厚度一定的闭合区域为对应位置上的暗斑。漏光可以是微分图中微分值大于0(或者小于0)内部无洞且其形状外形与形状闭包面积比例差在0.5~2的区域。灯影可以是微分图中微分值大于0(或者小于0)内部无洞且其形状外形与形状闭包面积比例差小于0.5或大于2的区域。画面偏黄可以是空间域图像中白色和灰色图像的均值颜色偏黄。Wherein, the black and white group may be: in the differential graph, the differential value is greater than 0 and the inner non-hole region is the white group at the corresponding position, and the differential value in the differential map is less than 0 and the inner non-hole region is the black group at the corresponding position. The smear may be a closed region in the differential map having a differential value greater than zero (or a differential value less than zero) and having a hole inside. The bright spot can be a lone point with a differential value greater than zero in the differential map. A bright spot may be a closed region in a differential map having a differential value greater than zero and having multiple internal holes. The bright dark spot may be a closed area in which the differential value is greater than 0 in the differential image and the inner edge has a certain thickness of the edge, and the closed area in the corresponding position is a bright spot in the corresponding position, and the differential value in the differential image is less than 0 and the inner closed portion has a certain thickness of the closed area. It is a dark spot on the corresponding position. The light leakage may be an area in which the differential value in the differential map is greater than 0 (or less than 0) and there is no hole inside and the difference between the shape shape and the shape closure area ratio is 0.5 to 2. The light shadow may be a region in which the differential value in the differential map is greater than 0 (or less than 0) and there is no hole inside and the difference between the shape shape and the shape closure area ratio is less than 0.5 or greater than 2. The yellowish picture may be yellowish in the mean color of the white and gray images in the spatial domain image.

本实施例中,对白色图像进行检测的检验项包括黑白团检验、污迹检验、灯影检验及画面偏白检验。对黑色图像进行检测的检验项包括亮点检验、亮斑检验、漏光检验。对灰色图像、红色图像、绿色图像及蓝色图像进行检测的检验项均为亮暗斑检验。本应用场景下,对每个待测显示屏的显示效果检测时,都要进行6幅不同颜色图像的检验。In this embodiment, the inspection items for detecting the white image include a black and white group inspection, a stain inspection, a light shadow inspection, and a screen whitening inspection. Test items for detecting black images include bright spot test, bright spot test, and light leak test. The test items for detecting gray image, red image, green image and blue image are all bright dark spot test. In this application scenario, when detecting the display effect of each display to be tested, six different color images are to be inspected.

步骤150,利用模糊逻辑判定法对至少一个检验项的结果进行判定,获取待测显示屏的检测结果。Step 150: Determine a result of the at least one test item by using a fuzzy logic determination method, and obtain a detection result of the display screen to be tested.

其中,模糊逻辑判定法可以是以真和假并且真假之间有过渡为基本概念要素的推理思维系统。在本实施例中,对待测显示屏进行检测时,每个检验项的检测结果不只由OK和NG体现,而是由一个数值表示每个检验项检验出的程 度值,例如以0-100分表示检验项检验出的程度值,示例性的,以污迹检验为例,0表示在显示屏上完全没有污迹,100表示在显示屏上确定有污迹,20表示在显示屏上有污迹的可能性为50%,80表示在显示屏上有污迹的可能性为80%。Among them, the fuzzy logic judgment method can be a reasoning thinking system with transition between the true and the false and the true and false as the basic conceptual elements. In the embodiment, when the display screen to be tested is detected, the detection result of each test item is not only represented by OK and NG, but a value indicating the test result of each test item is represented by a numerical value. The degree value, for example, the value of the degree of inspection detected by the test item is represented by 0-100 points. exemplarily, the smudge test is taken as an example, 0 means no smudge on the display screen, and 100 means smudged on the display screen. , 20 indicates that there is a possibility of smudging on the display screen of 50%, and 80 indicates that the possibility of smudge on the display screen is 80%.

本应用场景下,利用模糊逻辑判定法对至少一个检验项的结果进行判定,获取待测显示屏的检测结果的方法可以是,将检验项的结果与检验项的模糊逻辑标准值进行比较,若检验项的结果大于检验项的模糊逻辑标准值,则待测显示屏的检查结果为不合格,若检验项的结果小于等于检验项的模糊逻辑标准值,则待测显示屏的检查结果为合格。示例性的,以污迹检验为例,假设污迹的模糊逻辑标准值设置为30,产品A的检测结果中污迹值为60,则产品A在污迹检验中不合格,产品B的检测结果中污迹值为20,则产品B在污迹检验中合格。本实施例中,在对产品的6幅不同颜色的图像中的检验项检测时,需所有的检验项合格,该产品才合格。In this application scenario, the fuzzy logic determination method is used to determine the result of at least one test item, and the method for obtaining the test result of the display screen to be tested may be: comparing the result of the test item with the fuzzy logic standard value of the test item, if If the result of the test item is greater than the fuzzy logic standard value of the test item, the inspection result of the display screen to be tested is unqualified. If the result of the test item is less than or equal to the fuzzy logic standard value of the test item, the inspection result of the display screen to be tested is qualified. . Exemplarily, taking the stain test as an example, if the fuzzy logic standard value of the stain is set to 30, and the stain value of the product A is 60, the product A is not qualified in the stain inspection, and the product B is detected. In the result, the stain value was 20, and the product B was qualified in the stain test. In this embodiment, when the inspection items in the images of the six different colors of the product are detected, all the inspection items are required to pass, and the product is qualified.

可选的,利用模糊逻辑判定法对至少一个检验项的结果进行判定,还可以包括当某产品的检验项检测结果为不合格时,且该检测结果与机器学习库中的数据相近,则该产品可特赦为合格。示例性的,产品A的模糊逻辑设置值,杂物10,亮点35,偏色50的产品是被判定为不合格。但是此类型产品客户和供应商达成一致特赦为合格,那么机器学习库就会将此产品的检测结果值录入,并且保存产品图片。当遇到A产品检测结果值与特赦产品检测结果值一定程度相近(比如各值之差小于2.5)并且屏幕图片和保存的特赦产品图片相识度大于预设值值(比如90%)时,机器根据记录的学习数据将此产品识别为特赦合格。Optionally, the fuzzy logic determination method is used to determine the result of the at least one test item, and may further include: when the test item detection result of a product is unqualified, and the detection result is close to the data in the machine learning library, then the The product can be specially qualified. Illustratively, the product of the fuzzy logic setting value of product A, debris 10, bright spot 35, and color cast 50 is determined to be unacceptable. However, if the customer and supplier of this type of product agree to be qualified, the machine learning library will enter the test result value of the product and save the product image. When the value of the A product test result is close to the value of the special product test result (for example, the difference between the values is less than 2.5) and the screen image and the saved feature product image are more than the preset value (such as 90%), the machine This product was identified as qualified according to the recorded learning data.

优选的,在步骤130之前,还包括: Preferably, before step 130, the method further includes:

步骤160,滤除多幅采集图像中的摩尔纹。In step 160, the moiré in the plurality of captured images is filtered out.

其中,摩尔纹是图像在频率域中频率大于预设频率的像素点。人眼能够获取图像本意信息的图像均是基于空间域的图像。例如一幅照片,照片中物体按照空间相对位置和此位置的相对亮度颜色出现在照片上,人眼通过照片中物体的空间位置所体现的亮度颜色识别图像本意信息。即可直接被人眼与视觉系统正确认知的图像均为基于空间域的图像。相对于基于空间域的图像,存在基于频率域或基于时间域的图像,这类图像即使和基于空间域的图像包含同样的图像信息,显示出来也无法直接被人眼与视觉系统直接认知图像中包含的信息。在本实施例中,滤除多幅采集图像中的摩尔纹的方法可以是,首先将处于空间域的图像分别利用傅里叶变换转化到频率域,然后在频率域中将频率大于预设频率的像素点删除,最后将频率域图图像利用逆傅里叶变换转换回空间域。这样空间域图像上的摩尔纹就被滤除掉了。利用傅里叶变换和傅里叶逆变换方法滤除图像中的摩尔纹,可消除摩尔纹对图像的干扰。Wherein, the moiré is a pixel point whose frequency in the frequency domain is greater than a preset frequency. Images in which the human eye can acquire image intentional information are all spatial domain based images. For example, in a photo, the object in the photo appears on the photo according to the relative position of the space and the relative brightness color of the position, and the human eye recognizes the intentional information of the image by the brightness color embodied by the spatial position of the object in the photo. Images that are directly recognized by the human eye and the visual system are spatial domain-based images. Compared with spatial domain-based images, there are frequency domain-based or time-domain-based images. Even if such images contain the same image information as the spatial domain-based images, they cannot be directly recognized by the human eye and the visual system. The information contained in it. In this embodiment, the method for filtering out the moiré in the plurality of acquired images may be: first, transforming the image in the spatial domain into a frequency domain by using a Fourier transform, and then using the frequency in the frequency domain to be greater than the preset frequency. The pixel points are deleted, and finally the frequency domain map image is converted back to the spatial domain by using an inverse Fourier transform. The moiré on the image of the spatial domain is filtered out. The Fourier transform and the inverse Fourier transform method are used to filter out the moiré in the image, which can eliminate the interference of the moiré on the image.

本实施例的技术方案,首先将待测显示屏的亮度设置为预设亮度值,根据预设亮度值自适应的调整相机感光值,然后根据相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像,然后计算多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图,在然后在多幅采集图像的微分图中进行至少一个检验项的检测,最后利用模糊逻辑判定法对至少一个检验项的结果进行判定,获取待测显示屏的检测结果。本发明实施例提供的技术方案,克服了现有技术中利用人工对屏幕进行检测时效率低的问题,提高了待检测电子设备显示效果检测的效率。The technical solution of the embodiment firstly sets the brightness of the display screen to be tested to a preset brightness value, adaptively adjusts the camera sensitivity value according to the preset brightness value, and then collects the picture displayed on the display screen according to the camera sensitivity value. Obtaining a plurality of acquired images, and then calculating a degree of change of each image point of the plurality of acquired images in the spatial domain, obtaining a differential image of the acquired image, and then performing at least one test item detection in the differential map of the plurality of acquired images Finally, the fuzzy logic determination method is used to determine the result of at least one test item, and the detection result of the display screen to be tested is obtained. The technical solution provided by the embodiment of the invention overcomes the problem of low efficiency when manually detecting the screen in the prior art, and improves the efficiency of detecting the display effect of the electronic device to be detected.

实施例二 Embodiment 2

图2为本发明实施例二提供的一种显示屏的检测方法的流程图,以上述实施例为基础,如图2所示,优选的,步骤110包括:FIG. 2 is a flowchart of a method for detecting a display screen according to Embodiment 2 of the present invention. Based on the foregoing embodiment, as shown in FIG. 2, step 110 includes:

步骤111,定义相机采集图像时的第一感光值和第二感光值,其中第一感光值大于第二感光值。Step 111: Define a first sensible value and a second sensible value when the camera captures an image, wherein the first sensible value is greater than the second sensible value.

其中,第一感光值可以是相机拍照时的最大模拟增益或最长曝光时间,称为最大相机感光值。第二感光值可以是相机拍照时的最小模拟增益或最短曝光时间,称为最小相机感光值。The first sensitization value may be a maximum analog gain or a longest exposure time when the camera takes a picture, and is referred to as a maximum camera sensation value. The second sensitization value may be the minimum analog gain or the shortest exposure time when the camera takes a picture, which is called the minimum camera sensation value.

步骤112,对第一感光值和第二感光值求平均得到第三感光值。Step 112, averaging the first photosensitive value and the second photosensitive value to obtain a third photosensitive value.

将相机的第一感光值和第二感光值相加再除以二得到第三感光值。The first sensitized value and the second sensible value of the camera are added and divided by two to obtain a third sensitized value.

步骤113,利用第三感光值采集图片,计算图片的平均亮度。Step 113: Acquire a picture by using the third photosensitive value, and calculate an average brightness of the picture.

将相机的感光值设置为第三感光值,对待测显示屏显示的白色图像拍照,计算照片的平均亮度。Set the camera's sensitivity value to the third sensitivity value, take a picture of the white image displayed on the display screen, and calculate the average brightness of the photo.

步骤114,若平均亮度与预设亮度值之差小于预设误差值,则第三感光值为相机感光值。Step 114: If the difference between the average brightness and the preset brightness value is less than the preset error value, the third light sensitivity value is the camera light sensing value.

其中,预设误差值可以设置为显示屏最大亮度的0-10%间的任意值,例如,显示屏的最大亮度为300,预设误差值则可以设置为0-30之间的任意数。本实施例中,若平均亮度与预设亮度值之差小于预设误差值,则将相机的感光值设置为第三感光值。The preset error value can be set to any value between 0-10% of the maximum brightness of the display. For example, the maximum brightness of the display screen is 300, and the preset error value can be set to any number between 0-30. In this embodiment, if the difference between the average brightness and the preset brightness value is less than the preset error value, the photosensitive value of the camera is set to the third sensitivity value.

可选的,若平均亮度与预设亮度值之差大于预设误差值,且平均亮度小于预设亮度值。则将第二感光值重设为当前的相机感光值,再求取第三感光值,利用重新求得的第三感光值拍照,并计算图片的平均亮度,并将平均亮度和预设亮度值之差与预设误差值比较。如此多次进行调整,直到平均亮度与所述预 设亮度值之差小于预设误差值。Optionally, if the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is less than the preset brightness value. Then, the second sensitization value is reset to the current camera sensation value, and then the third sensation value is obtained, and the third sensible value obtained by re-taking is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. Adjusting so many times until the average brightness is the same as the pre- Let the difference between the brightness values be less than the preset error value.

可选的,若平均亮度与预设亮度值之差大于预设误差值,且平均亮度大于预设亮度值。则将第一感光值重设为当前的相机感光值,再求取第三感光值,利用重新求得的第三感光值拍照,并计算图片的平均亮度,并将平均亮度和预设亮度值之差与预设误差值比较。如此多次进行调整,直到平均亮度与所述预设亮度值之差小于预设误差值。Optionally, if the difference between the average brightness and the preset brightness value is greater than a preset error value, and the average brightness is greater than the preset brightness value. Then, the first sensitized value is reset to the current camera sensitization value, and then the third sensible value is obtained, and the third sensible value obtained by re-photographing is taken, and the average brightness of the picture is calculated, and the average brightness and the preset brightness value are calculated. The difference is compared to the preset error value. The adjustment is performed a plurality of times until the difference between the average brightness and the preset brightness value is less than the preset error value.

本实施例的技术方案,通过相机的第一感光值和第二感光值自适应的调整相机的感光值,可以提高相机在采集显示屏图像时的拍照效果。In the technical solution of the embodiment, the camera's first photosensitive value and the second photosensitive value are adaptively adjusted to adjust the camera's light sensitivity value, so that the camera can capture the image of the display screen.

实施例三Embodiment 3

图3为本发明实施例三提供的一种显示屏的检测方法的流程图,以上述实施例为基础,如图3所示,优选的,步骤150包括:FIG. 3 is a flowchart of a method for detecting a display screen according to Embodiment 3 of the present invention. Based on the foregoing embodiment, as shown in FIG. 3, preferably, step 150 includes:

步骤151,将检验项的结果与检验项的模糊逻辑标准值进行比较。In step 151, the result of the test item is compared with the fuzzy logic standard value of the test item.

其中,模糊逻辑标准值可以根据产品的特性及客户的需要进行设置。Among them, the fuzzy logic standard value can be set according to the characteristics of the product and the needs of the customer.

步骤152,若检验项的结果大于检验项的模糊逻辑标准值,则待测显示屏的检查结果为不合格。Step 152, if the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display screen to be tested is unqualified.

本实施例中,对待测显示屏的6幅不同颜色的图像进行检测时,每种颜色对应不同的检验项,若其中有一项检验项不合格,则待测显示屏不合格。即当所有的检验项合格,该待测显示屏才合格。In this embodiment, when six images of different colors of the display screen are detected, each color corresponds to a different inspection item, and if one of the inspection items fails, the display to be tested is unqualified. That is, when all the inspection items are qualified, the display to be tested is qualified.

本实施例的显示屏的检测方法,是基于多核多线程的并发计算。并发计算分为两种:一种是单核多线程,一种是多核多线程。就单核多线程调度方法,由于中央处理器(Central Processing Unit,CPU)只有一个,只能在同一时间执行一条指令,所以单核多线程调度是基于时间片分割的方式实现。单核CPU实 际上只能同时执行一个线程,此时其他线程处于休眠状态。将某算法分为两种实现,实现A为单线程运行,实现B为多线程运行。当在单核CPU上执行实现A时,若实现A的线程CPU使用率达到100%时需要的时间为Ta,那么在单核CPU上执行实现B的时间为Ta+Tt*N,N>>0。于是可以得出,在单核CPU上执行实现A的时间小于执行实现B的时间,也就是在单核CPU上执行算法时,单线程执行是最快的方法。再就多核多线程调度方法,CPU有M个核,可以同时执行M条指令,所以多核多线程调度是基于优先CPU核分割再进行时间片分割的方式实现。也就是当需要执行的线程数小于等于M时,分配每个CPU核执行一个线程,多余的CPU核闲置。若需要执行的线程数大于M时,优先分配每个CPU核执行一个线程,多余的线程再在最空闲的CPU核上进行时间片分割方式调度,每次调度后最空闲的CPU核可能会改变,所以多余的线程不一定都是在一个最空闲的CPU核上执行,而是分摊到几个当时最空闲的CPU核上执行。将某算法分为两种实现,实现A为单线程运行,实现B为多线程运行(线程数为N)。当在多核CPU上运行算法A时,只有一个CPU核在运行线程,运行时间为Ta。当在多核CPU上运行算法B时:若N<=M,那么同时有N个CPU核在运行算法B,且同时开始同时完成。有M个核的CPU,将算法分为M份可以同时执行并且运算量相等的线程运行可以获得最高的运算速度。此方法有大量数学运算代码,这些代码均按照此方法进行线程分配,以获得最快的运算速度。The detection method of the display screen of this embodiment is based on concurrent calculation of multi-core multi-thread. There are two types of concurrent calculations: one is single-core multi-threading, and the other is multi-core multi-threading. In the single-core multi-thread scheduling method, since only one central processing unit (CPU) can execute one instruction at a time, single-core multi-thread scheduling is implemented based on time slice segmentation. Single core CPU Only one thread can be executed at the same time, and other threads are in a sleep state. An algorithm is divided into two implementations, which implements A as a single-threaded operation and B as a multi-threaded operation. When implementation A is executed on a single-core CPU, if the time required to implement A's thread CPU usage reaches 100% is Ta, then the time to implement B on the single-core CPU is Ta+Tt*N, N>> 0. It can be concluded that the implementation of implementation A on a single-core CPU is less than the time to implement implementation B, that is, single-thread execution is the fastest method when executing an algorithm on a single-core CPU. In the multi-core multi-thread scheduling method, the CPU has M cores and can execute M instructions at the same time. Therefore, the multi-core multi-thread scheduling is implemented based on the priority CPU core segmentation and then the time slice segmentation. That is, when the number of threads that need to be executed is less than or equal to M, each CPU core is allocated to execute one thread, and the redundant CPU core is idle. If the number of threads to be executed is greater than M, one thread is preferentially allocated to each CPU core, and the redundant threads are scheduled for time slice segmentation on the most idle CPU core. The most idle CPU core may change after each scheduling. So the extra threads are not necessarily executed on one of the most idle CPU cores, but are distributed to several of the most idle CPU cores at the time. The algorithm is divided into two implementations, which implements A as a single-threaded operation and B as a multi-threaded operation (the number of threads is N). When running Algorithm A on a multi-core CPU, only one CPU core is running the thread and the runtime is Ta. When running algorithm B on a multi-core CPU: If N <= M, then there are N CPU cores running algorithm B at the same time, and simultaneously start simultaneously. A CPU with M cores divides the algorithm into M parts that can be executed simultaneously and the threads with the same amount of operations can run at the highest speed. This method has a lot of mathematical operation code, which is threaded according to this method to get the fastest calculation speed.

实施例四Embodiment 4

图4为本发明实施例四提供的一种显示屏的检测装置的结构示意图。如图4所示,该装置包括:相机感光值调整模块410,图像采集模块420,微分图获 取模块430,检验项检测模块440和检测结果获取模块450。FIG. 4 is a schematic structural diagram of a display device for a display screen according to Embodiment 4 of the present invention. As shown in FIG. 4, the device includes: a camera sensitivity adjustment module 410, an image acquisition module 420, and a differential image acquisition. The module 430, the verification item detection module 440 and the detection result acquisition module 450 are taken.

相机感光值调整模块410,用于将待测显示屏的亮度设置为预设亮度值,根据预设亮度值自适应的调整相机感光值;The camera sensation value adjustment module 410 is configured to set the brightness of the display screen to be tested to a preset brightness value, and adaptively adjust the camera sensation value according to the preset brightness value;

图像采集模块420,用于根据相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像;The image acquisition module 420 is configured to collect a picture displayed on the display screen according to the camera sensitivity value, and obtain a plurality of acquired images;

微分图获取模块430,用于计算多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图;a differential map obtaining module 430, configured to calculate a degree of change of each image point of the plurality of acquired images in the spatial domain, to obtain a differential map of the acquired image;

检验项检测模块440,用于在多幅采集图像的微分图中进行至少一个检验项的检测;The test item detecting module 440 is configured to perform detection of at least one test item in the differential map of the plurality of acquired images;

检测结果获取模块450,用于利用模糊逻辑判定法对至少一个检验项的结果进行判定,获取待测显示屏的检测结果。The detection result obtaining module 450 is configured to determine the result of the at least one test item by using the fuzzy logic determination method, and obtain the detection result of the display screen to be tested.

优选的,相机感光值调整模块410,还用于:Preferably, the camera sensitivity adjustment module 410 is further configured to:

定义相机采集图像时的第一感光值和第二感光值,其中第一感光值大于第二感光值;Defining a first sensitized value and a second sensible value when the camera captures an image, wherein the first sensible value is greater than the second sensible value;

对第一感光值和第二感光值求平均得到第三感光值;Averageing the first photosensitive value and the second photosensitive value to obtain a third photosensitive value;

利用第三感光值采集图片,计算图片的平均亮度;Collecting a picture by using a third photosensitive value, and calculating an average brightness of the picture;

若平均亮度与预设亮度值之差小于预设误差值,则第三感光值为相机感光值。If the difference between the average brightness and the preset brightness value is less than the preset error value, the third light sensitivity value is the camera light sensitivity value.

优选的,还包括:Preferably, the method further includes:

摩尔纹滤除模块,用于滤除多幅采集图像中的摩尔纹。Moiré filter module for filtering moiré in multiple captured images.

优选的,微分图获取模块430,还用于:Preferably, the differential map obtaining module 430 is further configured to:

对反映图像点亮度的至少一个数据沿两个相互垂直的方向分别计算偏微 分,至少一个数据的偏微分值为图像点的变化度。Calculating the partiality of at least one data reflecting the brightness of the image point in two mutually perpendicular directions The partial differential value of at least one data is the degree of change of the image point.

优选的,微分图获取模块430,还用于:Preferably, the differential map obtaining module 430 is further configured to:

查找偏微分值不等于0的图像点;Find an image point whose partial differential value is not equal to 0;

对偏微分值不等于0的图像点进行至少一个检验项的检测。At least one test item is detected for an image point whose partial differential value is not equal to zero.

优选的,检测结果获取模块450,还用于:Preferably, the detection result obtaining module 450 is further configured to:

将检验项的结果与检验项的模糊逻辑标准值进行比较;Comparing the result of the test item with the fuzzy logic standard value of the test item;

若检验项的结果大于检验项的模糊逻辑标准值,则待测显示屏的检查结果为不合格。If the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display to be tested is unqualified.

上述产品可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above product can perform the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (12)

一种显示屏的检测方法,其特征在于,包括:A method for detecting a display screen, comprising: 将待测显示屏的亮度设置为预设亮度值,根据所述预设亮度值自适应的调整相机感光值;Setting the brightness of the display to be tested to a preset brightness value, and adaptively adjusting the camera sensitivity value according to the preset brightness value; 根据所述相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像;Collecting a picture displayed on the display screen according to the camera sensitivities, and obtaining a plurality of acquired images; 计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图;Calculating a degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image; 在所述多幅采集图像的微分图中进行至少一个检验项的检测;Performing detection of at least one test item in the differential map of the plurality of acquired images; 利用模糊逻辑判定法对所述至少一个检验项的结果进行判定,获取所述待测显示屏的检测结果。The result of the at least one test item is determined by using a fuzzy logic decision method, and the detection result of the display screen to be tested is obtained. 根据权利要求1所述的显示屏的检测方法,其特征在于,所述据所述预设亮度值自适应的调整相机感光值,包括:The method for detecting a display screen according to claim 1, wherein the adjusting the camera sensitivity value according to the preset brightness value comprises: 定义相机采集图像时的第一感光值和第二感光值,其中所述第一感光值大于所述第二感光值;Defining a first photosensitive value and a second photosensitive value when the camera captures an image, wherein the first photosensitive value is greater than the second photosensitive value; 对所述第一感光值和所述第二感光值求平均得到第三感光值;Averageing the first photosensitive value and the second photosensitive value to obtain a third photosensitive value; 利用所述第三感光值采集图片,计算所述图片的平均亮度;Acquiring a picture by using the third photosensitive value, and calculating an average brightness of the picture; 若所述平均亮度与所述预设亮度值之差小于预设误差值,则第三感光值为相机感光值。If the difference between the average brightness and the preset brightness value is less than a preset error value, the third light sensitivity value is a camera light sensitivity value. 根据权利要求1所述的显示屏的检测方法,其特征在于,在计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图之前,还包括:The method for detecting a display screen according to claim 1, wherein before calculating the degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image, the method further includes: 滤除所述多幅采集图像中的摩尔纹。 Filtering the moiré in the plurality of captured images. 根据权利要求1所述的显示屏的检测方法,其特征在于,所述计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图,包括:The method for detecting a display screen according to claim 1, wherein the calculating the degree of change of each image point of the plurality of acquired images in the spatial domain to obtain a differential image of the acquired image comprises: 对反映图像点亮度的至少一个数据沿两个相互垂直的方向分别计算偏微分,所述至少一个数据的偏微分值为所述图像点的变化度。At least one data reflecting the brightness of the image point is separately calculated as a partial differential in two mutually perpendicular directions, and a partial differential value of the at least one data is a degree of change of the image point. 根据权利要求4所述的显示屏的检测方法,其特征在于,所述在所述多幅采集图像的微分图中进行至少一个检验项的检测,包括:The method of detecting a display screen according to claim 4, wherein the detecting the at least one test item in the differential map of the plurality of acquired images comprises: 查找所述偏微分值不等于0的图像点;Finding an image point whose partial differential value is not equal to 0; 对偏微分值不等于0的图像点进行至少一个检验项的检测。At least one test item is detected for an image point whose partial differential value is not equal to zero. 根据权利要求1所述的显示屏的检测方法,其特征在于,所述利用模糊逻辑判定法对所示至少一个检验项的结果进行判定,获取所述待测显示屏的检测结果,包括:The method for detecting a display screen according to claim 1, wherein the determining the result of the at least one test item by using the fuzzy logic determination method to obtain the detection result of the display screen to be tested comprises: 将检验项的结果与所述检验项的模糊逻辑标准值进行比较;Comparing the result of the test item with the fuzzy logic standard value of the test item; 若检验项的结果大于所述检验项的模糊逻辑标准值,则所述待测显示屏的检查结果为不合格。If the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display screen to be tested is unqualified. 一种显示屏的检测装置,其特征在于,包括:A detecting device for a display screen, comprising: 相机感光值调整模块,用于将待测显示屏的亮度设置为预设亮度值,根据所述预设亮度值自适应的调整相机感光值;a camera sensation adjustment module, configured to set a brightness of the display to be tested to a preset brightness value, and adaptively adjust a camera sensation value according to the preset brightness value; 图像采集模块,用于根据所述相机感光值对待测显示屏显示的图片进行采集,获得多幅采集图像;An image acquisition module, configured to collect a picture displayed on the display screen according to the camera sensitivity value, and obtain a plurality of acquired images; 微分图获取模块,用于计算所述多幅采集图像在空间域中的每个图像点的变化度,得到采集图像的微分图; a differential map obtaining module, configured to calculate a degree of change of each image point of the plurality of acquired images in a spatial domain, to obtain a differential map of the acquired image; 检验项检测模块,用于在所述多幅采集图像的微分图中进行至少一个检验项的检测;a test item detecting module, configured to perform at least one test item detection in the differential map of the plurality of acquired images; 检测结果获取模块,用于利用模糊逻辑判定法对所述至少一个检验项的结果进行判定,获取所述待测显示屏的检测结果。And a detection result obtaining module, configured to determine, by using a fuzzy logic determination method, a result of the at least one verification item, and obtain a detection result of the display screen to be tested. 根据权利要求7所述的显示屏的检测装置,其特征在于,所述相机感光值调整模块,还用于:The detecting device of the display screen according to claim 7, wherein the camera photosensitive value adjusting module is further configured to: 定义相机采集图像时的第一感光值和第二感光值,其中所述第一感光值大于所述第二感光值;Defining a first photosensitive value and a second photosensitive value when the camera captures an image, wherein the first photosensitive value is greater than the second photosensitive value; 对所述第一感光值和所述第二感光值求平均得到第三感光值;Averageing the first photosensitive value and the second photosensitive value to obtain a third photosensitive value; 利用所述第三感光值采集图片,计算所述图片的平均亮度;Acquiring a picture by using the third photosensitive value, and calculating an average brightness of the picture; 若所述平均亮度与所述预设亮度值之差小于预设误差值,则第三感光值为相机感光值。If the difference between the average brightness and the preset brightness value is less than a preset error value, the third light sensitivity value is a camera light sensitivity value. 根据权利要求7所述的显示屏的检测装置,其特征在于,还包括:The apparatus for detecting a display screen according to claim 7, further comprising: 摩尔纹滤除模块,用于滤除所述多幅采集图像中的摩尔纹。a moiré filtering module for filtering moiré in the plurality of captured images. 根据权利要求7所述的显示屏的检测装置,其特征在于,所述微分图获取模块,还用于:The apparatus for detecting a display screen according to claim 7, wherein the differential map acquisition module is further configured to: 对反映图像点亮度的至少一个数据沿两个相互垂直的方向分别计算偏微分,所述至少一个数据的偏微分值为所述图像点的变化度。At least one data reflecting the brightness of the image point is separately calculated as a partial differential in two mutually perpendicular directions, and a partial differential value of the at least one data is a degree of change of the image point. 根据权利要求10所述的显示屏的检测装置,其特征在于,所述微分图获取模块,还用于:The detection device of the display screen according to claim 10, wherein the differential map acquisition module is further configured to: 查找所述偏微分值不等于0的图像点;Finding an image point whose partial differential value is not equal to 0; 对偏微分值不等于0的图像点进行至少一个检验项的检测。 At least one test item is detected for an image point whose partial differential value is not equal to zero. 根据权利要求7所述的显示屏的检测装置,其特征在于,所述检测结果获取模块,还用于:The detection device of the display screen according to claim 7, wherein the detection result acquisition module is further configured to: 将检验项的结果与所述检验项的模糊逻辑标准值进行比较;Comparing the result of the test item with the fuzzy logic standard value of the test item; 若检验项的结果大于所述检验项的模糊逻辑标准值,则所述待测显示屏的检查结果为不合格。 If the result of the test item is greater than the fuzzy logic standard value of the test item, the check result of the display screen to be tested is unqualified.
PCT/CN2017/080284 2017-04-12 2017-04-12 Detection method and apparatus for use with display screen Ceased WO2018187989A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/080284 WO2018187989A1 (en) 2017-04-12 2017-04-12 Detection method and apparatus for use with display screen
CN201780021454.9A CN108885180B (en) 2017-04-12 2017-04-12 Method and device for detecting a display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/080284 WO2018187989A1 (en) 2017-04-12 2017-04-12 Detection method and apparatus for use with display screen

Publications (1)

Publication Number Publication Date
WO2018187989A1 true WO2018187989A1 (en) 2018-10-18

Family

ID=63793033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080284 Ceased WO2018187989A1 (en) 2017-04-12 2017-04-12 Detection method and apparatus for use with display screen

Country Status (2)

Country Link
CN (1) CN108885180B (en)
WO (1) WO2018187989A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014908A (en) * 2019-12-19 2021-06-22 西安诺瓦星云科技股份有限公司 Image detection method, device and system and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011086634A1 (en) * 2010-01-14 2011-07-21 シャープ株式会社 Liquid crystal panel inspection method and device
CN102692418A (en) * 2012-06-13 2012-09-26 北京优纳科技有限公司 Equipment and method for detecting appearances and functions of flat panel display screens
US20140198202A1 (en) * 2013-01-14 2014-07-17 Samsung Display Co., Ltd. Inspection method for display panel
CN106153639A (en) * 2015-04-21 2016-11-23 凯吉凯精密电子技术开发(苏州)有限公司 circuit board detecting method based on artificial intelligence and detection device thereof
CN106442560A (en) * 2016-08-23 2017-02-22 汕头大学 Positioning measurement and defect detection method of display screen

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004361358A (en) * 2003-06-09 2004-12-24 Hitachi Kokusai Electric Inc Display device defect inspection equipment
JP4143660B2 (en) * 2006-07-13 2008-09-03 シャープ株式会社 Image analysis method, image analysis apparatus, inspection apparatus, image analysis program, and computer-readable recording medium
JP4799329B2 (en) * 2006-09-07 2011-10-26 株式会社東芝 Unevenness inspection method, display panel manufacturing method, and unevenness inspection apparatus
KR100891842B1 (en) * 2007-08-28 2009-04-07 주식회사 포스코 Circular wire rod optical defect detection device and method
JP4726983B2 (en) * 2009-10-30 2011-07-20 住友化学株式会社 Defect inspection system, and defect inspection imaging apparatus, defect inspection image processing apparatus, defect inspection image processing program, recording medium, and defect inspection image processing method used therefor
CN102404495B (en) * 2010-09-10 2014-03-12 华晶科技股份有限公司 Method for adjusting shooting parameters of digital camera
CN103106859B (en) * 2013-02-28 2015-11-25 北京星河康帝思科技开发股份有限公司 The detection method of display screen and device
CN104698616A (en) * 2013-12-06 2015-06-10 大连龙宁科技有限公司 Rapid transparence detection method for liquid crystal display screen based on fuzzy logic
CN104038703A (en) * 2014-05-26 2014-09-10 四川长虹电器股份有限公司 Digital camera photosensitive self-adaptation control method
CN105575366B (en) * 2016-02-26 2017-10-24 广东欧珀移动通信有限公司 Method and system for switching backlight regulation speed
CN105976382B (en) * 2016-05-11 2018-11-13 华中科技大学 A kind of TFT-LCD Mura defects detection methods based on defect area anticipation and level set
CN107705290B (en) * 2017-09-05 2021-07-02 哈尔滨工业大学深圳研究生院 A kind of AMOLED display screen Mura defect detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011086634A1 (en) * 2010-01-14 2011-07-21 シャープ株式会社 Liquid crystal panel inspection method and device
CN102692418A (en) * 2012-06-13 2012-09-26 北京优纳科技有限公司 Equipment and method for detecting appearances and functions of flat panel display screens
US20140198202A1 (en) * 2013-01-14 2014-07-17 Samsung Display Co., Ltd. Inspection method for display panel
CN106153639A (en) * 2015-04-21 2016-11-23 凯吉凯精密电子技术开发(苏州)有限公司 circuit board detecting method based on artificial intelligence and detection device thereof
CN106442560A (en) * 2016-08-23 2017-02-22 汕头大学 Positioning measurement and defect detection method of display screen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BAI, XIAOJING: "RESEARCH on IMAGE SEGMENTATION and REGISTRATION BASED on PARTIAL DIFFERENTIAL EQUATIONS", CHINA DOCTORAL DISSERTATIONS FULL-TEXT DATABASE, 15 August 2010 (2010-08-15), pages 1, ISSN: 1674-022X *
ZGANG, YU: "RESEARCH on MURA INSPECTION TECHNOLOGY of TDT-LCD BASED on MACHINE VISION", CHINA DOCTORAL DISSERTATIONS FULL-TEXT DATABASE, 15 November 2006 (2006-11-15), pages 94 - 98, ISSN: 1671-6779 *

Also Published As

Publication number Publication date
CN108885180B (en) 2021-03-23
CN108885180A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108683907B (en) Optical module pixel defect detection method, device and equipment
US12198385B2 (en) Method and apparatus for adjusting an image acquisition apparatus, compensation method of a display panel, device and medium
JP7255718B2 (en) Information processing device, recognition support method, and computer program
US11317067B2 (en) Method and system for inspecting display image
JP5659623B2 (en) Exposure attribute setting method and computer-readable storage medium
US20160343121A1 (en) Automatic detection method for defects of a display panel
CN108234824A (en) Determination of shadow correction detection parameters, correction detection method and device, storage medium, fisheye camera
CN109348216A (en) A kind of combination treatment method of bad point detection peace field calibration
CN105301810A (en) Screen defect detecting method and screen defect detecting device
CN110335273A (en) Detection method, detection device, electronic equipment and medium
TW201419853A (en) Image processor and image dead pixel detection method thereof
CN107749268A (en) Screen detection method and equipment
WO2017166796A1 (en) Detection method and detection device for definition of transparent display screen
CN106226033B (en) Method and device for detecting transmittance of transparent substrate
CN114511645B (en) Ink color detection device, method, equipment and medium
CN109302566A (en) A kind of method, apparatus and terminal device of determining screening-mode
CN110519585A (en) A kind of imaging calibration method and device applied to image capture device
CN110248180A (en) Glare testing device
CN110231018A (en) A kind of structure light measurement method, apparatus and computer readable storage medium
CN115390291A (en) Screen display state detection method, device and system and readable storage medium
CN102750713B (en) Image color shift detection method
CN106412575A (en) Method and device for detecting display
CN110418124A (en) Projection image detection method, device, equipment and computer-readable storage medium
CN111369513A (en) Anomaly detection method, device, terminal device and storage medium
JPWO2015146111A1 (en) Detection device, detection method, and computer program

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: 17905656

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205 DATED 21/02/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17905656

Country of ref document: EP

Kind code of ref document: A1