Screen optical detection method and device, electronic equipment and readable storage medium
By taking pictures of the screen under the XYZ three-channel filter and correcting and synthesizing it, the accuracy of screen optical performance detection in the industry is solved, and the accurate evaluation of parameters such as bright color and chromaticity is achieved.
Patent Information
- Application Number
- CN202411448933.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-14
AI Technical Summary
In industry, how to more accurately detect the screen optical performance of mobile phones, tablets, laptops and other products, such as bright colors, chromaticity, bright color uniformity, chromaticity uniformity and screen defects.
By taking pictures of the lit screens under the XYZ three-channel filters using the camera, flat field correction, four-color correction and distortion correction were performed, color diagrams were synthesized, and optical parameters were analyzed to evaluate screen performance.
Accurate detection of the optical performance of the screen is achieved, and the images seen by the human eye can be restored as much as possible, helping to determine the optical performance of the screen.
Smart Images

Figure CN119437651A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical detection, and in particular to a screen optical detection method, a detection device, an electronic device and a readable storage medium. Background Art
[0002] In the field of industrial screen optical inspection, with the continuous updates and iterations of mobile phones, tablets, laptops, augmented reality (AR) / virtual reality (VR) and other products and the continuous improvement of customer demand, it is necessary to inspect the quality of these products before they leave the factory. Self-luminous products are mainly inspected for their screen brightness, chromaticity, brightness uniformity, chromaticity uniformity, screen defects and other optical properties. How to more accurately inspect the optical performance of the screen has always been a key issue. Summary of the invention
[0003] Embodiments of the present application provide a screen optical detection method, a detection device, an electronic device, and a readable storage medium.
[0004] In a first aspect, an embodiment of the present application provides a screen optical detection method, the method comprising:
[0005] Use a camera to capture images of the lit screen under the XYZ three-channel filters to obtain an XYZ three-channel image of the screen;
[0006] Correct the XYZ three-channel image, including flat field correction, four-color correction and distortion correction;
[0007] The corrected XYZ three-channel image is synthesized into a color image;
[0008] Analyze the optical parameters of color images;
[0009] The performance of the screen is evaluated based on optical parameters.
[0010] Optionally, the correction of the XYZ three-channel image includes:
[0011] Before taking the XYZ three-channel image, the camera is subjected to flat field correction and distortion correction. After taking the XYZ three-channel image, the XYZ three-channel image is subjected to four-color correction.
[0012] Optionally, use a camera to capture images of the lit screen under XYZ three-channel filters, including:
[0013] The XYZ three-channel filters are cyclically switched within a first time, and the camera is used to continuously capture images of the screen lit within a first time under the XYZ three-channel filters respectively.
[0014] Optionally, use a camera to capture images of the lit screen under XYZ three-channel filters, including:
[0015] At the same time, multiple different cameras are used to capture images of multiple lighted screens under XYZ three-channel filters.
[0016] In a second aspect, an embodiment of the present application provides a screen optical detection device, comprising:
[0017] XYZ three-channel filter module, used to filter light;
[0018] The camera module is used to capture images of the lit screen under the XYZ three-channel filter module to obtain an XYZ three-channel image of the screen;
[0019] A correction module is used to correct the XYZ three-channel image, including flat field correction, four-color correction and distortion correction;
[0020] A synthesis module, used for synthesizing the corrected XYZ three-channel image into a color image;
[0021] An analysis module for analyzing optical parameters of the color image;
[0022] The evaluation module is used to evaluate the performance of the screen based on optical parameters.
[0023] Optionally, the correction module corrects the XYZ three-channel image based on flat field correction and distortion correction performed on the camera before shooting the XYZ three-channel image, and four-color correction performed on the XYZ three-channel image after shooting the XYZ three-channel image.
[0024] Optionally, the camera module shoots the lit screen by continuously shooting images of the lit screen under XYZ three-channel filters within a first period of time, and the XYZ three-channel filters are cyclically switched within a first period of time.
[0025] Optionally, the camera module includes a plurality of different cameras, and the plurality of different cameras are used to respectively capture images of a plurality of different lighted screens under XYZ three-channel filters at the same time.
[0026] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, at least one processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method as described in any one of the above-mentioned first aspects is implemented.
[0027] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described in any one of the above-mentioned first aspects is implemented.
[0028] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.
[0029] Based on the present application, a camera can be used to capture XYZ three-channel images of a lit screen under XYZ three-channel filters, and the images can be synthesized into a color image. The color image can then be subjected to flat field correction, four-color correction, and distortion correction. This can restore the image seen by the human eye as closely as possible, and help to accurately determine the optical performance of the screen based on the color image. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.
[0031] Figure 1 It is a flow chart of the screen optical detection method provided in an embodiment of the present application.
[0032] Figure 2 It is a structural example diagram of the hardware system provided in the embodiment of the present application.
[0033] Figure 3 This is an example flow chart of the screen optical detection method provided in an embodiment of the present application.
[0034] Figure 4 This is an example diagram of the flat field correction process provided in an embodiment of the present application.
[0035] Figure 5A-Figure 5B This is an example diagram of a chessboard for distortion correction provided in an embodiment of the present application.
[0036] Figure 6 It is a schematic diagram of the structure of the screen optical detection device provided in an embodiment of the present application.
[0037] Figure 7 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The technical solution of the embodiment of the present invention will be described below in conjunction with the accompanying drawings in the embodiment of the present invention.
[0039] In the field of industrial screen optical inspection, with the continuous updates and iterations of mobile phones, tablets, laptops, AR / VR and other products and the continuous improvement of customer demand, it is necessary to inspect the quality of these products before they leave the factory. Self-luminous products are mainly inspected for their screen brightness, chromaticity, brightness uniformity, chromaticity uniformity, screen defects and other optical properties. How to more accurately inspect the optical performance of the screen has always been a key issue.
[0040] Based on this, Figure 1 The present invention provides a method for optical detection of screens. The method is applicable to optical screens, such as screens of electronic products such as mobile phones, tablets, and laptops. Figure 1 , the method includes steps S110-S150.
[0041] In step S110, a camera is used to capture images of the lit screen under the XYZ three-channel filter to obtain an XYZ three-channel image of the screen. The XYZ three-channel filter may be a filter that complies with the 1931 standard of the Commission Internationale de l'Eclairage (CIE), which may better match the visual system of the human eye. The type of camera is not limited and may be any type.
[0042] As an example, the camera head of the camera can be kept parallel to the screen to be inspected to minimize the deviation caused by reflection. The screen XYZ three-channel filter can be mounted on a filter wheel, and the filter wheel can be placed between the camera and the screen. As the filter wheel rotates, the camera can capture the XYZ three-channel image of the screen through the XYZ three-channel filter. For example, the filter wheel can rotate in an XYZ or ZYX manner.
[0043] It is worth noting that the camera parameters can be adjusted before shooting to ensure the quality of the image. For example, the camera exposure time can be set to avoid the image being too bright or too dark. In addition, the image exposure value can also be adjusted after shooting, which is not limited in this application. The environment parameters can also be adjusted before shooting to ensure Figure 1 The electronic products involved in the method shown can work normally. For example, the system temperature of the camera can be set to ensure that the camera can work normally. The specific configuration of the camera parameters and the environment parameters can be adjusted according to actual needs, and this application does not limit it.
[0044] In step S120, the XYZ three-channel image is corrected, and the correction includes flat field correction, four-color correction and distortion correction. Among them, flat field correction can eliminate the brightness and color non-uniformity caused by uneven sensor response, illumination difference or other factors in the image. Four-color correction can ensure the accuracy and consistency of the color data of red, green, blue and white in the image. Distortion correction can eliminate distortion in the image. The above-mentioned corrections can all be implemented in conventional ways, and this application does not limit them.
[0045] In step S130, the corrected XYZ three-channel image is synthesized into a color image. The XYZ color system is a color system other than the RGB color system. The XYZ color system has three channels, X, Y, and Z. The XYZ three-channel image can be synthesized into a color image.
[0046] In step S140, the optical parameters of the color image are analyzed, for example, the brightness or chromaticity of the color image is analyzed. The optical parameters of the color image can be analyzed by corresponding methods in optics, for example, the brightness of the color image can be calculated by a formula.
[0047] In step S150, the performance of the screen is evaluated based on the optical parameters. For example, the screen quality can be evaluated based on the chromaticity or brightness of the screen to determine whether it meets the standards.
[0048] Based on the present application, a camera can be used to capture XYZ three-channel images of a lit screen under XYZ three-channel filters, and then the XYZ three-channel images can be subjected to flat field correction, four-color correction, and distortion correction, and the corrected three-channel images can be synthesized into a color image. This can restore the image seen by the human eye as much as possible, and help to accurately determine the optical performance of the screen based on the color image.
[0049] Optionally, the color image correction may include: before shooting the XYZ three-channel image, performing flat field correction and distortion correction on the camera, and after shooting the XYZ three-channel image, performing four-color correction on the XYZ three-channel image. That is, when the screen is shot with a camera that has undergone flat field correction and distortion correction, the image obtained is an image that has undergone flat field correction and distortion correction. Based on this, the correction process can be simplified, which helps to improve the efficiency of screen detection.
[0050] Optionally, using a camera to capture images of the lit screen under the XYZ three-channel filters may include: cyclically switching the XYZ three-channel filters within a first time, and using the camera to continuously capture images of the lit screen under the XYZ three-channel filters within the first time. In this way, multiple XYZ three-channel images of the screen can be obtained. The length of the first time is not limited, for example, it can be 4 hours. That is, the detection of the screen can be to detect the screen performance within a period of time, which is helpful for in-depth evaluation of the screen performance.
[0051] Optionally, using a camera to capture images of the lit screen under the XYZ three-channel filter may include: using multiple different cameras to capture images of multiple different lit screens under the XYZ three-channel filter. That is, different cameras can be used to detect different screens at the same time to achieve batch detection, improve detection efficiency, and thus help meet industrial needs. Different cameras can be distinguished by serial numbers.
[0052] It is worth noting that the screen optical detection method provided in the embodiment of the present application can be implemented by combining a hardware system with a software system. The following is an example of detecting a mobile phone screen to introduce this.
[0053] Exemplarily, the hardware system for implementing the screen optical detection method provided in the embodiment of the present application may include a camera and an XYZ filter mounted on a filter wheel, and other components are not limited. The hardware system can be connected to a power source and a computer via a universal serial bus (USB) 3.0, and the software system can be used to control the hardware system to take pictures and perform detection of related items in sequence according to customer detection requirements. As an example, the structure of the hardware system can be as follows: Figure 2 shown.
[0054] Exemplarily, the software system for implementing the screen optical detection method provided in the embodiment of the present application can be software installed on a computer. For example, the functions that can be implemented by the software system may include but are not limited to: connecting the camera according to the camera serial number; setting the exposure time; setting the system temperature; controlling the single rotation of the filter wheel; continuously previewing the image; taking a single photo; saving the current image; automatically adjusting the image exposure value; automatically setting the acquisition and saving of the image; changing the name of the saved image; synthesizing a color image from three-channel images; connecting the mobile phone and sending instructions to cut the image (switching the image displayed on the mobile phone screen); flat field correction; distortion correction; four-color correction; updating configuration parameters (such as exposure time); offline verification of the image (offline analysis of the image); testing the brightness and chromaticity of the product according to the configuration parameters; cycle test (i.e., cyclic conversion of the XYZ filter within the first time); online and offline brightness and chromaticity cycle test; multi-camera connection and test (i.e., multiple different cameras test multiple different screens respectively) and other functions. It can meet various requirements for testing in industry, and can also customize and update software functions according to relevant requirements.
[0055] The workflow of the hardware system combined with the software system can be as follows Figure 3 As shown, steps S310-S360 are included.
[0056] In step S310, the hardware system is connected to a power source and connected to a computer via USB 3.0.
[0057] In step S320, the filter wheel is initialized. Taking the filter wheel rotating in an XYZ manner as an example, the filter wheel initialization means that the filter wheel rotates to the position of the X filter.
[0058] In step S330, open the software and select the corresponding camera serial number to connect to the system.
[0059] In step S340, the operating software completes the flat field correction and distortion correction of the camera and saves the corresponding correction parameters.
[0060] In step S350, the relevant parameters are configured to meet the corresponding detection requirements. For example, the configuration information of the relevant parameters can be written into a file in json format, and the content of the configuration information is not limited.
[0061] In step S360, a test round or a loop test function is selected in the software according to the requirements.
[0062] Then the whole system can start to work (the filter wheel rotates in XYZ mode), and the camera starts to capture images every time it rotates to the right position. After each rotation, the software background processes and analyzes the three XYZ images, obtains the final measurement results and saves them to the corresponding files (such as comma-separated values (csv) files). It is worth noting that after the XYZ image is captured, it needs to be corrected for four colors.
[0063] The following is an introduction to the camera's flat field correction, four-color correction, and distortion correction with examples.
[0064] Flat field correction
[0065] The flat field correction process can be done as follows Figure 4 First, obtain the dark field image M1 and the uniform field calibration image I b And the XYZ three-channel diagram of red, green, blue and white and the exposure value of each channel. The following takes white as an example to introduce the flat field correction process.
[0066] S1: Uniform Field Calibration Figure I b Subtract the dark field image M1 to eliminate the influence of dark field noise.
[0067] I b '=I b -M1.
[0068] S2: Get I b 'The average grayscale K1 of the central area of the image (circle with a radius of 84 pixels) is used to obtain the normal grayscale value of the acquired image.
[0069] S3: Subtract the dark field image from the X image to get X1, eliminating the influence of noise on the X channel image.
[0070] X1=X-M1.
[0071] S4: Use the average grayscale K1 divided by I b ', and obtain the bright field correction coefficient diagram K2.
[0072] K2=K1 / I b '.
[0073] S5: Multiply X1 by K2 to obtain the image X' after the X channel flat field correction.
[0074] X'=X1*K2.
[0075] S6: Obtain the average grayscale Mean1 of the center area of the X' image (circle with a radius of 84 pixels).
[0076] S7: Mean1 is divided by the exposure value to obtain the X channel tristimulus value represented by the gray value. Similarly, the images under the Y and Z channels can be calculated in turn according to the above process.
[0077] S8: Calculate the two-dimensional color coordinates (C x , C y )、L v Value (brightness value). x =X / (X+Y+Z), C y =Y / (X+Y+Z), L v =Y.
[0078] Similarly, the corresponding parameters of the XYZ channels under red, green, and blue colors can be calculated in turn according to the above process.
[0079] Four color correction
[0080] Get the X, Y, and Z channel images of the red, green, blue, and white images of the camera to be calibrated, as well as the channel images X', Y', and Z' after flat field correction.
[0081] S1: Obtain the average grayscale of the center area of the X', Y' and Z' images of the red, green, blue and white images respectively (circle with a radius of 84 pixels).
[0082] S2: Get the original color coordinates M of the X, Y, and Z channel images of the red, green, blue, and white images respectively rgb . M rgb The coordinate value g x , g y , g z According to the formula g x =X / (X+Y+Z); g y =Y / (X+Y+Z); g z =Z / (X+Y+Z) calculation, as shown in Table 1.
[0083] Table 1 Original color coordinates M of the X, Y, and Z channel images of the camera to be calibrated rgb Example
[0084]
[0085]
[0086] Similarly, the standard color coordinate N of the standard instrument CA-410 can be obtained rgb , as shown in Table 2.
[0087] Table 2 Standard color coordinates N of standard instruments rgb Example
[0088]
[0089] S3: Calculate the K matrix of the camera to be calibrated and the standard instrument CA-410 respectively. According to the Grassmann Color Law, mixing red, green and blue light in different proportions can produce any other color of light in nature. Red, green and blue are the three primary colors of light, so red, green and blue can be used to synthesize white light in a certain proportion. According to the theory of arbitrary intensity combination of three primary colors, the following formula can be obtained.
[0090]
[0091] Among them, x m W represents the color coordinate of the X channel of the white screen, x m R represents the color coordinate of the X channel of the red screen, x m G represents the color coordinate of the X channel of the green screen, x m B represents the color coordinate of the X channel of the blue picture, and the rest will not be described in detail.
[0092] Based on this formula, the K matrices corresponding to the white light and red, green, and blue of the camera to be calibrated and the standard instrument CA-410 can be calculated, as shown in Table 3 and Table 4, respectively.
[0093] Table 3 K matrix of the camera to be calibrated
[0094]
[0095] Table 4 K matrix of standard instrument CA-410
[0096]
[0097] S4: Get the tristimulus value matrix of the camera to be calibrated and the standard instrument CA-410 through the K matrix. Take the camera to be calibrated as an example, its color coordinates M rgb The relationship between the K matrix and the tristimulus value matrix M can be shown as follows.
[0098] M=M rgb *K.
[0099] Based on the above relationship, the tristimulus value matrix M of the camera to be calibrated and the tristimulus value matrix N of the standard instrument CA-410 can be obtained, as shown in Table 5 and Table 6 respectively.
[0100] Table 5 Example of the tristimulus value matrix M of the camera to be calibrated
[0101]
[0102] Table 6 Example of tristimulus value matrix N for standard instrument CA-410
[0103]
[0104] S5: Through the conversion formula N = R * M, the correction matrix R between the camera to be calibrated and the standard instrument CA-410 can be obtained, as shown in Table 7. All subsequent tests can use this matrix for correction.
[0105] Table 7 Example of correction matrix R between the camera to be calibrated and the standard instrument CA-410
[0106]
[0107] Distortion Correction
[0108] S1: Prepare the calibration image for shooting. When shooting, you need to shoot all the chessboard grids so that you can find the corner points, for example Figure 5A shown.
[0109] S2: Extract the corner point information in the image through the algorithm, and draw the found inner corner points on the chessboard calibration map, for example Figure 5B shown.
[0110] S3: Then the camera is calibrated to calculate the camera's intrinsic and extrinsic coefficients.
[0111] S4: Finally, the calibration result is used to calibrate the chessboard to complete the distortion correction.
[0112] The method provided in the embodiment of the present application is described in detail above. The device provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0113] See also Figure 6 , is a schematic diagram of the structure of a screen optical detection device provided in an embodiment of the present application. Figure 6 The screen optical detection device 600 shown may include an XYZ three-channel filter module 610 , a camera module 620 , a correction module 630 , a synthesis module 640 , an analysis module 650 , and an evaluation module 660 .
[0114] Among them, the XYZ three-channel filter module 610 can be used to filter light; the camera module 620 can be used to capture images of the lit screen under the XYZ three-channel filter module 610, and obtain an XYZ three-channel image of the screen; the correction module 630 can be used to correct the XYZ three-channel image, and the correction includes flat field correction, four-color correction and distortion correction; the synthesis module 640 can be used to synthesize the corrected XYZ three-channel image into a color image; the analysis module 650 can be used to analyze the optical parameters of the color image; the evaluation module 660 can be used to evaluate the performance of the screen based on the optical parameters.
[0115] Optionally, the correction module 630 may correct the XYZ three-channel image based on flat field correction and distortion correction performed on the camera before shooting the XYZ three-channel image, and four-color correction performed on the XYZ three-channel image after shooting the XYZ three-channel image.
[0116] Optionally, the camera module 620 may shoot the lit screen by continuously shooting images of the lit screen under XYZ three-channel filters within a first period of time, and the XYZ three-channel filters are cyclically switched within a first period of time.
[0117] Optionally, the camera module 620 may include a plurality of different cameras, and the plurality of different cameras are used to respectively capture images of a plurality of different lighted screens under XYZ three-channel filters at the same time.
[0118] The present application also provides an electronic device. Figure 7 As shown, the electronic device 700 includes: at least one processor 701, a memory 702, and a computer program 703 stored in the memory 702 and executable on the at least one processor 701. When the processor 701 executes the computer program 703, the method provided in the present application is implemented.
[0119] Exemplarily, the computer program 703 may be divided into one or more modules / units, one or more modules / units are stored in the memory 702, and are executed by the processor 701 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 700.
[0120] Those skilled in the art will understand that Figure 7 It is only an example of the electronic device 700 and does not constitute a limitation of the electronic device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 700 may also include input and output devices, network access devices, buses, etc.
[0121] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0122] The memory 702 may be an internal storage unit of the electronic device 700, such as a hard disk or memory of the electronic device 700. The memory 702 may also be an external storage device of the electronic device 700, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 700. Further, the memory 702 may also include both an internal storage unit of the electronic device 700 and an external storage device. The memory 702 is used to store computer programs and other programs and data required by the electronic device 700. The memory 702 may also be used to temporarily store data that has been output or is to be output.
[0123] The electronic device 700 provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0124] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0125] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above method embodiments, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, ROM (read-only memory), RAM (random access memory), CD-ROM (compact disc read-only memory), magnetic tape, floppy disk and optical data storage device. The computer-readable storage medium mentioned in the present application can be a non-volatile storage medium, in other words, a non-transient storage medium.
[0127] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0128] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0129] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0130] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0131] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0132] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0133] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A screen optical detection method, characterized in that: include: Using a camera to capture images of the lit screen under XYZ three-channel filters, respectively, to obtain an XYZ three-channel image of the screen; Correcting the XYZ three-channel image, wherein the correction includes flat field correction, four-color correction and distortion correction; Combining the corrected XYZ three-channel images into a color image; analyzing optical parameters of the color image; The performance of the screen is evaluated based on the optical parameters.
2. The method according to claim 1, characterized in that Correcting the color map includes: Before taking the XYZ three-channel image, the camera is subjected to the flat field correction and the distortion correction. After taking the XYZ three-channel image, the XYZ three-channel image is subjected to the four-color correction.
3. The method according to claim 2, characterized in that The method of using a camera to capture images of the lit screen under the XYZ three-channel filters comprises: The XYZ three-channel filter is cyclically switched within a first time, and the camera is used to continuously capture images of the lighted screen under the XYZ three-channel filter during the first time.
4. The method according to claim 2, characterized in that: The method of using a camera to capture images of the lit screen under the XYZ three-channel filters comprises: At the same time, multiple different cameras are used to respectively capture images of multiple lighted screens under the XYZ three-channel filter.
5. A screen optical detection device, characterized in that: include: XYZ three-channel filter module, used to filter light; A camera module, used for capturing images of the lit screen under the XYZ three-channel filter module to obtain an XYZ three-channel image of the screen; A correction module, used for correcting the XYZ three-channel image, wherein the correction includes flat field correction, four-color correction and distortion correction; A synthesis module, used for synthesizing the corrected XYZ three-channel image into a color image; An analysis module, used for analyzing optical parameters of the color image; An evaluation module is used to evaluate the performance of the screen based on the optical parameters.
6. The device according to claim 5, characterized in that The correction module corrects the XYZ three-channel image based on the flat field correction and the distortion correction performed on the camera before shooting the XYZ three-channel image, and the four-color correction performed on the XYZ three-channel image after shooting the XYZ three-channel image.
7. The device according to claim 6, characterized in that The camera module shoots the lit screen by continuously shooting images of the lit screen under the XYZ three-channel filter within a first time, and the XYZ three-channel filter is cyclically switched within the first time.
8. The device according to claim 6, characterized in that The camera module includes a plurality of different cameras, and the plurality of different cameras are used to respectively capture images of a plurality of different lighted screens under the XYZ three-channel filter at the same time.
9. An electronic device comprising a memory, at least one processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Measuring equipment and measuring method for color speckles displayed by laser
CN110987382A
Smear measurement method and device, electronic equipment and readable storage medium
CN114071099A
Spectrometer correction method, brightness colorimeter and brightness chroma detection method
CN116678498A
LED display module chromaticity difference screening method
CN116689330A
Display uniformity detection method, display compensation method and computer equipment
CN118010311A