SUMMERY OF THE UTILITY MODEL
To the correlation technique in order to carry out dimming control to lighting apparatus through camera, treater and communication equipment cooperation work, with big and carry inconvenient problem with big costs, do not propose effectual solution at present yet, for this reason, the utility model discloses a main aim at provides a lighting control equipment and lighting system to solve above-mentioned problem.
In order to achieve the above object, according to an aspect of the present invention, there is provided a lighting control apparatus including: the device comprises an imaging device, an image processor and a controller, wherein the imaging device is used for acquiring an initial image formed by irradiating a target object with initial light; the image processor comprises a first sub image processor and a first processor, wherein the first sub image processor is connected with the imaging device and is used for carrying out color processing according to the initial image so as to acquire a target image; the first processor is connected with the first sub-image processor and used for carrying out color coordinate calculation according to the initial image and the target image so as to obtain a fourth color coordinate; the controller includes: the second processor is connected with the first processor and used for calculating the driving current according to the fourth color coordinate and the inherent color coordinate to obtain a driving current parameter, wherein the inherent color coordinate is an attribute parameter of the lighting equipment; and the first communication interface is connected with the second processor and is used for outputting the driving current parameters to the lighting equipment.
Further, the lighting control device further comprises a third processor, the first processor is connected with the first sub-image processor through the third processor, wherein the third processor comprises: the first extraction device is connected with the first sub-image processor and used for respectively extracting a first color coordinate of the characteristic color of the initial image and a second color coordinate of the characteristic color of the target image; the first reading device is used for reading a third color coordinate of the color of the pre-stored initial lamplight; and the first sending device is respectively connected with the first extracting device, the first reading device and the first processor and is used for sending the first color coordinate, the second color coordinate and the third color coordinate to the first processor.
Further, the first processor comprises: and the first calculator is connected with the first sending device and used for carrying out light source estimation calculation on the first color coordinate, the second color coordinate and the third color coordinate to obtain a fourth color coordinate.
Further, the second processor comprises: the second extraction device is used for extracting the pre-stored inherent color coordinates of the lighting equipment; the second calculator is connected with the second extraction device and used for calculating luminous flux according to the fourth color coordinate and the inherent color coordinate so as to obtain first luminous flux of the lighting equipment; and the third calculator is connected with the second calculator and used for carrying out linear calculation according to the first luminous flux and a first scale factor to obtain the driving current parameter, wherein the first scale factor is the ratio between the driving current of the lighting device and the luminous flux of the lighting device.
Further, the first sub image processor includes: the second sub-image processor is connected with the imaging device and used for carrying out white balance processing on the initial image so as to obtain the initial image after the white balance processing; and the third sub-image processor is connected with the second sub-image processor and is used for carrying out color enhancement processing on the initial image after the white balance processing so as to obtain a target image.
Further, the first sub image processor includes: and the fourth sub-image processor is connected with the imaging device and used for carrying out color transformation processing on the initial image so as to obtain a target image.
In order to achieve the above object, according to one aspect of the present invention, there is provided a lighting system including: the lighting device is connected with the lighting control device, and the lighting device is used for outputting initial light and target light.
Further, the lighting device comprises one or more LED luminaires, each luminaire comprising: the lighting control device comprises a second communication interface, a microcontroller, a driver and an LED chip set, wherein the second communication interface is connected with the first communication interface of the lighting control device and used for receiving the driving current parameter output by the first communication interface; the microcontroller is connected with the second communication interface and used for converting the driving current parameter into a dimming signal; the driver is connected with the microcontroller and used for driving the LED chip set by using the dimming signal; and the LED chip group is connected with the driver and used for outputting the target light through the control of the dimming signal.
Further, the LED chip set includes one or more LED chips, each of which includes a third communication interface for receiving the dimming signal.
Further, the first communication interface and the second communication interface are wireless communication interfaces.
Adopt the utility model discloses, through setting up imaging device, image processor and controller in same lighting control equipment, acquire initial image with the imaging device among the lighting control equipment, after acquireing target image and fourth chromatic coordinate according to initial image through image processor, acquire the drive current parameter according to fourth chromatic coordinate and solid chromatic coordinate through the controller, export the drive current parameter to lighting apparatus to adjustment lighting apparatus's output light. Through the utility model discloses an illumination control equipment can be in order to realize acquireing of image acquisition, image processing and drive current parameter to use the drive current parameter adjustment lighting equipment who acquires to solve among the prior art through camera, treater and communication equipment cooperation work in order to carry out dimming control to lighting equipment, with big costs and carry inconvenient problem, realized accomplishing the effect to lighting equipment's control in same controlgear.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of a lighting control apparatus according to an embodiment of the present invention. As shown in fig. 1, the lighting control apparatus includes: the device comprises an imaging device 1, an image processor 3 and a controller 5, wherein the imaging device 1 is used for acquiring an initial image formed by irradiating a target object with initial light; an image processor 3, including a first sub image processor 301 and a first processor 303, wherein the first sub image processor 301 is connected to the imaging device 1, and is configured to perform color processing according to the initial image to obtain a target image; the first processor 303 is connected with the first sub-image processor 301, and is configured to perform color coordinate calculation according to the initial image and the target image to obtain a fourth color coordinate; the controller 5 includes: the second processor 501 is connected to the first processor 301, and is configured to perform driving current calculation according to a fourth color coordinate and an inherent color coordinate to obtain a driving current parameter, where the inherent color coordinate is an attribute parameter of the lighting device; and a first communication interface 503 connected to the second processor 501 for outputting the driving current parameter to the lighting device 100.
Adopt the utility model discloses, through setting up imaging device, image processor and controller or integrating in same lighting control equipment, acquire initial image with the imaging device among the lighting control equipment, after acquireing target image and fourth chromatic coordinate according to initial image through image processor, acquire the drive current parameter according to fourth chromatic coordinate and solid chromatic coordinate through the controller, export the drive current parameter to lighting equipment to adjustment lighting equipment's output light. Through the utility model discloses an illumination control equipment will realize the acquirement of image acquisition, image processing and drive current parameter to use the drive current parameter adjustment lighting apparatus's that acquires output light, solved among the prior art in through camera, treater and communication equipment cooperation work in order to carry out dimming control to illumination equipment, with big costs and carry inconvenient problem, realized accomplishing the effect to illumination equipment's control in same controlgear.
In addition, with the lighting control device of the present invention, after obtaining the initial image of the target object irradiated by the initial light, the initial image is subjected to image processing to obtain the target image, then the color coordinates of the color of the required lighting light, i.e. the color coordinates of the target light, are extracted from the target image by the light source estimation method, then the driving current of the target light is calculated by using the color coordinates, the calculated driving current parameter is used as the dimming driving signal, and the output light of the lighting device is adjusted to the target light by using the dimming driving signal, so that the target light is irradiated on the target object to form the target image, thereby solving the problems that when the lighting device is subjected to dimming control, the output light of the lighting device is controlled by using only the color of the object in the photograph obtained by the imaging device as the color of the light, the target light cannot be accurately controlled, and the color of the object to be irradiated can be quantitatively strengthened, the output of the lighting equipment is controlled by using the light color, the target light is accurately controlled, and therefore the color of the illuminated object is quantitatively enhanced.
The lighting control device may be disposed on a smart handheld device, such as a smart phone, and the imaging apparatus 1 may employ a camera on the smart phone.
According to the above embodiment of the present invention, the lighting control apparatus may further include a third processor, the first processor 303 is connected to the first sub image processor 301 through the third processor, wherein the third processor may include: the first extraction device is connected with the first sub-image processor 301 and is used for respectively extracting a first color coordinate of the characteristic color of the initial image and a second color coordinate of the characteristic color of the target image; the first reading device is used for reading a third color coordinate of the color of the pre-stored initial lamplight; the first sending device is connected to the first extracting device, the first reading device and the first processor 303, and is configured to send the first color coordinate, the second color coordinate and the third color coordinate to the first processor.
In the above embodiments of the present invention, the first processor 303 may include: and the first calculator is connected with the first sending device and used for carrying out light source estimation calculation on the first color coordinate, the second color coordinate and the third color coordinate to obtain a fourth color coordinate.
Specifically, the first calculator may include a multiplier 310 and a first sub-calculator 330, the first sub-calculator 330 calculates a reciprocal of the first color coordinate, and then the multiplier 310 multiplies the reciprocal of the first color coordinate, the second color coordinate, and the third color coordinate, and takes a product obtained by the multiplication as the fourth color coordinate.
In the above embodiment, the fourth color coordinate is extracted from the target image and is used as the color coordinate of the target light, and the driving current parameter of the target object is calculated according to the fourth color coordinate, so that the output light of the lamp in the lighting device is adjusted to the target light, and thus the characteristic color of the image of the target object photographed under the irradiation of the target light is consistent with the characteristic color of the target image obtained by image processing on the initial image.
These color coordinates are characteristic of the three channels of the LED and can be found from the technical data of the LED or measured with an integrating sphere.
In the above embodiments of the present invention, the second processor 501 includes: the second extraction device is used for extracting the pre-stored inherent color coordinates of the lighting equipment; the second calculator is connected with the second extraction device and used for calculating luminous flux according to the fourth color coordinate and the inherent color coordinate so as to obtain first luminous flux of the lighting equipment; and the third calculator is connected with the second calculator and used for carrying out linear calculation according to the first luminous flux and a first scale factor to obtain the driving current parameter, wherein the first scale factor is the ratio between the driving current of the lighting device and the luminous flux of the lighting device. The intrinsic color coordinate is an xy coordinate, and the intrinsic color coordinate is a constant, can be read from technical data of a lamp of the lighting equipment, and can also be measured through an integrating sphere.
According to the above embodiment of the present invention, the first sub image processor includes: the second sub-image processor is connected with the imaging device and used for carrying out white balance processing on the initial image so as to obtain the initial image after the white balance processing; and the third sub-image processor is connected with the second sub-image processor and is used for carrying out color enhancement processing on the initial image after the white balance processing so as to obtain a target image.
In the above embodiments of the present invention, the first sub image processor includes: and the fourth sub-image processor is connected with the imaging device and used for carrying out color transformation processing on the initial image so as to obtain a target image.
Fig. 2 is a schematic diagram of a lighting system according to an embodiment of the invention. Fig. 3 is a schematic diagram of a lighting system according to an embodiment of the invention.
As shown in fig. 2 and 3, the lighting system includes: the lighting apparatus 100 and the lighting control apparatus 300, wherein the lighting apparatus 100 is connected to the lighting control apparatus 300, and the lighting apparatus 100 is configured to output an initial light and a target light.
Adopt the utility model discloses, through setting up imaging device, image processor and controller in same lighting control equipment, acquire initial image with the imaging device among the lighting control equipment, after acquireing target image and fourth chromatic coordinate according to initial image through image processor, acquire the drive current parameter according to fourth chromatic coordinate and solid chromatic coordinate through the controller, export the drive current parameter to lighting apparatus to adjustment lighting apparatus's output light. Through the utility model discloses an illumination control equipment can be in order to realize acquireing of image acquisition, image processing and drive current parameter to use the drive current parameter adjustment lighting apparatus who acquires to solve among the prior art through camera, treater and communication equipment cooperation work in order to carry out dimming control to lighting apparatus, with big costs and carry inconvenient problem, realized accomplishing lighting apparatus's control in same controlgear.
In addition, through the utility model discloses an illumination system, after obtaining the initial image that initial light shines the target object through imaging device 1, carry out image processing to the initial image and obtain the target image, then extract the fourth color coordinate (i.e. the color coordinate of the color of required illumination light) from the target image through the method of light source estimation, then controller 5 uses this fourth color coordinate to carry out drive current calculation, and send the drive current parameter that calculates to lighting apparatus 100, lighting apparatus uses drive current parameter to adjust the output light of lighting apparatus 100 to the target light, so that the target light shines on the target object, in the above-mentioned embodiment, lighting apparatus 100 outputs the image that the target light shines and forms on the target object and is the target image, solved when carrying out dimming control to lighting apparatus, only use the colour of the thing of being illuminated in the picture (i.e. the target object) as the colour of light to carry out the output light of lighting apparatus and carry out the target image that lighting apparatus was formed on The control can not accurately control the target light and quantitatively strengthen the color of the object to be illuminated, thereby realizing the control of the output of the lighting equipment by using the light color, accurately controlling the target light and quantitatively strengthening the color of the object to be illuminated.
According to the above-mentioned embodiment of the utility model, lighting apparatus includes one or more LED lamps and lanterns, and every lamps and lanterns include: the lighting control device comprises a second communication interface, a microcontroller, a driver and an LED chip set, wherein the second communication interface is connected with the first communication interface of the lighting control device and used for receiving the driving current parameter output by the first communication interface; the microcontroller is connected with the second communication interface and used for converting the driving current parameter into a dimming signal; the driver is connected with the microcontroller and used for driving the LED chip set by using the dimming signal; and the LED chip group is connected with the driver and used for outputting the target light through the control of the dimming signal.
Wherein the lighting device of the lighting system may comprise one or more LED luminaires, which may be multi-colored (e.g. RGB) LED chips, and the image processing means may comprise one or more digital imaging means (e.g. cameras), wherein each group of same-colored LED chips in the LED luminaires is controlled with the same current or voltage signal.
In the above embodiments of the present invention, the LED chip set includes one or more LED chips, each LED chip includes a third communication interface, and the third communication interface is used for receiving the dimming signal.
Specifically, as shown in fig. 3, the LED lamp 110 may be a bulb lamp shown in fig. 3, or may be any other lamp, such as a down lamp, a tubular lamp, a flat lamp, or a spot lamp. The LED lamp 110 may include a second communication interface 111, a microcontroller 113, and an LED chip set 115, wherein the LED chip set 115 may include a plurality of LED chips, the LED chips may have three or more LED chips with different spectrums or different colors, each LED chip with the same spectrum or the same color may have one or more, and the microcontroller 113 may output a current or voltage dimming signal to each group of LED chips with the same color, respectively. Among them, as shown in fig. 3, the LED chip set 115 may include a first chip 131, a second chip 133, and a third chip 135, and a target object 500 is shown in fig. 3, in which the target object 500 is a fruit.
According to the above embodiment of the present invention, the first communication interface and the second communication interface are wireless communication interfaces.
In addition, an operation interface can be provided for the user on the illumination control device, and in the operation interface, the user can arbitrarily select the color effect of the target object which is desired to be achieved, wherein the color effect can be the saturation degree and the contrast of the color of the illuminated object, and even the color of the illuminated object is changed (such as an old photo effect and the like).
Specifically, the color transformation process may be performed on the initial image according to the requirement of the user, such as: color enhancement, color reduction, aging a photograph (i.e., transforming the colors in the original image to the color form of an old photograph), and so forth.
Specifically, as shown in fig. 4, the first sub-calculator 330 in the first calculator in the above embodiment first performs reciprocal calculation on the first color coordinate to obtain a reciprocal of the first color coordinate; the multiplier 310 then calculates the fourth color coordinate [ e'r,e’g,e’b]TThe formula is as follows:
wherein, diag([R′e,G′e,Be′]T) Is vector [ R'e,G′e,Be′]TIs a diagonal matrix composed of three elements of [ R'e,G′e,Be′]TIs the second color coordinate of the first color,
is a vector
As a diagonal matrix of diagonal elements,
is the reciprocal of the first color coordinate, [ e ]
r,e
g,e
b]
TIs the third color coordinate.
Specifically, the second calculator in the above-described embodiment first performs coordinate conversion on the fourth color coordinates, which are RGB color coordinates, to obtain fifth color coordinates, which are XYZ color coordinates, and then performs light flux calculation based on the fifth color coordinates and the inherent color coordinates to obtain the first light flux of the illumination apparatus.
More specifically, the second calculator performs CIE coordinate conversion on the fourth color coordinate by the following formula to obtain a fifth color coordinate [ X, Y, Z]TThe formula is as follows:
[X,Y,Z]T=TRGB2XYZ[e’r,e’g,e’b]Twherein, [ e'r,e’g,e’b]TAs coordinates of a fourth color, TRGB2XYZIs a transformation matrix for CIE coordinate transformation of the fourth color coordinate.
In addition, the first luminous flux may include R-channel luminous flux, G-channel luminous flux, and B-channel luminous flux, wherein the second calculator may derive the first formula through a color matching formula and a coordinate conversion formula,
the color matching formula is as follows: x ═ XR+XG+XB,Y=YR+YG+YB,Z=ZR+ZG+ZB,
The coordinate transformation formula is as follows:
wherein,
c is any one of R channel, G channel or B channel, X is X coordinate of fifth color coordinate, Y is Y coordinate of fifth color coordinate, Z is Z coordinate of fifth color coordinate, X is X
RIs the X coordinate of R channel, X
GIs the X coordinate of the G channel, X
BIs the X coordinate, Y, of the B channel
RIs the Y coordinate of the R channel, Y
GIs the Y coordinate of the G channel, Y
BIs the Y coordinate of the B channel, Z
RIs the Z coordinate of the R channel, Z
GIs the Z coordinate of the G channel, Z
BIs the Z coordinate, x, of the B channel
cX-coordinate, y, being the inherent color coordinate
cIs the y-coordinate of the inherent color coordinate,
the first formula is:
wherein R isG/RIs a second scale factor, RB/RThe ratio of the luminous flux of the G channel to the luminous flux of the R channel is a third scale factor, and the third scale factor is the ratio of the luminous flux of the B channel to the luminous flux of the R channel;
after the second scale factor and the third scale factor are obtained through calculation of the first formula, the second scale factor, the third scale factor and preset luminous flux are subjected to luminous flux calculation through the following formulas to obtain R channel luminous flux, G channel luminous flux and B channel luminous flux, wherein the preset luminous flux is the luminous flux of a target image, and the formula is as follows:
Φ=ΦR+ΦR·RG/R+ΦR·RB/R,ΦG=ΦR·RG/R,ΦB=ΦR·RB/Rwhere phi is a predetermined luminous flux, phiRIs the luminous flux of R channel, phiGIs the luminous flux of G channel, [ phi ]BIs the R channel luminous flux.
The preset luminous flux in the above embodiments may be a preset luminous flux value of any target lamp light irradiated on the target object.
Fig. 5 is a schematic structural diagram of an apparatus for controlling light output of a lighting device according to an embodiment of the present invention. As shown in fig. 5, the apparatus includes: the first acquisition module 10 is used for acquiring an initial image formed by irradiating a target object with initial lamplight; a first processing module 30, configured to perform color processing on the initial image to obtain a processed target image; a first extraction module 50, configured to extract a first color coordinate of a characteristic color of the initial image and a second color coordinate of a characteristic color of the target image, respectively; the first calculating module 70 is configured to perform light source estimation calculation according to the first color coordinate, the second color coordinate, and the third color coordinate to obtain a fourth color coordinate, where the third color coordinate is a default color coordinate of a color of the pre-stored initial light; the second processing module 90 is configured to perform driving current calculation according to the fourth color coordinate and the inherent color coordinate to obtain a driving current parameter, where the inherent color coordinate is a pre-stored attribute parameter of the lighting device, and the lighting device is configured to output initial light; and a third processing module 110, configured to use the driving current parameter as a dimming driving signal, and adjust the output light of the lighting device to the target light using the dimming driving signal.
By adopting the device for controlling the output light of the lighting equipment, after the initial image of the target object is irradiated by the initial light is obtained, the initial image is subjected to image processing to obtain the target image, then the color coordinate of the color of the required lighting light, namely the color coordinate of the target light, is extracted from the target image by a light source estimation method, then the driving current of the target light is calculated by using the color coordinate, the calculated driving current parameter is used as a dimming driving signal to adjust the output light of the lighting equipment into the target light, so that the target light is irradiated on the target object to form the target image, the problems that when the dimming control is performed on the lighting equipment in the prior art, the output light of the lighting equipment is controlled by only using the color of the illuminated object in the picture obtained by the imaging device as the color of the light, the target light cannot be accurately controlled and the color of the illuminated object can be quantitatively strengthened are solved, the output of the lighting equipment is controlled by using the light color, the target light is accurately controlled, and therefore the color of the illuminated object is quantitatively enhanced.
The characteristic color may be a color of any pixel point in the image, or may be a main color of a target object in the image. It is specific to the above embodiments of the present invention that the feature color of the initial image is consistent with the feature color of the target image, and the feature color of the initial image and the feature color of the target image may be the color of the corresponding pixel point in the two images, or may be the main color of the target object in the two images. In the above embodiments, the characteristic color of the target image/initial image is preferably the dominant color of the target object in the image.
In the above embodiments of the present invention, the target object is first illuminated by using any output color temperature of the lamp in the lighting device, the lamp is the initial lamp light, and then the target object is photographed by using the digital imaging device to obtain the initial image, and any output color temperature of the lamp in the lighting device in the above method may be the default initial lamp light of the lighting device, and may be a nominal value of the color temperature of the lighting device.
Specifically, in the above embodiment, the color of the initial image may be enhanced by using a color processing function in digital image processing to obtain the target image, and then the dominant color (i.e., the color with the highest occurrence frequency) of the target object in the target image is extracted instead of using the colors of all the pixel points in the target image.
Specifically, the first luminous flux Φ of each group of same-color LEDs obtained in the above-described embodimentR、ΦG、ΦBAnd performing linear calculation on a first scale factor to obtain a drive current parameter reaching the first luminous flux, wherein the drive current parameter can be a drive current value, and the first scale factor can be a ratio of the drive current to the luminous flux output by each group of LEDs of the same color of the lamp of the lighting device. The first scale factor may be derived by fitting experimental data. The driving current value calculated in the above embodiment may be used as dimming driving signals, and the dimming driving signals are used to adjust the output light of the lighting device, so that the output light of the lighting device is the target light, and the target light irradiates on the target object to form the target image.
According to the embodiment of the application, the fourth color coordinate of the color of the lamplight in the target image is extracted, the luminous flux of the fourth color coordinate is calculated, the dimming driving signal is obtained by using the luminous flux calculation, and the characteristic color of the target object can reach the characteristic color of the target image obtained by performing image processing on the initial image by using the dimming driving signal.
From the above description, it can be seen that the utility model discloses following technological effect has been realized: the imaging device, the image processor and the controller are arranged or integrated in the same illumination control device, the imaging device in the illumination control device is used for acquiring an initial image, after the image processor acquires a target image and a fourth color coordinate according to the initial image, the controller acquires a driving current parameter according to the fourth color coordinate and a fixed color coordinate, and the driving current parameter is output to the illumination device so as to adjust output light of the illumination device. Through the utility model discloses an illumination control equipment can be in order to realize acquireing of image acquisition, image processing and drive current parameter to use the drive current parameter adjustment lighting apparatus who acquires to solve among the prior art through camera, treater and communication equipment cooperation work in order to carry out dimming control to lighting apparatus, with big costs and carry inconvenient problem, realized accomplishing lighting apparatus's control in same controlgear.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.