Dynamic light and shadow adjustment method for artistic works based on visual human eye perception

By using dynamic lighting and shadow adjustment methods on local areas of artworks, combined with eye tracking and brightness data analysis, the dimming control of lighting fixtures was optimized, solving the problem of increased brightness in the areas viewed by the audience and improving the display effect of artworks and the audience experience.

CN123145757APending Publication Date: 2026-11-20XIAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611590307.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing automatic lighting systems cannot simultaneously cater to the audience's gaze and the brightness requirements of different areas of the artwork under multi-light conditions. This results in the area being incorrectly brightened, disrupting the original artistic light and shadow layers of the artwork, increasing visual fatigue and glare interference, and failing to meet the artistic expression requirements.

Method used

By dividing local areas of artworks, establishing standard display archives, obtaining audience eye tracking data and real-time brightness data, analyzing visual glare risks and brightness deviations, combining viewing priority and brightness adjustment direction factors, determining target brightness, and using the lighting contribution matrix to optimize luminaire dimming control parameters, dynamic light and shadow adjustment is achieved.

Benefits of technology

While taking into account the audience's viewing conditions and the impact of reflections, the brightness should be adjusted reasonably to improve the stability and suitability of dynamic lighting and shadow adjustment, so as to ensure the display effect of the artwork and the comfort of the audience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145757A_ABST
    Figure CN123145757A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of brightness regulation, in particular to an artistic work dynamic light and shadow adjustment method based on visual human eye perception. The method analyzes the viewing priority of each local area according to the gaze condition of the line of sight tracking, analyzes the visual reflection risk and the brightness deviation state according to the real-time brightness data and the brightness display interval, obtains the brightness regulation direction factor, and comprehensively determines the target brightness; the lighting contribution matrix of the lamps to the area is combined, the target brightness is taken as the optimization tracking target, the brightness out-of-range penalty of all local areas is introduced, the lamp dimming is solved, and the parameter regulation is dynamically controlled. The present application combines visual gaze and the reflection brightness state of each local area, comprehensively determines the target brightness of the area, simultaneously considers the regional interference influence of multiple lamps for constraint regulation, dynamically adapts the viewing viewpoint while guaranteeing the brightness requirements of each area, and takes into account the viewing demand and the display effect of the artistic work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of brightness control technology, specifically to a method for dynamically adjusting the light and shadow of artworks based on human visual perception. Background Technology

[0002] Art galleries, museums, and art exhibition halls typically use track lighting, wall washers, or zoned LED lighting to illuminate artworks such as paintings, calligraphy, and photographs. The lighting effect not only determines whether the artwork is clearly visible but also alters its tonal gradations, texture, and color reproduction. Existing automatic lighting systems primarily adjust the brightness of the entire artwork or a group of lights based on factors such as ambient illuminance, whether visitors have entered the exhibition area, and the distance between the visitor and the artwork.

[0003] While this method can reduce energy consumption when there is no audience, adjusting the display solely based on the audience's gaze can lead to the incorrect brightening of areas that are not meant to reflect light or that are already within a reasonable display range. This not only exacerbates visual fatigue and glare but also destroys the original artistic light and shadow layers of the artwork, failing to meet the expected artistic expression. Summary of the Invention

[0004] To address the aforementioned technical problem where, under multi-lighting conditions, it is impossible to simultaneously consider both viewer attention and the brightness requirements of different areas of the artwork, and where adapting to viewing needs can easily disrupt the intended display state of the artwork, the present invention aims to provide a dynamic light and shadow adjustment method for artworks based on human visual perception. The specific technical solution adopted is as follows: This invention provides a method for dynamic light and shadow adjustment of artworks based on human visual perception, the method comprising: Divide the artwork into different local areas and establish corresponding standard display files, and mark the lighting contribution matrix of the lighting fixtures to the local areas; the standard display files include the brightness display range and static brightness constraint information of each local area; Acquire viewer eye-tracking data and real-time brightness data of the artwork surface, and map the eye-tracking data to each local area to determine the gaze point; The viewing priority of each local area is determined based on the degree to which the gaze lingers in each local area and the static brightness constraint information. Based on the real-time brightness data and brightness display range, the visual glare risk and brightness deviation status are analyzed to obtain the brightness control direction factor for each local area; By combining the viewing priority and brightness adjustment direction factor of each local area, the current target brightness of each local area is determined; based on the lighting contribution matrix, the target brightness of each local area is used as the optimization tracking target, and a brightness over-limit penalty for all local areas is introduced to determine the dimming control parameters of each lamp and perform brightness adjustment.

[0005] Furthermore, the method for determining the gaze point includes: Eye tracking data includes the eye origin, eye direction vector, and eye tracking confidence. After transforming the origin of the line of sight and the direction vector of the line of sight to the planar coordinate system of the artwork, a line of sight ray is formed based on the origin of the line of sight and the direction vector of the line of sight; the intersection point of the line of sight ray and the plane of the artwork is determined to obtain the preliminary coordinates of the landing point; When the angle between the line of sight ray corresponding to the initial landing point coordinates and the plane of the artwork is greater than the preset parallel judgment threshold, the initial landing point coordinates are taken as the gaze landing point.

[0006] Furthermore, the method for obtaining the viewing priority includes: Take any local area as the target local area, and accumulate the duration for which the gaze point falls into the target local area within a preset sliding time window. Use the ratio of the duration to the total duration of the sliding time window as the real-time attention value. Static curatorial level values ​​are extracted from the static brightness constraint information; saliency detection is performed on the standard image of the artwork to obtain the static visual saliency prior value; The viewing priority is obtained by weighting and summing the real-time attention value, the static curatorial level value, and the static visual saliency prior value.

[0007] Furthermore, the method for obtaining the brightness control direction factor includes: Based on static brightness constraint information and brightness characteristics, the visual reflectivity risk value of each local area is obtained; For any local area, when the visual reflection risk value is higher than or equal to the preset reflection judgment threshold, the visual reflection risk value of the local area is taken as a negative value and used as the brightness adjustment direction factor. When the visual reflection risk value is lower than the reflection judgment threshold, and the real-time brightness data of the local area exceeds the upper limit of the brightness display range, the brightness control direction factor is obtained by taking the negative value of the proportion of the real-time brightness data of the local area that is higher than the upper limit of the brightness display range. When the visual reflection risk value is lower than the reflection judgment threshold and the real-time brightness data of the local area does not exceed the upper limit of the brightness display range, the contrast deviation value of the local area is obtained. If the contrast deviation value exceeds the preset deviation judgment threshold, the brightness adjustment direction factor is obtained based on the visual reflection risk value and the contrast deviation value. Otherwise, set the brightness adjustment direction factor to zero.

[0008] Furthermore, the method for obtaining the visual glare risk value includes: Extract brightness response data of local areas under multiple preset viewing angles from static brightness constraint information; match risk angles based on the gaze point within the local area. Based on the deviation between real-time brightness data and corresponding brightness response data from a risk perspective, the visual glare risk value of a local area is obtained.

[0009] Furthermore, the method for obtaining the comparison bias value includes: Obtain the contrast of the local area; use the proportion of the local area whose contrast is lower than the preset visible contrast threshold as the contrast bias value of the local area.

[0010] Furthermore, obtaining the brightness adjustment direction factor based on the visual glare risk value and contrast bias value includes: The difference between the preset high-risk reflectivity value and the visual reflectivity risk value is used as the reflectivity adjustment factor; the product of the reflectivity adjustment factor and the contrast bias value is used as the brightness control direction factor.

[0011] Furthermore, the method for determining the target brightness includes: For any local area, if the brightness control direction factor of the local area is greater than or equal to zero, the difference between the upper limit of the brightness display range of the local area and the real-time brightness data is used as the brightness boundary deviation; otherwise, the difference between the real-time brightness data and the lower limit of the brightness display range is used as the brightness boundary deviation. The brightness adjustment degree is obtained by combining the brightness adjustment direction factor, viewing priority, and brightness boundary deviation of the local area; the sum of the brightness adjustment degree and the real-time brightness data is used as the target brightness.

[0012] Furthermore, the method for obtaining the dimming control parameters includes: The dimming increment of each lamp is taken as the variable to be optimized; Based on the dimming increment of each lamp and the lighting contribution matrix, the predicted brightness change of each local area is determined, and the predicted brightness of each local area is obtained by combining the real-time brightness data. The squared error between the predicted brightness of each local area and the corresponding target brightness is summed by viewing priority and used as the target brightness tracking cost. The sum of the squares of the out-of-bounds amounts of the predicted brightness of each local area relative to the brightness display range is used as the out-of-bounds penalty cost; The sum of squares of the dimming increments of each lamp is used as the cost of smoothing and suppression. The sum of the target brightness tracking cost, the out-of-bounds penalty cost, and the smoothing suppression cost is used as the overall objective function. The dimming increment of each lamp is obtained by minimizing the overall objective function, and the dimming control parameters are determined.

[0013] Furthermore, the method for obtaining the out-of-bounds amount includes: If the predicted brightness of each local area is not within the corresponding brightness display range, the difference between the predicted brightness and the nearest boundary value of the brightness display range is used as the numerator, and the range of the brightness display range is used as the denominator to obtain the out-of-bounds amount; otherwise, the out-of-bounds amount is set to zero.

[0014] The present invention has the following beneficial effects: This invention analyzes the viewing priority of each local area based on gaze tracking, analyzes visual reflection risk and brightness deviation based on real-time brightness data and brightness display range, obtains brightness adjustment direction factors, and comprehensively determines the target brightness. This allows brightness adjustment to take into account viewing conditions while also considering the actual reflection and insufficient brightness effects for reasonable adjustment, improving the stability and suitability of spatial dynamic light and shadow adjustment. Simultaneously, by combining the lighting contribution matrix and using the target brightness as the optimization tracking target, it introduces brightness over-limit penalties for all local areas to solve the luminaire dimming control parameters. This considers the constraints of the luminaire's suitable brightness range while adjusting locally, improving the display effect of dynamic light and shadow adjustment. This invention combines visual gaze and the reflection brightness status of each local area to comprehensively determine the target brightness of the area, while considering the regional interference effects of multiple luminaires for constraint adjustment. It dynamically adapts to the viewing viewpoint while ensuring the brightness requirements of each area, balancing viewing needs and the display effect of the artwork. Attached Figure Description

[0015] Figure 1 A flowchart of a method for dynamic light and shadow adjustment of artworks based on human visual perception, provided as an embodiment of the present invention; Figure 2 This is a schematic diagram of a work area and equipment layout provided in one embodiment of the present invention; Figure 3 This is a schematic diagram of the illumination contribution matrix of a lamp to a local area provided in an embodiment of the present invention; Figure 4 This is a flowchart illustrating a method for determining the overall objective function according to an embodiment of the present invention. Detailed Implementation

[0016] To further illustrate the technical means and effects of the present invention in achieving its intended purpose, the following detailed description, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of a dynamic light and shadow adjustment method for artworks based on human visual perception proposed in accordance with the present invention.

[0017] This invention describes an example of an oil painting measuring 1200mm × 900mm with a varnish layer on its surface. However, the application of this invention is not limited to oil paintings; it is also applicable to the display lighting of other artworks such as calligraphy, photography, and relief sculpture. The artwork has a display surface capable of establishing regional coordinates, for example, using the upper left corner, the horizontal axis, and the vertical axis to establish a local coordinate system for the artwork. An eye-tracking terminal, a depth camera, and a radiance camera are positioned in front of the artwork. The eye-tracking terminal outputs the viewer's eye-tracking data, the depth camera determines the viewer's position relative to the artwork, and the radiance camera outputs real-time brightness data of the artwork's surface. Please refer to [link to relevant documentation]. Figure 1 The diagram illustrates a flowchart of a method for dynamic light and shadow adjustment of artworks based on human visual perception, according to an embodiment of the present invention. The method includes the following steps: S1: Divide the artwork into its various local areas and establish corresponding standard display files, and define the lighting contribution matrix of the lighting fixtures to the local areas; the standard display files include the brightness display range and static brightness constraint information of each local area.

[0018] In this embodiment of the invention, the artwork is divided into six independently evaluable local regions R1 to R6. For example... Figure 2 As shown, this illustration presents a schematic diagram of artwork zoning and equipment arrangement according to an embodiment of the present invention. The partial area division is based on: the figure's face, the bright part of the sky, the dark clothing texture, the reflective area of ​​the diffuser, the background texture, and the artistic semantic boundaries such as the border and signature. Eight adjustable LED spotlights L1 to L8 are installed, using light sources with a fixed color temperature of 3500K and a color rendering index of not less than 95. Each light has a clearly defined primary area of ​​responsibility. Figure 2 The middle arrow indicates the main area of ​​responsibility for each light fixture.

[0019] To ensure that the inherent light and shadow requirements of the artwork are met, a standard display archive is established. In one specific embodiment of this invention, five preset viewing angles are simulated sequentially, and the museum confirms the display status from five representative viewing angles: 0° direct view and horizontal angles of -30°, -15°, +15°, and +30°. When the artwork is installed at a high height and changes in the viewer's tilt angle significantly affect the reflectivity, two additional tilt viewing angles of +10° and -10° are added; this is not a limitation in this regard.

[0020] Furthermore, 20 frames of radiance images were continuously acquired from each viewing angle, and the median pixel value in each local region was calculated. Pixels above the median were designated as high-brightness pixels. Simultaneously, the lower limit of display brightness for each local region was recorded. and display brightness limit This constitutes a brightness display range, representing the appropriate brightness range for the artwork. The lower brightness limit is used to define the minimum brightness at which necessary textures, edges, or brushstrokes can be observed within a local area, while the upper brightness limit is used to define the maximum brightness at which the local area will not suffer from loss of detail or reflection interference due to excessive brightness. In embodiments of the present invention, the brightness response data may include the average brightness of the local area, the set of bright pixels in the local area, and the geometric centroid position of the set of bright pixels, reflecting the brightness characteristics under the viewing angle. This data can be adjusted according to the needs of the artwork and is not limited herein.

[0021] Different brightness display ranges are used for different local areas because bright areas, dark areas, the main subject area, and reflective sensitive areas in an artwork all have different display requirements. Taking this embodiment as an example, the brightness display range for the face of the figure in R1 is set to 12–18 cd / m². 2 The bright part of the sky in R2 is 18-28 cd / m. 2 R3 dark-colored fabric texture is 4-7 cd / m 2 The reflectivity of the R4 cover is 10–16 cd / m². 2 The R5 background texture is 8-14 cd / m². 2 The R6's border indicates a size of 6-10 cd / m. 2 .

[0022] The standard display archive also records static brightness constraint information for each local area. This static brightness constraint information includes the static curatorial level value corresponding to each local area. And the minimum visible contrast threshold. The static curatorial level value is set by staff based on the artwork's display intent. In this embodiment, the static curatorial level of the facial area is higher than that of the border and signature area, with values ​​ranging from 0 to 1, such as R1 = 0.90, R2 = 0.60, R3 = 0.75, R4 = 0.70, R5 = 0.55, and R6 = 0.45. The minimum visible contrast threshold is determined by staff based on the artwork's display status and represents the minimum contrast at which necessary details in a local area can be observed. It should be noted that the file must be re-established after changing the artwork, altering the framing glass, or moving the lighting fixtures.

[0023] After the data archive is established, the actual lighting impact of each luminaire on each local area is calibrated to obtain the lighting contribution matrix required for dimming control. In this embodiment of the invention, the luminaire contribution matrix calibration is performed under the condition that the venue is closed and the remaining luminaires maintain their baseline output. Adjustable LED spotlights are all controlled by the normalized dimming coefficient output by the controller. The dimming coefficient of the luminaire is used as the proportion of its output power; that is, when the luminaire is completely off, the corresponding dimming coefficient is 0; when the luminaire is at full power output, the dimming coefficient is 1; and when the luminaire output is 50% of full power, the dimming coefficient is 0.5.

[0024] Furthermore, for each lamp, pairwise data was collected at three dimming points: 20%, 50%, and 80%. The average brightness difference between the two collected areas was divided by the change in the dimming coefficient to obtain the contribution coefficient of each lamp to the local area. As an example, regarding lamps... Record the average brightness of regions R1 to R6 before adjustment, and denote them as follows: ,in Represented as the first lamp fixtures Represented as the first A localized area. Targeting the lighting fixtures. Record the average brightness of the areas R1 to R6 after adjustment, and denote them as follows: Lighting fixtures The change in dimming coefficient before and after adjustment is Then the contribution coefficient The expression is: , indicating the first When the dimming factor of a lamp increases by one unit, the first The brightness increment of a local area.

[0025] In a specific embodiment of the present invention, during the calibration process, the ambient baseline brightness before and after luminaire adjustment is recorded simultaneously. If the change in the ambient baseline between two acquisitions exceeds 3% of the value before luminaire adjustment, the calibration data is discarded and re-acquired. This yields a lighting contribution matrix of 8 lamps to 6 areas, as shown below. Figure 3 As shown, a schematic diagram of the illumination contribution matrix of a lamp to a local area provided by an embodiment of the present invention is presented. For example, the contribution coefficient of L1 to R1 is 6.2 cd / m. 2 With a unit dimming factor, the contribution of L1 to R2 is 1.8 cd / m. 2 / Unit dimming factor, L4's contribution to R4 is 7.5 cd / m 2 / Unit dimming factor, etc.

[0026] S2: Acquire the viewer's eye tracking data and the real-time brightness data of the artwork's surface, and map the eye tracking data to each local area to determine the gaze point.

[0027] The eye-tracking terminal outputs gaze tracking data at a sampling frequency of 60Hz. The gaze tracking data includes the gaze origin. Line of sight vector and eye-tracking confidence Origin of line of sight This represents the starting point of the viewer's line of sight and the vector of the line of sight direction. Indicates the current direction of the viewer's gaze; gaze tracking confidence level. This indicates the reliability of the current line of sight results.

[0028] During the deployment phase, the rotation and translation relationships between the eye-tracking terminal's coordinate system and the artwork's planar coordinate system are calibrated, i.e., the rotation matrix and translation vector. In real-time processing, the gaze origin is... and line-of-sight vector Based on the calibration relationship, the coordinates are transformed to the artwork's plane coordinate system. The transformed origin of the line of sight is taken as the starting point of the line of sight ray, and the transformed direction vector of the line of sight is taken as the direction of the line of sight ray. The line of sight ray is then intersected with the artwork's plane to obtain the intersection point. , intersection The x and y coordinates are used as the initial landing point coordinates.

[0029] In this embodiment of the invention, the confidence level for eye tracking ranges from 0 to 1. When the confidence level is below 0.65, the current eye tracking result is considered unstable, and the corresponding data is not used to update the stable gaze state; the eye tracking result is discarded. Because the human eye rapidly scans multiple areas during saccades, the scanned areas may be misjudged as gaze areas. Therefore, when the intersection point... If the duration of a line-of-sight tracking signal within the same local area is less than a preset duration, the tracking result for that signal is discarded. The preset duration can be set to 0.8 seconds. When the intersection... When the eye is outside the boundary of the artwork, the results of that eye tracking are also discarded.

[0030] For the remaining intersection points, the angle between the gaze ray and the plane of the artwork is further obtained. In this embodiment of the invention, the preset parallelism threshold is set to 15°. When the angle is less than or equal to 15°, the gaze ray is considered to be close to parallel to the plane of the artwork, and the intersection point is easily affected by gaze measurement errors, so the corresponding initial landing point is discarded. The final initial landing point coordinates are used as the gaze landing point, indicating the existence of a stable gaze state.

[0031] It should be noted that if a valid gaze point cannot be obtained, the previous stable state can be maintained without triggering global brightening. Simultaneously, when multiple viewers are present at the designated close-range viewing position or when a uniquely identified viewer cannot be tracked, single-person eye-tracking loop closure is stopped, and safety lighting based on the standard display profile is maintained; when no one is present, protective reference lighting is restored; when there are malfunctions in the camera, communication, or matrix solving, the luminaire output is limited to the preset brightness display range.

[0032] The real-time brightness distribution map captured by the radiance camera is also converted to the coordinate system of the artwork, and the pixel brightness values ​​of each local area are extracted according to the pre-determined local area boundaries. For each local area, the median of all pixel brightness values ​​in the area is taken as the real-time brightness data of that local area.

[0033] S3: Determine the viewing priority of each local area based on the degree to which the gaze point lingers in each local area and the static brightness constraint information.

[0034] By analyzing the selected gaze points, the current viewing behavior of the audience is determined to establish viewing priorities, reflecting the degree of attention the audience pays to each local area. Since the audience's focus on a local area does not necessarily indicate that the local area is technically important, static brightness constraint information is introduced for stability.

[0035] In some embodiments of the present invention, any local area is taken as the target local area. Within a preset sliding time window, the duration for which the gaze point falls into the target local area is accumulated. The ratio of the duration to the total duration of the sliding time window is used as the real-time attention value, which reflects the audience's attention to the local area. The larger the real-time attention value, the higher the attention to the target local area. In the embodiments of the present invention, the sliding time window is set to 3 seconds. The preset implementation can be adjusted by the implementer according to the specific implementation scenario, and there is no limitation here.

[0036] Static visual saliency processing is performed on standard images of artworks captured in their standard display state. In one specific embodiment of this invention, the standard image is converted into a luminance feature map, a chromaticity feature map, and an edge feature map. Existing multi-scale contrast saliency algorithms are then applied at the three scales of luminance, chromaticity, and edge intensity to output static visual saliency maps. The average values ​​of each local region are then calculated according to the region boundaries R1 to R6 to obtain the prior static visual saliency values ​​for each local region. It should be noted that multi-scale contrast saliency algorithms are well-known techniques to those skilled in the art, such as the MSSS algorithm, and are not limited or elaborated upon here.

[0037] The prior value of static visual saliency is established based on standard images to avoid synchronous changes in saliency results caused by changes in lighting brightness. Static curatorial level values ​​are extracted to reflect the pre-defined evaluation of the artistic importance of the target local area. Then, the real-time attention value, static curatorial level value, and static visual saliency prior value are weighted and summed to obtain the viewing priority. As an example, the expression for viewing priority is:

[0038] in, Represented as the first Viewing priority for specific local areas Represented as the first Real-time attention value for a local region Represented as the first The static visual saliency prior value of a local region Represented as the first Static curatorial hierarchy values ​​for a local area , and Represented as weight values, in this embodiment of the invention, Set to 0.55. Set to 0.15, Setting it to 0.30 gives the highest weight to the real-time attention value, which is used to prioritize responding to the current stable gaze of the audience. Since artistic intent is more suitable as a long-term constraint than feature salience, if the weight of the static curatorial level value is too small, it may be incorrectly brightened due to the audience accidentally focusing on a dark area, thus destroying the artistic expression. Therefore, the weight of the static curatorial level value is set to be greater than the weight of the prior value of static visual salience.

[0039] Viewing priority determines the intensity of local area processing. When a viewer focuses on a dark area, the system still needs to determine whether the local area actually has insufficient detail contrast or other brightness characteristics to avoid incorrect adjustment direction.

[0040] S4: Based on the real-time brightness data and brightness display range, analyze the visual reflection risk and brightness deviation status, and obtain the brightness control direction factor for each local area.

[0041] If viewing priority is directly equated with a brightening command, the system will continue to brighten an already overly bright or reflective area, exacerbating glare and causing visual fatigue. Based on real-time brightness data analysis, and considering the potential for reflection in localized areas, a more suitable control direction factor is determined from multiple dimensions.

[0042] In some embodiments of the present invention, visual reflection risk values ​​of each local area are obtained based on static brightness constraint information and brightness characteristics, brightness response data of local areas under multiple preset viewing angles are extracted from standard display files, and the current brightness characteristics are compared with the brightness response data under each preset viewing angle.

[0043] The current viewing angle is determined based on the gaze direction vector corresponding to the gaze point within a local area. In some embodiments of this invention, the angle between the gaze direction vector corresponding to the gaze point and the plane of the artwork is used as the current viewing angle and matched with preset viewing angles in the standard display file. The preset viewing angle with the smallest difference between the current viewing angle and the preset viewing angle is taken as the risk angle, and the brightness response data under the corresponding risk angle is retrieved.

[0044] Further, the currently bright pixels in the local region are extracted from the real-time brightness image to determine the area and geometric centroid of the current set of bright pixels. The current set of bright pixels is compared with the set of bright pixels in the brightness response data corresponding to the risk angle. The average brightness difference between the two sets of bright pixels is taken as the brightness difference, the area difference between the two sets of bright pixels is taken as the change in bright area, and the distance between the geometric centroids of the two sets of bright pixels is taken as the displacement of the bright centroid.

[0045] When the viewing angle changes, if the brightness of the highlighted area increases or decreases rapidly with the viewing angle, and the area or centroid position of the highlighted area changes significantly, then the highlighted area is considered to have visual glare characteristics. The brightness difference, the change in highlighted area, and the displacement of the highlighted centroid are normalized to 0 to 1, and then weighted according to weights of 0.4, 0.3, and 0.3 respectively to obtain the visual glare risk value. When the weighted result exceeds 1, the visual glare risk value is limited to 1.

[0046] In this embodiment of the invention, the reflectivity threshold is set to 0.6. For any given local area, when the visual reflectivity risk value is higher than or equal to the preset reflectivity threshold, that is, when... When a local area is determined to have a visual glare risk that needs to be prioritized for suppression, the negative value of the visual glare risk value of that local area is taken as the brightness control direction factor. The expression for the brightness control direction factor is: ; Represented as the first Brightness control direction factor for a local area Represented as the first Visual glare risk value for a local area.

[0047] When the visual glare risk value is below the glare judgment threshold, it indicates that there is no obvious spectral glare. However, if the real-time brightness data of this local area exceeds the upper limit of the brightness display range, it means that the area's brightness has exceeded the maximum brightness allowed by the curatorial design. Even if the audience is looking at this area, it must be darkened. That is, when and At that time, the brightness adjustment direction factor is obtained by taking the negative value of the proportion of real-time brightness data of the local area that is higher than the upper limit of the brightness display range. As an example, the expression of the brightness adjustment direction factor is:

[0048] In the formula, Represented as the first Brightness control direction factor for a local area Represented as the first The upper limit of the brightness display range for a local area. Represented as the first The lower limit of the brightness display range for a local area. Represented as the first Real-time brightness data for a local area.

[0049] When the visual reflection risk value is lower than the reflection judgment threshold, and the real-time brightness data of the local area does not exceed the upper limit of the brightness display range, the local contrast can be further analyzed to reflect the local detail performance. For some low-brightness areas, if there are deliberately preserved dark areas, their texture details may still be clear even at low brightness. Only areas with high contrast bias values, that is, areas with unclear details, are enhanced. At this time, the visual reflection risk value is combined to suppress the increment. If there is already a certain degree of reflection, the positive brightening amplitude should also be reduced to avoid the brightening operation exacerbating the reflection problem.

[0050] In this invention, the contrast of the local area is obtained, and the proportion of the local area whose contrast is lower than a preset visible contrast threshold is taken as the contrast deviation value of the local area. Specifically, the difference between the preset visible contrast threshold and the contrast of the local area is taken as the numerator, and the preset visible contrast threshold is taken as the denominator to obtain the contrast deviation value. The larger the contrast deviation value, the more serious the loss of local details.

[0051] If the contrast deviation exceeds a preset deviation threshold, it indicates that enhancement adjustment is needed. In this embodiment of the invention, the deviation threshold can be set to 0.2. When the contrast deviation is greater than 0.2, it indicates that there is insufficient detail contrast in a local area. and , At the same time, the brightness adjustment direction factor is obtained by combining the visual reflection risk value and the contrast bias value.

[0052] In some embodiments of the present invention, the difference between a preset high-risk reflectivity threshold and a visual reflectivity risk value is used as a reflectivity adjustment factor. The higher the visual reflectivity risk value, the more likely reflectivity is to occur, and the more it needs to be suppressed. The product of the reflectivity adjustment factor and the contrast bias value is used as a brightness adjustment direction factor. The preset high-risk reflectivity threshold is 1. As an example, the expression for the brightness adjustment direction factor is:

[0053] In the formula, Represented as the first Brightness control direction factor for a local area Represented as the first Visual glare risk value for a local area Represented as the first The contrast bias value of a local region.

[0054] The above judgments are made in the order of reflection risk, brightness limit, and contrast bias. Reflection risk takes precedence over detail compensation to avoid increasing lighting that may cause reflection when spectral reflection exists; brightness limit judgment takes precedence over contrast compensation to avoid increasing brightness when an area is already too bright. Otherwise, if none of the above judgments are met, it means that although there is viewer attention, the brightness is already within a reasonable display range and the detail has reached the threshold, so the system does not perform any brightening processing and sets the brightness adjustment direction factor to zero. .

[0055] S5: Combine the viewing priority and brightness adjustment direction factor of each local area to determine the current target brightness of each local area.

[0056] After obtaining the viewing priority and brightness adjustment direction factor, the current target brightness of each area is determined comprehensively. The target brightness is determined based on the current brightness, and displacement is made within the brightness display range according to the direction factor and viewing priority.

[0057] In this embodiment of the invention, for any local area, if the brightness adjustment direction factor of that local area is greater than or equal to zero, it indicates that the adjustment is a brightening adjustment. The difference between the upper limit of the brightness display range of that local area and the real-time brightness data is taken as the brightness boundary deviation. The expression for the brightness boundary deviation is as follows: ; Represented as the first Brightness boundary deviation of a local area Represented as the first The upper limit of the brightness display range for a local area. Represented as the first Real-time brightness data for a local area.

[0058] Otherwise, it indicates that the brightness needs to be reduced. The difference between the real-time brightness data and the lower limit of the brightness display range is used as the brightness boundary deviation. The expression for the brightness boundary deviation is as follows: ; Represented as the first Brightness boundary deviation of a local area Represented as the first The lower limit of the brightness display range for a local area. Represented as the first Real-time brightness data for a local area. Boundary deviation indicates the remaining space between the current brightness and the corresponding adjustment boundary; when increasing brightness, the boundary is not exceeding the upper limit, and when decreasing brightness, the boundary is not falling below the lower limit.

[0059] Furthermore, by combining the brightness adjustment direction factor, viewing priority, and brightness boundary deviation of the local area, the brightness adjustment degree is obtained. In this embodiment of the invention, the product of the brightness adjustment direction factor, viewing priority, and brightness boundary deviation of the local area is used as the brightness adjustment degree. The higher the viewing priority, the greater the adjustment range. When the brightness adjustment direction factor is positive, the adjustment is directed towards the upper limit of brightness; when the adjustment direction factor is negative, the adjustment is directed towards the lower limit of brightness. The brightness boundary deviation limits the target brightness range, ensuring the rationality of the adjustment.

[0060] Finally, the sum of the brightness adjustment degree and the real-time brightness data is used as the target brightness, representing the desired brightness adjustment level. As an example, the expression for the target brightness is: In the formula, Represented as the first Target brightness in a local area Represented as the first Real-time brightness data for a local area Represented as the first Brightness boundary deviation of a local area Represented as the first Brightness control direction factor for a local area Represented as the first Viewing priority for specific local areas.

[0061] In particular, if If the brightness is below the lower limit of the local area's brightness display range, then the target brightness will be limited to the lower limit of the brightness display range. Similarly, if... If the brightness exceeds the upper limit of the local area's brightness display range, the target brightness will be limited to the upper limit of the brightness display range.

[0062] S6: Based on the lighting contribution matrix, with the target brightness of each local area as the optimization tracking target, introduce a brightness over-limit penalty for all local areas, determine the dimming control parameters of each lamp and perform brightness adjustment.

[0063] After determining the target brightness for each local area, it needs to be converted into dimming control parameters for each luminaire. Since each luminaire not only affects its primary area of ​​responsibility but also contributes to the illumination of adjacent areas, the cross-area impact of each luminaire also needs to be considered.

[0064] In some embodiments of the present invention, the dimming increment of each luminaire is treated as a variable to be optimized, i.e., an unknown to be solved. Based on the dimming increment of each luminaire and the lighting contribution matrix, the predicted brightness change of each local area is determined, and combined with real-time brightness data, the predicted brightness of each local area is obtained.

[0065] For each local area, the contribution coefficient of each lamp is considered. The dimming increment can be used to preliminarily determine the brightness change in this local area. The expression for predicting the brightness change is: In the formula, Represented as the first The predicted brightness change of a local area Represented as the first The lamp corresponds to the first Contribution coefficient of each local region This represents the total number of light fixtures. Represented as the first The dimming increment of each lamp is the variable to be optimized.

[0066] The expression for predicting brightness is: In the formula, Represented as the first Predict the brightness of a local region. For further construction and solution of the objective function, please refer to [link / reference needed]. Figure 4 The diagram illustrates a method for determining a total objective function according to an embodiment of the present invention, which includes the following steps: S601: Based on the deviation between the predicted brightness of each local area and the corresponding target brightness, and combined with the viewing priority weighting, determine the target brightness tracking cost.

[0067] The squared error between the predicted brightness and the corresponding target brightness of each local region is summed using viewing priority as the target brightness tracking cost. In this embodiment of the invention, a basic weight is set to prevent neighboring regions with low viewing priority from being ignored. The value is 0.25. The viewing priority is weighted by subtracting the base weight from the value 1. The weighted value is then summed with the base weight to obtain the tracking weight. Tracking weight of local regions The expression is: Basic weights This ensures that even areas with zero viewing priority are not ignored. Ensure that areas with high viewing priority receive greater tracking weight.

[0068] Furthermore, the squared error is weighted using tracking weights. In this embodiment of the invention, the target brightness tracking cost is... The expression is: ;in, This represents the total number of items in a local region.

[0069] S602: Determine the boundary penalty cost based on the amount by which the predicted brightness of each local area exceeds the boundary of the brightness display range.

[0070] Secondly, the sum of the squares of the out-of-bounds amounts of the predicted brightness of each local area relative to the brightness display range is used as the cost of the out-of-bounds penalty. If no out-of-bounds penalty is imposed, the brightness of a single local area will ignore the appropriate range of the light itself in order to get closer to the target brightness, which will affect the exhibition status of the work.

[0071] In this embodiment of the invention, if the predicted brightness of each local area is not within the corresponding brightness display range, it indicates an out-of-bounds situation. The difference between the predicted brightness and the nearest boundary value to the brightness display range is used as the numerator, and the range of the brightness display range is used as the denominator to obtain the out-of-bounds amount. The expression for the out-of-bounds amount is as follows: ;in, Represented as the first The amount of out-of-bounds data in a local region This is represented as a maximum value extraction function. The greater the difference between the predicted brightness and the boundary value, the more severe the out-of-bounds adjustment of brightness. If the predicted brightness of each local area is within the corresponding brightness display range, the out-of-bounds amount is set to zero, and no penalty term is required.

[0072] In this embodiment of the invention, the cost of exceeding the boundary penalty The expression is: ;in The weight is set to 2, which makes the penalty cost for any local area going out of bounds highly noticeable.

[0073] S603: Determine the smoothing suppression cost based on the dimming increment of each lamp.

[0074] The sum of the squares of the dimming increments of each luminaire is used as the smoothing suppression cost. This cost is used to suppress large single-amplitude jumps in the luminaires, reducing the risk of flicker and improving viewing comfort. In this embodiment of the invention, the smoothing suppression cost... The expression is: ;in The weight is set to 0.08, which only suppresses larger dimming situations.

[0075] S604: Construct the overall objective function by integrating the target brightness tracking cost, the out-of-bounds penalty cost, and the smoothing suppression cost.

[0076] The sum of the target brightness tracking cost, the out-of-bounds penalty cost, and the smoothing suppression cost is used as the overall objective function. It should be noted that the following constraints must be satisfied during the solution process: First, when determining the dimming increment, the dimming coefficient of the luminaire... In superposition The dimming increment must be limited to the range of 0 to 1 to ensure the physical safety of the luminaire operation. Secondly, the absolute value of the dimming increment of each luminaire within a single cycle must not exceed a preset step size limit; in this embodiment, it is set to 0.08 to prevent excessive dimming amplitude from causing light flickering and visual discomfort. Thirdly, if there is a risk of visual reflection in a certain local area, and the luminaire... When the luminaires contribute significantly to the illumination of the local area, The dimming increment is limited to no more than 0 to avoid further increasing the incident lighting that produces reflections.

[0077] With the objective function of minimizing the overall objective function, the dimming increment of each luminaire is obtained. The sum of the original dimming coefficient and the dimming increment of the luminaire is used as the dimming control parameter. The dimming control parameters of each luminaire are sent to the luminaire controller, which adjusts the luminaire output according to the corresponding parameters.

[0078] This completes the dynamic lighting adjustment for the current adjustment cycle. In this embodiment of the invention, with a base adjustment cycle of 0.5 seconds, in the next adjustment cycle, eye-tracking data and real-time brightness data of the artwork surface are reacquired, and the process of determining the dimming control parameters is repeated.

[0079] It is worth mentioning that, in the specific embodiments of this application, data related to audience gaze, etc., are not subject to identity verification or long-term storage when applied to specific products or technologies, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0080] In summary, this invention analyzes the viewing priority of each local area based on gaze tracking, analyzes visual reflection risk and brightness deviation based on real-time brightness data and brightness display range, obtains brightness adjustment direction factors, and comprehensively determines the target brightness. This allows brightness adjustment to consider the viewing state while taking into account the actual reflection and insufficient brightness effects for reasonable adjustment, improving the stability and suitability of spatial dynamic light and shadow adjustment. Simultaneously, by combining the lighting contribution matrix and using the target brightness as the optimization tracking target, it introduces brightness over-limit penalties for all local areas to solve the luminaire dimming control parameters. While adjusting locally, it considers the constraints of the luminaire's own suitable brightness range, improving the display effect of dynamic light and shadow adjustment. This invention combines visual gaze and the reflection brightness state of each local area to comprehensively determine the target brightness of the area, while considering the regional interference effects of multiple luminaires for constraint adjustment. It dynamically adapts to the viewing viewpoint while ensuring the brightness requirements of each area, balancing viewing needs and the display effect of the artwork.

[0081] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments.

Claims

1. A method for dynamically adjusting the light and shadow of artworks based on human visual perception, characterized in that, The method includes: Divide the artwork into different local areas and establish corresponding standard display files, and mark the lighting contribution matrix of the lighting fixtures to the local areas; the standard display files include the brightness display range and static brightness constraint information of each local area; Acquire viewer eye-tracking data and real-time brightness data of the artwork surface, and map the eye-tracking data to each local area to determine the gaze point; The viewing priority of each local area is determined based on the degree to which the gaze lingers in each local area and the static brightness constraint information. Based on the real-time brightness data and brightness display range, the visual glare risk and brightness deviation status are analyzed to obtain the brightness control direction factor for each local area; By combining the viewing priority and brightness adjustment direction factor of each local area, the current target brightness of each local area is determined; based on the lighting contribution matrix, the target brightness of each local area is used as the optimization tracking target, and a brightness over-limit penalty for all local areas is introduced to determine the dimming control parameters of each lamp and perform brightness adjustment.

2. The method for dynamic light and shadow adjustment of artworks based on human visual perception as described in claim 1, characterized in that, The method for determining the gaze point includes: Eye tracking data includes the eye origin, eye direction vector, and eye tracking confidence. After transforming the origin of the line of sight and the direction vector of the line of sight to the planar coordinate system of the artwork, a line of sight ray is formed based on the origin of the line of sight and the direction vector of the line of sight; the intersection point of the line of sight ray and the plane of the artwork is determined to obtain the preliminary coordinates of the landing point; When the angle between the line of sight ray corresponding to the initial landing point coordinates and the plane of the artwork is greater than the preset parallel judgment threshold, the initial landing point coordinates are taken as the gaze landing point.

3. The method for dynamic light and shadow adjustment of artworks based on human visual perception as described in claim 1, characterized in that, The method for obtaining the viewing priority includes: Take any local area as the target local area, and accumulate the duration for which the gaze point falls into the target local area within a preset sliding time window. Use the ratio of the duration to the total duration of the sliding time window as the real-time attention value. Static curatorial level values ​​are extracted from the static brightness constraint information; saliency detection is performed on the standard image of the artwork to obtain the static visual saliency prior value; The viewing priority is obtained by weighting and summing the real-time attention value, the static curatorial level value, and the static visual saliency prior value.

4. The method for dynamic light and shadow adjustment of artworks based on human visual perception as described in claim 1, characterized in that, The method for obtaining the brightness control direction factor includes: Based on static brightness constraint information and brightness characteristics, the visual reflectivity risk value of each local area is obtained; For any local area, when the visual reflection risk value is higher than or equal to the preset reflection judgment threshold, the visual reflection risk value of the local area is taken as a negative value and used as the brightness adjustment direction factor. When the visual reflection risk value is lower than the reflection judgment threshold, and the real-time brightness data of the local area exceeds the upper limit of the brightness display range, the brightness control direction factor is obtained by taking the negative value of the proportion of the real-time brightness data of the local area that is higher than the upper limit of the brightness display range. When the visual reflection risk value is lower than the reflection judgment threshold and the real-time brightness data of the local area does not exceed the upper limit of the brightness display range, the contrast deviation value of the local area is obtained. If the contrast deviation value exceeds the preset deviation judgment threshold, the brightness adjustment direction factor is obtained based on the visual reflection risk value and the contrast deviation value. Otherwise, set the brightness adjustment direction factor to zero.

5. The method for dynamic light and shadow adjustment of artworks based on human visual perception according to claim 4, characterized in that, The method for obtaining the visual reflectivity risk value includes: Extract brightness response data of local areas under multiple preset viewing angles from static brightness constraint information; match risk angles based on the gaze point within the local area. Based on the deviation between real-time brightness data and corresponding brightness response data from a risk perspective, the visual glare risk value of a local area is obtained.

6. The method for dynamic light and shadow adjustment of artworks based on human visual perception according to claim 4, characterized in that, The method for obtaining the comparison bias value includes: Obtain the contrast of the local area; use the proportion of the local area whose contrast is lower than the preset visible contrast threshold as the contrast bias value of the local area.

7. The method for dynamic light and shadow adjustment of artworks based on human visual perception as described in claim 4, characterized in that, The process of obtaining the brightness adjustment direction factor based on the visual glare risk value and contrast bias value includes: The difference between the preset high-risk reflectivity value and the visual reflectivity risk value is used as the reflectivity adjustment factor; the product of the reflectivity adjustment factor and the contrast bias value is used as the brightness control direction factor.

8. The method for dynamic light and shadow adjustment of artworks based on human visual perception as described in claim 1, characterized in that, The method for determining the target brightness includes: For any local area, if the brightness control direction factor of the local area is greater than or equal to zero, the difference between the upper limit of the brightness display range of the local area and the real-time brightness data is used as the brightness boundary deviation; otherwise, the difference between the real-time brightness data and the lower limit of the brightness display range is used as the brightness boundary deviation. The brightness adjustment degree is obtained by combining the brightness adjustment direction factor, viewing priority, and brightness boundary deviation of the local area; the sum of the brightness adjustment degree and the real-time brightness data is used as the target brightness.

9. The method for dynamic light and shadow adjustment of artworks based on human visual perception as described in claim 1, characterized in that, The method for obtaining the dimming control parameters includes: The dimming increment of each lamp is taken as the variable to be optimized; Based on the dimming increment of each lamp and the lighting contribution matrix, the predicted brightness change of each local area is determined, and the predicted brightness of each local area is obtained by combining the real-time brightness data. The squared error between the predicted brightness of each local area and the corresponding target brightness is summed by viewing priority and used as the target brightness tracking cost. The sum of the squares of the out-of-bounds amounts of the predicted brightness of each local area relative to the brightness display range is used as the out-of-bounds penalty cost; The sum of squares of the dimming increments of each lamp is used as the cost of smoothing and suppression. The sum of the target brightness tracking cost, the out-of-bounds penalty cost, and the smoothing suppression cost is used as the overall objective function. The dimming increment of each lamp is obtained by minimizing the overall objective function, and the dimming control parameters are determined.

10. The method for dynamic light and shadow adjustment of artworks based on visual human eye perception according to claim 9, characterized in that, The method for obtaining the out-of-bounds amount includes: If the predicted brightness of each local area is not within the corresponding brightness display range, the difference between the predicted brightness and the nearest boundary value of the brightness display range is used as the numerator, and the range of the brightness display range is used as the denominator to obtain the out-of-bounds amount; otherwise, the out-of-bounds amount is set to zero.