Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
The first embodiment:
in order to solve the problem of lack of effective evaluation on the performance of the multispectral light source in the related art, the present embodiment provides a light source performance characterization method, which is applied to a lighting device provided with a multispectral light source, where different spectral light sources may be monochromatic spectral light sources or mixed spectral light sources, as shown in fig. 1, a basic flow diagram of the light source performance characterization method provided in the present embodiment is provided, and the light source performance characterization method provided in the present embodiment includes the following steps:
step 101, receiving an image of an illumination environment captured by an imaging device based on a communication connection with the imaging device.
Specifically, the imaging device of this embodiment may be an imaging component configured by the lighting device itself, or may be a terminal device such as an external mobile phone. In this embodiment, the base image for light source performance characterization is an image taken for an environment illuminated by the illumination device.
And 102, obtaining a chromatic value and a photometric value corresponding to each pixel point of the illumination environment image.
In this embodiment, the pixel information of each pixel point of the illumination environment image is associated with the chromaticity information and the luminosity information corresponding to each spectral channel of the multispectral light source.
In an optional implementation manner of this embodiment, before the step of obtaining the chromatic value and the photometric value corresponding to each pixel point of the illumination environment image, the method further includes: acquiring chromatic values and photometric values of reference pixel points on the illumination environment image; and correcting all pixel points on the image of the illumination environment according to the chromatic value and the photometric value of the reference pixel point.
Specifically, after the lighting scene image is obtained through shooting, calibration is performed according to luminosity and chromaticity formed by the reference point (namely, the point of interest), and then the result of each lighting pixel point of the whole shooting scene is calibrated, so that image parameter correction is performed, and the accuracy of the performance characterization result is improved.
And 103, performing visual representation on the performance evaluation value of the target light source performance at each pixel point on the illumination environment image according to the relative performance characteristic model and the chromatic value, and the absolute performance characteristic model and the chromatic value and the photometric value.
Specifically, the relative performance characteristic model is constructed based on a first incidence relation between spectral characteristic information and chromatic values of the multispectral light source and a second incidence relation between the spectral characteristic information and the performance evaluation value; and constructing an absolute performance characteristic model based on a third correlation of the spectral characteristic information and the photometric value, the first correlation and the second correlation. As shown in fig. 2, which is a schematic view illustrating the visual representation of the performance of the light source provided by this embodiment, since the target representation image is an image of an illumination scene captured in an illumination environment, and each pixel point in the image has light and chromaticity information, the image can be understood as a pseudo-chromaticity diagram, and the visual evaluation can be performed according to a function model or a corresponding database of each performance evaluation value and luminosity and chromaticity in the current illumination environment.
In this embodiment, the first correlation relationship may be expressed by a functional relationship (x, y) ═ f (PW, FWHM), where (x, y) is a chromaticity value, PW is a peak wavelength, and FWHM is a half width. For the selected composite light source, the spectrum can be divided into m spectrums with PW and FWHM, wherein m is more than or equal to 2, and the spectrum is formed (x)m,ym)=f(PWm,FWHMm) Wherein (x)m,ym) Means that the m-th spectrum corresponds to a chromatic value, PWm、FWHMmRefers to the PW, FWHM of the mth spectrum. In addition, the second correlation can be expressed by a functional relationship (L, S, H) ═ f (PW, FWHM), where L is luminance/brightness, S is saturation/purity/chroma, H is hue/hue, PW is peak wavelength, and FWHM is half width. For the selected composite light source, m spectra with PW and FWHM can be divided, wherein m is more than or equal to 2, and (L, S, H) is formed as f (PW)m,FWHMm)。
Further, the relative performance characteristic model of the embodiment may adopt a functional relationship P ═ f (x, Y, E)n) Expressed, where P is the light source performance ratingEstimating information, wherein x and Y are chromaticity coordinates, Y is brightness, E is an environment characteristic parameter, n is a parameter influence formed by the nth environment characteristic, the function model can be various color gamut spaces, and the corresponding function expression can be converted into the corresponding chromaticity space.
In addition, the relative performance characteristic model of the present embodiment may also take the form of a functional relationship P ═ f (L, S, H), where P is light source performance evaluation information, L is luminance/brightness, S is saturation/purity/chroma, and H is hue/hue.
It should be noted that, in the present embodiment, the light source performance may include: the performance of the light source itself (which can be understood as the source end performance) or the ambient lighting performance (which can be understood as the object end performance). Further, the performance of the light source itself may include any of the following: brightness, contrast, spectral radiant efficiency, color rendering, rhythm effects, mesopic effects, species effects; the ambient lighting performance may comprise any of: illumination, brightness, contrast, light-color contrast, discrimination, spectral reflected radiation efficiency, light color effect, photosynthesis efficiency, species effect, rhythm effect, mesopic effect, comfort, fatigue, preference, optogenetic effect, blue light injury effect.
In an optional implementation manner of this embodiment, before the step of visually characterizing the performance evaluation value of the target light source performance at each pixel point on the illumination environment image according to the relative performance feature model and the chromaticity value, and the absolute performance feature model and the chromaticity value, the method further includes: acquiring environment attribute information of a current lighting environment; wherein the environment attribute information includes: a work surface material optical characteristic, ambient light information, and orientation information of an irradiation surface with respect to the lighting apparatus; and correspondingly selecting a relative performance characteristic model and an absolute performance characteristic model based on the environment attribute information.
In particular, in practical applications, the working surface may be, for example, a desktop in a lighting environment, and the working surface may be a surface of an object such as a book on the desktop. In this embodiment, the first association relationship and the second association relationship for constructing different relative performance characteristic models are different, and the first association relationship, the second association relationship and the third association relationship for constructing different absolute performance characteristic models are different. The embodiment constructs different performance characteristic models for different lighting environment adaptability, and specifically can be embodied that the model construction principle is the same, and the values of correlation coefficients in the models are different. Therefore, the model selected during performance characterization is suitable for different lighting environments, and the accuracy of performance characterization can be effectively ensured.
In an optional implementation manner of this embodiment, after the step of visually characterizing the performance evaluation value of the target light source performance at each pixel point on the illumination environment image, the method further includes: calculating the overall performance evaluation value of the interested region based on the performance evaluation values of all pixel points in the interested region on the visual representation image; comparing the overall performance evaluation value with a target performance threshold value; and when the overall performance evaluation value does not meet the requirement of the target performance threshold, controlling the corresponding spectral channel of the multispectral light source to perform parameter adjustment based on the target light source control parameters. Wherein the target performance threshold requirement is higher than the target performance threshold when the performance goodness is positively correlated with the performance assessment value, and the target performance threshold requirement is lower than the target performance threshold when the performance goodness is negatively correlated with the performance assessment value.
Specifically, in this embodiment, integral calculation may be performed on the performance evaluation value of each pixel point in a specific region on the visual representation image, so as to obtain the overall performance evaluation value of the region, and if the overall performance evaluation value does not meet the target performance threshold requirement, it indicates that the current lighting performance does not meet the user requirement, this embodiment further triggers light source parameter adjustment control, and performs absolute intensity ratio and relative intensity ratio adjustment on the corresponding spectral channel of the light source, so as to optimize the performance of the light source.
Further, in an optional implementation manner of this embodiment, the determining manner of the target light source control parameter specifically includes the following steps:
the method comprises the steps of firstly, obtaining a target photometric value and a target colorimetric value which are associated with a target performance threshold; and determining a target light source control parameter based on the target luminosity value and the target chromatic value.
Specifically, the target performance threshold of this embodiment is usually a standard performance value that meets the actual use requirement of the user, and this embodiment may obtain a corresponding luminosity value and a chromaticity value through this performance value, and then set a light source control parameter for currently performing light source adjustment control according to the standard luminosity value and the chromaticity value.
Generating a performance characterization chromaticity diagram based on the performance evaluation values of all pixel points on the visual characterization image; acquiring a color gamut range of a target performance level from the performance characterization chromaticity diagram; and determining a target light source control parameter based on the target photometric value and the target colorimetric value corresponding to the color gamut range.
As shown in fig. 3, for a performance characterization chromaticity diagram provided by this embodiment, in this embodiment, based on a corresponding relationship between each pixel point on a visualized characterization image and a performance evaluation value, the visualized characterization image is further converted into the performance characterization chromaticity diagram, then threshold values (such as threshold value 1 and threshold value 2 in the diagram) corresponding to different performance levels can be formulated according to the performance, and then the performance evaluation values on the performance characterization chromaticity diagram can be graded through a plurality of threshold values, so that the performance characterization chromaticity diagram is divided into a plurality of color gamut ranges, and the plurality of color gamut ranges respectively correspond to different performance levels. In practical applications, a color gamut range of a specific performance level (e.g., the highest performance level) may be selected according to actual usage requirements, and then light source control parameters are set according to the color gamut range and corresponding to luminosity and chromaticity.
It should be noted that, in practical applications, the performance of the light source may be of different types, in this embodiment, after the performance evaluation value on the performance characterization chromaticity diagram of a specific performance type is graded to obtain a plurality of color gamut ranges, the color gamut range division result of the performance characterization chromaticity diagram corresponding to the performance of the other type of light source may be continuously called, then, the color gamut range division result corresponding to the current performance characterization chromaticity diagram and the color gamut range division result corresponding to the performance of the other type of light source are combined to obtain the overlapping color gamut ranges with the same performance grade, and finally, the overlapping color gamut range is referred to, and the current performance characterization chromaticity diagram is divided into the plurality of color gamut ranges again.
In this embodiment, considering that the performance of one light source is optimized and the performance of another light source is rather weakened when the light source control is performed only based on the color gamut range division result with single performance, in specific practice, the present embodiment integrates the color gamut range division results with multiple light source performances, obtains a common color gamut region (i.e., an overlapped color gamut range) with the same performance level in multiple aspects, and then further performs color gamut range division on the performance characterization image of the current certain ambient lighting performance again, and finally the color gamut range under the performance level is the color gamut range with the optimal multiple performances, so that the cooperative optimization of the multiple light source performance can be realized based on the light source control parameters determined by the color gamut range.
Generating a performance characterization chromaticity diagram based on the performance evaluation values of all pixel points on the visual characterization image; and when a control instruction input aiming at the performance representation chromaticity diagram is received, determining a target light source control parameter by referring to a target photometric value and a target colorimetric value corresponding to a color gamut range acted by the control instruction.
In addition, in this embodiment, the light source control parameterization setting may be performed by manual operation of a user, specifically, in this embodiment, the performance characterization chromaticity diagram may be output through a display component on the lighting device, or output through a terminal device (for example, a mobile phone, etc.) in communication with the lighting device, and the user may perceive the performance of the light source according to the performance characterization chromaticity diagram, so that a color gamut range of a specific performance level may be selected on the image by himself, and then the lighting device determines the light source control parameter with reference to the color gamut range.
Further, in an optional implementation manner of this embodiment, before the step of comparing the overall performance evaluation value with the target performance threshold, the method further includes: acquiring current lighting scene information, wherein the lighting scene information comprises: weather, season, time; acquiring a light source performance preference index based on the lighting scene information; a target performance threshold is determined based on the light source performance preference indicator.
Specifically, in the embodiment, it is considered that the lighting scene under the same lighting environment is dynamically changed, the lighting conditions are usually different along with time period change, seasonal change and climate change in the day, and accordingly, the performance requirements of the user on the brightness, color temperature, rhythm change and the like of the lighting environment are different, so that the performance threshold of the light source adjustment control is determined in real time according to the lighting scene, the light source adjustment control is ensured to be more suitable for the actual use requirements, and further, more accurate light source adjustment control is realized.
According to the light source performance characterization method provided by the embodiment of the invention, the illumination environment image shot by the imaging equipment is received based on the communication connection with the imaging equipment; acquiring corresponding chromatic values and photometric values of all pixel points of the illumination environment image; and performing visual representation on the performance evaluation value of the target light source performance at each pixel point on the illumination environment image according to the relative performance characteristic model and the colorimetric value, and the absolute performance characteristic model, the colorimetric value and the photometric value. By implementing the method, the spectral characteristics of the light source are fully considered, the light source performance is visually represented based on the incidence relation between the chromaticity and the light source performance, the light source performance can be accurately evaluated, and effective guidance can be provided for light source adjustment and control.
Second embodiment:
in order to solve the problem of lack of effective evaluation on the performance of the multispectral light source in the related art, the present embodiment shows a light source performance characterization device, which is applied to a lighting apparatus provided with a multispectral light source, and referring to fig. 4 specifically, the light source performance characterization device of the present embodiment specifically includes:
a receiving module 401, configured to receive an illumination environment image captured by an imaging device based on a communication connection with the imaging device;
an obtaining module 402, configured to obtain a chromatic value and a photometric value corresponding to each pixel point of the illumination environment image;
a characterization module 403, configured to visually characterize, at each pixel point on the illumination environment image, a performance evaluation value of the target light source performance according to the relative performance feature model and the chromaticity value, and the absolute performance feature model and the chromaticity value and the luminosity value; the relative performance characteristic model is constructed on the basis of a first incidence relation between spectral characteristic information and a chromatic value of the multispectral light source and a second incidence relation between the spectral characteristic information and a performance evaluation value; and constructing an absolute performance characteristic model based on a third correlation of the spectral characteristic information and the photometric value, the first correlation and the second correlation.
In some embodiments of this embodiment, the light source performance characterization apparatus further includes: a correction module to: before obtaining corresponding chromatic value and photometric value of each pixel point of the illumination environment image, obtaining chromatic value and photometric value of a reference pixel point on the illumination environment image; and correcting all pixel points on the image of the illumination environment according to the chromatic value and the photometric value of the reference pixel point.
In some embodiments of this embodiment, the light source performance characterization apparatus further includes: a selection module to: acquiring environment attribute information of the current lighting environment before performing visual representation on a performance evaluation value of the target light source performance at each pixel point on a lighting environment image according to a relative performance characteristic model and a chromatic value, and an absolute performance characteristic model and the chromatic value and the photometric value; and correspondingly selecting a relative performance characteristic model and an absolute performance characteristic model based on the environment attribute information.
In some embodiments of this embodiment, the light source performance characterization apparatus further includes: a control module to: after the performance evaluation value of the target light source performance is visually represented at each pixel point on the illumination environment image, calculating the overall performance evaluation value of the interested area based on the performance evaluation values of all pixel points in the interested area on the visually represented image; comparing the overall performance evaluation value with a target performance threshold value; and when the overall performance evaluation value does not meet the requirement of the target performance threshold, controlling the corresponding spectral channel of the multispectral light source to perform parameter adjustment based on the target light source control parameters.
Further, in some implementations of this embodiment, the control module is further to: before controlling the corresponding spectral channels of the multispectral light source to perform parameter adjustment based on the target light source control parameters, acquiring a target photometric value and a target colorimetric value associated with a target performance threshold; and determining a target light source control parameter based on the target luminosity value and the target chromatic value.
Further, in other embodiments of this embodiment, the control module is further configured to: generating a performance characterization chromaticity diagram based on the performance evaluation values of all pixel points on a visual characterization image before controlling the corresponding spectral channels of the multispectral light source to perform parameter adjustment based on the target light source control parameters; acquiring a color gamut range of a target performance level from the performance characterization chromaticity diagram; and determining a target light source control parameter based on the target photometric value and the target colorimetric value corresponding to the color gamut range.
Further, in some embodiments of this embodiment, the control module is further configured to: generating a performance characterization chromaticity diagram based on the performance evaluation values of all pixel points on a visual characterization image before controlling the corresponding spectral channels of the multispectral light source to perform parameter adjustment based on the target light source control parameters; and when a control instruction input aiming at the performance representation chromaticity diagram is received, determining a target light source control parameter by referring to a target photometric value and a target colorimetric value corresponding to a color gamut range acted by the control instruction.
Further, in some embodiments of this embodiment, the control module is further configured to: prior to comparing the overall performance assessment value to the target performance threshold, obtaining current lighting scene information, wherein the lighting scene information comprises: weather, season, time; acquiring a light source performance preference index based on the lighting scene information; a target performance threshold is determined based on the light source performance preference indicator.
It should be noted that, the light source performance characterization methods in the foregoing embodiments can be implemented based on the light source performance characterization 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 light source performance characterization device described in this embodiment may refer to the corresponding process in the foregoing method embodiments, and is not described herein again.
The light source performance characterization device provided by the embodiment is used for receiving the illumination environment image shot by the imaging equipment based on the communication connection with the imaging equipment; acquiring corresponding chromatic values and photometric values of all pixel points of the illumination environment image; and performing visual representation on the performance evaluation value of the target light source performance at each pixel point on the illumination environment image according to the relative performance characteristic model and the colorimetric value, and the absolute performance characteristic model, the colorimetric value and the photometric value. By implementing the method, the spectral characteristics of the light source are fully considered, the light source performance is visually represented based on the incidence relation between the chromaticity and the light source performance, the light source performance can be accurately evaluated, and effective guidance can be provided for light source adjustment and control.
The third embodiment:
the present embodiment provides an electronic device, as shown in fig. 5, which includes a processor 501, a memory 502 and a communication bus 503, wherein: the communication bus 503 is used for realizing connection communication between the processor 501 and the memory 502; the processor 501 is configured to execute one or more computer programs stored in the memory 502 to implement at least one step of the light source performance characterization method in the first embodiment.
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in this embodiment may be used for storing one or more computer programs, and the stored one or more computer programs may be executed by a processor to implement at least one step of the method in the first embodiment.
The present embodiment also provides a computer program, which can be distributed on a computer readable medium and executed by a computing device to implement at least one step of the method in the first embodiment; and in some cases at least one of the steps shown or described may be performed in an order different than that described in the embodiments above.
The present embodiments also provide a computer program product comprising a computer readable means on which a computer program as shown above is stored. The computer readable means in this embodiment may include a computer readable storage medium as shown above.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.