Luminaire color calibration method, apparatus, controller, and medium

By performing feature extraction and compensation processing on the light spot images of the lamps, the accuracy and efficiency of lamp color consistency calibration were improved, the problem of inaccurate lamp color consistency calibration was solved, and the visual effect was improved.

CN122160969APending Publication Date: 2026-06-05GUANGZHOU CAIYI TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU CAIYI TECHNOLOGY CO LTD
Filing Date
2026-03-30
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, the color consistency calibration results of lighting fixtures are inaccurate, resulting in poor visual effects.

Method used

By extracting features from the original light spot images of each target lamp when it is lit, color space data is determined, initial color change values ​​are obtained, and color channels are compensated to obtain channel correction coefficients, which are then sent to the lamp controller for color consistency calibration.

Benefits of technology

It improves the accuracy and efficiency of luminaire color consistency calibration, reduces errors caused by human intervention, and enhances visual effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122160969A_ABST
    Figure CN122160969A_ABST
Patent Text Reader

Abstract

The application relates to a lamp color calibration method, device, controller and medium. The method comprises the following steps: performing feature extraction on original light spot images corresponding to each target lamp in a light-on state, determining color space data corresponding to each original light spot image, obtaining initial color change values corresponding to each color space data, performing compensation processing on each color channel corresponding to each target lamp according to the initial color change values, obtaining channel correction coefficients of each color channel corresponding to each target lamp, sending the channel correction coefficients of each color channel corresponding to each target lamp to lamp controllers of the target lamps respectively, and instructing the lamp controllers to perform color consistency calibration. The method can use the light spot images corresponding to each lighting lamp in the light-on state as the input of the lamp color calibration, so that the color consistency calibration result of each lighting lamp is more consistent with the actual scene, and the accuracy of the color consistency calibration result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent control technology, and in particular to a method, apparatus, controller and medium for calibrating the color of a lamp. Background Technology

[0002] With the development of lighting technology, lighting fixtures have become one of the most important electrical devices in scenarios such as stage performances, architectural landscapes, urban roads, and indoor and outdoor lighting. In specific scenarios such as large-scale performances, venue lighting, and landscape lighting, multiple lighting fixtures are required to work together.

[0003] To achieve the desired overall visual effect, a high degree of consistency in the colors emitted by multiple lighting fixtures is typically required. In related technologies, lighting technicians primarily use a lighting console to manually fine-tune the primary color components of each fixture and visually inspect them to calibrate the color consistency.

[0004] However, there is a problem with the accuracy of color consistency calibration results for lighting fixtures in the relevant technologies. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, device, controller, and medium for calibrating the color of lamps to address the aforementioned technical problems.

[0006] Firstly, this application provides a method for calibrating the color of a lighting fixture, including:

[0007] Feature extraction is performed on the original light spot images corresponding to each target light fixture when it is lit, and the color space data corresponding to each original light spot image is determined.

[0008] Obtain the corresponding initial color change values ​​based on the data from each color space;

[0009] Based on each initial color change value, compensation processing is performed on each color channel corresponding to each target lamp to obtain the channel correction coefficient for each color channel corresponding to each target lamp;

[0010] The channel correction coefficients for each color channel of each target luminaire are sent to the luminaire controller of each target luminaire, instructing each luminaire controller to perform color consistency calibration.

[0011] In one embodiment, feature extraction is performed based on the original light spot images corresponding to each target lamp when it is in the lit state to determine the color space data corresponding to each original light spot image, including:

[0012] Spot recognition is performed on each original spot image to obtain the corresponding spot region image;

[0013] Color components are extracted from the images of each spot region to determine the corresponding color components of each spot region image.

[0014] Color conversion processing is performed on the color components corresponding to each spot area image to obtain the color space data corresponding to each original spot image.

[0015] In one embodiment, color component extraction is performed based on the images of each light spot region to determine the color component corresponding to each light spot region image, including:

[0016] Denoising is performed on each spot region image and the background reference image to obtain the denoised spot image corresponding to each spot region image.

[0017] Color components are extracted from each denoised spot image to obtain the color components corresponding to each spot region image.

[0018] In one embodiment, obtaining the corresponding initial color change values ​​based on each color space data includes:

[0019] The difference between each color space data and the standard color space data is used to obtain the corresponding initial color change values.

[0020] In one embodiment, the method further includes:

[0021] Verify the current light spot image corresponding to each target lamp after performing color consistency calibration and when it is in the lit state, and obtain the verification result;

[0022] Based on the verification results, determine whether to end the color consistency calibration process for each target lamp.

[0023] In one embodiment, the current light spot image corresponding to each target lamp after color consistency calibration and when it is in the lit state is verified to obtain the verification result, including:

[0024] Feature extraction is performed on each current light spot image to obtain the corresponding current color change values;

[0025] The verification result is determined based on the current color change values ​​and the preset color change threshold.

[0026] In one embodiment, the verification result is determined based on each current color change value and a preset color change threshold, including:

[0027] If each current color change value is less than or equal to the color change threshold, the verification result is determined to be that the color consistency calibration of each target lamp meets the calibration conditions.

[0028] If each current color change value is greater than the color change threshold, the verification result is determined to be that the color consistency calibration of each target lamp does not meet the calibration conditions.

[0029] Secondly, this application also provides a luminaire color calibration device, comprising:

[0030] The feature extraction module is used to extract features from the original light spot images corresponding to each target lamp when it is lit, and to determine the color space data corresponding to each original light spot image.

[0031] The acquisition module is used to obtain the corresponding initial color change values ​​based on the data of each color space.

[0032] The compensation processing module is used to perform compensation processing on each target lamp's corresponding color channel based on each initial color change value, and obtain the channel correction coefficient for each target lamp's corresponding color channel;

[0033] The sending module is used to send the channel correction coefficients for each color channel of each target lamp to the lamp controller of each target lamp, instructing each lamp controller to perform color consistency calibration.

[0034] Thirdly, this application also provides a controller, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method in any of the embodiments of the first aspect described above.

[0035] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in any of the embodiments of the first aspect described above.

[0036] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method in any of the embodiments of the first aspect described above.

[0037] The lighting color calibration method, apparatus, controller, and medium provided in this application extract features from the original light spot images corresponding to each target lighting fixture when it is lit, determine the color space data corresponding to each original light spot image, obtain the corresponding initial color change values ​​based on the color space data, perform compensation processing on each color channel corresponding to each target lighting fixture based on the initial color change values, obtain the channel correction coefficients for each color channel corresponding to each target lighting fixture, and send the channel correction coefficients for each color channel corresponding to each target lighting fixture to the lighting controller of each target lighting fixture, instructing each lighting controller to perform color consistency calibration. The above method can use the light spot images corresponding to each lighting fixture when it is lit as input for lighting color calibration, allowing the color calibration process to take into account the actual color state of each lighting fixture, making the final color consistency calibration results of each lighting fixture more consistent with the actual scene, and improving the accuracy of the color consistency calibration results of each lighting fixture. At the same time, the above method does not require the participation of lighting technicians, thereby reducing the color consistency calibration error of the lighting fixtures, greatly improving the accuracy of the color consistency calibration results, and improving the visual effect output by each lighting fixture. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a flowchart illustrating a lighting color calibration method in one embodiment;

[0040] Figure 2 This is a flowchart illustrating the luminaire color calibration method in another embodiment;

[0041] Figure 3 This is a flowchart illustrating the luminaire color calibration method in another embodiment;

[0042] Figure 4 This is a flowchart illustrating the luminaire color calibration method in another embodiment;

[0043] Figure 5 This is a flowchart illustrating the luminaire color calibration method in another embodiment;

[0044] Figure 6 This is a structural block diagram of a lamp color calibration device in one embodiment;

[0045] Figure 7 This is a diagram of the internal structure of the controller in one embodiment. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0047] The lighting color calibration method provided in this application embodiment can be applied to a lighting color calibration system, which includes multiple lighting fixtures, a lighting console, and an image acquisition device installed in a practical application scenario. The lighting fixtures can be any type of lamp, such as wash lights, moving head lights, cutting lights, follow spots, fire indicator lights, emergency lights, etc.; the lighting console can be understood as a controller; the image acquisition device can be a camera, sensor, etc. In this embodiment, the image acquisition device can be a high dynamic range industrial-grade camera with strong resistance to ambient light interference and high-speed image capture performance. Optionally, each lighting fixture and image acquisition device is communicatively connected to the lighting console, and this communication method can be Bluetooth, mobile data, Wi-Fi, wired connection, etc.

[0048] In one exemplary embodiment, such as Figure 1 As shown, a method for calibrating the color of a lamp is provided. Taking the application of this method to a lighting console in a lamp color calibration system as an example, the method can be implemented through the following steps:

[0049] Step S201: Extract features from the original light spot images corresponding to each target lamp when it is lit, and determine the color space data corresponding to each original light spot image.

[0050] It should be noted that when all target lights are illuminated, the lighting technician can determine whether the colors emitted by the target lights are consistent. If they are inconsistent, the lighting color calibration process is triggered. Optionally, the user can input lighting color calibration commands to the lighting console via voice, gestures, buttons, or other means. The lighting console responds to the lighting color calibration command and begins executing step 201 above. In addition, the lighting console can periodically trigger lighting color calibration commands and automatically execute the lighting color calibration process, initiating step 201 above.

[0051] Meanwhile, after responding to the luminaire color calibration command, the lighting console can first control each target luminaire to be turned on, and then send an image acquisition command to the image acquisition device, instructing the image acquisition device to acquire the original light spot image corresponding to each target luminaire when it is turned on. Correspondingly, the image acquisition device can feed back the acquired original light spot images to the lighting console in real time.

[0052] Each original light spot image contains a corresponding light spot emitted by a target luminaire when it is lit; all original light spot images are of equal size. In practical applications, multiple luminaires can be installed, and the number of luminaires can be greater than or equal to the number of target luminaires. The installation position of each luminaire is fixed; each target luminaire can be a series of consecutive luminaires or a series of spaced-out luminaires.

[0053] In practical applications, after controlling each target lamp to be lit, the lighting control console can also control the light spots emitted by each target lamp to be within the same calibration area, so as to facilitate the image acquisition device to acquire images of each original light spot. It should be noted that the image acquisition device can be installed around each lighting lamp, covering each lighting lamp and the calibration area when acquiring images.

[0054] Specifically, for any target luminaire, the lighting control console can use an image feature extraction algorithm to extract features from the original light spot image corresponding to the target luminaire when it is in the lit state, so as to determine the color space data corresponding to the original light spot image.

[0055] Optionally, the above image feature extraction algorithm can be at least one of color feature extraction algorithm, texture feature extraction algorithm, local key point feature extraction algorithm, etc.

[0056] In addition, the lighting control console can perform channel-wise statistics and feature calculations on the original light spot image corresponding to the target light fixture when it is lit to extract features and determine the color space data corresponding to the original light spot image. In this embodiment, the color space data corresponding to the original light spot image may include the chromaticity and luminance of the original light spot image.

[0057] Step S202: Obtain the corresponding initial color change values ​​based on the data of each color space.

[0058] In practical applications, for any original light spot image, the lighting console can analyze and compare the color space data corresponding to the original light spot image to obtain the initial color change value corresponding to the original light spot image.

[0059] Meanwhile, the lighting control console can also acquire a pre-trained algorithm model, and then input the color space data corresponding to the original light spot image into the algorithm model, which outputs the initial color change value corresponding to the original light spot image.

[0060] Step S203: Based on each initial color change value, perform compensation processing on each color channel corresponding to each target lamp to obtain the channel correction coefficient for each color channel corresponding to each target lamp.

[0061] Specifically, for any target luminaire, the lighting console can use a compensation algorithm to perform compensation processing on each color channel of the target luminaire based on the initial color change value of the original light spot image corresponding to the target luminaire, thereby obtaining the channel correction coefficient for each color channel of the target luminaire.

[0062] The color channels corresponding to the target luminaires may include R channels, G channels, and B channels. Optionally, the compensation algorithm may be a global brightness and contrast compensation algorithm, a white balance correction algorithm, a color space channel gain adjustment algorithm, an illumination compensation algorithm, a reference color calibration algorithm, or a deep learning color restoration algorithm, etc.

[0063] In this embodiment, the driving signals of each target luminaire corresponding to each color channel can be obtained. Then, a linear relationship is established between the initial color change value of the original spot image corresponding to each target luminaire and the driving signals of each target luminaire corresponding to each color channel to obtain a preliminary compensation matrix. Then, a linear matrix equation is constructed based on the driving signals of each target luminaire corresponding to each color channel and the preliminary compensation matrix. Further, based on the preliminary compensation matrix, a multi-factor coupled compensation model (including light decay compensation, temperature drift compensation, and channel crosstalk suppression) is constructed by introducing a light decay factor, a temperature drift factor, and a crosstalk factor to address the non-ideal characteristics of the lighting luminaire, such as light decay, temperature drift, and channel crosstalk. Then, the preliminary compensation matrix is ​​corrected based on the multi-factor coupled compensation model to obtain a corrected compensation matrix. Finally, the corrected compensation matrix replaces the preliminary compensation matrix in the linear matrix equation to obtain the channel correction coefficients of each target luminaire corresponding to each color channel.

[0064] Step S204: Send the channel correction coefficients for each color channel of each target lamp to the lamp controller of each target lamp, and instruct each lamp controller to perform color consistency calibration.

[0065] In practical applications, the lighting console can simultaneously send the channel correction coefficients for each color channel of each target luminaire to the lighting controller of each target luminaire, instructing each lighting controller to perform color consistency calibration on each target luminaire in order to complete the luminaire color calibration process.

[0066] It should be noted that due to manufacturing errors, there may be uneven color consistency when the target lights are first turned on; furthermore, with wear and tear over time, uneven color consistency will also occur when the target lights are turned on. Therefore, the above-described light color calibration process can be applied to any scenario where there is uneven color consistency when the target lights are turned on.

[0067] After the luminaire color calibration process is completed, the channel correction coefficients for each color channel of each target luminaire can be stored in the compensation parameter table. This allows for direct color consistency calibration of each target luminaire's output based on the channel correction coefficients in the compensation parameter table the next time the luminaires are turned on. Simultaneously, the lighting console can adjust the brightness of each target luminaire to different brightness levels (e.g., 50%, 80%, 90%, or 100%) to perform the aforementioned luminaire color calibration process. The channel correction coefficients for each color channel of each target luminaire at different brightness levels are stored in the compensation parameter table. This allows for convenient and direct calibration of the color consistency of each target luminaire based on the channel correction coefficients for each color channel at different brightness levels in the compensation parameter table.

[0068] In addition, the channel correction coefficients in the compensation parameter table can be updated after a period of time. Correspondingly, the lighting console can periodically and automatically trigger the luminaire color calibration process to ensure the accuracy of the channel correction coefficients in the compensation parameter table and the consistency of the visual effects output by each lighting luminaire during application.

[0069] The technical solution in this application embodiment extracts features from the original light spot images corresponding to each target lamp when it is lit, determines the color space data corresponding to each original light spot image, obtains the corresponding initial color change values ​​based on each color space data, performs compensation processing on each color channel corresponding to each target lamp based on each initial color change value, obtains the channel correction coefficients for each color channel corresponding to each target lamp, and sends the channel correction coefficients for each color channel corresponding to each target lamp to the lamp controllers of each target lamp, instructing each lamp controller to perform color consistency calibration. The above method can use the light spot images corresponding to each lighting lamp when it is lit as input for lamp color calibration, allowing the color calibration process to take into account the actual color state of each lighting lamp, making the final color consistency calibration results of each lighting lamp more in line with the actual scene, improving the accuracy of the color consistency calibration results of each lighting lamp, and improving the efficiency of lamp color calibration. At the same time, the above method does not require the participation of lighting technicians, thereby reducing the color consistency calibration error of lighting lamps, greatly improving the accuracy of color consistency calibration results, and improving the visual effect output by each lighting lamp.

[0070] The following describes the process of extracting features from the original light spot images corresponding to each target lamp when it is lit, and determining the color space data corresponding to each original light spot image. In one embodiment, as... Figure 2 As shown, the process in step S201 above can be implemented in the following way:

[0071] Step S211: Spot recognition is performed based on each original spot image to obtain the corresponding spot region image.

[0072] Specifically, the lighting control panel can employ image recognition algorithms to identify light spots in each original light spot image, thereby obtaining corresponding light spot region images. Optionally, the aforementioned image recognition algorithms can be threshold segmentation, connected component analysis, Hough circle detection, spot detection, contour filtering, local extremum detection, etc.

[0073] Step S221: Extract color components from the images of each spot region to determine the color components corresponding to each spot region image.

[0074] In practical applications, the lighting control console can extract color components from the images of each light spot region according to the color space to determine the color components corresponding to each light spot region image. Optionally, the color components corresponding to the aforementioned light spot region images may include the R channel component, G channel component, and B channel component corresponding to the light spot region image.

[0075] In addition, the lighting console can acquire a pre-trained color component extraction model, and then input the images of each light spot region into the color component extraction model, which outputs the color components corresponding to each light spot region image.

[0076] Step S231: Perform color conversion processing on the color components corresponding to each spot area image to obtain the color space data corresponding to each original spot image.

[0077] The lighting control console can employ a color conversion method to process the color components corresponding to each light spot area image, thereby obtaining the color space data corresponding to each original light spot image. Optionally, the aforementioned color conversion method can be component normalization conversion, pseudo-color mapping conversion, etc.

[0078] Specifically, for any light spot area image, the lighting console can normalize the RGB components of the color components corresponding to the light spot area image, and then perform gamma processing on the normalized RGB components to obtain the linear light intensity signals corresponding to each color channel of the target lamp. Then, a linear transformation is performed based on each linear light intensity signal and the color conversion matrix to obtain the color space data corresponding to the light spot area image, that is, the color space data of the original light spot image corresponding to the light spot area image.

[0079] In this embodiment, the lighting console can perform color conversion processing on the color components corresponding to each light spot area image according to the standard conversion rules of the CIE 1931 XYZ color space to obtain the color space data corresponding to each original light spot image.

[0080] It should be noted that there is a one-to-one correspondence between the target luminaire, the original spot image, and the spot region image. Specifically, the spot region image can be a denoised spot image corresponding to each local spot region image in the original spot image.

[0081] In some scenarios, to improve the accuracy of the color components corresponding to the acquired spot area image, the spot area image can be denoised first to improve image quality before color component extraction. This process is described below. In one embodiment, as... Figure 3 As shown, the process of extracting color components from each light spot region image and determining the corresponding color components in step S221 above can be achieved through the following steps:

[0082] Step S2211: Denoise processing is performed on each spot region image and the background reference image to obtain the denoised spot image corresponding to each spot region image.

[0083] In practical applications, the lighting control console can employ image denoising methods to denoise the images of each light spot region, obtaining the denoised light spot image corresponding to each light spot region. Optionally, the aforementioned image denoising methods can be spatial domain filtering denoising, frequency domain denoising, transform domain denoising, nonlocal and block matching denoising, etc.

[0084] In this embodiment, the lighting console can acquire a background reference image, and then perform spatial filtering and subtraction operations on each spot area image and the background reference image to achieve noise reduction, eliminate the influence of ambient stray light and background color on the image quality of the spot area, and obtain the noise-reduced spot image corresponding to each spot area image.

[0085] It should be noted that the size of the above-mentioned spot area image is equal to the size of the corresponding denoised spot image.

[0086] Step S2212: Extract the color components from each denoised spot image to obtain the color components corresponding to each spot region image.

[0087] Specifically, the lighting control console can extract color components from each denoised light spot image according to the color space to obtain the color components corresponding to each light spot region image.

[0088] In addition, the lighting console can acquire a pre-trained color component extraction model, and then input each denoised light spot image into the color component extraction model, which outputs the color components corresponding to each light spot region image.

[0089] The technical solution in this application embodiment identifies light spots based on each original light spot image to obtain corresponding light spot region images. Color components are extracted from each light spot region image to determine the color components corresponding to each light spot region image. Color conversion processing is then performed on the color components corresponding to each light spot region image to obtain the color space data corresponding to each original light spot image. This method can obtain the color space data corresponding to each original light spot image without complex processing, thus reducing the complexity of the entire lighting color calibration process, accelerating the lighting color calibration speed, and improving the efficiency of lighting color calibration.

[0090] The process of obtaining the corresponding initial color change values ​​based on the color space data is described below. In one example, the process in step S202 above may include: subtracting the color space data from the standard color space data to obtain the corresponding initial color change values.

[0091] In practical applications, for any original light spot image, the lighting console can perform arithmetic operations on the color space data and standard color space data corresponding to the original light spot image to obtain the initial color change value corresponding to each original light spot image. Optionally, the above arithmetic operation can be at least one of addition, logarithmic operation, exponential operation, division, multiplication, etc.

[0092] The aforementioned color space data may include color coordinates and luminance; correspondingly, the aforementioned standard color space data may represent standard color coordinates and standard luminance. Specifically, for any original spot image, the lighting console can subtract the standard color coordinates from the color coordinates in the color space data corresponding to the original spot image to obtain the corresponding initial color coordinate deviation value, and subtract the standard luminance from the luminance in the color space data corresponding to the original spot image to obtain the corresponding initial luminance deviation value. The initial color coordinate deviation value and the initial luminance deviation value are combined to determine the initial color change value corresponding to the original spot image.

[0093] In this embodiment, the lighting console can convert the color space data corresponding to the original light spot image to the CIELAB color space to obtain the chroma, lightness, and saturation corresponding to the original light spot image. Then, based on the chroma, lightness, and saturation corresponding to the original light spot image, the total color difference of the original light spot image is determined. Then, the difference between the total color difference and the color difference threshold in the standard color space data is calculated to obtain the initial color change value corresponding to the original light spot image.

[0094] The technical solution in this application embodiment calculates the difference between each color space data and the standard color space data to obtain the corresponding initial color change values. This process does not require complex algorithms, thereby reducing the complexity of the processing, reducing processing power, accelerating processing speed, and reducing processing errors.

[0095] In practical scenarios, to ensure the accuracy of lighting color calibration results, it is necessary to verify the results after each calibration. The verification process is described below. In one embodiment, after performing step S204, as follows... Figure 4 As shown, the above method also includes the following steps:

[0096] Step S205: Verify the current light spot image corresponding to each target lamp when it is in the lit state after performing color consistency calibration, and obtain the verification result.

[0097] It should be noted that the light spot emitted by each target lamp after color consistency calibration and when it is lit is also the color consistency calibration result of each target lamp.

[0098] Specifically, the lighting control console can trigger the verification process of the color consistency calibration results of each target lamp, receive the current light spot image of each target lamp after color consistency calibration and when it is in the lighting state sent by the image acquisition device, and verify the current light spot image of each target lamp after color consistency calibration and when it is in the lighting state to obtain the verification result.

[0099] In one implementation, the lighting console can acquire a pre-trained calibration model, and then input the color consistency calibration results of each target lamp into the calibration model, which outputs the calibration results.

[0100] Optionally, the above-mentioned verification model may be composed of at least one of the following: convolutional neural network model, fully connected neural network model, residual neural network model, recurrent recurrent neural network model, and long short-term memory neural network model.

[0101] Step S206: Based on the verification results, determine whether to end the color consistency calibration process for each target lamp.

[0102] Specifically, if the verification result shows that the current spot image corresponding to each target luminaire meets the luminaire color calibration termination condition, the color consistency calibration process for each target luminaire can be terminated; otherwise, the luminaire color calibration process is executed cyclically based on each current spot image until the latest spot image of each target luminaire after luminaire color calibration meets the luminaire color calibration termination condition.

[0103] The aforementioned verification result can be either that the chromaticity and luminance of the current spot image corresponding to each target luminaire are consistent, or that the chromaticity and luminance of the current spot image corresponding to each target luminaire are inconsistent. Optionally, the fact that the current spot image corresponding to each target luminaire satisfies the luminaire color calibration termination condition can be understood as the chromaticity and luminance of the current spot image corresponding to each target luminaire being consistent.

[0104] In one embodiment, such as Figure 5 As shown, the process of verifying the current light spot image corresponding to each target lamp after performing color consistency calibration and when it is in the lit state in step S205 above can be achieved in the following way:

[0105] Step S215: Extract features from each current light spot image to obtain the corresponding current color change values.

[0106] The feature extraction process here is the same as that in step S201 above, and will not be described again in this embodiment.

[0107] Step S225: Determine the verification result based on each current color change value and the preset color change threshold.

[0108] In practical applications, the lighting console can obtain a pre-trained calibration model, and then input each current color change value and the preset color change threshold into the calibration model, which outputs the calibration result.

[0109] In this embodiment of the application, the lighting console can compare each current color change value with a preset color change threshold, and determine the verification result based on the comparison result.

[0110] In one embodiment, the process of determining the verification result based on each current color change value and a preset color change threshold in step S225 may include: if each current color change value is less than or equal to the color change threshold, determining that the color consistency calibration of each target lamp meets the calibration conditions; if each current color change value is greater than the color change threshold, determining that the color consistency calibration of each target lamp does not meet the calibration conditions.

[0111] It should be noted that if the comparison result shows that each current color change value is less than or equal to the color change threshold, the verification result is determined to be that the color consistency calibration of each target lamp meets the calibration conditions; if the comparison result shows that each current color change value is greater than the color change threshold, the verification result is determined to be that the color consistency calibration of each target lamp does not meet the calibration conditions.

[0112] The technical solution in this application embodiment verifies the current light spot image corresponding to each target lamp when it is in the lit state after color consistency calibration, and obtains the verification result. Based on the verification result, it determines whether to end the color consistency calibration process of each target lamp. The above method can verify the color consistency calibration result after a color consistency calibration to ensure that the color consistency calibration operation is effective and accurate, which can improve the visual effect of each target lamp in the lit state.

[0113] To facilitate understanding by those skilled in the art, the following provides a detailed description of the luminaire color calibration method provided in this application, which may include:

[0114] Step S601: Perform spot recognition based on the original spot images corresponding to each target lamp when it is in the lit state, and obtain the corresponding spot area images.

[0115] Step S602: Denoise processing is performed based on the images of each spot region and the background reference image to obtain the denoised spot image corresponding to each spot region image;

[0116] Step S603: Extract the color components from each denoised spot image to obtain the color components corresponding to each spot region image.

[0117] Step S604: Perform color conversion processing on the color components corresponding to each spot area image to obtain the color space data corresponding to each original spot image;

[0118] Step S605: Subtract the data in each color space from the data in the standard color space to obtain the corresponding initial color change values;

[0119] Step S606: Based on each initial color change value, perform compensation processing on each color channel corresponding to each target lamp to obtain the channel correction coefficient for each color channel corresponding to each target lamp.

[0120] Step S607: Send the channel correction coefficients for each color channel of each target lamp to the lamp controller of each target lamp respectively, and instruct each lamp controller to perform color consistency calibration.

[0121] Step S608: Perform feature extraction based on each current light spot image to obtain the corresponding current color change values;

[0122] Step S609: If each current color change value is less than or equal to the color change threshold, determine that the color consistency calibration of each target lamp meets the calibration conditions; if each current color change value is greater than the color change threshold, determine that the color consistency calibration of each target lamp does not meet the calibration conditions.

[0123] Step S610: Based on the verification results, determine whether to end the color consistency calibration process for each target lamp.

[0124] It should be noted that the descriptions of steps S601-S610 above can be found in the relevant descriptions in the above embodiments, and their effects are similar, so they will not be repeated here.

[0125] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0126] Based on the same inventive concept, this application also provides a lamp color calibration device for implementing the lamp color calibration method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more lamp color calibration device embodiments provided below can be found in the limitations of the lamp color calibration method described above, and will not be repeated here.

[0127] In one exemplary embodiment, such as Figure 6 As shown, a lighting color calibration device is provided, including: a feature extraction module 11, an acquisition module 12, a compensation processing module 13, and a transmission module 14, wherein:

[0128] Feature extraction module 11 is used to extract features from the original light spot images corresponding to each target lamp when it is in the lit state, and to determine the color space data corresponding to each original light spot image.

[0129] The acquisition module 12 is used to acquire the corresponding initial color change values ​​based on the data of each color space;

[0130] The compensation processing module 13 is used to perform compensation processing on each color channel corresponding to each target lamp according to each initial color change value, so as to obtain the channel correction coefficient for each color channel corresponding to each target lamp.

[0131] The sending module 14 is used to send the channel correction coefficients of each color channel corresponding to each target lamp to the lamp controller of each target lamp, and instruct each lamp controller to perform color consistency calibration.

[0132] The lamp color calibration device provided in this application embodiment can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0133] In one embodiment, the feature extraction module 11 includes: a spot recognition unit, a component extraction unit, and a conversion processing unit, wherein:

[0134] The spot recognition unit is used to recognize spots based on each original spot image and obtain the corresponding spot region image.

[0135] The component extraction unit is used to extract color components from the images of each spot region and determine the color components corresponding to each spot region image.

[0136] The conversion processing unit is used to perform color conversion processing on the color components corresponding to each spot area image to obtain the color space data corresponding to each original spot image.

[0137] The lamp color calibration device provided in this application embodiment can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0138] In one embodiment, the component extraction unit includes: a noise reduction subunit and a component extraction subunit, wherein:

[0139] The denoising processing subunit is used to perform denoising processing based on the images of each spot region and the background reference image to obtain the denoised spot image corresponding to each spot region image.

[0140] The component extraction subunit is used to extract the color components of each denoised spot image to obtain the color components corresponding to each spot region image.

[0141] The lamp color calibration device provided in this application embodiment can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0142] In one embodiment, the lamp color calibration device provided in this application can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0143] In one embodiment, the acquisition module 12 is specifically used to: subtract each color space data from the standard color space data to obtain the corresponding initial color change values.

[0144] In one embodiment, the lamp color calibration device provided in this application can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0145] In one embodiment, the luminaire color calibration device further includes: a verification module and a determination module, wherein:

[0146] The verification module is used to verify the current light spot image corresponding to each target lamp after color consistency calibration and when it is in the lit state, and to obtain the verification result.

[0147] The determination module is used to determine whether to end the color consistency calibration process for each target lamp based on the verification results.

[0148] In one embodiment, the lamp color calibration device provided in this application can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0149] In one embodiment, the verification module includes: a feature extraction unit and a determination unit, wherein:

[0150] The feature extraction unit is used to extract features from each current light spot image to obtain the corresponding current color change values.

[0151] The determination unit is used to determine the verification result based on each current color change value and the preset color change threshold.

[0152] In one embodiment, the lamp color calibration device provided in this application can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0153] In one embodiment, the determining unit is specifically used for:

[0154] If each current color change value is less than or equal to the color change threshold, the verification result is determined to be that the color consistency calibration of each target lamp meets the calibration conditions.

[0155] If each current color change value is greater than the color change threshold, the verification result is determined to be that the color consistency calibration of each target lamp does not meet the calibration conditions.

[0156] In one embodiment, the lamp color calibration device provided in this application can be used to execute the technical solution in the above-described lamp color calibration method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0157] Each module in the aforementioned lighting color calibration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the controller in hardware form or independent of it, or stored in the memory of the controller in software form, so that the processor can call and execute the corresponding operations of each module.

[0158] In one exemplary embodiment, a controller is provided, the internal structure of which can be as follows: Figure 7 As shown, the controller includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media to run. The database stores the original light spot images corresponding to each target luminaire when it is lit. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a luminaire color calibration method.

[0159] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the controller to which the present application is applied. A specific controller may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0160] In one embodiment, this application also provides a controller, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the technical solution in the above-described lamp color calibration method embodiment of this application. The implementation principle and technical effect are similar, and will not be repeated here.

[0161] In one embodiment, this application also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the technical solution of the above-described lamp color calibration method of this application. Its implementation principle and technical effect are similar, and will not be repeated here.

[0162] In one embodiment, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the technical solution of the above-described lamp color calibration method of this application. Its implementation principle and technical effects are similar and will not be repeated here.

[0163] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one of relational databases and non-relational databases. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0164] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0165] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for calibrating the color of a lamp, characterized in that, The method includes: Feature extraction is performed on the original light spot images corresponding to each target lamp when it is lit, and the color space data corresponding to each original light spot image is determined. Based on the color space data, obtain the corresponding initial color change values; Based on the initial color change values, compensation processing is performed on each color channel corresponding to each target lamp to obtain the channel correction coefficient for each color channel corresponding to each target lamp; The channel correction coefficients for each color channel of each target luminaire are sent to the luminaire controller of each target luminaire, instructing each luminaire controller to perform color consistency calibration.

2. The method according to claim 1, characterized in that, The step of extracting features from the original light spot images corresponding to each target lamp when it is lit, and determining the color space data corresponding to each original light spot image, includes: Based on the original light spot images, light spot recognition is performed to obtain the corresponding light spot region images; Color components are extracted from each of the light spot region images to determine the color components corresponding to each of the light spot region images. Color conversion processing is performed on the color components corresponding to each of the light spot regions to obtain the color space data corresponding to each of the original light spot images.

3. The method according to claim 2, characterized in that, The step of extracting color components from each of the light spot region images and determining the color components corresponding to each of the light spot region images includes: Denoising is performed on each of the light spot region images and the background reference image to obtain the denoised light spot image corresponding to each of the light spot region images; Color components are extracted from each of the denoised spot images to obtain the color components corresponding to each spot region image.

4. The method according to any one of claims 1-3, characterized in that, The step of obtaining the corresponding initial color change values ​​based on the color space data includes: The difference between each of the color space data and the standard color space data is used to obtain the corresponding initial color change value.

5. The method according to any one of claims 1-3, characterized in that, The method further includes: The current light spot image corresponding to each of the target lamps after color consistency calibration and when the lamps are in the lit state is verified to obtain the verification result. Based on the verification results, determine whether to end the color consistency calibration process for each target lamp.

6. The method according to claim 5, characterized in that, The step of verifying the current light spot image corresponding to each of the target lamps after performing color consistency calibration and when the lamps are in the lit state, and obtaining the verification result, includes: Feature extraction is performed on each of the current light spot images to obtain the corresponding current color change values; The verification result is determined based on the current color change value and the preset color change threshold.

7. The method according to claim 6, characterized in that, The step of determining the verification result based on each of the current color change values ​​and the preset color change threshold includes: If each of the current color change values ​​is less than or equal to the color change threshold, the verification result is determined to be that the color consistency calibration of each of the target lamps meets the calibration conditions. If each of the current color change values ​​is greater than the color change threshold, the verification result is determined to be that the color consistency calibration of each of the target lamps does not meet the calibration conditions.

8. A lamp color calibration device, characterized in that, The device includes: The feature extraction module is used to extract features from the original light spot images corresponding to each target lamp when it is in the lit state, and to determine the color space data corresponding to each original light spot image. The acquisition module is used to acquire the corresponding initial color change values ​​based on the color space data. The compensation processing module is used to perform compensation processing on each color channel corresponding to each target lamp according to each initial color change value, so as to obtain the channel correction coefficient for each color channel corresponding to each target lamp; The sending module is used to send the channel correction coefficients corresponding to each color channel of each target lamp to the lamp controller of each target lamp, and instruct each lamp controller to perform color consistency calibration.

9. A controller comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.