Screen light uniformity optimization method and device, electronic equipment and storage medium
By obtaining screen energy values through a detection fixture and a light collector, a grayscale mask is constructed to optimize light uniformity, thus solving the problem of uneven light on the screen caused by COB light source and improving printing quality and display effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-01
- Publication Date
- 2026-03-13
AI Technical Summary
In existing LCD light curing printers, COB light sources cause uneven light distribution on the screen, affecting print quality. Traditional diffused light films cannot effectively solve the problem of light uniformity, and their performance deteriorates after prolonged use.
The energy values of each area of the screen are obtained by using a detection fixture and a light collector. A grayscale mask is constructed, and the energy values of each area of the screen are adjusted to achieve light uniformity. Pixel-level light intensity compensation is then performed using the grayscale mask.
It effectively solves the problem of uneven light on the screen, improves the curing consistency and detail reproduction of printed parts, and reduces the impact of poor display effect.
Smart Images

Figure CN121661980A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of light uniformity optimization technology, and in particular to a method, apparatus, electronic device and storage medium for on-screen light uniformity optimization. Background Technology
[0002] In many electronic devices, uneven light distribution on the screen is a common problem. This not only affects the display quality but also directly impacts the performance of tasks based on the displayed content. For example, in 3D printing technology, LCD photopolymer printers are widely used by individual users, small businesses, and educational and research fields due to their relatively low cost and high printing accuracy. Their working principle involves light emitted from a light source passing through a model slice pattern displayed on an LCD screen and illuminating photosensitive resin, causing the resin to solidify layer by layer to build a three-dimensional object.
[0003] Currently, some LCD photopolymer printers are beginning to use COB (Chip-on-Board) light sources. While COB light sources offer many advantages, such as directly packaging multiple LED chips onto a circuit board to form a unified light source module, improving brightness and heat dissipation, they still present challenges in terms of light uniformity on the screen. Due to the chip layout and luminous characteristics in COB light sources, it is difficult to achieve uniform light distribution when projected onto the LCD screen. Light emitted from chips at different locations reaches varying intensities on the screen due to differences in distance from the LCD screen and different propagation paths. This uneven light intensity severely affects print quality. When printing models, areas with high light intensity may experience excessively rapid resin curing, potentially leading to localized over-curing and uneven surface textures, dimensional deviations, etc. Conversely, areas with low light intensity may experience incomplete resin curing, resulting in insufficient structural strength and loss of detail in the model.
[0004] Traditional measures used to improve light uniformity, such as simple diffuser films, have limited effect on homogenizing light from COB light sources. Diffuser films can only perform preliminary scattering of light and cannot fundamentally solve the problems of light emission differences within the chips of COB light sources or the non-uniformity during light propagation. Moreover, after prolonged use, diffuser films may age due to exposure to light, further reducing their homogenizing effect.
[0005] In summary, existing screens have significant shortcomings in terms of light uniformity, and an effective technical solution is urgently needed to improve light uniformity. Summary of the Invention
[0006] To address the aforementioned technical problems, embodiments of the present invention provide a method for optimizing screen light uniformity, comprising: When the testing fixture is located at a designated position on the display screen, in response to the triggering of the guide mode, the display screen is controlled to operate in a partial exposure mode. The testing fixture has a testing part that allows light to pass through. The testing part is detachably connected to the light collector. The partial exposure mode includes a screen area corresponding to only one testing part being exposed at each exposure time, which is used to indicate the connection position of the light collector and the area on the screen where the energy value needs to be collected. The energy values of each area of the screen when it is in an exposure state are obtained through the light collector; The screen is subjected to light uniformity optimization processing based on the energy value corresponding to each region.
[0007] In one embodiment, the step of performing light equalization optimization processing on the screen based on the energy values corresponding to each of the regions includes: A grayscale mask corresponding to the screen is constructed based on the energy value of each region. The grayscale mask is used to adjust the energy value of the corresponding region on the screen by using the grayscale values of its different regions, so that the screen has uniform overall energy when it is in display state. In response to a display command, the grayscale mask is invoked to adjust the energy values of various areas of the screen.
[0008] In one embodiment, controlling the display screen to operate in a partial exposure mode in response to the triggering of the guide mode includes: in response to the triggering of the guide mode, controlling the screen to be in an exposed state in each exposure, with a region corresponding to one of the detection units in the exposed state; in response to obtaining the energy value of the currently exposed region, controlling the region to stop exposure; and controlling another region on the screen corresponding to another detection unit to be in an exposed state; and / or The multiple detection units on the detection fixture are arranged in a matrix; the step of controlling the display screen to run a partial exposure mode in response to the triggering of the guide mode includes: in response to the triggering of the guide mode, controlling the area on the screen corresponding to each of the detection units to be exposed sequentially along the matrix-arranged detection units, wherein, in response to obtaining the energy value of the area currently being exposed, controlling the area to stop exposure, and simultaneously controlling the next area on the screen to be in the exposure state.
[0009] In one embodiment, constructing a grayscale mask corresponding to the screen based on the energy values of each of the regions includes: Determine the first energy difference between the energy value of each region and the preset standard energy value; Based on the location information of each region and the energy difference, the second energy difference of each pixel in the region is estimated; A grayscale mask for the screen is constructed based on the position information of each pixel and the corresponding second energy difference.
[0010] In one embodiment, constructing a grayscale mask corresponding to the screen based on the position information of each pixel and the corresponding second energy value includes: A target grayscale value corresponding to the pixel is determined based on the second energy difference value of the pixel, and the target grayscale value is used to adjust the energy value of the pixel during exposure to match the standard energy value; A grayscale mask corresponding to the screen is constructed based on the position information of each pixel and the corresponding target grayscale value.
[0011] In one embodiment, the method further includes: Determine the energy value relationship between two adjacent regions on the screen; The grayscale adjustment ratio of each pixel in each region is determined based on the energy value relationship.
[0012] In one embodiment, determining the grayscale adjustment ratio of each pixel in each region based on the energy value relationship includes: Based on the energy value relationship, a first region with a larger energy value and a second region with a smaller energy value are determined. The grayscale values of each pixel in the first region are adjusted according to a ratio that is smaller the closer they are to the second region; The grayscale values of each pixel in the second region are adjusted by a larger proportion as they are closer to the first region.
[0013] Another embodiment of the present invention also provides a screen light uniformity optimization device, comprising: The first response module is used to control the display screen to run a partial exposure mode in response to the triggering of the guide mode when the detection fixture is located at a specified position on the display screen. The detection fixture has a detection part that allows light to pass through. The detection part is detachably connected to the light collector. The partial exposure mode includes the screen having only one area corresponding to a detection part in the exposure state at each exposure time, which is used to indicate the connection position of the light collector and the area on the screen where the energy value needs to be collected. The acquisition module is used to acquire the energy values of each area of the screen when it is in an exposure state through the light collector; The light equalization processing module is used to perform light equalization optimization processing on the screen according to the energy value corresponding to each region.
[0014] Another embodiment of the present invention also provides an electronic device, comprising: Memory, used to store computer programs; A processor is configured to implement the steps of the screen light uniformity optimization method as described above when executing the computer program.
[0015] Another embodiment of the present invention provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the screen light uniformity optimization method as described above.
[0016] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0017] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating the screen light uniformity optimization method in an embodiment of the present invention.
[0020] Figure 2 This is a structural reference diagram of the detection fixture in an embodiment of the present invention.
[0021] Figure 3 This is a flowchart illustrating the screen light uniformity optimization method in another embodiment of the present invention.
[0022] Figure 4 This is a structural block diagram of the screen light uniformity optimization device in an embodiment of the present invention. Detailed Implementation
[0023] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, but these are not intended to limit the scope of the invention.
[0024] It should be understood that various modifications can be made to the embodiments disclosed herein. Therefore, the following description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope of this disclosure will be apparent to those skilled in the art.
[0025] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present disclosure and, together with the general description of the disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
[0026] These and other features of the invention will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.
[0027] It should also be understood that although the invention has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of the invention, which have the features described in the claims and are therefore all within the scope of protection defined herein.
[0028] The above and other aspects, features and advantages of this disclosure will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.
[0029] Specific embodiments of the present disclosure are described thereafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present disclosure and can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the present disclosure. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but merely to serve as the basis and representative basis for the claims to teach those skilled in the art to use the present disclosure in a variety of substantially any suitable detailed structures.
[0030] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in still another embodiment,” all of which may refer to one or more of the same or different embodiments according to this disclosure.
[0031] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0032] like Figure 1 As shown, this embodiment of the invention provides a method for optimizing screen light uniformity, including: S1: When the detection fixture is located at a designated position on the display screen, in response to the triggering of the guide mode, the display screen is controlled to run a partial exposure mode. The detection fixture has a detection part that allows light to pass through. The detection part is detachably connected to the light collector. The partial exposure mode includes the screen being exposed at each exposure time, with only one area corresponding to a detection part in the exposure state. This is used to indicate the connection position of the light collector and the area on the screen where the energy value needs to be collected. S2: Obtain the energy value of each area of the screen when it is in an exposure state through the light collector; S3: Perform light equalization optimization processing on the screen according to the energy value corresponding to each region.
[0033] In this embodiment, the detection fixture can be positioned at a designated location in front of or above the display screen, such as directly in front of or above the display screen and in close contact with it, or it can be positioned at an interval from the display screen. The specific location of the detection fixture can be determined according to the orientation of the display screen and is not limited here. Once the detection fixture is determined to be in the designated location, the user can instruct the system to enter the guided mode, or the system can automatically enter the guided mode in response to the end of the previous light equalization optimization cycle on the screen, or the system can automatically enter the guided mode when it analyzes and determines that light equalization optimization is needed based on the current screen display status, or it may automatically enter the guided mode directly after startup when the device is first put into use, etc. The specific method is not fixed. Determining that the detection fixture is in the designated location can be done manually, or the system can collect relevant information based on relevant sensors, such as position sensors, light sensors, and pressure sensors, and then determine whether the detection fixture is in the designated location based on the collected information. After entering the guided mode, the system will control the display screen to run in a partial exposure mode, where only a portion of the screen is displayed, while other areas are in a "black screen" state. The testing fixture is equipped with multiple detection sections that allow light to pass through. Each exposure area corresponds to a detection section. The probe of the light collector can be placed on a detection section, i.e., confined to it, to stably collect the light transmitted through the detection section and determine the energy value of that exposure area. After completing the energy value detection of the current exposure area, the system controls the display screen to switch exposure areas, i.e., switch to another screen area in the exposure state. As the exposure areas switch, the user can visually observe the area where the energy value needs to be detected, thus guiding the user to change the position of the light collector, i.e., change the position of the probe, so that it is placed on another detection section. This process is repeated to guide the user to assist in collecting the energy value of the entire display area of the screen. Alternatively, the light collector can also automatically switch the probe position using electronic control equipment. For example, by sending the exposure signal of the exposure area and the corresponding detection section number to the light collector, the light collector can move the probe position according to the received signal. Alternatively, the light collector itself can automatically determine the detection position based on the light transmitted through the exposure area using computer vision technology. After obtaining the energy values of each area of the screen, the system can perform light homogenization optimization processing on the screen based on these energy values.
[0034] In one application embodiment, the detection fixture is as follows: Figure 2As shown, the entire device is a plate with multiple detection units arranged in a matrix. These detection units can be, but are not limited to, perforated structures penetrating the detection fixture, such as round or square holes. Limiting structures for assisting in the positioning of the light sensor probe can be provided at the edge or wall of the hole; the specific details are variable, and the shape of the hole and the specific structure of the limiting structure must be determined based on the structure of the light sensor probe. Furthermore, the detection fixture and the display screen, or the electronic device on which the display screen is located, can be equipped with a fixing structure to ensure that the detection fixture maintains a fixed relative position with the screen during each detection period. Each detection period refers to the exposure of an exposure area and the period during which the light collector collects the energy value of that area. That is, the relative positions of the detection fixture and the screen can change during each detection period. For example, the detection fixture can change its position relative to the screen as the device moves or as adjusted by the user, or the display screen can move relative to the detection fixture. This phenomenon occurs when the size of the detection fixture is smaller than the size of the screen, requiring adjustment of their relative positions to complete the energy value detection of the entire screen area. When the size and shape of the testing fixture match the screen, there is no need to move the display screen or the testing fixture. At this time, the relative positions of the two are always fixed, and only the position of the light acquisition probe needs to be adjusted.
[0035] After collecting energy values, the step of performing light equalization optimization processing on the screen based on the energy values corresponding to each region includes: S301: Construct a grayscale mask corresponding to the screen based on the energy values of each region. The grayscale mask is used to adjust the energy values of the corresponding regions on the screen by utilizing the grayscale values of its different regions, so that the screen has uniform overall energy when it is in display mode. S302: In response to a display command, the grayscale mask is invoked to adjust the energy values of various areas of the screen.
[0036] For example, after obtaining the energy values of each area of the screen, the system constructs a grayscale mask corresponding to the overall display area of the screen based on the energy values of each area. In this embodiment, the grayscale mask is divided into multiple grayscale areas, each with a grayscale value. The grayscale values of different grayscale areas may be the same or different, depending on the collected energy values. There is a correspondence between the grayscale areas and different display sub-areas of the screen (i.e., the areas of the screen mentioned above). The specific size of the display sub-area is variable; it can be formed by one pixel or several pixels. Through this grayscale mask, the system can use the grayscale values of different areas to adjust the energy values of the corresponding areas (display sub-areas) on the screen, thereby ensuring that when each area of the screen is in display mode, the energy of each area is comparable, and the overall energy of the display area of the screen is uniform. After completing the construction of the grayscale mask, the system can store it and, upon receiving a display command, respond to the display command by calling the grayscale mask to adjust the energy values of each area of the screen, ensuring that the overall display effect of the screen meets the expected display effect.
[0037] As can be seen from the above embodiments, the solution of this embodiment can effectively solve the problem of uneven energy distribution on the screen caused by hardware structure in existing devices, such as bright centers and dark edges, resulting in poor display effects or negatively impacting the performance of tasks such as printing. For example, in 3D printing, poor display effects can easily lead to problems such as insufficient edge curing, blurred details, or excessive curing in the center and resin cracking. Moreover, the solution of this embodiment has low overall cost, requiring no additional complex optical structures or equipment. Only a simple fixture needs to be added to work with the existing light collector to effectively detect the energy values of each area of the screen. Then, based on the detected energy values, a precise grayscale mask can be generated by combining a linear grayscale mapping algorithm, and pixel-level light intensity compensation can be achieved using the grayscale mask, keeping the energy deviation of each area of the screen within an extremely low range, effectively optimizing light uniformity, and ensuring the display effect of the screen. Moreover, when the method of this embodiment is applied to a 3D printer, the curing effect of the printed part can be made consistent from the center to the edge by optimizing the display effect, and the detail reproduction can be improved by more than 30%, effectively solving the quality defects such as layering, warping, and dimensional deviation caused by display factors in the past.
[0038] In another embodiment, controlling the display to operate in a partial exposure mode in response to the triggering of the guided mode includes: S101: In response to the triggering of the guided mode, control the screen to expose a region corresponding to one of the detection units during each exposure; in response to obtaining the energy value of the currently exposed region, control the region to stop exposure, and control another region on the screen corresponding to another detection unit to be exposed; and / or S102: The multiple detection units on the detection fixture are arranged in a matrix; the step of controlling the display screen to run a partial exposure mode in response to the triggering of the guide mode includes: in response to the triggering of the guide mode, controlling the area on the screen corresponding to each of the detection units to be exposed sequentially along the matrix-arranged detection units, wherein, in response to obtaining the energy value of the area currently being exposed, controlling the area to stop exposure, and simultaneously controlling the next area on the screen to be in the exposure state.
[0039] For example, in Embodiment 1, the screen is pre-divided into multiple regions. This division can correspond to the distribution of multiple detection units on the detection fixture, so that each region corresponds to one detection unit. Different regions correspond to different detection units. In response to the triggering of the guided mode, the system controls the screen so that only one region is in the exposure state during each exposure, while the remaining regions are in the aforementioned "black screen" state. When the system obtains the energy value of the corresponding region uploaded by the light collector, or when the exposure time of the current region reaches the threshold, the system assumes that the light collector has completed the acquisition of the energy value of that region. At this time, the system will control that region to stop exposure and simultaneously control the next region to be in the exposure state, instructing the light collector to acquire the energy value of the next region. The next region is not specifically designated; the system can arbitrarily select the region being exposed. For each exposed region, the system records its position and associates it with its energy value.
[0040] In Embodiment 2, the multiple detection units on the detection fixture are arranged in a matrix, and the screen is also divided into multiple regions, each corresponding to one of the matrix-arranged detection units. When the system enters the guided mode, it directly determines the "exposure trajectory" based on the pre-arranged matrix-based detection units. For example, multiple rows or columns of detection units are sequentially connected to form the exposure trajectory. Then, the multiple regions on the screen can be controlled to be exposed sequentially according to the exposure trajectory. The specific exposure control mode is the same as in Embodiment 1. It can be based on whether the energy value acquisition is completed to control the exposure of the region, or it can be based on a timed exposure mode to control the sequential exposure of each region.
[0041] After collecting energy values, a grayscale mask corresponding to the screen is constructed based on the energy values of each region, including: S201: Determine the first energy difference between the energy value of each region and the preset standard energy value; S202: Estimate the second energy difference of each pixel in the region based on the location information of each region and the energy difference; S203: Construct a grayscale mask corresponding to the screen based on the position information of each pixel and the corresponding second energy difference.
[0042] The step of constructing a grayscale mask for the screen based on the position information of each pixel and the corresponding second energy value includes: S204: Determine a target grayscale value corresponding to the pixel based on the second energy difference value of the pixel, wherein the target grayscale value is used to adjust the energy value of the pixel during exposure to match the standard energy value; S205: Construct a grayscale mask corresponding to the screen based on the position information of each pixel and the corresponding target grayscale value.
[0043] For example, the energy value of each region collected by each light collector is compared with a preset standard energy value to calculate the energy deviation value of the region, i.e., the first energy difference value. Next, the position information of each pixel on the screen in the screen's coordinate system is determined, as well as the positional relationship between each pixel's position information and its corresponding region. Based on the position information, positional relationship, and the energy value of the corresponding region, a mapping relationship between each pixel and the energy value of the corresponding region is determined. Simultaneously, using an interpolation algorithm, such as bilinear interpolation, the energy deviation of each pixel within each region is estimated based on the mapping relationship and energy value, ultimately obtaining the energy deviation value of each pixel on the screen. Then, according to the preset correspondence between the energy deviation value and grayscale value (e.g., increasing the grayscale value for regions with high energy to reduce light transmission intensity, and decreasing the grayscale value for regions with low energy to enhance light transmission intensity), and based on a mapping algorithm, such as [(a / b)+1) / 2]×255, (a: standard energy value, b: collected energy value), the target grayscale value of each pixel is calculated. Finally, the target grayscale values of all pixels are integrated to generate a grayscale mask consistent with the screen resolution.
[0044] Of course, in practical applications, the grayscale mask can be calculated not based on a single pixel, but on a pixel region formed by several pixels, or even based on the region itself. The specific calculation depends on the screen's light uniformity requirements and display effect needs. Generally, the light uniformity optimization effect decreases as the number of pixels involved in the basic unit increases.
[0045] In another embodiment, the method further includes: S4: Determine the energy value relationship between two adjacent regions on the screen; S5: Determine the grayscale adjustment ratio of each pixel in each region based on the energy value relationship.
[0046] In this embodiment, in order to better achieve the consistency of display effect between different areas of the screen, a more optimized grayscale value setting strategy is proposed, which includes identifying and determining the energy value relationship between two adjacent areas on the screen, that is, determining the magnitude relationship of the energy values, and then determining the adjustment ratio of the grayscale value of each pixel in each area based on the magnitude relationship, so as to achieve a smooth transition of grayscale values between two adjacent areas, thereby improving the light uniformity optimization effect and the subsequent display effect.
[0047] Specifically, determining the grayscale adjustment ratio of each pixel in each region based on the energy value relationship includes: S501: Based on the energy value relationship, determine the first region with a larger energy value and the second region with a smaller energy value; S502: Adjust the grayscale values of each pixel in the first region according to the proportion that is smaller the closer it is to the second region; S503: Adjust the grayscale values of each pixel in the second region according to the proportion that is larger the closer it is to the first region.
[0048] For example, in this embodiment, assuming two adjacent regions on the screen are a first region and a second region, if the energy value of the first region is greater than that of the second region, then the grayscale values of each pixel in the first region are configured according to the rule that the closer to the second region, the smaller the grayscale value. This ensures that, in the first region, the overall grayscale value of all pixels gradually decreases towards the second region; that is, for adjacent first and second pixels, the first pixel, being closer to the second region, has a smaller grayscale value than the second pixel. Similarly, for all pixels in the second region, the closer to the first region, the larger the grayscale value. This configuration of the grayscale values of each region allows for a smooth transition when there are grayscale differences between different regions, improving the light uniformity optimization effect.
[0049] In practical applications, considering the varying degrees of grayscale difference between different regions, applying the aforementioned grayscale ratio adjustment to regions with small grayscale differences may result in insignificant adjustment effects while significantly increasing the data processing load. Therefore, a threshold can be used to determine the grayscale difference between two regions. If the difference is within the threshold, then a ratio adjustment is necessary; if it is outside the threshold, the difference is small, and no ratio adjustment is required. The specific method of ratio adjustment is variable; for example, it can be, but is not limited to, adjusting grayscale values based on a fixed gradient.
[0050] Once the grayscale mask is constructed, it can be stored in the device where the display is located for later use. In one application embodiment, taking the application of the grayscale mask to a 3D printer as an example, during normal printing, when the LCD screen displays the model slice pattern, the system will automatically call the stored grayscale mask and perform pixel-level overlay and fusion processing on the model slice pattern, i.e., the display parameters of the pattern, with the grayscale mask. The merged display data is transmitted to the LCD screen for display. At this time, the light projected by the COB light source in the printer through the pixels is differentially adjusted by the corresponding target grayscale value in the grayscale mask. Specifically, for light with excessively high original intensity, the corresponding target grayscale value will significantly reduce the light transmittance of the pixel, reducing the energy received by the resin; for light with excessively low original intensity, the corresponding target grayscale value on the grayscale mask will reduce the reduction of the light transmittance of the pixel, thereby conversely increasing the light transmittance of the area and increasing the energy received by the resin. In this way, by using the grayscale mask to reduce the light transmittance of different pixels to different degrees, precise compensation for the light intensity on the screen is achieved, ultimately ensuring a uniform energy distribution throughout the entire screen area.
[0051] like Figure 4 As shown, another embodiment of the present invention also provides a screen light uniformity optimization device, comprising: The first response module is used to control the display screen to run a partial exposure mode in response to the triggering of the guide mode when the detection fixture is located at a specified position on the display screen. The detection fixture has a detection part that allows light to pass through. The detection part is detachably connected to the light collector. The partial exposure mode includes the screen having only one area corresponding to a detection part in the exposure state at each exposure time, which is used to indicate the connection position of the light collector and the area on the screen where the energy value needs to be collected. The acquisition module is used to acquire the energy values of each area of the screen when it is in an exposure state through the light collector; The light equalization processing module is used to perform light equalization optimization processing on the screen according to the energy value corresponding to each region.
[0052] In one embodiment, the step of performing light equalization optimization processing on the screen based on the energy values corresponding to each of the regions includes: A grayscale mask corresponding to the screen is constructed based on the energy value of each region. The grayscale mask is used to adjust the energy value of the corresponding region on the screen by using the grayscale values of its different regions, so that the screen has uniform overall energy when it is in display state. In response to a display command, the grayscale mask is invoked to adjust the energy values of various areas of the screen.
[0053] In one embodiment, controlling the display screen to operate in a partial exposure mode in response to the triggering of the guide mode includes: in response to the triggering of the guide mode, controlling the screen to be in an exposed state in each exposure, with a region corresponding to one of the detection units in the exposed state; in response to obtaining the energy value of the currently exposed region, controlling the region to stop exposure; and controlling another region on the screen corresponding to another detection unit to be in an exposed state; and / or The multiple detection units on the detection fixture are arranged in a matrix; the step of controlling the display screen to run a partial exposure mode in response to the triggering of the guide mode includes: in response to the triggering of the guide mode, controlling the area on the screen corresponding to each of the detection units to be exposed sequentially along the matrix-arranged detection units, wherein, in response to obtaining the energy value of the area currently being exposed, controlling the area to stop exposure, and simultaneously controlling the next area on the screen to be in the exposure state.
[0054] In one embodiment, constructing a grayscale mask corresponding to the screen based on the energy values of each of the regions includes: Determine the first energy difference between the energy value of each region and the preset standard energy value; Based on the location information of each region and the energy difference, the second energy difference of each pixel in the region is estimated; A grayscale mask for the screen is constructed based on the position information of each pixel and the corresponding second energy difference.
[0055] In one embodiment, constructing a grayscale mask corresponding to the screen based on the position information of each pixel and the corresponding second energy value includes: A target grayscale value corresponding to the pixel is determined based on the second energy difference value of the pixel, and the target grayscale value is used to adjust the energy value of the pixel during exposure to match the standard energy value; A grayscale mask corresponding to the screen is constructed based on the position information of each pixel and the corresponding target grayscale value.
[0056] In one embodiment, the device further includes: The first determining module is used to determine the energy value relationship between two adjacent areas on the screen; The second determining module is used to determine the grayscale value adjustment ratio of each pixel in each region based on the energy value relationship.
[0057] In one embodiment, determining the grayscale adjustment ratio of each pixel in each region based on the energy value relationship includes: Based on the energy value relationship, a first region with a larger energy value and a second region with a smaller energy value are determined. The grayscale values of each pixel in the first region are adjusted according to a ratio that is smaller the closer they are to the second region; The grayscale values of each pixel in the second region are adjusted by a larger proportion as they are closer to the first region.
[0058] Another embodiment of the present invention also provides an electronic device, comprising: Memory, used to store computer programs; A processor is configured to implement the steps of the screen light uniformity optimization method as described above when executing the computer program.
[0059] Another embodiment of the present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the on-screen light uniformity optimization method as described above. It should be understood that the various solutions in this embodiment have the corresponding technical effects in the above method embodiments, and will not be repeated here.
[0060] Furthermore, embodiments of the present invention also provide a computer program product tangibly stored on a computer-readable medium and comprising computer-readable instructions that, when executed, cause at least one processor to perform a hyperspectral image classification method such as those described in the embodiments above.
[0061] It should be noted that the computer storage medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination thereof. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program configured for use by or in connection with an instruction execution system, system, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, antenna, optical fiber, RF, etc., or any suitable combination thereof.
[0062] Furthermore, those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0063] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1One or more processes and / or boxes Figure 1 A system that specifies functions in one or more boxes.
[0064] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction set implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0065] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of protection of this application is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of one or more embodiments of this application as described above, which are not provided in detail for the sake of brevity.
Claims
1. A method for optimizing light uniformity on a screen, characterized in that, include: When the testing fixture is located at a designated position on the display screen, in response to the triggering of the guide mode, the display screen is controlled to operate in a partial exposure mode. The testing fixture has a testing part that allows light to pass through. The testing part is detachably connected to the light collector. The partial exposure mode includes a screen area corresponding to only one testing part being exposed at each exposure time, which is used to indicate the connection position of the light collector and the area on the screen where the energy value needs to be collected. The energy values of each area of the screen when it is in an exposure state are obtained through the light collector; The screen is subjected to light uniformity optimization processing based on the energy value corresponding to each region.
2. The method for optimizing screen light uniformity according to claim 1, characterized in that, The step of performing light equalization optimization processing on the screen based on the energy value corresponding to each region includes: A grayscale mask corresponding to the screen is constructed based on the energy value of each region. The grayscale mask is used to adjust the energy value of the corresponding region on the screen by using the grayscale values of its different regions, so that the screen has uniform overall energy when it is in display state. In response to a display command, the grayscale mask is invoked to adjust the energy values of various areas of the screen.
3. The method for optimizing screen light uniformity according to claim 1, characterized in that, The step of controlling the display screen to operate in a partial exposure mode in response to the triggering of the guide mode includes: controlling the screen to be in an exposed state in each exposure of a region corresponding to one of the detection units in response to the triggering of the guide mode; controlling the region to stop exposure in response to obtaining the energy value of the currently exposed region; and controlling another region on the screen corresponding to another detection unit to be in an exposed state; and / or The multiple detection units on the detection fixture are arranged in a matrix; the step of controlling the display screen to run a partial exposure mode in response to the triggering of the guide mode includes: in response to the triggering of the guide mode, controlling the area on the screen corresponding to each of the detection units to be exposed sequentially along the matrix-arranged detection units, wherein, in response to obtaining the energy value of the area currently being exposed, controlling the area to stop exposure, and simultaneously controlling the next area on the screen to be in the exposure state.
4. The method for optimizing screen light uniformity according to claim 2, characterized in that, The step of constructing a grayscale mask corresponding to the screen based on the energy values of each of the aforementioned regions includes: Determine the first energy difference between the energy value of each region and the preset standard energy value; Based on the location information of each region and the energy difference, the second energy difference of each pixel in the region is estimated; A grayscale mask for the screen is constructed based on the position information of each pixel and the corresponding second energy difference.
5. The method for optimizing screen light uniformity according to claim 4, characterized in that, The step of constructing a grayscale mask corresponding to the screen based on the position information of each pixel and the corresponding second energy value includes: A target grayscale value corresponding to the pixel is determined based on the second energy difference value of the pixel, and the target grayscale value is used to adjust the energy value of the pixel during exposure to match the standard energy value; A grayscale mask corresponding to the screen is constructed based on the position information of each pixel and the corresponding target grayscale value.
6. The method for optimizing screen light uniformity according to claim 4, characterized in that, The method further includes: Determine the energy value relationship between two adjacent regions on the screen; The grayscale adjustment ratio of each pixel in each region is determined based on the energy value relationship.
7. The method for optimizing screen light uniformity according to claim 6, characterized in that, The step of determining the grayscale adjustment ratio of each pixel in each region based on the energy value relationship includes: Based on the energy value relationship, a first region with a larger energy value and a second region with a smaller energy value are determined. The grayscale values of each pixel in the first region are adjusted according to a ratio that is smaller the closer they are to the second region; The grayscale values of each pixel in the second region are adjusted by a larger proportion as they are closer to the first region.
8. A device for optimizing light uniformity on a screen, characterized in that, include: The first response module is used to control the display screen to run a partial exposure mode in response to the triggering of the guide mode when the detection fixture is located at a specified position on the display screen. The detection fixture has a detection part that allows light to pass through. The detection part is detachably connected to the light collector. The partial exposure mode includes the screen having only one area corresponding to a detection part in the exposure state at each exposure time, which is used to indicate the connection position of the light collector and the area on the screen where the energy value needs to be collected. The acquisition module is used to acquire the energy values of each area of the screen when it is in an exposure state through the light collector; The light equalization processing module is used to perform light equalization optimization processing on the screen according to the energy value corresponding to each region.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the on-screen light uniformity optimization method as described in any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the on-screen light uniformity optimization method as described in any one of claims 1 to 7.