Search

CN-121996073-A - Spray lamplight integrated device and lamplight atmosphere effect generation method

CN121996073ACN 121996073 ACN121996073 ACN 121996073ACN-121996073-A

Abstract

The invention relates to the technical field of lamplight atmosphere, and discloses a lamplight atmosphere effect generation method, which comprises the following steps: generating an initial wave function according to the intensity field, carrying out deduction on the basis of the potential energy field to obtain a first wave function, carrying out intensity calculation and phase extraction from the first wave function to obtain a second wave function, and updating the direction field based on the second wave function to obtain an updated direction field to obtain an enhanced light flow field; according to the invention, three core advantages of lamplight atmosphere generation are realized, namely, firstly, the deep coupling of quantum optics and neuro-cognition is realized, the real human eye reaction is simulated through a phase sensitive light response model, and the cognition attention focusing mechanism of a DQN model is combined, so that lamplight atmosphere distribution accords with the quantum propagation rule and accords with the human visual cognition characteristic; secondly, a dynamic self-adaptive mechanism penetrates through the whole flow, and the photocurrent coefficient and the object motion data are adjusted in real time through the pupil diameter to feed back and update the optical flow field so as to ensure that the environment change can be responded quickly.

Inventors

  • LI RONGFENG

Assignees

  • 广州市丰艺舞台灯光设备有限公司

Dates

Publication Date
20260508
Application Date
20260124

Claims (10)

  1. 1. A method for generating a lighting atmosphere effect, the method comprising: S101, converting a scene space into a three-dimensional coordinate set, acquiring a light source parameter, combining the three-dimensional coordinate set, constructing an initial light flow field and generating a potential energy field, wherein the light flow field comprises an intensity field, a color field and a direction field; S102, generating an initial wave function according to an intensity field, carrying out deduction on the basis of a potential energy field to obtain a first wave function, carrying out intensity calculation and phase extraction from the first wave function to obtain a second wave function, and updating a direction field based on the second wave function to obtain an updated direction field to obtain an enhanced light flow field; S103, outputting a response signal by adopting a phase sensitive photosensitive response model, capturing eye gazing tracks, designing a reward function, obtaining main weights, extracting an intensity time sequence from intensity calculation, simulating to obtain visual signals, calculating weights according to the main weights and the visual signals, and outputting lamplight atmosphere; And S104, acquiring object motion data, carrying out interference calculation by combining the enhanced optical flow field, updating the enhanced optical flow field according to an interference calculation result, and feeding back to the S102.
  2. 2. The lighting atmosphere effect generation method according to claim 1, wherein the acquiring the light source parameters and combining the three-dimensional coordinate set to construct an initial light flow field and generate a potential energy field comprises: The light source parameters include wavelength, initial intensity and color temperature; Based on Generating an intensity field, wherein: For the amplitude of the noise to be the same, Represents the noise frequency, S represents the noise seed value, Representing the coordinates; And mapping the color temperature to an RGB space to obtain a color field, and carrying out normalization processing on vectors from the light source to space points to obtain a direction field.
  3. 3. The lighting atmosphere effect generation method according to claim 2, wherein the deduction is performed on the basis of a potential energy field, comprising: defining a center differential approximate expression of the Laplacian based on the three-dimensional coordinate set to obtain a basic matrix, wherein the expression is as follows: Wherein i, j and k represent grid indexes, x, y and z are corresponding space points, The value of the wave function at the grid point is represented, Represents grid spacing in x, y, z directions; based on an initial wave function And potential energy field The calculation equation is applied: Wherein: is the time step; and finishing the calculation equation to obtain a linear equation set: Wherein: Representing the identity matrix of the cell, Representing a calculation matrix, m representing the equivalent photon mass, Then an reduced planck constant is represented and i represents an imaginary unit; Coefficient matrix of linear equation set Right end vector Iterating according to the linear equation set and the preprocessing matrix, setting a residual error threshold value and the maximum iteration number, and performing iterative solution to obtain a first wave function 。
  4. 4. A lighting atmosphere effect generation method according to claim 3 and characterized in that said intensity calculation and phase extraction from the first wave function comprises: Calculating the square of a first wave function mode to obtain a new intensity field: Wherein: represents the complex conjugate number; The phase extraction comprises the steps of calculating the argument of a first wave function to obtain a phase field: Wherein: 、 representing the imaginary and real parts of the first wave function, respectively.
  5. 5. The method for generating a lighting atmosphere effect according to claim 4, wherein outputting a response signal using a phase-sensitive light response model comprises: According to the new intensity field and the new phase field, three-dimensional space gradient operation is respectively carried out, an intensity gradient field and a phase gradient field are calculated, the intensity gradient field, the phase gradient field and the photocurrent coefficient are input into a phase sensitive photoresponse model for calculation, photocurrent is obtained, and a calculation formula is: Wherein: indicating the photocurrent generated by the retina, For the photocurrent coefficient, Representing the magnitude of the light intensity gradient, Representing the phase gradient; And solving according to the photocurrent to obtain a membrane potential time sequence, respectively carrying out first-order response and second-order nonlinear response on the basis of the membrane potential time sequence, superposing the first-order response and the second-order nonlinear response, and outputting a response signal.
  6. 6. A light atmosphere effect generation method according to claim 1 and wherein said designing a bonus function comprises: calculating the light response difference of the local area based on the response signal, acquiring a scene semantic graph, and calculating semantic importance according to the scene semantic graph; The reward function is: ; Wherein: Representing a semantic segmentation entropy reduction amount, Indicating the rate of change of the pupil diameter, As a linear penalty term for the gaze point movement distance, 、 、 The corresponding weight is represented.
  7. 7. The lighting atmosphere effect generation method according to claim 1, wherein the specific step of obtaining the main weight includes: and combining the reward function and the DQN model to output initial weight, dynamically adjusting a filter kernel, and obtaining main weight after adjustment, wherein the dynamic adjustment filter kernel specifically comprises: Wherein: 、 the variance parameter is represented as a function of the variance parameter, Representation of The filtering weights at which the filtering weights are determined, Representing the normalization coefficient; Wherein the said 、 The adjustment formula of (2) is: Wherein: As the reference variance of the values of the reference variance, The initial weight is indicated as being indicative of the initial weight, To adjust the amplitude coefficient.
  8. 8. The spray light integrated device is used for realizing the light atmosphere effect generation method according to any one of claims 1 to 7, and comprises a light device (1) and is characterized by further comprising a control box (101) and a connecting rod (104), wherein an induction radar (103) is fixedly arranged at the center of the connecting rod (104), a photomask (106) for providing the light atmosphere is fixedly connected to the inside of the light device (1), a spray head (105) is fixedly connected to the bottom of the light device (1), a plurality of power boxes (102) are arranged in the light device (1), and the power boxes (102) are arrayed along the outer circumference at equal intervals; the control box (101) is internally provided with an initial optical flow module, an optical flow enhancing module, a lamplight atmosphere enhancing module and a feedback optimizing module; the initial optical flow module is used for converting a scene space into a three-dimensional coordinate set, acquiring light source parameters, combining the three-dimensional coordinate set, constructing an initial optical flow field and generating a potential energy field; The enhanced optical flow module is used for generating an initial wave function according to the intensity field, carrying out deduction on the basis of the potential energy field to obtain a first wave function, carrying out intensity calculation and phase extraction from the first wave function to obtain a second wave function, and updating the direction field based on the second wave function to obtain an updated direction field to obtain an enhanced optical flow field; the lamplight atmosphere module is used for outputting a response signal, capturing eye gazing tracks, designing a reward function, obtaining a main weight, extracting an intensity time sequence from intensity calculation, simulating the intensity time sequence to obtain a visual signal, calculating the weight according to the main weight and the visual signal, and outputting lamplight atmosphere; The feedback response module acquires object motion data, performs interference calculation by combining the enhanced optical flow field, updates the enhanced optical flow field according to an interference calculation result and feeds back the enhanced optical flow field to the enhanced optical flow module.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the light atmosphere effect generating method according to any one of claims 1 to 7 when executing the computer program.
  10. 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed, implements the light atmosphere effect generating method of any one of claims 1 to 7.

Description

Spray lamplight integrated device and lamplight atmosphere effect generation method Technical Field The invention relates to the technical field of lamplight atmosphere, in particular to a spray lamplight integrated device and a lamplight atmosphere effect generation method. Background The spray light integrated device is equipment combining a spray system and a light system, is generally used for occasions such as stage performance, theme activities or night landscape lighting, generates fine water mist through a spray technology, creates mysterious and fantasy atmosphere, combines light effects, and can enhance visual impact through different color conversion and projection effects. The organic combination of spraying and lamplight not only can promote the whole artistic expression, but also can provide unique ornamental experience. The traditional lamplight atmosphere effect has a plurality of defects, interaction and feedback cannot be considered, so that flexibility and adaptability are lacked in practical application, and many traditional methods depend on static configuration and passive response modes, cannot adjust the lamplight effect in real time, and are difficult to adapt to environmental changes; in addition, the processing mode of single-mode rendering and simple superposition ensures that the synergistic effect between cross modes cannot be effectively utilized, and richer and diversified experiences are difficult to realize, so that the generated lamplight atmosphere is monotonous and has poor fitting degree with an actual scene. Disclosure of Invention In order to overcome the defects in the prior art, the embodiment of the invention provides a light atmosphere effect generation method. In order to achieve the above purpose, the present invention provides the following technical solutions: a first aspect provides a light atmosphere effect generation method, the method comprising: S101, converting a scene space into a three-dimensional coordinate set, acquiring a light source parameter, combining the three-dimensional coordinate set, constructing an initial light flow field and generating a potential energy field, wherein the light flow field comprises an intensity field, a color field and a direction field; S102, generating an initial wave function according to an intensity field, carrying out deduction on the basis of a potential energy field to obtain a first wave function, carrying out intensity calculation and phase extraction from the first wave function to obtain a second wave function, and updating a direction field based on the second wave function to obtain an updated direction field to obtain an enhanced light flow field; S103, outputting a response signal by adopting a phase sensitive photosensitive response model, capturing eye gazing tracks, designing a reward function, obtaining main weights, extracting an intensity time sequence from intensity calculation, simulating to obtain visual signals, calculating weights according to the main weights and the visual signals, and outputting lamplight atmosphere; And S104, acquiring object motion data, carrying out interference calculation by combining the enhanced optical flow field, updating the enhanced optical flow field according to an interference calculation result, and feeding back to the S102. Further, the acquiring the light source parameters and combining the three-dimensional coordinate set to construct an initial light flow field and generate a potential energy field comprises the following steps: The light source parameters include wavelength, initial intensity and color temperature; Based on Generating an intensity field, wherein: For the amplitude of the noise to be the same, Represents the noise frequency, S represents the noise seed value,Representing the coordinates; And mapping the color temperature to an RGB space to obtain a color field, and carrying out normalization processing on vectors from the light source to space points to obtain a direction field. Further, the deduction is performed on the basis of the potential energy field, including: defining a center differential approximate expression of the Laplacian based on the three-dimensional coordinate set to obtain a basic matrix, wherein the expression is as follows: Wherein i, j and k represent grid indexes, x, y and z are corresponding space points, The value of the wave function at the grid point is represented,Represents grid spacing in x, y, z directions; based on an initial wave function And potential energy fieldThe calculation equation is applied: Wherein: is the time step; and finishing the calculation equation to obtain a linear equation set: Wherein: Representing the identity matrix of the cell, Representing a calculation matrix, m representing the equivalent photon mass,Then an reduced planck constant is represented and i represents an imaginary unit; Coefficient matrix of linear equation set Right end vector Iterating according to the linear equ