Method and device for detecting diffusion film masking property, and electronic equipment

By capturing images of alternating black and white patterns on the diffusion film, obtaining grayscale trend maps, and comparing them with standard images, the problems of high detection costs and site limitations in existing technologies are solved, enabling low-cost detection of diffusion film opacity.

CN116030031BActive Publication Date: 2026-03-31BOE TECHNOLOGY GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-31
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Currently, testing the transmittance and haze of diffusion membranes requires specialized testing instruments, which are costly and subject to site limitations, making it difficult to select the appropriate diffusion membrane model.

Method used

By capturing images of alternating black and white patterns covering a diffusion film, the grayscale value of each pixel in the image is determined, a grayscale trend map is obtained, and compared with a predetermined grayscale trend map to determine the opacity of the diffusion film.

Benefits of technology

It enables low-cost and simple testing of the shielding properties of diffusion films without the need for specialized testing instruments, and is applicable to the selection of diffusion film models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116030031B_ABST
    Figure CN116030031B_ABST
Patent Text Reader

Abstract

The method, device and electronic equipment provided by the embodiments of the present disclosure can determine the shielding performance of a diffusion film without professional testing equipment, and only a high-resolution camera is needed to realize the detection of the shielding performance of the diffusion film, which is low in cost and simple in operation, and is beneficial to the selection of the type of the diffusion film.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display technology, and in particular to a method, apparatus, and electronic device for detecting the shielding properties of a diffusion film. Background Technology

[0002] LED lighting and display devices are closely related to daily life and are experiencing strong growth. LED lighting has a long lifespan and is energy-efficient and environmentally friendly. Products such as LCD TVs and LCD monitors are increasingly favored for their advantages of being thin, light, energy-saving, and radiation-free. The backlight, located behind the LCD monitor, directly affects the visual effect of the LCD display product.

[0003] LEDs, being independent point light sources, suffer from high luminous intensity and uneven light distribution. Optical diffusion films (also known as diffusion films or thin films) are thin films that cause multiple scattering, refraction, and reflection of point or line light sources as they pass through the film's interior or surface, thus uniformly diffusing light into a soft, surface light source. They are important optical components that improve light source utilization. After being corrected by the optical diffusion film, the light emitted from an LED point light source becomes a uniform, soft surface light source, resulting in uniform and soft illumination, eliminating glare, and solving the visual glare problems associated with LEDs.

[0004] Optical diffusion films are commonly used in backlight modules of displays, such as LCDs and LEDs. In the backlight structure, the diffusion film primarily corrects the diffusion angle, increasing the light radiation area but reducing the light intensity per unit area. After being diffused by the diffusion material, the light source becomes a secondary light source with a larger area, better uniformity, and stable color.

[0005] Traditional evaluation indicators for diffusion films are transmittance and haze (collectively referred to as obscuring properties). Transmittance refers to the proportion of transmitted light intensity to the total light intensity of the light source after passing through the film. Haze refers to the proportion of transmitted light intensity that deviates from the incident light by more than ±2.5° after passing through the film to the total transmitted light intensity. Higher transmittance means less light intensity is lost after passing through the film; higher haze indicates a stronger light diffusion ability of the film, resulting in a more blurred image. Currently, testing the transmittance and haze of diffusion films requires specialized testing instruments, which is costly and subject to site limitations. Furthermore, any new diffusion film requires retesting, hindering the selection of suitable models. Summary of the Invention

[0006] In view of this, the present disclosure provides a method, apparatus and electronic device for detecting the shielding properties of a diffusion film, in order to solve the following problems of the prior art: when detecting the transmittance and haze of a diffusion film, professional testing instruments are required, which is costly and subject to site limitations. Once a new diffusion film is added, it needs to be tested again, which is not conducive to the selection of diffusion film models.

[0007] On one hand, this disclosure proposes a method for detecting the occlusion of a diffusion film, comprising: determining the grayscale values ​​of each pixel point on a first straight line with a predetermined detection direction in a first image, wherein the first image is an image obtained by capturing a detection pattern under the condition of covering a first diffusion film, and the detection pattern is a grayscale pattern of alternating white and black; determining a grayscale trend map based on all the grayscale values ​​on the first straight line; comparing the grayscale trend map with a predetermined grayscale trend map to determine the occlusion of the first diffusion film based on the comparison result, wherein the predetermined grayscale trend map includes at least: a standard grayscale trend map corresponding to the detection pattern, and a grayscale trend map corresponding to a second image obtained by capturing the detection pattern under the condition of covering a second diffusion film.

[0008] In some embodiments, before determining the grayscale value of each pixel point on the first straight line where the predetermined detection direction is in the first image, the method further includes: performing a first noise reduction process on the first image to obtain the first image that satisfies a first signal-to-noise ratio.

[0009] In some embodiments, determining the grayscale value of each pixel point on a first straight line with a predetermined detection direction in the first image includes: obtaining the grayscale values ​​of a second pixel point and a third pixel point adjacent to the first pixel point on a second straight line, wherein the second straight line is a straight line perpendicular to the first straight line and containing the first pixel point; and determining the grayscale value of the first pixel point based on the average of the grayscale values ​​of the first pixel point, the second pixel point, and the third pixel point.

[0010] In some embodiments, comparing the grayscale trend map with a predetermined grayscale trend map includes: comparing the slope at the boundary between black and white in the grayscale trend map with the slope at the boundary between black and white in the predetermined grayscale trend map.

[0011] In some embodiments, before determining the grayscale value of each pixel on the first straight line along the predetermined detection direction in the first image, the method further includes: determining the detection pattern used for shooting; and shooting the first image with a camera that satisfies predetermined parameters, wherein the predetermined parameters include at least: a distortion rate less than a predetermined distortion rate and a resolution greater than a predetermined resolution.

[0012] In some embodiments, the detection pattern includes at least one of the following: a black and white grid pattern, a black and white stripe pattern, or a black and white circular pattern.

[0013] On the other hand, this disclosure provides an embodiment of a diffusion film occlusion detection device, comprising: a first determining module, configured to determine the grayscale values ​​of each pixel point on a first straight line with a predetermined detection direction in a first image, wherein the first image is an image obtained by capturing a detection pattern under the condition of covering a first diffusion film, and the detection pattern is a grayscale pattern of alternating white and black; a second determining module, configured to determine a grayscale trend map based on all grayscale values ​​on the first straight line; and a comparison module, configured to compare the grayscale trend map with a predetermined grayscale trend map to determine the occlusion of the first diffusion film based on the comparison result, wherein the predetermined grayscale trend map includes at least: a standard grayscale trend map corresponding to the detection pattern, and a grayscale trend map corresponding to a second image obtained by capturing the detection pattern under the condition of covering a second diffusion film.

[0014] In some embodiments, the image further includes a first noise reduction processing module, configured to perform a first noise reduction processing on the first image to obtain a first signal-to-noise ratio.

[0015] In some embodiments, the first determining module is specifically used to: obtain the gray values ​​of a second pixel and a third pixel adjacent to the first pixel on a second straight line, wherein the second straight line is a straight line perpendicular to the first straight line and containing the first pixel; and determine the gray value of the first pixel based on the average of the gray values ​​of the first pixel, the second pixel, and the third pixel.

[0016] In some embodiments, the comparison module is specifically used to: compare the slope at the boundary between black and white in the grayscale trend map with the slope at the boundary between black and white in the predetermined grayscale trend map.

[0017] In some embodiments, the system further includes: a third determining module for determining the detection pattern used for capturing the image; and a capturing module for capturing the first image using a camera that satisfies predetermined parameters, wherein the predetermined parameters include at least: a distortion rate less than a predetermined distortion rate and a resolution greater than a predetermined resolution.

[0018] On the other hand, embodiments of this disclosure provide an electronic device, including at least a memory and a processor, wherein the memory stores a computer program, characterized in that the processor, when executing the computer program in the memory, implements the steps of the method described in any embodiment of this disclosure.

[0019] In this embodiment, a first image is obtained by photographing a detection pattern while the first diffusion film is covered. The detection pattern is an alternating black and white pattern, and the first image is also an alternating black and white pattern. The grayscale trend map of the first image can then be obtained. The grayscale trend map is then compared with a predetermined grayscale trend map to determine whether the shielding performance of the first diffusion film meets the requirements. This embodiment does not require professional testing instruments; only a high-resolution camera is needed to test the shielding performance of the diffusion film. Once a new diffusion film is added, the shielding effect can be analyzed after taking a photo. The cost is low, the operation is simple, and it is beneficial for selecting the model of diffusion film. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A flowchart of a method for detecting the shielding properties of a diffusion film provided in the first embodiment of this disclosure;

[0022] Figure 2 The diffusion film detection process provided in the first embodiment of this disclosure Figure 1 ;

[0023] Figure 3 The equidistant stripe pattern provided in the first embodiment of this disclosure;

[0024] Figure 4 The equidistant checkerboard pattern provided in the first embodiment of this disclosure;

[0025] Figure 5 The equidistant circular pattern provided in the first embodiment of this disclosure;

[0026] Figure 6 This is a variable-pitch stripe pattern provided in the first embodiment of the present disclosure;

[0027] Figure 7 The second variable-pitch stripe pattern provided in the first embodiment of this disclosure;

[0028] Figure 8 The variable-pitch annular pattern provided in the first embodiment of this disclosure;

[0029] Figure 9 A checkerboard pattern without a diffusion film, captured by an industrial camera according to the first embodiment of this disclosure;

[0030] Figure 10The first embodiment of this disclosure provides a comparison diagram of two sets of diffusion films for detecting the equidistant checkerboard pattern.

[0031] Figure 11 The diffusion film detection process provided in the first embodiment of this disclosure Figure 2 ;

[0032] Figure 12 This is a schematic diagram of the structure of the diffusion film shielding detection device provided in the second embodiment of this disclosure. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0034] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as “comprising” or “including” mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as “connected” or “linked” are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as “upper,” “lower,” “left,” and “right” are used only to indicate relative positional relationships, and these relative positional relationships may change accordingly when the absolute position of the described objects changes.

[0035] To keep the following description of the embodiments of this disclosure clear and concise, detailed descriptions of known functions and known components are omitted.

[0036] The first embodiment of this disclosure provides a method for detecting the shielding properties of a diffusion film, the process of which is as follows: Figure 1 As shown, steps S101 to S103 are included:

[0037] S101, determine the grayscale value of each pixel point on the first straight line where the predetermined detection direction is in the first image, wherein the first image is an image obtained by taking a detection pattern under the condition of covering the first diffusion film, and the detection pattern is a grayscale pattern of alternating white and black.

[0038] Before determining the grayscale values ​​of each pixel on the first straight line along the predetermined detection direction in the first image, it is also necessary to determine the detection pattern to be used for shooting, and then take the first image by a camera that meets the predetermined parameters. For the camera, the predetermined parameters include at least: distortion rate less than a predetermined distortion rate and resolution greater than a predetermined resolution, that is, a camera with a small distortion rate and a high resolution. Generally, an industrial camera is preferred.

[0039] Applying a first denoising process to the first image yields a first image that satisfies a first signal-to-noise ratio. The preferred first denoising process is Gaussian filtering.

[0040] In this embodiment of the disclosure, when specifically determining the grayscale value of each pixel, a second noise reduction process can also be performed, that is, the grayscale values ​​of the second pixel and the third pixel adjacent to the first pixel on the second straight line are obtained, and then the grayscale value of the first pixel is determined according to the average value of the grayscale values ​​of the first pixel, the second pixel and the third pixel. The upper second straight line is the straight line perpendicular to the first straight line and the line where the first pixel is located.

[0041] The aforementioned predetermined detection direction is the direction with alternating black and white patterns, which is necessary to obtain a grayscale trend map with grayscale value changes. If the second straight line also has alternating black and white patterns, then it is necessary to consider pixels where the second and third pixels are the same color as the first pixel. The above method of performing the second noise reduction processing with three pixels is only one specific implementation. Those skilled in the art can use more pixels for noise reduction, which will not be elaborated in this disclosure.

[0042] S102, determine the grayscale trend chart based on all grayscale values ​​on the first straight line.

[0043] Once all the gray values ​​on the first straight line are obtained, a gray-scale trend map can be drawn based on each gray value, that is, the gray values ​​of adjacent pixels are connected to form a gray-scale trend map.

[0044] S103, compare the grayscale trend map with the predetermined grayscale trend map to determine the shielding property of the first diffusion film based on the comparison result, wherein the predetermined grayscale trend map includes at least: a standard grayscale trend map corresponding to the detection pattern, and a grayscale trend map corresponding to the second image obtained by taking the detection pattern under the condition of covering the second diffusion film.

[0045] In the process of comparing the grayscale trend map with the predetermined grayscale trend map, it is preferable to compare the slope of the black-white boundary in the grayscale trend map with the slope of the black-white boundary in the predetermined grayscale trend map. That is, the opacity of the diffusion film is determined based on the slope of the black-white boundary in the grayscale trend map. Of course, if the above-mentioned alternating black and white pattern is a non-equal spacing pattern (e.g., a stripe pattern with the same color spacing decreasing sequentially), the opacity of the diffusion film can also be determined based on the ability to distinguish the difference in grayscale values ​​at the same stripe interval in the dense stripe area. The following process will be illustrated by example.

[0046] In this embodiment, a first image is obtained by photographing a detection pattern while the first diffusion film is covered. The detection pattern is an alternating black and white pattern, and the first image is also an alternating black and white pattern. The grayscale trend map of the first image can then be obtained. The grayscale trend map is then compared with a predetermined grayscale trend map to determine whether the shielding performance of the first diffusion film meets the requirements. This embodiment does not require professional testing instruments; only a high-resolution camera is needed to test the shielding performance of the diffusion film. Once a new diffusion film is added, the shielding effect can be analyzed after taking a photo. The cost is low, the operation is simple, and it is beneficial for selecting the model of diffusion film.

[0047] The detection pattern described above can be a black and white grid pattern, a black and white stripe pattern, a black and white ring pattern with equal spacing, or a black and white grid pattern, a black and white stripe pattern, a black and white ring pattern with non-equal spacing, as illustrated below.

[0048] The screen used for testing in this embodiment is 2.48 inches in size with a resolution of 1800*1920. The industrial camera used has a magnification of 0.35, a CCD target size of 1 / 3 inch (4.8mm*3.6mm), an object distance of 69.2mm, an aperture of f / 8, a telecentricity of <0.08deg, a distortion rate of <0.06%, and a depth of field of 2.5mm. Since the camera's distortion rate is <0.06%, the acquired image can be considered distortion-free. The screen is fixed in a fixed position on a horizontal plane. Using a fixing device (such as a tripod), the industrial camera is fixed approximately 7cm directly above the screen to vertically photograph the screen, while ensuring that the center of the screen is on the camera's main optical axis.

[0049] During the testing process, if different testing requirements arise, only the testing pattern and diffusion film used for testing need to be changed. The screen position and brightness, as well as the camera position, must remain unchanged. The diffusion film testing process is as follows: Figure 2 As shown, the process includes the following steps (1) to (5):

[0050] (1) Select the appropriate test pattern according to the requirements. The patterns used to test the shielding of the diffusion film are divided into two categories: equal spacing patterns and variable spacing patterns.

[0051] Equally spaced patterns, such as Figure 3 , Figure 4 , Figure 5 As shown; where, Figure 3 The equidistant stripe pattern shown allows observation of the grayscale variation trend along the transverse axis of the diffusion film; Figure 4 The equidistant checkerboard pattern shown allows observation of the grayscale variation trends in both the horizontal and vertical directions of the diffusion film. Figure 5 The evenly spaced circular pattern shown allows observation of the grayscale variation trend in any direction starting from the center. The spacing between the same color in the above evenly spaced pattern can be adjusted; the minimum spacing should ensure that the grayscale value of the black or white portion remains stable within a certain range.

[0052] Variable spacing patterns, such as Figure 6 , Figure 7 , Figure 8 As shown; where, Figure 6 The variable-spacing stripe patterns shown can be used to observe the grayscale variation trend of the diffusion film in the horizontal axis direction. Figure 7 The variable-spacing stripe pattern shown allows observation of the grayscale variation trend along the longitudinal axis of the diffusion film. Figure 8 The variable-gap annular pattern shown allows observation of the grayscale variation trend in any direction starting from the center. The spacing between the same color elements in the variable-gap pattern decreases sequentially along a certain direction.

[0053] (2) Use an industrial camera to photograph the screen. Select any detection pattern (in this embodiment, an equidistant checkerboard pattern is used as an example), and adjust the gain and exposure time of the industrial camera to improve the brightness and signal-to-noise ratio of the detected image. The gain and exposure time should not be set too high to prevent excessive noise or overexposure. Adjust the frame rate of the camera acquisition module to prevent the camera acquisition frame rate from being mismatched with the screen refresh rate, which would result in images captured at different refresh rates and cause image differences. The image obtained by the industrial camera is an 8-bit BMP image with a resolution of 1280*960.

[0054] (3) Gaussian filtering (first noise reduction process). Select an appropriate Gaussian kernel size and use the Gaussian filtering method based on discretized window sliding window convolution to perform noise reduction on the image to obtain a grayscale image with a high signal-to-noise ratio.

[0055] (4) Calculate the gray value change trend of the diffusion film in a certain direction (the process of determining the gray value trend of a diffusion film).

[0056] Figure 9 For a checkerboard pattern without a diffusion film captured by an industrial camera, the direction indicated by the arrow is selected as the predetermined detection direction, i.e., the horizontal axis of the screen is the detection direction, and the gray value is counted pixel by pixel; with the pixel position on the horizontal axis as the horizontal axis and the pixel gray value (or average value) on the vertical axis as the vertical axis, a gray value change trend diagram of the diffusion film in that direction is obtained.

[0057] Preferably, the average gray value is obtained by performing a second noise reduction process on the gray value of each pixel, that is, selecting multiple horizontal axis positions of the image and calculating the average gray value of pixels on different vertical axes at the same horizontal axis position.

[0058] The checkerboard pattern can compare the grayscale change trends in both horizontal and vertical directions simultaneously. It is important to ensure that the checkerboard color is consistent when selecting a position perpendicular to the test direction. The striped pattern can only compare the change trend in a single direction. Any position along the vertical axis can be selected. For the annular pattern, the direction is selected with the center of the circle as the starting point and any point on the outermost circle as the ending point. The grayscale values ​​of all pixels on this line segment are counted to obtain the grayscale change trend map of the diffusion film in that direction.

[0059] (5) Compare the shielding properties of different diffusion films. Using the same detection pattern and detection direction, change the diffusion film and obtain images of grayscale change trends. Superimpose the grayscale change trends of different diffusion films. For images with equal spacing, the shielding ability of different diffusion films can be compared by comparing the slope. For an ideal screen, the grayscale change trend at the black-and-white boundary is infinite. If the slope of the diffusion film at the black-and-white boundary is greater, the shielding ability of the diffusion film is stronger and the brightness loss is smaller.

[0060] Figure 10 The image shows a comparison of two sets of diffusion films with an equidistant checkerboard pattern as the detection pattern. It also includes a grayscale trend chart (curve 1) of the detection pattern without a diffusion film as a control group. The grayscale trend chart shows that the grayscale values ​​of the black areas in the three images are not significantly different. Curve 2 represents a diffusion film with lower grayscale values ​​and a smaller slope in the white areas, indicating that its opacity (transmittance) is inferior to that of the diffusion film represented by curve 3.

[0061] For images with varying spacing, the masking ability of the diffusion film can be compared either by the slope at the black-and-white boundary or by analyzing the gray value differences in densely striped areas. First, obtain the average gray value of the black and white areas of the entire image. Then, find the minimum range of stable gray values ​​in the black area on the gray value trend image, that is, the gray value of the black-and-white boundary area drops to the average gray value of the black area of ​​the entire image. The smaller the minimum range, the stronger the masking ability of the diffusion film and the better the effect.

[0062] When testing the diffusion film, other screen and camera specifications can be selected. If the camera captures a 24-bit color image, grayscale image extraction is required after image acquisition; if the selected camera has significant distortion, distortion correction is necessary first. Figure 11 The process of selecting other high-resolution cameras for detection is shown.

[0063] A second embodiment of this disclosure provides a device for detecting the shielding properties of a diffusion film, the structure of which is shown below. Figure 12 As shown, it includes:

[0064] The first determining module 10 is used to determine the grayscale value of each pixel point on the first straight line where the predetermined detection direction is in the first image, wherein the first image is an image obtained by taking a detection pattern under the condition of covering the first diffusion film, and the detection pattern is a grayscale pattern of alternating white and black; the second determining module 20 is coupled to the first determining module 10 and is used to determine a grayscale trend map based on all the grayscale values ​​on the first straight line; the comparison module 30 is coupled to the second determining module 20 and is used to compare the grayscale trend map with the predetermined grayscale trend map to determine the occlusion of the first diffusion film based on the comparison result, wherein the predetermined grayscale trend map includes at least: a standard grayscale trend map corresponding to the detection pattern and a grayscale trend map corresponding to the second image obtained by taking a detection pattern under the condition of covering the second diffusion film.

[0065] The aforementioned device further includes: a third determining module for determining the detection pattern to be used for shooting; and an shooting module for shooting a first image using a camera that meets predetermined parameters, wherein the predetermined parameters include at least: a distortion rate less than a predetermined distortion rate and a resolution greater than a predetermined resolution.

[0066] In implementation, the detection device may further include a first noise reduction module for performing a first noise reduction process on the first image to obtain a first image that satisfies a first signal-to-noise ratio. The first noise reduction process is preferably Gaussian filtering.

[0067] In this embodiment of the disclosure, when specifically determining the grayscale value of each pixel, a second noise reduction process can also be performed. Specifically, the first determining module is used to: obtain the grayscale values ​​of the second pixel and the third pixel adjacent to the first pixel on the second straight line, wherein the second straight line is the straight line perpendicular to the first straight line and the line where the first pixel is located; and determine the grayscale value of the first pixel based on the average value of the grayscale values ​​of the first pixel, the second pixel, and the third pixel.

[0068] The aforementioned predetermined detection direction is the direction with alternating black and white patterns, which is necessary to obtain a grayscale trend map with grayscale value changes. If the second straight line also has alternating black and white patterns, then it is necessary to consider pixels where the second and third pixels are the same color as the first pixel. The above method of performing the second noise reduction processing with three pixels is only one specific implementation. Those skilled in the art can use more pixels for noise reduction, which will not be elaborated in this disclosure.

[0069] Once all the gray values ​​on the first straight line are obtained, a gray-scale trend map can be drawn based on each gray value, that is, the gray values ​​of adjacent pixels are connected to form a gray-scale trend map.

[0070] The aforementioned comparison module is specifically used to compare the slope at the junction of black and white in the grayscale trend chart with the slope at the junction of black and white in the predetermined grayscale trend chart. That is, the opacity of the diffusion film is determined based on the slope at the junction of black and white in the grayscale trend chart. Of course, if the aforementioned alternating black and white pattern is a non-equal spacing pattern (e.g., a stripe pattern with the same color spacing decreasing sequentially), the opacity of the diffusion film can also be determined based on the ability to distinguish the difference in grayscale values ​​at the same stripe spacing in dense stripe areas.

[0071] The detection pattern can be an evenly spaced black and white grid pattern, a black and white stripe pattern, a black and white ring pattern, etc., or it can be an unevenly spaced black and white grid pattern, a black and white stripe pattern, a black and white ring pattern, etc., which will not be elaborated here. Those skilled in the art can choose according to actual needs.

[0072] In this embodiment, a first image is obtained by photographing a detection pattern while the first diffusion film is covered. The detection pattern is an alternating black and white pattern, and the first image is also an alternating black and white pattern. The grayscale trend map of the first image can then be obtained. The grayscale trend map is then compared with a predetermined grayscale trend map to determine whether the shielding performance of the first diffusion film meets the requirements. This embodiment does not require professional testing instruments; only a high-resolution camera is needed to test the shielding performance of the diffusion film. Once a new diffusion film is added, the shielding effect can be analyzed after taking a photo. The cost is low, the operation is simple, and it is beneficial for selecting the model of diffusion film.

[0073] The third embodiment of this disclosure also provides an electronic device, which includes at least a memory and a processor. The memory stores a computer program, and the processor executes the computer program in the memory to implement the steps of the above-described detection method, which will not be described in detail here.

[0074] Furthermore, although exemplary embodiments have been described herein, their scope includes any and all embodiments based on this disclosure that have equivalent elements, modifications, omissions, combinations (e.g., schemes involving intersections of various embodiments), adaptations, or alterations. Elements in the claims will be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the implementation of this application, and such examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered illustrative only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0075] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. Other embodiments can be used by those skilled in the art when reading the above description. Furthermore, in the above detailed description, various features may be grouped together to simplify the disclosure. This should not be construed as an intention that a feature of the disclosure that is not claimed is necessary for any claim. Rather, the subject matter of this disclosure may be less than all the features of a particular disclosed embodiment. Thus, the following claims are incorporated herein by reference as examples or embodiments, wherein each claim is an independent, separate embodiment, and these embodiments are contemplated to be combined with each other in various combinations or arrangements. The scope of this disclosure should be determined by reference to the appended claims and the full scope of their equivalents.

[0076] The foregoing has provided a detailed description of several embodiments of this disclosure. However, this disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications based on the concept of this disclosure, and all such variations and modifications should fall within the scope of protection claimed by this disclosure.

Claims

1. A method for detecting the masking property of a diffusion film, characterized by, The method comprises the following steps: determining the gray value of each pixel point on the first straight line in the first image in the predetermined detection direction, wherein the first image is an image obtained by photographing a detection pattern under the condition of covering a first diffusion film, and the detection pattern is a gray pattern with white and black colors alternately; determining a gray trend graph according to all the gray values on the first straight line; comparing the gray trend graph with a predetermined gray trend graph to determine the shielding property of the first diffusion film according to the comparison result, wherein the predetermined gray trend graph at least includes a standard gray trend graph corresponding to the detection pattern and a gray trend graph corresponding to a second image obtained by photographing the detection pattern under the condition of covering a second diffusion film; when the shielding property of the first diffusion film is determined by comparing the slopes at the black and white junctions in the gray trend graph, the greater the slope at the black and white junction of the diffusion film, the stronger the shielding ability of the diffusion film; when the shielding property of the first diffusion film is determined by comparing the gray value difference at the dense stripe, the average gray values of the black and white regions of the whole image are obtained first, and then the minimum range of the stable gray value of the black region is found on the gray trend graph, and the smaller the minimum range, the stronger the shielding ability of the diffusion film.

2. The method of claim 1, wherein, Before the step of determining the gray value of each pixel point on the first straight line in the first image in the predetermined detection direction, the method further comprises the following steps: performing first noise reduction processing on the first image to obtain the first image satisfying a first signal-to-noise ratio.

3. The method of claim 1, wherein, The step of determining the gray value of each pixel point on the first straight line in the first image in the predetermined detection direction comprises the following steps: obtaining the gray values of a second pixel point and a third pixel point adjacent to the first pixel point on a second straight line, wherein the second straight line is a straight line perpendicular to the first straight line and passing through the first pixel point; determining the gray value of the first pixel point according to the average value of the gray values of the first pixel point, the second pixel point and the third pixel point.

4. The method of claim 1, wherein, The step of comparing the gray trend graph with the predetermined gray trend graph comprises the following step: comparing the slope at the black and white junction in the gray trend graph with the slope at the black and white junction in the predetermined gray trend graph.

5. The method of any one of claims 1 to 4, wherein, Before the step of determining the gray value of each pixel point on the first straight line in the first image in the predetermined detection direction, the method further comprises the following steps: determining the detection pattern used for photographing; photographing the first image by using a camera satisfying predetermined parameters, wherein the predetermined parameters at least include that the distortion rate is less than a predetermined distortion rate and the resolution is greater than a predetermined resolution.

6. The method of any one of claims 1 to 4, wherein, The detection pattern at least includes one of the following: a black and white grid pattern, a black and white stripe pattern and a black and white circular ring pattern.

7. A device for detecting the masking property of a diffusion film, characterized by The method comprises the following steps: a first determining module is configured to determine the gray value of each pixel point on the first straight line in the first image in the predetermined detection direction, wherein the first image is an image obtained by photographing a detection pattern under the condition of covering a first diffusion film, and the detection pattern is a gray pattern with white and black colors alternately; a second determining module is configured to determine a gray trend graph according to all the gray values on the first straight line; The comparison module is configured to compare the gray trend graph with a predetermined gray trend graph to determine the shielding property of the first diffusion film according to a comparison result, wherein the predetermined gray trend graph at least includes a standard gray trend graph corresponding to the detection pattern and a gray trend graph corresponding to a second image of the detection pattern captured under a condition of covering a second diffusion film. When the shielding property of the first diffusion film is determined by comparing the slopes of the black and white junctions in the gray trend graph, the greater the slope of the black and white junction of the diffusion film, the stronger the shielding ability of the diffusion film; when the shielding property of the first diffusion film is determined by comparing the gray value difference of the dense stripes, the average gray values of the black and white regions of the whole image are obtained, the minimum range of the stable gray value of the black region is found on the gray trend image, and the smaller the minimum range, the stronger the shielding ability of the diffusion film.

8. The apparatus of claim 7, wherein, Further comprising: The first noise reduction processing module is configured to perform first noise reduction processing on the first image to obtain the first image satisfying a first signal-to-noise ratio.

9. The apparatus of claim 7, wherein, The first determination module is specifically configured to: Obtain the gray values of a second pixel point and a third pixel point adjacent to the first pixel point on a second straight line, wherein the second straight line is a straight line perpendicular to the first straight line and passing through the first pixel point; Determine the gray value of the first pixel point according to the average of the gray values of the first pixel point, the second pixel point and the third pixel point.

10. An electronic device comprising at least a memory, a processor, said memory having stored thereon a computer program, characterized in that, The processor realizes the steps of the method in any one of claims 1 to 6 when executing the computer program on the memory.

Citation Information

Patent Citations

  • Display, manufacturing method thereof and preparation method of photosensitive thin film

    CN105096746A

  • Diffusion film concealing performance test method

    CN107271153A