CN114494874A - Atmosphere lamp control method and device and computer readable storage medium - Google Patents

Atmosphere lamp control method and device and computer readable storage medium Download PDF

Info

Publication number
CN114494874A
CN114494874A CN202210101608.8A CN202210101608A CN114494874A CN 114494874 A CN114494874 A CN 114494874A CN 202210101608 A CN202210101608 A CN 202210101608A CN 114494874 A CN114494874 A CN 114494874A
Authority
CN
China
Prior art keywords
light
emitting
light source
effect parameter
optical fiber
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210101608.8A
Other languages
Chinese (zh)
Inventor
黄光卫
姚其
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Rebo Lighting & Electronics Co ltd
Fudan University
Original Assignee
Chongqing Rebo Lighting & Electronics Co ltd
Fudan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Rebo Lighting & Electronics Co ltd, Fudan University filed Critical Chongqing Rebo Lighting & Electronics Co ltd
Priority to CN202210101608.8A priority Critical patent/CN114494874A/en
Publication of CN114494874A publication Critical patent/CN114494874A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • H05B47/12Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides an atmosphere lamp control method, an atmosphere lamp control device and a computer readable storage medium, wherein the method comprises the following steps: converting the atmosphere lamp effect indication data into a plurality of single-frame static images corresponding to different lighting periods; respectively extracting image characteristic information of each single-frame static image, and mapping a first luminous effect parameter of the optical fiber which changes along with a domain; acquiring a second light-emitting effect parameter of the optical fiber by adopting light source spectrum information and combining a light attenuation function and a color synthesis function; matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a control function changing along with the time domain; the light source is controlled with reference to a control function that varies with time domain. By implementing the scheme, the light source is controlled to emit light at any time domain, and the change effect of the full-color atmosphere lamp can be formed; adjusting the light source spectrum to simulate the full-spectrum light source effect to form a functional lighting use light source; the light source control function can be adaptively generated through environment signal perception to control light emission, and diversified lighting effects are guaranteed.

Description

Atmosphere lamp control method and device and computer readable storage medium
Technical Field
The present application relates to the field of lighting control technologies, and in particular, to an ambience lamp control method and apparatus, and a computer-readable storage medium.
Background
Along with the popularization of automobiles, the importance of the vehicle-mounted atmosphere lamp is more and more emphasized, and especially in the night driving process, the proper atmosphere lamp light can effectively reduce the visual fatigue of a driver and reduce the influence of other interference light on the driver, so that the driving safety is improved to a certain extent.
Traditional on-vehicle atmosphere lamp control system adopts the distributed scheme, has independent atmosphere lamp control unit, can provide better light effect for the user. However, the light effect of the existing vehicle-mounted atmosphere lamp is single, and different requirements of different users on the atmosphere lamp cannot be met, so that the user experience is not good.
Disclosure of Invention
The embodiment of the application provides an atmosphere lamp control method and device and a computer readable storage medium, and at least the problem that the light effect of an atmosphere lamp in the related art is single can be solved.
The first aspect of the embodiment of the application provides an atmosphere lamp control method, which is applied to a side-emitting optical fiber with an end provided with a multi-photochromic adjustable light source, and the atmosphere lamp control method comprises the following steps:
converting the atmosphere lamp effect indication data into a plurality of single-frame static images corresponding to different lighting periods; wherein the atmosphere light effect indicating data comprises environment perception data and atmosphere light effect reference data;
respectively extracting image characteristic information of each single-frame static image, and mapping a first luminous effect parameter of an optical fiber changing along with a time domain based on the image characteristic information; wherein the luminous effect parameters comprise light intensity and chromaticity;
acquiring a second light-emitting effect parameter of the optical fiber by adopting the spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function;
matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a time-domain change control function of the multi-color adjustable light source;
and controlling the multi-light-color tunable light source by referring to the time-domain variation-dependent control function.
The second aspect of the embodiment of the present application provides an atmosphere lamp control device, is applied to the side-emitting optical fiber that the end is provided with the adjustable light source of many photochromic, atmosphere lamp control device includes:
the conversion module is used for converting the atmosphere lamp effect indication data into a plurality of single-frame static images corresponding to different lighting periods; wherein the atmosphere light effect indicating data comprises environment perception data and atmosphere light effect reference data;
the mapping module is used for respectively extracting image characteristic information of each single-frame static image and mapping a first luminous effect parameter of an optical fiber changing along with a time domain on the basis of the image characteristic information; wherein the luminous effect parameters comprise light intensity and chromaticity;
the acquisition module is used for acquiring a second light-emitting effect parameter of the optical fiber by adopting the spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function;
the matching module is used for matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a control function of the multi-color adjustable light source, which changes along with the time domain;
and the control module is used for controlling the multi-light-color adjustable light source by referring to the control function changing along with the time domain.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the device comprises a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the steps of the atmosphere lamp control method provided in the first aspect of the embodiments of the present application when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the atmosphere lamp control method provided in the first aspect of the embodiments of the present application.
As can be seen from the above, according to the atmosphere lamp control method, device and computer-readable storage medium provided in the present application, the atmosphere lamp effect indication data is converted into a plurality of single-frame static images corresponding to different lighting periods; respectively extracting image characteristic information of each single-frame static image, and mapping a first luminous effect parameter of the optical fiber changing along with a time domain based on the image characteristic information; acquiring a second light-emitting effect parameter of the optical fiber by adopting spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function; matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a time domain change control function of the multi-light color adjustable light source; and controlling the multi-light-color adjustable light source by referring to the control function changing along with the time domain. By implementing the scheme, the light source is controlled to emit light at any time domain, so that the change effect of the full-color atmosphere lamp can be formed; the light source spectrum composition is adjusted to simulate the full spectrum light source effect, and a functional lighting use light source is formed; the light source control function can be adaptively generated through environment signal perception to control light emission, and more diversified light effects are guaranteed.
Drawings
FIG. 1 is a schematic view of an optical fiber according to a first embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of an atmosphere lamp control method according to a first embodiment of the present application;
FIG. 3 is a schematic view of an overall optical fiber light distribution provided in the first embodiment of the present application;
FIG. 4 is a schematic view of another overall optical fiber light distribution provided in the first embodiment of the present application;
FIG. 5 is a schematic diagram of a program module of an ambience lamp control device according to a second embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the problem that the light effect of an atmosphere lamp in the related art is relatively single, a first embodiment of the present application provides an atmosphere lamp control method, which is specifically applied to a side-emitting optical fiber having an end provided with multiple light color adjustable light sources, and the atmosphere lamp is implemented by using an optical fiber, as shown in fig. 1, the optical fiber structure diagram provided in this embodiment is shown.
Fig. 2 is a schematic flow diagram of an atmosphere lamp control method provided in this embodiment, where the atmosphere lamp control method includes the following steps:
step 201, converting the atmosphere light effect indication data into a plurality of single-frame static images corresponding to different lighting periods.
Specifically, the atmosphere light effect indication data of the embodiment includes environment perception data and atmosphere light effect reference data. In practical applications, the environmental audio signal may be converted into a plurality of single-frame still images corresponding to different lighting periods according to sound frequency and/or amplitude information of the environmental audio signal; additionally, the mood light effect indication data may be a dynamic image (e.g., a water flow dynamic image), a video, or the like.
Step 202, respectively extracting image characteristic information of each single-frame static image, and mapping a first light-emitting effect parameter of the optical fiber changing along with a time domain based on the image characteristic information.
Specifically, the light-emitting effect parameters of the present embodiment include light intensity and chromaticity. In practical application, light-emitting effect information such as light intensity and chromaticity of a single-frame static image is extracted and mapped to each part of an optical fiber, and a time dimension mapping effect is obtained.
In some embodiments of this embodiment, the step of extracting the image feature information of each single frame of still image includes: equally dividing each light-emitting period into a plurality of variation periods; respectively aiming at the single-frame static image corresponding to each light-emitting time interval, acquiring multi-frame static images corresponding to a plurality of change time intervals; and respectively extracting image characteristic information corresponding to the multiple frames of static images.
Specifically, in this embodiment, in order to achieve a more realistic lighting effect of the atmosphere lamp, each lighting period may be further subdivided into a plurality of variation periods, taking a single lighting period as 1 second as an example, 1 second may be divided into 20 variation periods, and then a lighting effect of one frame is subsequently fitted through a plurality of static images of a single period.
And 203, acquiring a second light-emitting effect parameter of the optical fiber by adopting the spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function.
Specifically, in this embodiment, parameter fitting is performed through a light attenuation function and a color synthesis function to form a control function of the multi-light source changing along with the time domain, that is, corresponding light intensity and chromaticity can be obtained according to spectral information emitted by the optical fiber, the light intensity information is input to the light attenuation function to obtain the light intensity attenuated in the length direction of the optical fiber, then the chromaticity information is synthesized through the color synthesis function to obtain the chromaticity at each position in the length direction of the optical fiber, and the light intensity obtained through the light attenuation function and the chromaticity obtained through the color synthesis function constitute a second light emission effect parameter.
In this embodiment, the light attenuation function can be expressed as: i ═ I0·e-a·dWherein I represents the intensity of light after attenuation, I0Denotes initial light intensity, e denotes a natural constant, d denotes light penetration depth, and a denotes light absorption coefficient. In practical applications, the coefficients in the formula can be influenced according to the density of the optical fiber and the corresponding material and optical characteristics of the side emission.
Further, it is considered that the physical properties of the optical fiber in practical use are influenced by the manufacturing processThe present embodiment may take the consideration of the physical properties of the optical fiber into consideration in the optical attenuation function to eliminate the error introduced by the physical properties of the optical fiber and improve the accuracy of the optical attenuation function, and accordingly, the optical attenuation function of the present embodiment may also be expressed as: i ═ k · I0·e-a·dWherein I represents the light intensity after attenuation, k represents the modification coefficient of the physical property of the optical fiber, and I0Denotes initial light intensity, e denotes a natural constant, d denotes light penetration depth, and a denotes light absorption coefficient. It should be understood that the optical fiber physical property correction coefficient of the present embodiment may include one or more of an optical fiber material characteristic correction coefficient, an optical fiber structure characteristic correction coefficient, and the like, and when the optical fiber physical property correction coefficient takes into consideration a plurality of different types of coefficients at the same time, it may be expressed as k ═ α k1+βk2+…γknWherein k is1,k2…knThe correction coefficients of the physical properties of the optical fibers of different types are respectively expressed, and alpha and beta … gamma respectively express the weighting coefficients corresponding to the correction coefficients of the physical properties of the optical fibers of different types.
It should also be noted that the color composition function of the present embodiment is a CIE colorimetry system, such as the CIE1931 colorimetry system.
And 204, matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a time-domain change control function of the multi-color adjustable light source.
Specifically, in this embodiment, the obtained second light-emitting effect parameter may be matched with the first light-emitting effect parameter by using a least square method or other computer algorithms, so as to control an error, and form a single-frame simulation effect control parameter.
In an optional implementation manner of this embodiment, the step of matching the second light-emitting effect parameter with the first light-emitting effect parameter includes: selecting part of first luminous effect parameters from all the first luminous effect parameters according to preset parameter characteristics; and matching the second light-emitting effect parameter with part of the first light-emitting effect parameters.
Specifically, in practical application, all the first light-emitting effect parameters can be matched, however, in consideration of the fact that the data volume is large and all the data can not guarantee high effectiveness, in this embodiment, only part of the characteristic parameters are selected from all the first light-emitting effect parameters to be matched, the characteristic parameters can form effective reference for light-emitting control, and the data volume processed by the light-emitting control is reduced while the accuracy of the light-emitting control is guaranteed.
And step 205, controlling the multi-light-color adjustable light source by referring to the control function changing along with the time domain.
Specifically, in practical application, the light source light emission control of this embodiment may be single-ended control of a multi-light-color tunable light source at one end of an optical fiber, or double-ended control of a multi-light-color tunable light source at two ends of an optical fiber at the same time, where light mixing at two ends can form a differentiated light mixing change effect in the optical fiber, so as to further enrich the diversity of the light emission effect of the optical fiber, as shown in fig. 3, an overall optical fiber light distribution diagram provided by this embodiment corresponds to an application scenario where light intensities at two ends (i.e., an end a and an end B) of the optical fiber are consistent, as shown in fig. 4, another overall optical fiber light distribution diagram provided by this embodiment corresponds to an application scenario where light intensities at two ends of the optical fiber are inconsistent. Based on the double-end multi-color light source of this embodiment, through time domain control intensity, can form full-color atmosphere lamp and change the effect.
Further, in an optional implementation manner of this embodiment, after the step of controlling the multi-light-color tunable light source by referring to the time-domain-varying control function, the method further includes: acquiring actual light-emitting effect parameters of the optical fibers; the actual lighting effect parameter is compared with the expected lighting effect parameter.
Correspondingly, when the actual light-emitting effect parameter exceeds the preset error range, the equal number of the light-emitting periods is increased, and then the step of equally dividing each light-emitting period into a plurality of variation periods is executed.
Specifically, in practical application, the actual light emitting effect of the optical fiber may be unexpected when the light emitting control is performed according to the control logic, so that in order to improve the light emitting effect, a single frame of static image may be divided into more frames of static images, so as to simulate the single frame effect, and then a corresponding control function changing along with a time domain is regenerated, and the light emitting control is performed again, so as to implement dynamic correction of the light emitting effect of the optical fiber.
The present embodiment is described by taking a dynamic effect of simulating water flow as an example, different frame presentation effects in a dynamic region may be formed first, each frame effect is mapped to a corresponding length portion of an optical fiber (i.e., an optical fiber portion in a different distance interval with respect to a light source in a length direction), light intensity and chromaticity characteristic information that changes with time domain is extracted, and then a light color synthesis effect of the light sources at two ends of the optical fiber is adjusted to form a light emitting effect that changes regularly with time in a water color interval. It should be noted that the present embodiment forms a multi-frame variation effect in a single period (for example, 1 second) for each frame of water flow information, for example, divides 1 second into 20 variation periods, controls the light emission intensity, fits one frame of water flow image information, and forms a more realistic light emission effect as much as possible.
Based on the technical scheme of the embodiment of the application, the atmosphere lamp effect indication data are converted into a plurality of single-frame static images corresponding to different lighting periods; respectively extracting image characteristic information of each single-frame static image, and mapping a first luminous effect parameter of the optical fiber changing along with a time domain based on the image characteristic information; acquiring a second light-emitting effect parameter of the optical fiber by adopting spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function; matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a time domain change control function of the multi-light color adjustable light source; and controlling the multi-light-color adjustable light source by referring to the control function changing along with the time domain. By implementing the scheme, the light source is controlled to emit light at any time domain, so that the change effect of the full-color atmosphere lamp can be formed; the light source spectrum composition is adjusted to simulate the full spectrum light source effect, and a functional lighting use light source is formed; the light source control function can be adaptively generated through environment signal perception to control light emission, and more diversified light effects are guaranteed.
Fig. 5 is a schematic diagram of an ambience lamp control device according to a second embodiment of the present application. The atmosphere lamp control device is applied to a side-emitting optical fiber with a multi-light color adjustable light source arranged at the end. As shown in fig. 5, the atmosphere lamp control device mainly includes:
a conversion module 501, configured to convert the atmosphere light effect indication data into multiple single-frame static images corresponding to different lighting periods; the atmosphere light effect indicating data comprise environment perception data and atmosphere light effect reference data;
the mapping module 502 is configured to extract image feature information of each single-frame static image, and map a first light-emitting effect parameter of an optical fiber changing along with a time domain based on the image feature information; wherein the luminous effect parameters comprise light intensity and chromaticity;
an obtaining module 503, configured to obtain a second light emitting effect parameter of the optical fiber by using spectral information of the multi-light-color tunable light source and combining a preset light attenuation function and a preset color synthesis function;
a matching module 504, configured to match the second light-emitting effect parameter with the first light-emitting effect parameter, so as to obtain a time-domain variation control function of the multi-color adjustable light source;
and a control module 505, configured to control the multi-light-color tunable light source with reference to a control function varying with time domain.
In some embodiments of this embodiment, the matching module is specifically configured to: selecting part of first luminous effect parameters from all the first luminous effect parameters according to preset parameter characteristics; and matching the second light-emitting effect parameter with part of the first light-emitting effect parameters.
In some embodiments of this embodiment, when performing the extraction of the image feature information of each single-frame still image, the mapping module is specifically configured to: equally dividing each light-emitting period into a plurality of variation periods; respectively aiming at the single-frame static image corresponding to each light-emitting time interval, acquiring multi-frame static images corresponding to a plurality of change time intervals; and respectively extracting image characteristic information corresponding to the multiple frames of static images.
In some embodiments of this embodiment, the ambience light control device further comprises: the adjusting module is used for acquiring the actual light-emitting effect parameters of the optical fibers; and comparing the actual light-emitting effect parameter with the expected light-emitting effect parameter, and increasing the equal number of the light-emitting time interval when the actual light-emitting effect parameter exceeds a preset error range. Thereafter, the re-triggering mapping module performs a function of equally dividing each light emitting period into a plurality of varying periods.
It should be noted that the atmosphere lamp control method in the first embodiment can be implemented based on the atmosphere lamp control device provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the atmosphere lamp control device described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
According to the atmosphere lamp control device provided by the embodiment, atmosphere lamp effect indication data is converted into a plurality of single-frame static images corresponding to different lighting periods; respectively extracting image characteristic information of each single-frame static image, and mapping a first luminous effect parameter of the optical fiber changing along with a time domain based on the image characteristic information; acquiring a second light-emitting effect parameter of the optical fiber by adopting spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function; matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a time domain change control function of the multi-light color adjustable light source; and controlling the multi-light-color adjustable light source by referring to the control function changing along with the time domain. By implementing the scheme, the light source is controlled to emit light at any time domain, so that the change effect of the full-color atmosphere lamp can be formed; the light source spectrum composition is adjusted to simulate the full spectrum light source effect, and a functional lighting use light source is formed; the light source control function can be adaptively generated through environmental signal perception to control light emission, and more diversified light effects are guaranteed.
Referring to fig. 6, fig. 6 is an electronic device according to a third embodiment of the present application. The electronic device may be used to implement the ambience lamp control method in the aforementioned embodiments. As shown in fig. 6, the electronic device mainly includes:
memory 601, processor 602, bus 603, and computer programs stored on memory 601 and executable on processor 602, memory 601 and processor 602 connected by bus 603. The processor 602, when executing the computer program, implements the ambience light control method in the previously described embodiments. Wherein the number of processors may be one or more.
The Memory 601 may be a high-speed Random Access Memory (RAM) Memory, or a non-volatile Memory (non-volatile Memory), such as a disk Memory. A memory 601 is used to store executable program code and a processor 602 is coupled to the memory 601.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 6.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the ambience lamp control method in the aforementioned embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the method, apparatus and computer-readable storage medium for controlling ambience lamps provided by the present application, those skilled in the art will appreciate that the concepts of the embodiments of the present application may be varied in the specific implementation and application scope, and in summary, the content of the present application should not be construed as limiting the present application.

Claims (10)

1. The atmosphere lamp control method is characterized by being applied to a side-emitting optical fiber with an end provided with a multi-photochromic adjustable light source, and comprises the following steps:
converting the atmosphere lamp effect indication data into a plurality of single-frame static images corresponding to different lighting periods; wherein the atmosphere light effect indicating data comprises environment perception data and atmosphere light effect reference data;
respectively extracting image characteristic information of each single-frame static image, and mapping a first luminous effect parameter of an optical fiber changing along with a time domain based on the image characteristic information; wherein the luminous effect parameters comprise light intensity and chromaticity;
acquiring a second light-emitting effect parameter of the optical fiber by adopting the spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function;
matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a time-domain change control function of the multi-color adjustable light source;
and controlling the multi-light-color tunable light source by referring to the time-domain variation-dependent control function.
2. An ambience lamp control method according to claim 1, wherein the light attenuation function is expressed as: i ═ k · I0·e-a·dWherein, the I represents the light intensity after attenuation, the k represents the modification coefficient of the physical property of the optical fiber, and the I0Representing an initial light intensity, e representing a natural constant, d representing a light penetration depth, and a representing a light absorption coefficient;
the color synthesis function is the CIE colorimetry system.
3. The ambience lamp control method according to claim 1, wherein the step of matching the second light emission effect parameter with the first light emission effect parameter comprises:
selecting part of first luminous effect parameters from all the first luminous effect parameters according to preset parameter characteristics;
and matching the second light-emitting effect parameter with the part of the first light-emitting effect parameters.
4. The ambience lamp control method according to claim 1, wherein the step of separately extracting image feature information of each of the single-frame still images includes:
equally dividing each of the light emitting periods into a plurality of variation periods;
respectively aiming at the single-frame static image corresponding to each light-emitting time interval, acquiring multiple frames of static images corresponding to a plurality of change time intervals;
and respectively extracting the image characteristic information corresponding to the multiple frames of static images.
5. The ambience lamp control method according to claim 4, wherein the step of controlling the multi-light color tunable light source with reference to the time-varying control function further comprises:
acquiring actual luminous effect parameters of the optical fibers;
comparing the actual lighting effect parameter with an expected lighting effect parameter;
and when the actual light-emitting effect parameter exceeds a preset error range, increasing the equal number of the light-emitting periods, and then returning to the step of equally dividing each light-emitting period into a plurality of variation periods.
6. The utility model provides an atmosphere lamp controlling means which characterized in that is applied to the end and is provided with the side-emitting formula optic fibre of the adjustable light source of many photochromic, atmosphere lamp controlling means includes:
the conversion module is used for converting the atmosphere lamp effect indication data into a plurality of single-frame static images corresponding to different lighting periods; wherein the atmosphere light effect indicating data comprises environment perception data and atmosphere light effect reference data;
the mapping module is used for respectively extracting image characteristic information of each single-frame static image and mapping a first luminous effect parameter of an optical fiber changing along with a time domain on the basis of the image characteristic information; wherein the luminous effect parameters comprise light intensity and chromaticity;
the acquisition module is used for acquiring a second light-emitting effect parameter of the optical fiber by adopting the spectral information of the multi-light-color adjustable light source and combining a preset light attenuation function and a preset color synthesis function;
the matching module is used for matching the second light-emitting effect parameter with the first light-emitting effect parameter to obtain a control function of the multi-color adjustable light source, which changes along with the time domain;
and the control module is used for controlling the multi-light-color adjustable light source by referring to the control function changing along with the time domain.
7. An ambience lamp control method according to claim 6, wherein the light attenuation function is expressed as: i ═ k · I0·e-a·dWherein, the I represents the light intensity after attenuation, the k represents the modification coefficient of the physical property of the optical fiber, and the I0Representing an initial light intensity, e representing a natural constant, d representing a light penetration depth, and a representing a light absorption coefficient;
the color synthesis function is the CIE colorimetry system.
8. The ambience lamp control method according to claim 6, wherein the mapping module, when performing the extracting of the image feature information of each of the single-frame still images, is specifically configured to: equally dividing each of the light emitting periods into a plurality of variation periods; respectively aiming at the single-frame static image corresponding to each light-emitting time interval, acquiring multi-frame static images corresponding to a plurality of change time intervals; and respectively extracting the image characteristic information corresponding to the multiple frames of static images.
9. An electronic device, comprising: a memory, a processor, and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is configured to execute a computer program stored on the memory;
the processor, when executing the computer program, performs the steps of the method of any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202210101608.8A 2022-01-27 2022-01-27 Atmosphere lamp control method and device and computer readable storage medium Pending CN114494874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210101608.8A CN114494874A (en) 2022-01-27 2022-01-27 Atmosphere lamp control method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210101608.8A CN114494874A (en) 2022-01-27 2022-01-27 Atmosphere lamp control method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114494874A true CN114494874A (en) 2022-05-13

Family

ID=81475883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210101608.8A Pending CN114494874A (en) 2022-01-27 2022-01-27 Atmosphere lamp control method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114494874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117528872A (en) * 2024-01-04 2024-02-06 深圳瑞利声学技术股份有限公司 Light signal rhythm control method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117528872A (en) * 2024-01-04 2024-02-06 深圳瑞利声学技术股份有限公司 Light signal rhythm control method, device, equipment and storage medium
CN117528872B (en) * 2024-01-04 2024-03-29 深圳瑞利声学技术股份有限公司 Light signal rhythm control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
Glassner Principles of digital image synthesis
CN107889323B (en) Control method and device for light display
EP2207339B1 (en) System and method for monochromatic tinting using saturation maps
CN103339944B (en) Color monitor performs the system and method that the color of pixel adjusts
CN111080806B (en) Mapping processing method and device, electronic equipment and storage medium
CN109887066B (en) Lighting effect processing method and device, electronic equipment and storage medium
CN114494874A (en) Atmosphere lamp control method and device and computer readable storage medium
CN102082954A (en) Image processing apparatus, image processing method and program
CN107134272A (en) A kind of control method of screen display, system and computer-processing equipment
CN1906952A (en) Ambient light derived form video content by mapping transformations through unrendered color space
KR20130141920A (en) System and method for converting color gamut
CN110400254A (en) A kind of lipstick examination cosmetic method and device
JP2021506001A (en) Improved high dynamic range video color remapping
KR20110083663A (en) Contrast enhancement of images
CN102896923B (en) Stereo-imprint method and stereo display panel
KR102534810B1 (en) Apparatus and method for adjusting color image in display device
CN105574920A (en) Texture map generating method, texture map generating device, texture synthesizing method and texture synthesizing device
CN108766364B (en) Image display processing method and device, display device and storage medium
CN101339740A (en) Intelligent big screen LED control system of high stability
CA2986150A1 (en) System and method for color retargeting
CN206136115U (en) Liquid crystal TV with environment lamp
CN113409465B (en) Hair model generation method and device, storage medium and electronic equipment
CN104156371A (en) Method and device for browsing images with hue changing along with musical scales
JP6742417B2 (en) Digital image processing method, associated device, terminal device and computer program
US8842913B2 (en) Saturation varying color space

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination