A flash point detection method, device, computer equipment and storage medium
By optimizing the flash point detection method and using random segmentation and filtering processing technology, the stability and accuracy of the existing flash point detection methods are solved, and accurate detection of different screens and anti-glare structures is achieved.
Patent Information
- Application Number
- CN202210420086.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-20
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-04-20
AI Technical Summary
The existing flash point detection methods have low repeatability and poor stability, and are sensitive to aberrations of camera lenses. They also have high requirements for the cleanliness of the screen to be detected, and have a great impact on scratches, fingerprints, etc., and have not optimized for anti-glare structures with different pixel arrangements and hazes.
A flash point detection method is adopted, by collecting the original image, performing a first filtering process to remove pixel point information, and then randomly segmenting the flash point image to form a plurality of decomposition areas, and performing a second filtering process on each decomposition area, and finally determining the standard deviation of the entire flash point image to output the degree of the flash point.
It improves the stability of flash point detection, can automatically remove scratches, fingerprints, etc., and is suitable for screens arranged in different pixels and different anti-glare structures. The detection results are consistent with human eye judgments.
Smart Images

Figure CN114723725B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of image information processing, and in particular to a flash point detection method, device, computer equipment and storage medium. Background Art
[0002] With the development of high-end electronic screens, users' demand for anti-glare screens is gradually increasing, especially in outdoor and car display scenarios. However, anti-glare structures can cause flash points, which seriously affect the screen display effect, so stable detection of the severity of screen flash points has become an important requirement.
[0003] Flash spots are caused by the interaction between periodic pixel light-emitting points and randomly distributed micro-nano structures, which produces scattering and interference, resulting in uneven light entering the human eye, and the appearance of light, dark or colored spots.
[0004] As for the detection of screen flash points, the existing technology often uses pixel intensity deviation. By collecting images at the pixel level, the total intensity of the image area corresponding to each pixel is directly calculated, and then the standard deviation of all pixels is calculated.
[0005] However, the flash point detection method in the prior art has low repeatability and stability in detection results. It is also sensitive to the aberration of the camera lens. At the same time, it has high requirements on the cleanliness of the screen being tested. Scratches, fingerprints, etc. have a great impact on the final test results.
[0006] In addition, the existing flash point detection methods are not optimized for screens with different pixel arrangements and anti-glare structures with different haze, which will also greatly affect the accuracy of flash point detection. Summary of the invention
[0007] The present invention aims to solve the above shortcomings and improve the stability of flash point detection. Based on this, it is necessary for the present invention to optimize the flash point detection algorithm of the screen and provide a flash point detection method, device, computer equipment and storage medium.
[0008] A flash point detection method, the method comprising:
[0009] Collect the original image of the screen to be tested, the original image includes flash point information and pixel point information;
[0010] Receiving an original image, performing a first filtering process on the original image, removing pixel point information of the image, retaining flash point information, and forming a flash point image;
[0011] receiving a flash point image, and performing segmentation processing on the flash point image to form a plurality of decomposition regions;
[0012] Performing a second filtering process on each decomposed region;
[0013] Determine the standard deviation of the entire flash point image and output the flash point degree value of the original image.
[0014] In one embodiment, segmenting the flash point image to form a plurality of decomposition regions further comprises:
[0015] The segmentation process is a random segmentation process, which randomly generates multiple seed points on the entire flash point image surface, connects any two seed points to form a straight line, and performs random segmentation processing on the entire area of the flash point image to form at least one decomposition area.
[0016] In one embodiment, when segmenting the flash point image, the edge of each decomposed area is smoothed.
[0017] In one embodiment, the original image is subjected to a first filtering process to remove pixel information of the image, retain flash point information, and form a flash point image, further comprising:
[0018] Performing a first change processing on the original image to determine the grayscale value of the original image in the frequency domain to form a frequency domain image of the original image;
[0019] Performing a first filtering process on the original image frequency domain image, traversing each gray value of the original image frequency domain image, and comparing it with the gray value preset threshold in turn, when the gray value of the original image frequency domain image is less than the gray value preset threshold, retaining the gray value, when the gray value of the original image frequency domain image is greater than the gray value preset threshold, filtering out the gray value, and forming a first filtered frequency domain image;
[0020] The first filtered frequency domain image is subjected to a second change process to form a flash point image.
[0021] In one embodiment, performing a second filtering process on each decomposed region further comprises:
[0022] Performing a third change process on the image of each decomposition region to form a frequency domain image of each corresponding decomposition region;
[0023] Performing a second filtering process on each decomposition region frequency domain image to form each corresponding second filtered frequency domain image;
[0024] A fourth change process is performed on the second filtered frequency domain image.
[0025] In one embodiment, determining the standard deviation of the entire flash point image and outputting the flash point degree value of the original image further comprises:
[0026] Determine the standard deviation of each decomposition area respectively, determine the standard deviation average value according to the standard deviation of each decomposition area, and the standard deviation of the entire flash point image is the standard deviation average value;
[0027] Output the average value of the standard deviation as the flash point value of the original image.
[0028] A flash point detection device, the device at least comprises a driving unit, an image acquisition unit, a control unit and a housing unit, the image acquisition unit is fixed on the driving unit, the housing unit at least comprises a top plate, a simulation area and a placement area are arranged on the top plate, the simulation area is arranged at the center of the placement area, and a simulation mask plate is arranged in the simulation area; the control unit controls the driving unit and the image acquisition unit to communicate with each other to realize automatic focusing;
[0029] The device also includes:
[0030] An image acquisition module is used to acquire the original image of the screen to be detected. The original image is acquired by an image acquisition unit. The original image includes flash point information and pixel point information.
[0031] A first filtering processing module, the first filtering processing module is used to receive the original image, perform a first filtering process on the original image, remove pixel point information of the image, retain flash point information, and form a flash point image;
[0032] A segmentation processing module, the segmentation processing module is used to receive the flash point image, and perform segmentation processing on the flash point image to form a plurality of decomposition areas;
[0033] A second filtering processing module, the second filtering processing module is used to perform a second filtering process on each decomposition area;
[0034] The result output module is used to determine the standard deviation of the entire flash point image and output the flash point degree value of the original image.
[0035] In one of the embodiments, the segmentation processing of the device is a random segmentation processing, and the segmentation processing module further includes a random segmentation unit, which is used to randomly generate multiple seed points on the entire flash point image surface, connect any two seed points to form a straight line, and perform random segmentation processing on the entire area of the flash point image to form at least one decomposition area.
[0036] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the above embodiments when executing the computer program.
[0037] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method described in any one of the above embodiments.
[0038] The above-mentioned flash point detection method, device, computer equipment and storage medium optimize the flash point detection algorithm of the screen to address the shortcomings of the prior art, and use the random decomposition method to improve the stability of flash point detection. By filtering each decomposed area, the influence of scratches, fingerprints, etc. can be automatically eliminated, so that the trends obtained by detecting screens with different pixel arrangements and different anti-glare structures are consistent with the judgment of the human eye. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is an axonometric diagram of a flash point detection device of the present invention;
[0040] Figure 2 It is a schematic flow diagram of the flash point detection method of the present invention;
[0041] Figure 3 It is a schematic diagram of the algorithm of the flash point detection method of the present invention;
[0042] Figure 4 It is a first filtering schematic diagram of the flash point detection method of the present invention;
[0043] Figure 5 It is a schematic diagram of a flash point image of the flash point detection method of the present invention;
[0044] Figure 6 A schematic diagram of random segmentation of the flash point detection method of the present invention;
[0045] Figure 7 It is a second filtering schematic diagram of the flash point detection method of the present invention;
[0046] Figure 8 This is a schematic diagram of the screen arrangement of the present invention;
[0047] Fig. 9 Schematic diagram of flash points of three different screens under the same film of the present invention;
[0048] Fig.10 for Fig. 9 The flash point value diagram corresponding to the three screens;
[0049] Fig.11 It is a structural block diagram of the flash point detection device of the present invention;
[0050] Fig.12 The figure is a diagram showing the internal structure of the computer device of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of this application clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0052] Embodiments of the present invention, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The terms "first", "second", "third", etc. (if any) in the specification and claims of the present invention and the accompanying drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the objects described in this way can be interchanged where appropriate. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. The directional terms mentioned in the present invention, such as: up, down, left, right, front, back, inside, outside, side, etc., are only reference directions of the accompanying drawings. The embodiments described below by reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention. In addition, the present invention repeats reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but a person of ordinary skill in the art can recognize the application of other processes and / or the use of other materials.
[0053] The present invention provides a flash point detection device, such as Figure 1 As shown, the device at least includes a driving unit 110, an image acquisition unit 120, a control unit (not shown) and a housing unit 130. The image acquisition unit 120 is fixed on the driving unit 110. The housing unit 130 at least includes a top plate, on which a simulation area 131 and a placement area 132 are provided. The simulation area 131 is provided at the center of the placement area 132, and a simulation mask plate is provided in the simulation area 131. The control unit can control the driving unit 110 and the image acquisition unit 120 to communicate with each other and realize automatic focusing. When the flash point detection device performs screen flash point detection, the screen to be detected is placed on the top plate, covering the simulation area 131 and at least part of the placement area 132, or the simulation area 131 forms a simulated screen with an equivalent monochrome luminous screen effect.
[0054] The driving unit 110 at least includes a mechanical slide rail, and the image acquisition unit 120 at least includes a camera, a lens, and an image sensor. The camera, the lens, and the image sensor are mounted on the mechanical slide rail and can move up and down on the mechanical slide rail. The center line of the lens coincides with the center line of the simulation area 131. The control unit controls the up and down movement of the image acquisition unit 120 to achieve focusing on the screen being detected. After focusing, the camera shoots the screen being detected.
[0055] In one embodiment, the present invention provides a flash point detection method, which can be used in the above-mentioned flash point detection device to perform flash point detection on the screen being detected. The flash point detection method includes the following steps: Figure 2-Figure 9 As shown:
[0056] S100, collecting an original image of the screen to be detected, where the original image includes flash point information and pixel point information.
[0057] In this embodiment, the image of the screen to be detected captured by the image acquisition unit 120 is transmitted to the computer through the image sensor, and a clear original image focused on the screen to be detected is displayed in the computer. The original image contains the flash point information and also contains the pixel point information. The screen to be detected can be a real screen placed on the top plate, or it can be a simulated screen formed by the simulation area 131.
[0058] S200, receiving an original image, performing a first filtering process on the original image, removing pixel information of the image, retaining flash point information, and forming a flash point image.
[0059] In this embodiment, it is necessary to remove the pixel information in the original image and only retain the flash point information. Therefore, it is necessary to perform a first filtering process on the original image to form a flash point image. Preferably, the first filtering process is intensity filtering in the frequency domain.
[0060] Specifically,
[0061] S210, performing a first change process on the original image, determining the gray value of the original image in the frequency domain, and forming a frequency domain image of the original image, such as Figure 4 (a) shown.
[0062] Preferably, the first change processing is to perform discrete Fourier transformation on the original image. The original image is processed by the following formula:
[0063]
[0064] Among them, A k,q represents the gray value of the original image collected, k, q represent the position in the spatial domain, Represents the grayscale value after Fourier transformation, and n and m represent the frequency coordinates in the Fourier domain. Stands for discrete Fourier transform.
[0065] The specific mathematical form is:
[0066]
[0067] S220, performing a first filtering process on the original image frequency domain image, traversing each gray value of the original image frequency domain image, and comparing it with the gray value preset threshold in turn, when the gray value of the original image frequency domain image is less than the gray value preset threshold, then retaining the gray value, when the gray value of the original image frequency domain image is greater than the gray value preset threshold, then filtering out the gray value, and forming a first filtered frequency domain image, such as Figure 4 (b) as shown.
[0068] Preferably, the first filtering is an intensity filtering.
[0069] For intensity filtering, the formula is as follows:
[0070]
[0071] S230, performing a second change process on the first filtered frequency domain image to form a flash point image, that is, a pure flash point image after filtering, such as Figure 5 shown.
[0072] Preferably, the second change processing is to perform an inverse Fourier transform on the first filtered frequency domain image, as shown in the following formula:
[0073]
[0074] in, For the inverse Fourier transform, the specific expression is:
[0075]
[0076] Where N and M are the number of sampling points in the horizontal and vertical directions respectively, and k and q are the sampling intervals in the horizontal and vertical directions respectively.
[0077] Therefore, through filtering in the frequency domain, the pixel point information of the original image can be filtered out, leaving only the effective flash point information.
[0078] S300, receiving a flash point image, and segmenting the flash point image to form a plurality of decomposition regions.
[0079] In this embodiment, the flash point image obtained in step S200 is segmented.
[0080] In order to improve the stability of the algorithm, preferably, the segmentation process is a random segmentation process, and the flash point image is subjected to random Voronoi segmentation, such as Figure 6 (a) shown.
[0081] Specifically, multiple seed points are randomly generated on the entire flash point image surface, any two seed points are connected to form a straight line, and the entire area of the flash point image is randomly segmented to form at least one decomposition area, as shown in the following formula:
[0082] R n ={x∈X|d(x,P n )≤d(x,P m )for all n≠m}
[0083] Among them, R n is a single decomposition region, represented as a collection of x, where x is the point in the decomposition region, X is the collection of the entire image points, and P n Represents the area of a point, P m Represents the boundaries that form the decomposition region.
[0084] In addition, in order to reduce high-frequency crosstalk in subsequent steps, the edges of each decomposition area are smoothed when performing random Voronoi segmentation. The effect after smoothing is as follows: Figure 6 As shown in (b), the decomposition formula of the smooth edge is as follows:
[0085]
[0086]
[0087] φ(kk i ,qq j )=φ(kk i )φ(qq j )
[0088]
[0089] S400: Perform a second filtering process on each decomposed region.
[0090] In this embodiment, in order to reduce the influence of scratches, fingerprints and camera aberration, it is necessary to perform a second filtering process on each decomposed region after the decomposition in step S300. Preferably, a high-pass filtering in the frequency domain is performed.
[0091] Specifically,
[0092] S410, performing a third change process on the image of each decomposition region to form a frequency domain image of each corresponding decomposition region, wherein the decomposition region initially subjected to smooth edge is as follows: Figure 7As shown in (a), the frequency domain image of the decomposed region is as follows Figure 7 (b) as shown.
[0093] Preferably, the third transformation process is to perform discrete Fourier transformation on the image of each decomposed region.
[0094] S420, performing a second filtering process on each decomposition region frequency domain image to form each corresponding second filtered frequency domain image, such as Figure 7 (c) as shown.
[0095] Preferably, the second filtering is a high pass filtering.
[0096] For high-pass filtering, the formula is as follows:
[0097]
[0098] Wherein, x and y represent two vertical coordinate axes with the zero frequency in the frequency domain as the coordinate origin, and c is the conditional threshold of the high-pass filtering range.
[0099] S430: Perform a fourth change process on the second filtering frequency domain image.
[0100] Preferably, the fourth change processing is to perform an inverse Fourier transform on the second filtered frequency domain image to obtain Figure 7 (d) shows the filtered local flash point image.
[0101] S500, determining the standard deviation of the entire flash point image, and outputting the flash point degree value of the original image.
[0102] In this embodiment, each decomposed region is obtained according to step S400 to determine the flash point degree value of the original image.
[0103] Specifically,
[0104] S510, respectively determine the standard deviation of each decomposition area, and determine the standard deviation average value according to the standard deviation of each decomposition area. The standard deviation of the entire flash point image is the standard deviation average value.
[0105] After obtaining the standard deviation of each decomposition area, the average value of the standard deviation is calculated, which is expressed as follows:
[0106]
[0107] σ is the standard deviation, A(k,q) represents the gray value of the original image, Represents the average gray value of the original image, and N*M represents the number of decomposition areas.
[0108] S520, output the average value of the standard deviation as the flash point degree value of the original image.
[0109] The standard deviation of the entire area is used to describe the severity of the flash points on the screen to be tested.
[0110] The flash point detection method of the present invention adopts a random Voronoi segmentation method, so that the flash point detection device using the method has greatly improved compatibility with screens to be detected, especially mobile phones with different pixel arrangements.
[0111] like Figure 8 As shown, there are many ways to arrange the screen, among which, Figure 8 (a) is RGB arrangement, Figure 8 (b) is a non-RGB arrangement. The severity of the flash points formed under different arrangements varies. Under the same arrangement, the screen with a higher pixel density (ppi) will have higher flash points; and the severity of flash points between different pixel arrangements cannot be estimated based on pixel density alone.
[0112] According to the experimental results, in human eye observation, the same AG (Anti-Glare, anti-glare) material is Fig. 9 The severity of the flash points on the three screens a, b, and c is c>b>a. The three screens are: a is RGB arrangement ppi 260, b is RGB arrangement ppi 400, and c is non-RGB arrangement ppi 282. The results obtained by the flash point detection device using the above method of the present invention are as follows: Fig.10 As shown, the flash point degree of a is 2.26221%, the flash point degree of b is 3.38308%, and the flash point degree of c is 4.84977%, and the measured results of the present invention are consistent with human eye observation. Therefore, the flash point detection method of the present invention can realize accurate detection of screen flash points.
[0113] It should be understood that, although the steps in the flowchart are shown in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0114] In one embodiment, Fig.11 As shown, the flash point detection device of the present invention also includes:
[0115] Image acquisition module 140: The image acquisition module 140 is used to acquire the original image of the screen to be detected. The original image is acquired by an image acquisition unit, and the original image includes flash point information and pixel point information.
[0116] The first filtering processing module 150 is used to receive the original image, perform the first filtering processing on the original image, remove the pixel point information of the image, retain the flash point information, and form a flash point image.
[0117] The segmentation processing module 160 is used to receive the flash point image and perform segmentation processing on the flash point image to form a plurality of decomposition areas.
[0118] The second filtering processing module 170 is used to perform a second filtering process on each decomposed region.
[0119] The result output module 180 is used to determine the standard deviation of the entire flash point image and output the flash point degree value of the original image.
[0120] In one embodiment, the flash point detection device adopts random segmentation processing, and the segmentation processing module 160 further includes a random segmentation unit, which is used to randomly generate multiple seed points on the entire flash point image surface, connect any two seed points to form a straight line, and perform random segmentation processing on the entire area of the flash point image to form at least one decomposition area.
[0121] The specific definition of the flash point detection device can be found in the definition of the flash point detection method above, which will not be repeated here. Each module in the above-mentioned flash point detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0122] In one embodiment, a computer device is provided. The computer device may be a data management server, and its internal structure diagram may be as follows: Fig.12 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external data source terminal through a network connection to receive data uploaded by the data source terminal. When the computer program is executed by the processor, the flash point detection method of the present invention is implemented.
[0123] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0124] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the flash point detection method of the present invention is implemented when the processor executes the computer program.
[0125] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0126] The flash point detection method, device, computer equipment and storage medium of the present invention can realize accurate detection of screen flash points, and the detection results are accurate and stable. In the flash point detection algorithm, random Voronoi segmentation is added to make the calculation results more stable. At the same time, high-pass filtering is also added to the local area, so that scratches and fingerprints, as well as the influence of camera aberrations can be removed. In addition, the algorithm makes screens with various pixel arrangements compatible, and the flash points generated by high-fog structures can also be accurately measured, and the numerical trend is the same as that observed by the human eye.
[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0128] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A flash point detection method, It is characterized in that include: Collecting an original image of the screen to be detected, wherein the original image includes flash point information and pixel point information; Receive the original image, perform a first filtering process on the original image, remove pixel point information of the original image, retain flash point information, and form a flash point image; receiving the flash point image, and performing segmentation processing on the flash point image to form a plurality of decomposition regions; Performing a second filtering process on each of the decomposed regions; Determine the standard deviation of the flash point image, and output the flash point degree value of the original image; The performing a second filtering process on each of the decomposed regions further comprises: Performing a third change process on the image of each decomposition region to form a frequency domain image of each corresponding decomposition region; Performing a second filtering process on each of the decomposed region frequency domain images to form each corresponding second filtered frequency domain image; performing a fourth change process on the second filtered frequency domain image; The step of determining the standard deviation of the flash point image and outputting the flash point degree value of the original image further comprises: Determine the standard deviation of each decomposition area respectively, determine the standard deviation average value according to the standard deviation of each decomposition area, and the standard deviation of the flash point image is the standard deviation average value; The standard deviation average value is output as the flash point degree value of the original image.
2. The method according to claim 1, It is characterized in that The segmenting process of the flash point image to form a plurality of decomposition regions further comprises: The segmentation process is a random segmentation process, which randomly generates multiple seed points on the flash point image, connects any two of the seed points to form a straight line, and performs random segmentation processing on the entire area of the flash point image to form at least one decomposition area.
3. The method according to claim 2, It is characterized in that When the flash point image is randomly segmented, the edge of each decomposed area is smoothed.
4. The method according to claim 1, It is characterized in that The first filtering process is performed on the original image to remove pixel information of the image, retain flash point information, and form a flash point image, further comprising: Performing a first change processing on the original image to determine the grayscale value of the original image in the frequency domain to form a frequency domain image of the original image; Performing a first filtering process on the original image frequency domain image, traversing each gray value of the original image frequency domain image, and comparing it with a preset gray value threshold in turn, when the gray value of the original image frequency domain image is less than the preset gray value threshold, retaining the gray value, and when the gray value of the original image frequency domain image is greater than the preset gray value threshold, filtering out the gray value, and forming a first filtered frequency domain image; A second change process is performed on the first filtered frequency domain image to form the flash point image.
5. A flash point detection device, It is characterized in that The device at least comprises a driving unit, an image acquisition unit, a control unit and a housing unit, wherein the image acquisition unit is fixed on the driving unit, and the housing unit at least comprises a top plate, wherein a simulation area and a placement area are arranged on the top plate, wherein the simulation area is arranged at the center of the placement area, and a simulation mask plate is arranged in the simulation area; The control unit controls the driving unit and the image acquisition unit to communicate with each other to achieve automatic focusing; The device also includes: An image acquisition module, wherein the image acquisition module is used to acquire an original image of the screen to be detected, wherein the original image is acquired by an image acquisition unit, and the original image includes flash point information and pixel point information; A first filtering processing module, the first filtering processing module is used to receive the original image, perform a first filtering process on the original image, remove pixel point information of the image, retain flash point information, and form a flash point image; A segmentation processing module, the segmentation processing module is used to receive the flash point image, and perform segmentation processing on the flash point image to form a plurality of decomposition areas; A second filtering processing module, the second filtering processing module is used to perform a second filtering process on each of the decomposed regions; A result output module, the result output module is used to determine the standard deviation of the entire flash point image and output the flash point degree value of the original image; The segmentation processing is a random segmentation processing, and the segmentation processing module further includes a random segmentation unit, which is used to randomly generate multiple seed points in the entire flash point image, connect any two of the seed points to form a straight line, and perform random segmentation processing on the entire area of the flash point image to form at least one decomposition area.
6. A computer device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Flash point intensity measurement apparatus and flash point intensity measurement method
CN109115783A
Defect detection method and device for AMOLED display screen, computer equipment and storage medium
CN111476758A