WO2019237757A1 - Color correction method for multi-color lamp - Google Patents

Color correction method for multi-color lamp Download PDF

Info

Publication number
WO2019237757A1
WO2019237757A1 PCT/CN2019/075204 CN2019075204W WO2019237757A1 WO 2019237757 A1 WO2019237757 A1 WO 2019237757A1 CN 2019075204 W CN2019075204 W CN 2019075204W WO 2019237757 A1 WO2019237757 A1 WO 2019237757A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
original
matrix
light
correction
Prior art date
Application number
PCT/CN2019/075204
Other languages
French (fr)
Chinese (zh)
Inventor
蒋伟楷
Original Assignee
广州市浩洋电子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州市浩洋电子股份有限公司 filed Critical 广州市浩洋电子股份有限公司
Publication of WO2019237757A1 publication Critical patent/WO2019237757A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light

Definitions

  • the present invention relates to the technical field of colored lamps, and more particularly, to a color lamp color correction method.
  • the purpose of the present invention is to overcome the shortcomings of the prior art and provide a color lamp color correction method, which can adjust multiple color lamps at the same time, so as to achieve the standardization and consistency of light color, and bring the convenience of dimming and coloring to users.
  • the color lamp includes LED lamps of multiple colors.
  • Each color lamp is provided with a color correction module, which includes the following steps:
  • the color correction module processes the source signal based on the correction coefficient matrix to obtain the corrected signal, and uses the corrected signal to control the driving circuit to drive the light source to emit light.
  • the light color parameter acquisition device is used to collect the original light color parameters of the RGB three primary color dot matrixes of one color lamp, and the original light color parameter of the dot matrix is the Yxy value under the CIE Yxy color model, where Y is The brightness value is recorded as RY_bright, GY_bright, BY_bright, and xy is the color sitting mark (Rx, Ry), (Gx, Gy), (Bx, By); when collecting, control the colored lights to light red, and the light color parameter collection equipment Collect the red dot matrix original light color parameters at this time, and repeat the operation to collect the dot matrix original light color parameters of other base colors until all the base colors are collected;
  • step S12 the collected original light color parameters of the dot matrix are processed to be converted into the original color gamut space tristimulus value matrix [XYZ_original] i , and the corresponding color of the color lamp is drawn in the CIE XYZ 1931 standard colorimetric system.
  • step S13 steps S11 to S12 are repeated to obtain the original color gamut space tristimulus matrix [XYZ_original] i of n colored lights, where i is 1 ... n, and the corresponding chromaticity diagram is drawn.
  • the standard color is CIE XYZ 1931
  • the intersection area of the chromaticity diagram of all colored lights in the degree system is used as the adjustable effective color gamut;
  • step S2 a target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and the original color gamut space tristimulus value matrix [XYZ_original] i of each color lamp that has been obtained is calculated to obtain each
  • the correction coefficient matrix [conversion_coefficient] i of the desk color lamp is stored in the color correction module of the desk color lamp.
  • step S12 the collected point matrix original light color parameters are processed by formula (1) to convert them into the original color gamut space tristimulus value matrix [XYZ_original] i , and [XYZ_original] i is
  • RR is the brightness correction coefficient of the red light when the input source signal is red
  • RG is the brightness correction coefficient of the green light when the input source signal is red
  • RB is the brightness correction coefficient of the blue light when the input source signal is red
  • GR is the brightness correction coefficient of the red light when the input source signal is green
  • GG is the brightness correction coefficient of the green light when the input source signal is green
  • GB is the brightness correction coefficient of the blue light when the input source signal is green
  • BR is the brightness correction coefficient of the red light when the input source signal is blue
  • BG is the brightness correction coefficient of the green light when the input source signal is blue
  • BB is the brightness correction coefficient of the blue light when the input source signal is blue.
  • the calculated correction coefficient matrix of a color lamp is
  • the color correction module includes a main chip and a correction chip.
  • the console sends a DMX source signal to the main chip, and the main chip processes the source signal to obtain data of each primary color channel, and converts it to 16 through a dimming gamma curve table.
  • Bit [PWM_original] i value use the correction coefficient matrix [conversion_coefficient] i in the correction chip and combine formula (3) to correct the 16-bit [PWM_original] i value to obtain the corrected 16-bit [PWM_target] value for each primary color;
  • [PWM_target] [conversion_coefficient] i * [PWM_original] i (3); the correction chip transmits the 16-bit [PWM_target] value of each primary color after correction to the main chip, so as to control the driving circuit to obtain corresponding currents of different magnitudes so that the current
  • the light source is driven to emit light.
  • [PWM_original] i [R235, G60, B120]
  • the correction coefficient matrix is When [PWM_target] is recorded as [R ', G', B '], substituting into formula (3) can be obtained:
  • R ’ R * RR + G * GR + B * BR
  • G ’ R * RG + G * GG + B * BG
  • the input source signal [R235, G60, B120], and the actual signal on the pixel after correction is [R218, G78, B107] to achieve light color standardization and consistency.
  • the color lamp further includes W color LED lamp beads
  • step S1 further includes collecting the original color parameter of the W matrix of a color lamp using a light color parameter acquisition device, and the original color of the dot matrix.
  • the parameter is the Yxy value under the CIE Yxy color model, which is written as WY_bright, (Wx, Wy); processing WY_bright, (Wx, Wy) to obtain the position of the white point in the CIE XYZ 1931 standard colorimetric system [W_one]; take steps
  • the intersection area of all colored lamp chromaticity diagrams in S13 is used as the original intersection color gamut space tristimulus value matrix [XYZ_intersection], and the data in [XYZ_intersection] is superimposed to obtain [W_rgbintecsetion], and [XYZ_intersection] is
  • a color mixing correction matrix [mix_coefficient] is obtained.
  • the target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and then the color mixing correction matrix [mix_coefficient] It is modified to obtain [XYZ_target_new], and the original color gamut space tristimulus matrix [XYZ_original] i of each color lamp is obtained, and a correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated. In this way, a precise set of target color gamut space tristimulus value matrix can be obtained, and the accuracy of light color standardization and consistency is improved.
  • [XYZ_target_new] [mix_coefficient] * [XYZ_target] (7).
  • the minimum value among the WY_bright values of all the color lamps is taken as the WY_bright value and substituted into the formula (5) to calculate [W_one].
  • the WY_bright value of different colored lights may be different. Take the minimum value to prevent the color correction result from being affected.
  • the average value of Wx of all the color lamps and the average value of Wy of all the color lamps are taken as the Wx value and the Wy value to calculate [W_one] in formula (5).
  • the position of the W color LED lamp beads may be slightly different. By averaging the color coordinates, the color correction result can be guaranteed.
  • the correction coefficient of the W-color lamp beads is set to 1.
  • the invention relates to a method for correcting the color of a colored lamp, by collecting the original light color parameters of the dot matrix of multiple colored lamps of different batches or different use times, and obtaining a correction coefficient matrix of each colored lamp in a targeted manner and Stored in the color correction module of the color lamp, the color correction module processes the source signal based on the correction coefficient matrix of each color lamp when in use, in order to control the driving circuit to drive the light source to emit light, so that the light color can be standardized and consistent. Bring the convenience of dimming and toning to users.
  • FIG. 1 is a signal flow diagram of each color lamp in a color lamp color correction method according to this embodiment.
  • the color lamp includes LED lamps of multiple colors.
  • Each color lamp is provided with a color correction module, including the following steps:
  • the color correction module processes the source signal based on the correction coefficient matrix to obtain the corrected signal, and uses the corrected signal to control the driving circuit to drive the light source to emit light.
  • a light color parameter acquisition device is used to separately collect the RGB three primary color dot matrix original light color parameters of a color lamp, and the dot matrix original light color parameters are Yxy values under the CIE Yxy color model, where: Y is the brightness value recorded as RY_bright, GY_bright, BY_bright, and xy is the color sitting mark (Rx, Ry), (Gx, Gy), (Bx, By); during collection, control the colored light to light red light, light color parameters
  • the acquisition device collects the red dot matrix original light color parameters at this time, and repeats the operation to collect the dot matrix original light color parameters of other base colors until all the base colors are collected;
  • step S12 the collected original light color parameters of the dot matrix are processed to be converted into the original color gamut space tristimulus value matrix [XYZ_original] i , and the corresponding color of the color lamp is drawn in the CIE XYZ 1931 standard colorimetric system.
  • step S13 steps S11 to S12 are repeated to obtain the original color gamut space tristimulus matrix [XYZ_original] i of n colored lights, where i is 1 ... n, and the corresponding chromaticity diagram is drawn.
  • the standard color is CIE XYZ 1931
  • the intersection area of the chromaticity diagram of all colored lights in the degree system is used as the adjustable effective color gamut;
  • step S2 a target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and the original color gamut space tristimulus value matrix [XYZ_original] i of each color lamp that has been obtained is calculated to obtain each
  • the correction coefficient matrix [conversion_coefficient] i of the desk color lamp is stored in the color correction module of the desk color lamp.
  • step S12 the collected point matrix original light color parameters are processed by formula (1) to convert them into the original color gamut space tristimulus value matrix [XYZ_original] i .
  • [XYZ_original] i be
  • step S2 the correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated as: [XYZ_target] is [conversion_coefficient] i is
  • RR is the brightness correction coefficient of the red light when the input source signal is red
  • RG is the brightness correction coefficient of the green light when the input source signal is red
  • RB is the brightness correction coefficient of the blue light when the input source signal is red
  • GR is the brightness correction coefficient of the red light when the input source signal is green
  • GG is the brightness correction coefficient of the green light when the input source signal is green
  • GB is the brightness correction coefficient of the blue light when the input source signal is green
  • BR is the brightness correction coefficient of the red light when the input source signal is blue
  • BG is the brightness correction coefficient of the green light when the input source signal is blue
  • BB is the brightness correction coefficient of the blue light when the input source signal is blue.
  • the calculated correction coefficient matrix of a color lamp is
  • the color correction module includes a main chip and a correction chip.
  • the console sends a DMX source signal to the main chip, and the main chip processes the source signal to obtain data of each primary color channel, and converts it to 16 bits through a dimming gamma curve table.
  • [PWM_original] i value using the correction coefficient matrix [conversion_coefficient] i in the correction chip and combining formula (3) to correct the 16-bit [PWM_original] i value to obtain the corrected 16-bit [PWM_target] value for each primary color;
  • [PWM_target] [conversion_coefficient] i * [PWM_original] i (3);
  • the correction chip transmits the 16-bit [PWM_target] value of each primary color after correction to the main chip, so as to control the driving circuit to obtain corresponding currents of different magnitudes, so that the current drives the light source to emit light.
  • R ’ R * RR + G * GR + B * BR
  • G ’ R * RG + G * GG + B * BG
  • the input source signal [R235, G60, B120], and the actual signal on the pixel after correction is [R218, G78, B107] to achieve light color standardization and consistency.
  • the colored light also includes W color LED lamp beads
  • step S1 further includes using a light color parameter acquisition device to collect W color dot matrix original light color parameters of a color lamp, and the dot matrix original light color parameters
  • the Yxy value under the CIE Yxy color model is written as WY_bright, (Wx, Wy); WY_bright, (Wx, Wy) is processed to obtain the position of the white point in the CIE XYZ 1931 standard chromaticity system [W_one]; take step S13
  • the intersection area of all the colored lamp chromaticity diagrams in the image is used as the original intersection color gamut space tristimulus value matrix [XYZ_intersection], and the data in [XYZ_intersection] is superimposed to obtain [W_rgbintecsetion]. Let [W_rgbintecsetion] be
  • a color mixing correction matrix [mix_coefficient] is obtained.
  • the target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and then the color mixing correction matrix [mix_coefficient] is used. It is modified to obtain [XYZ_target_new], and the original color gamut space tristimulus matrix [XYZ_original] i of each color lamp is obtained, and a correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated. In this way, a precise set of target color gamut space tristimulus value matrix can be obtained, and the accuracy of light color standardization and consistency is improved.
  • [XYZ_target_new] [mix_coefficient] * [XYZ_target] (7).
  • the WY_bright value of all the colored lamps as the WY_bright value and substitute it in formula (5) to calculate [W_one].
  • the WY_bright value of different colored lights may be different. Take the minimum value to prevent the color correction result from being affected.
  • the correction coefficient of the W-color lamp beads is set to 1.

Abstract

A color correction method for a multi-color lamp comprises: collecting dot-matrix original light color parameters of multi-color lamps belonging to different batches or used at different times; and performing targeted acquisition of correction coefficient matrices of the respective multi-color lamps, and storing the same in color correction modules thereof. When in use, the color correction modules process source signals on the basis of the correction coefficient matrices of the respective multi-color lamps so as to control a drive circuit to drive light sources to emit light, thereby realizing standardized and consistent light colors, and enabling a user to perform dimming and color correction operations conveniently.

Description

一种彩色灯色彩校正方法Color lamp color correction method 技术领域Technical field
本发明涉及彩色灯技术领域,更具体地,涉及一种彩色灯色彩校正方法。The present invention relates to the technical field of colored lamps, and more particularly, to a color lamp color correction method.
背景技术Background technique
舞台演出时,一般会同时使用多台彩色灯,但是由于每台彩色灯中LED灯珠因源头工艺存在色度与发光强度的偏差,导致同样的输入信号、同样的驱动电流,不同的彩色灯表现出的光色存在较大差异。这种光色差异严重损害彩色灯的标准化与一致性,给用户带来调光调色的不便。During stage performances, multiple colored lights are usually used at the same time, but due to the deviation of the chromaticity and luminous intensity of the LED lamp beads due to the source process in each colored light, the same input signal, the same driving current, and different colored lights are caused. There is a large difference in the color of the light shown. This light color difference seriously damages the standardization and consistency of the color lights, and brings the inconvenience of dimming and color adjustment to the user.
发明内容Summary of the Invention
本发明的目的在于克服现有技术的不足,提供一种彩色灯色彩校正方法,能同时调节多台彩色灯,使其实现光色标准化和一致性,给用户带来调光调色的便利。The purpose of the present invention is to overcome the shortcomings of the prior art and provide a color lamp color correction method, which can adjust multiple color lamps at the same time, so as to achieve the standardization and consistency of light color, and bring the convenience of dimming and coloring to users.
为达到上述目的,本发明采用的技术方案是:In order to achieve the above objective, the technical solution adopted by the present invention is:
提供一种彩色灯色彩校正方法,所述彩色灯包括多种颜色的LED灯珠,每台彩色灯内均设置色彩校正模块,包括如下步骤:Provided is a color lamp color correction method. The color lamp includes LED lamps of multiple colors. Each color lamp is provided with a color correction module, which includes the following steps:
S1.数据采集及处理,包括如下步骤:S1. Data collection and processing, including the following steps:
S11.分别采集一台彩色灯各种颜色的点阵原始光色参数;S11. Collect the dot matrix original light color parameters of each color of a colored lamp;
S12.对采集到的点阵原始光色参数进行处理并绘制该台彩色灯对应原始色域的色品图,其中色域为某种表色模式所能表达的颜色数量所构成的范围区域;S12. Process the collected original light color parameters of the dot matrix and draw a chromaticity diagram corresponding to the original color gamut of the color lamp, where the color gamut is a range area composed of the number of colors that can be expressed by a certain color mode;
S13.重复步骤S11至S12,以获取n台彩色灯对应原始色域的色品图,绘制所有彩色灯的色品图的交集区域作为可调有效色域;S13. Repeat steps S11 to S12 to obtain chromaticity diagrams corresponding to the original color gamut of n colored lamps, and draw the intersection area of the chromaticity diagrams of all colored lamps as the adjustable effective color gamut;
S2.每台彩色灯的校正系数矩阵的获取:在可调有效色域内设定目标色域,结合已获取的每台彩色灯的原始色域,计算得到每一台彩色灯的校正系数矩阵并将其存储于该台彩色灯的色彩校正模块内;S2. Obtaining the correction coefficient matrix of each color lamp: Set the target color gamut within the adjustable effective color gamut, combine the obtained original color gamut of each color lamp, calculate the correction coefficient matrix of each color lamp, and Store it in the color correction module of the color lamp;
S3.向每台彩色灯的色彩校正模块发送源信号,色彩校正模块基于校正系数矩阵对源信号进行处理以获取校正后的信号,使用校正后的信号控制驱动电路驱动光源发光。S3. Send the source signal to the color correction module of each color light. The color correction module processes the source signal based on the correction coefficient matrix to obtain the corrected signal, and uses the corrected signal to control the driving circuit to drive the light source to emit light.
优选地,步骤S11中利用光色参数采集设备分别采集一台彩色灯的RGB三基色点阵原始光色参数,所述点阵原始光色参数为CIE Yxy颜色模型下Yxy值, 其中,Y为亮度值记为RY_bright、GY_bright、BY_bright,xy为色坐标记为(Rx,Ry)、(Gx,Gy)、(Bx,By);采集时,控制彩色灯点亮红光,光色参数采集设备采集此时的红色的点阵原始光色参数,重复操作以采集其他基色的点阵原始光色参数,直至所有基色采集完毕;Preferably, in step S11, the light color parameter acquisition device is used to collect the original light color parameters of the RGB three primary color dot matrixes of one color lamp, and the original light color parameter of the dot matrix is the Yxy value under the CIE Yxy color model, where Y is The brightness value is recorded as RY_bright, GY_bright, BY_bright, and xy is the color sitting mark (Rx, Ry), (Gx, Gy), (Bx, By); when collecting, control the colored lights to light red, and the light color parameter collection equipment Collect the red dot matrix original light color parameters at this time, and repeat the operation to collect the dot matrix original light color parameters of other base colors until all the base colors are collected;
步骤S12中对采集到的点阵原始光色参数进行处理以将其转换为原始色域空间三刺激值矩阵[XYZ_original] i,并在CIE XYZ 1931标准色度系统中绘制该台彩色灯对应色域的色品图,CIE XYZ 1931标准色度系统中使用[X]、[Y]和[Z]表示R、G和B三原色; In step S12, the collected original light color parameters of the dot matrix are processed to be converted into the original color gamut space tristimulus value matrix [XYZ_original] i , and the corresponding color of the color lamp is drawn in the CIE XYZ 1931 standard colorimetric system. The chromaticity diagram of the domain. In the CIE XYZ 1931 standard chromaticity system, [X], [Y], and [Z] are used to represent the three primary colors of R, G, and B;
步骤S13中,重复步骤S11至S12,以获取n台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,i为1…n,并绘制对应的色品图,在CIE XYZ 1931标准色度系统中绘制所有彩色灯的色品图的交集区域作为可调有效色域; In step S13, steps S11 to S12 are repeated to obtain the original color gamut space tristimulus matrix [XYZ_original] i of n colored lights, where i is 1 ... n, and the corresponding chromaticity diagram is drawn. The standard color is CIE XYZ 1931 The intersection area of the chromaticity diagram of all colored lights in the degree system is used as the adjustable effective color gamut;
步骤S2中,在可调有效色域内设定目标色域空间三刺激值矩阵[XYZ_target],结合已获取的每台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,计算得到每一台彩色灯的校正系数矩阵[conversion_coefficient] i并将其存储于该台彩色灯的色彩校正模块内。 In step S2, a target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and the original color gamut space tristimulus value matrix [XYZ_original] i of each color lamp that has been obtained is calculated to obtain each The correction coefficient matrix [conversion_coefficient] i of the desk color lamp is stored in the color correction module of the desk color lamp.
优选地,步骤S12中,对采集到的点阵原始光色参数进行公式(1)的处理以将其转换为原始色域空间三刺激值矩阵[XYZ_original] i,记[XYZ_original] i
Figure PCTCN2019075204-appb-000001
Figure PCTCN2019075204-appb-000002
Preferably, in step S12, the collected point matrix original light color parameters are processed by formula (1) to convert them into the original color gamut space tristimulus value matrix [XYZ_original] i , and [XYZ_original] i is
Figure PCTCN2019075204-appb-000001
Figure PCTCN2019075204-appb-000002
优选地,步骤S2中,每台彩色灯的校正系数矩阵[conversion_coefficient] i的计算方式为:记[XYZ_target]为
Figure PCTCN2019075204-appb-000003
[conversion_coefficient] i
Figure PCTCN2019075204-appb-000004
[conversion_coefficient] i*[XYZ_original] i=[XYZ_target]    (2);
Preferably, in step S2, the correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated as: [XYZ_target] is
Figure PCTCN2019075204-appb-000003
[conversion_coefficient] i is
Figure PCTCN2019075204-appb-000004
[conversion_coefficient] i * [XYZ_original] i = [XYZ_target] (2);
其中校正系数矩阵[conversion_coefficient] i中: Where the correction coefficient matrix [conversion_coefficient] i :
RR为输入源信号为红色时,红灯的亮度校正系数;RR is the brightness correction coefficient of the red light when the input source signal is red;
RG为输入源信号为红色时,绿灯的亮度校正系数;RG is the brightness correction coefficient of the green light when the input source signal is red;
RB为输入源信号为红色时,蓝灯的亮度校正系数;RB is the brightness correction coefficient of the blue light when the input source signal is red;
GR为输入源信号为绿色时,红灯的亮度校正系数;GR is the brightness correction coefficient of the red light when the input source signal is green;
GG为输入源信号为绿色时,绿灯的亮度校正系数;GG is the brightness correction coefficient of the green light when the input source signal is green;
GB为输入源信号为绿色时,蓝灯的亮度校正系数;GB is the brightness correction coefficient of the blue light when the input source signal is green;
BR为输入源信号为蓝色时,红灯的亮度校正系数;BR is the brightness correction coefficient of the red light when the input source signal is blue;
BG为输入源信号为蓝色时,绿灯的亮度校正系数;BG is the brightness correction coefficient of the green light when the input source signal is blue;
BB为输入源信号为蓝色时,蓝灯的亮度校正系数。BB is the brightness correction coefficient of the blue light when the input source signal is blue.
例如计算的某台彩色灯的校正系数矩阵为
Figure PCTCN2019075204-appb-000005
For example, the calculated correction coefficient matrix of a color lamp is
Figure PCTCN2019075204-appb-000005
优选地,色彩校正模块包括主芯片和校正芯片;步骤S3中,利用控制台发送DMX源信号至主芯片,主芯片对源信号处理以获取各基色通道数据,经调光gamma曲线表转换为16位[PWM_original] i值,利用校正芯片中的校正系数矩阵[conversion_coefficient] i并结合公式(3)对16位[PWM_original] i值进行校正,得到校正后各基色16位[PWM_target]值; Preferably, the color correction module includes a main chip and a correction chip. In step S3, the console sends a DMX source signal to the main chip, and the main chip processes the source signal to obtain data of each primary color channel, and converts it to 16 through a dimming gamma curve table. Bit [PWM_original] i value, use the correction coefficient matrix [conversion_coefficient] i in the correction chip and combine formula (3) to correct the 16-bit [PWM_original] i value to obtain the corrected 16-bit [PWM_target] value for each primary color;
[PWM_target]=[conversion_coefficient] i*[PWM_original] i   (3);校正芯片将校正后各基色16位[PWM_target]值传输至主芯片,以控制驱动电路获取对应的不同大小的电流,使该电流驱动光源发光。例如当[PWM_original] i=[R235,G60,B120]时,校正系数矩阵为
Figure PCTCN2019075204-appb-000006
记[PWM_target]为[R’,G’,B’]时,代入公式(3)可求得:
[PWM_target] = [conversion_coefficient] i * [PWM_original] i (3); the correction chip transmits the 16-bit [PWM_target] value of each primary color after correction to the main chip, so as to control the driving circuit to obtain corresponding currents of different magnitudes so that the current The light source is driven to emit light. For example, when [PWM_original] i = [R235, G60, B120], the correction coefficient matrix is
Figure PCTCN2019075204-appb-000006
When [PWM_target] is recorded as [R ', G', B '], substituting into formula (3) can be obtained:
R’=R*RR+G*GR+B*BRR ’= R * RR + G * GR + B * BR
=235*0.815562+60*0.011104+120*0.211122= 235 * 0.815562 + 60 * 0.011104 + 120 * 0.211122
=217.66= 217.66
≈218≈218
G’=R*RG+G*GG+B*BGG ’= R * RG + G * GG + B * BG
=235*0.111135+60*0.845431+120*0.012226= 235 * 0.111135 + 60 * 0.845431 + 120 * 0.012226
=78.31= 78.31
≈78≈78
B’=R*RB+G*GB+B*BBB ’= R * RB + G * GB + B * BB
=235*0.001227+60*0.242253+120*0.764322= 235 * 0.001227 + 60 * 0.242253 + 120 * 0.764322
=106.54= 106.54
≈107≈107
即输入源信号[R235,G60,B120],校正后在该像素上实际信号为[R218,G78,B107],以实现光色标准化和一致性。That is, the input source signal [R235, G60, B120], and the actual signal on the pixel after correction is [R218, G78, B107] to achieve light color standardization and consistency.
优选地,所述彩色灯还包括W颜色的LED灯珠,步骤S1中还包括利用光色参数采集设备采集一台彩色灯的W颜色的点阵原始光色参数,所述点阵原始光色参数为CIE Yxy颜色模型下Yxy值,记作WY_bright、(Wx,Wy);对WY_bright、(Wx,Wy)进行处理获取在CIE XYZ 1931标准色度系统中白点的位置[W_one];取步骤S13中所有彩色灯色品图的交集区域作为原始交集色域空间三刺激值矩阵[XYZ_intersection],对[XYZ_intersection]中的数据进行叠加处理获取[W_rgbintecsetion],记[XYZ_intersection]为Preferably, the color lamp further includes W color LED lamp beads, and step S1 further includes collecting the original color parameter of the W matrix of a color lamp using a light color parameter acquisition device, and the original color of the dot matrix. The parameter is the Yxy value under the CIE Yxy color model, which is written as WY_bright, (Wx, Wy); processing WY_bright, (Wx, Wy) to obtain the position of the white point in the CIE XYZ 1931 standard colorimetric system [W_one]; take steps The intersection area of all colored lamp chromaticity diagrams in S13 is used as the original intersection color gamut space tristimulus value matrix [XYZ_intersection], and the data in [XYZ_intersection] is superimposed to obtain [W_rgbintecsetion], and [XYZ_intersection] is
Figure PCTCN2019075204-appb-000007
记[W_rgbintecsetion]为
Figure PCTCN2019075204-appb-000008
Figure PCTCN2019075204-appb-000007
Let [W_rgbintecsetion] be
Figure PCTCN2019075204-appb-000008
[W_rgbintecsetion]通过公式(4)获得;[W_rgbintecsetion] obtained by formula (4);
Figure PCTCN2019075204-appb-000009
Figure PCTCN2019075204-appb-000009
通过对[W_one]和[W_rgbintecsetion]的处理,获取混色修正矩阵[mix_coefficient],步骤S2中在可调有效色域内设定目标色域空间三刺激值矩阵[XYZ_target]后用混色修正矩阵[mix_coefficient]对其修正以得到[XYZ_target_new],再结合已获取的每台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,计算得到每一台彩色灯的校正系数矩阵[conversion_coefficient] i。这样设置即可获取精准的设定的目标色域空间三刺激值矩阵,提高光色标准化和一致性的精准度。 Through the processing of [W_one] and [W_rgbintecsetion], a color mixing correction matrix [mix_coefficient] is obtained. In step S2, the target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and then the color mixing correction matrix [mix_coefficient] It is modified to obtain [XYZ_target_new], and the original color gamut space tristimulus matrix [XYZ_original] i of each color lamp is obtained, and a correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated. In this way, a precise set of target color gamut space tristimulus value matrix can be obtained, and the accuracy of light color standardization and consistency is improved.
进一步优选地,记[W_one]为
Figure PCTCN2019075204-appb-000010
通过公式(5)计算[W_one]:
Further preferably, let [W_one] be
Figure PCTCN2019075204-appb-000010
Calculate [W_one] by formula (5):
Figure PCTCN2019075204-appb-000011
Figure PCTCN2019075204-appb-000011
通过公式(6)计算混色修正矩阵[mix_coefficient]:Calculate the color mixing correction matrix [mix_coefficient] by formula (6):
[mix_coefficient]*[W_rgbintecsetion]=[W_one]    (6);通过公式(7)对设定的目标色域空间三刺激值矩阵[XYZ_target]进行修正:[mix_coefficient] * [W_rgbintecsetion] = [W_one] (6); Correct the set target color gamut space tristimulus value matrix [XYZ_target] by formula (7):
[XYZ_target_new]=[mix_coefficient]*[XYZ_target]   (7)。[XYZ_target_new] = [mix_coefficient] * [XYZ_target] (7).
进一步优选地,取所有台彩色灯的WY_bright值中的最小值作为WY_bright值代入公式(5)中计算[W_one]。不同台彩色灯的WY_bright值可能不同,取最小值进行运算,以防影响色彩校正结果。Further preferably, the minimum value among the WY_bright values of all the color lamps is taken as the WY_bright value and substituted into the formula (5) to calculate [W_one]. The WY_bright value of different colored lights may be different. Take the minimum value to prevent the color correction result from being affected.
更进一步优选地,取所有台彩色灯的Wx的平均值和所有台彩色灯的Wy的平均值作为Wx值和Wy值代入公式(5)中计算[W_one]。生产彩色灯时,W颜色的LED灯珠的位置可能会略有不同,通过对色坐标取平均,可以保证色彩校正结果。Still further preferably, the average value of Wx of all the color lamps and the average value of Wy of all the color lamps are taken as the Wx value and the Wy value to calculate [W_one] in formula (5). When producing colored lights, the position of the W color LED lamp beads may be slightly different. By averaging the color coordinates, the color correction result can be guaranteed.
优选地,彩色灯还包括W颜色的LED灯珠时,W色灯珠的校正系数设为1。Preferably, when the color lamp further includes W-color LED lamp beads, the correction coefficient of the W-color lamp beads is set to 1.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:
本发明一种彩色灯色彩校正方法,通过对不同批次或不同使用时间的多台彩色灯的点阵原始光色参数进行采集,并针对性地获取每台彩色灯的校正系数矩阵并将其存储于该台彩色灯的色彩校正模块内,使用时色彩校正模块基于每台彩色灯的校正系数矩阵对源信号进行处理,以控制驱动电路驱动光源发光,使其实现光色标准化和一致性,给用户带来调光调色的便利。The invention relates to a method for correcting the color of a colored lamp, by collecting the original light color parameters of the dot matrix of multiple colored lamps of different batches or different use times, and obtaining a correction coefficient matrix of each colored lamp in a targeted manner and Stored in the color correction module of the color lamp, the color correction module processes the source signal based on the correction coefficient matrix of each color lamp when in use, in order to control the driving circuit to drive the light source to emit light, so that the light color can be standardized and consistent. Bring the convenience of dimming and toning to users.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本实施例一种彩色灯色彩校正方法中对每台彩色灯进行校正时信号流向图。FIG. 1 is a signal flow diagram of each color lamp in a color lamp color correction method according to this embodiment.
具体实施方式detailed description
下面结合具体实施方式对本发明作进一步的说明。其中,附图仅用于示例性说明,表示的仅是示意图,而非实物图,不能理解为对本专利的限制;为了更好地说明本发明的实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;对本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。The present invention is further described below in combination with specific embodiments. Among them, the drawings are only for illustrative descriptions, and they are only schematic diagrams, not physical maps, and cannot be understood as a limitation on this patent; in order to better illustrate the embodiments of the present invention, some components of the drawings may be omitted, Enlarging or reducing does not represent the size of the actual product; for those skilled in the art, it may be understood that certain well-known structures and their descriptions in the drawings may be omitted.
本发明实施例的附图中相同或相似的标号对应相同或相似的部件;在本发明的描述中,需要理解的是,若有术语“上”、“下”、“左”、“右”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此附图中描述位置关系的用语仅用于示例性说明,不能理解为对本专利的限制,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语 的具体含义。The same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if there are terms "up", "down", "left", and "right" The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplified description. It does not indicate or imply that the device or element referred to must have a specific orientation, a specific The azimuth structure and operation, therefore, the terms describing the positional relationship in the drawings are only for illustrative purposes, and should not be construed as a limitation on this patent. For those of ordinary skill in the art, the specific meanings of the above terms can be understood according to specific situations.
实施例Examples
本实施例提供一种彩色灯色彩校正方法,所述彩色灯包括多种颜色的LED灯珠,每台彩色灯均设置色彩校正模块,包括如下步骤:This embodiment provides a color lamp color correction method. The color lamp includes LED lamps of multiple colors. Each color lamp is provided with a color correction module, including the following steps:
S1.数据采集及处理,包括如下步骤:S1. Data collection and processing, including the following steps:
S11.分别采集一台彩色灯的各种颜色的点阵原始光色参数;S11. Collect the dot matrix original light color parameters of each color of a colored lamp;
S12.对采集到的点阵原始光色参数进行处理并绘制该台彩色灯对应原始色域的色品图,其中色域为某种表色模式所能表达的颜色数量所构成的范围区域;S12. Process the collected original light color parameters of the dot matrix and draw a chromaticity diagram corresponding to the original color gamut of the color lamp, where the color gamut is a range area composed of the number of colors that can be expressed by a certain color mode;
S13.重复步骤S11至S12,以获取n台彩色灯对应原始色域的色品图,绘制所有彩色灯的色品图的交集区域作为可调有效色域;S13. Repeat steps S11 to S12 to obtain chromaticity diagrams corresponding to the original color gamut of n colored lamps, and draw the intersection area of the chromaticity diagrams of all colored lamps as the adjustable effective color gamut;
S2.每台彩色灯的校正系数矩阵的获取:在可调有效色域内设定目标色域,结合已获取的每台彩色灯的原始色域,计算得到每一台彩色灯的校正系数矩阵并将其存储于该台彩色灯的色彩校正模块内;S2. Obtaining the correction coefficient matrix of each color lamp: Set the target color gamut within the adjustable effective color gamut, combine the obtained original color gamut of each color lamp, calculate the correction coefficient matrix of each color lamp, and Store it in the color correction module of the color lamp;
S3.向每台彩色灯的色彩校正模块发送源信号,色彩校正模块基于校正系数矩阵对源信号进行处理以获取校正后的信号,使用校正后的信号控制驱动电路驱动光源发光。S3. Send the source signal to the color correction module of each color light. The color correction module processes the source signal based on the correction coefficient matrix to obtain the corrected signal, and uses the corrected signal to control the driving circuit to drive the light source to emit light.
本实施例中,步骤S11中利用光色参数采集设备分别采集一台彩色灯的RGB三基色点阵原始光色参数,所述点阵原始光色参数为CIE Yxy颜色模型下Yxy值,其中,Y为亮度值记为RY_bright、GY_bright、BY_bright,xy为色坐标记为(Rx,Ry)、(Gx,Gy)、(Bx,By);采集时,控制彩色灯点亮红光,光色参数采集设备采集此时的红色的点阵原始光色参数,重复操作以采集其他基色的点阵原始光色参数,直至所有基色采集完毕;In this embodiment, in step S11, a light color parameter acquisition device is used to separately collect the RGB three primary color dot matrix original light color parameters of a color lamp, and the dot matrix original light color parameters are Yxy values under the CIE Yxy color model, where: Y is the brightness value recorded as RY_bright, GY_bright, BY_bright, and xy is the color sitting mark (Rx, Ry), (Gx, Gy), (Bx, By); during collection, control the colored light to light red light, light color parameters The acquisition device collects the red dot matrix original light color parameters at this time, and repeats the operation to collect the dot matrix original light color parameters of other base colors until all the base colors are collected;
步骤S12中对采集到的点阵原始光色参数进行处理以将其转换为原始色域空间三刺激值矩阵[XYZ_original] i,并在CIE XYZ 1931标准色度系统中绘制该台彩色灯对应色域的色品图,CIE XYZ 1931标准色度系统中使用[X]、[Y]和[Z]表示R、G和B三原色; In step S12, the collected original light color parameters of the dot matrix are processed to be converted into the original color gamut space tristimulus value matrix [XYZ_original] i , and the corresponding color of the color lamp is drawn in the CIE XYZ 1931 standard colorimetric system. The chromaticity diagram of the domain. In the CIE XYZ 1931 standard chromaticity system, [X], [Y], and [Z] are used to represent the three primary colors of R, G, and B;
步骤S13中,重复步骤S11至S12,以获取n台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,i为1…n,并绘制对应的色品图,在CIE XYZ 1931标准色度系统中绘制所有彩色灯的色品图的交集区域作为可调有效色域; In step S13, steps S11 to S12 are repeated to obtain the original color gamut space tristimulus matrix [XYZ_original] i of n colored lights, where i is 1 ... n, and the corresponding chromaticity diagram is drawn. The standard color is CIE XYZ 1931 The intersection area of the chromaticity diagram of all colored lights in the degree system is used as the adjustable effective color gamut;
步骤S2中,在可调有效色域内设定目标色域空间三刺激值矩阵[XYZ_target],结 合已获取的每台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,计算得到每一台彩色灯的校正系数矩阵[conversion_coefficient] i并将其存储于该台彩色灯的色彩校正模块内。 In step S2, a target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and the original color gamut space tristimulus value matrix [XYZ_original] i of each color lamp that has been obtained is calculated to obtain each The correction coefficient matrix [conversion_coefficient] i of the desk color lamp is stored in the color correction module of the desk color lamp.
其中,步骤S12中,对采集到的点阵原始光色参数进行公式(1)的处理以将其转换为原始色域空间三刺激值矩阵[XYZ_original] i,记[XYZ_original] i
Figure PCTCN2019075204-appb-000012
Figure PCTCN2019075204-appb-000013
Wherein, in step S12, the collected point matrix original light color parameters are processed by formula (1) to convert them into the original color gamut space tristimulus value matrix [XYZ_original] i . Let [XYZ_original] i be
Figure PCTCN2019075204-appb-000012
Figure PCTCN2019075204-appb-000013
另外,步骤S2中,每台彩色灯的校正系数矩阵[conversion_coefficient] i的计算方式为:记[XYZ_target]为
Figure PCTCN2019075204-appb-000014
[conversion_coefficient] i
Figure PCTCN2019075204-appb-000015
In addition, in step S2, the correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated as: [XYZ_target] is
Figure PCTCN2019075204-appb-000014
[conversion_coefficient] i is
Figure PCTCN2019075204-appb-000015
[conversion_coefficient] i*[XYZ_original] i=[XYZ_target]     (2); [conversion_coefficient] i * [XYZ_original] i = [XYZ_target] (2);
其中校正系数矩阵[conversion_coefficient] i中: Where the correction coefficient matrix [conversion_coefficient] i :
RR为输入源信号为红色时,红灯的亮度校正系数;RR is the brightness correction coefficient of the red light when the input source signal is red;
RG为输入源信号为红色时,绿灯的亮度校正系数;RG is the brightness correction coefficient of the green light when the input source signal is red;
RB为输入源信号为红色时,蓝灯的亮度校正系数;RB is the brightness correction coefficient of the blue light when the input source signal is red;
GR为输入源信号为绿色时,红灯的亮度校正系数;GR is the brightness correction coefficient of the red light when the input source signal is green;
GG为输入源信号为绿色时,绿灯的亮度校正系数;GG is the brightness correction coefficient of the green light when the input source signal is green;
GB为输入源信号为绿色时,蓝灯的亮度校正系数;GB is the brightness correction coefficient of the blue light when the input source signal is green;
BR为输入源信号为蓝色时,红灯的亮度校正系数;BR is the brightness correction coefficient of the red light when the input source signal is blue;
BG为输入源信号为蓝色时,绿灯的亮度校正系数;BG is the brightness correction coefficient of the green light when the input source signal is blue;
BB为输入源信号为蓝色时,蓝灯的亮度校正系数。BB is the brightness correction coefficient of the blue light when the input source signal is blue.
例如计算的某台彩色灯的校正系数矩阵为
Figure PCTCN2019075204-appb-000016
For example, the calculated correction coefficient matrix of a color lamp is
Figure PCTCN2019075204-appb-000016
其中,色彩校正模块包括主芯片和校正芯片;步骤S3中,利用控制台发送DMX源信号至主芯片,主芯片对源信号处理以获取各基色通道数据,经调光gamma曲线表转换为16位[PWM_original] i值,利用校正芯片中的校正系数矩阵 [conversion_coefficient] i并结合公式(3)对16位[PWM_original] i值进行校正,得到校正后各基色16位[PWM_target]值; The color correction module includes a main chip and a correction chip. In step S3, the console sends a DMX source signal to the main chip, and the main chip processes the source signal to obtain data of each primary color channel, and converts it to 16 bits through a dimming gamma curve table. [PWM_original] i value, using the correction coefficient matrix [conversion_coefficient] i in the correction chip and combining formula (3) to correct the 16-bit [PWM_original] i value to obtain the corrected 16-bit [PWM_target] value for each primary color;
[PWM_target]=[conversion_coefficient] i*[PWM_original] i   (3); [PWM_target] = [conversion_coefficient] i * [PWM_original] i (3);
校正芯片将校正后各基色16位[PWM_target]值传输至主芯片,以控制驱动电路获取对应的不同大小的电流,使该电流驱动光源发光。The correction chip transmits the 16-bit [PWM_target] value of each primary color after correction to the main chip, so as to control the driving circuit to obtain corresponding currents of different magnitudes, so that the current drives the light source to emit light.
例如当[PWM_original] i=[R235,G60,B120]时,校正系数矩阵为
Figure PCTCN2019075204-appb-000017
For example, when [PWM_original] i = [R235, G60, B120], the correction coefficient matrix is
Figure PCTCN2019075204-appb-000017
记[PWM_target]为[R’,G’,B’]时,代入公式(3)可求得:When [PWM_target] is [R ', G', B '], substituting into formula (3) can be obtained:
R’=R*RR+G*GR+B*BRR ’= R * RR + G * GR + B * BR
=235*0.815562+60*0.011104+120*0.211122= 235 * 0.815562 + 60 * 0.011104 + 120 * 0.211122
=217.66= 217.66
≈218≈218
G’=R*RG+G*GG+B*BGG ’= R * RG + G * GG + B * BG
=235*0.111135+60*0.845431+120*0.012226= 235 * 0.111135 + 60 * 0.845431 + 120 * 0.012226
=78.31= 78.31
≈78≈78
B’=R*RB+G*GB+B*BBB ’= R * RB + G * GB + B * BB
=235*0.001227+60*0.242253+120*0.764322= 235 * 0.001227 + 60 * 0.242253 + 120 * 0.764322
=106.54= 106.54
≈107≈107
即输入源信号[R235,G60,B120],校正后在该像素上实际信号为[R218,G78,B107],以实现光色标准化和一致性。That is, the input source signal [R235, G60, B120], and the actual signal on the pixel after correction is [R218, G78, B107] to achieve light color standardization and consistency.
另外,所述彩色灯还包括W颜色的LED灯珠,步骤S1中还包括利用光色参数采集设备采集一台彩色灯的W颜色的点阵原始光色参数,所述点阵原始光色参数为CIE Yxy颜色模型下Yxy值,记作WY_bright、(Wx,Wy);对WY_bright、(Wx,Wy)进行处理获取在CIE XYZ 1931标准色度系统中白点的位置[W_one];取步骤S13中所有彩色灯色品图的交集区域作为原始交集色域空间三刺激值矩阵[XYZ_intersection],对[XYZ_intersection]中的数据进行叠加处理获取[W_rgbintecsetion],记[XYZ_intersection]为
Figure PCTCN2019075204-appb-000018
记[W_rgbintecsetion]为
Figure PCTCN2019075204-appb-000019
In addition, the colored light also includes W color LED lamp beads, and step S1 further includes using a light color parameter acquisition device to collect W color dot matrix original light color parameters of a color lamp, and the dot matrix original light color parameters The Yxy value under the CIE Yxy color model is written as WY_bright, (Wx, Wy); WY_bright, (Wx, Wy) is processed to obtain the position of the white point in the CIE XYZ 1931 standard chromaticity system [W_one]; take step S13 The intersection area of all the colored lamp chromaticity diagrams in the image is used as the original intersection color gamut space tristimulus value matrix [XYZ_intersection], and the data in [XYZ_intersection] is superimposed to obtain [W_rgbintecsetion].
Figure PCTCN2019075204-appb-000018
Let [W_rgbintecsetion] be
Figure PCTCN2019075204-appb-000019
[W_rgbintecsetion]通过公式(4)获得;[W_rgbintecsetion] obtained by formula (4);
Figure PCTCN2019075204-appb-000020
Figure PCTCN2019075204-appb-000020
通过对[W_one]和[W_rgbintecsetion]的处理,获取混色修正矩阵[mix_coefficient],步骤S2中在可调有效色域内设定目标色域空间三刺激值矩阵[XYZ_target]后用混色修正矩阵[mix_coefficient]对其修正以得到[XYZ_target_new],再结合已获取的每台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,计算得到每一台彩色灯的校正系数矩阵[conversion_coefficient] i。这样设置即可获取精准的设定的目标色域空间三刺激值矩阵,提高光色标准化和一致性的精准度。 Through the processing of [W_one] and [W_rgbintecsetion], a color mixing correction matrix [mix_coefficient] is obtained. In step S2, the target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and then the color mixing correction matrix [mix_coefficient] is used. It is modified to obtain [XYZ_target_new], and the original color gamut space tristimulus matrix [XYZ_original] i of each color lamp is obtained, and a correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated. In this way, a precise set of target color gamut space tristimulus value matrix can be obtained, and the accuracy of light color standardization and consistency is improved.
本实施例中,记[W_one]为
Figure PCTCN2019075204-appb-000021
通过公式(5)计算[W_one]:
In this embodiment, write [W_one] as
Figure PCTCN2019075204-appb-000021
Calculate [W_one] by formula (5):
Figure PCTCN2019075204-appb-000022
Figure PCTCN2019075204-appb-000022
通过公式(6)计算混色修正矩阵[mix_coefficient]:Calculate the color mixing correction matrix [mix_coefficient] by formula (6):
[mix_coefficient]*[W_rgbintecsetion]=[W_one]     (6);通过公式(7)对设定的目标色域空间三刺激值矩阵[XYZ_target]进行修正:[mix_coefficient] * [W_rgbintecsetion] = [W_one] (6); Correct the set target color gamut space tristimulus value matrix [XYZ_target] by formula (7):
[XYZ_target_new]=[mix_coefficient]*[XYZ_target]   (7)。[XYZ_target_new] = [mix_coefficient] * [XYZ_target] (7).
其中,取所有台彩色灯的WY_bright值中的最小值作为WY_bright值代入公式(5)中计算[W_one]。不同台彩色灯的WY_bright值可能不同,取最小值进行运算,以防影响色彩校正结果。Among them, take the minimum value of the WY_bright values of all the colored lamps as the WY_bright value and substitute it in formula (5) to calculate [W_one]. The WY_bright value of different colored lights may be different. Take the minimum value to prevent the color correction result from being affected.
另外,取所有台彩色灯的Wx的平均值和所有台彩色灯的Wy的平均值作为Wx值和Wy值代入公式(5)中计算[W_one]。生产彩色灯时,W颜色的LED灯珠的位置可能会略有不同,通过对色坐标取平均,可以保证色彩校正结果。In addition, take the average value of Wx of all the color lamps and the average value of Wy of all the color lamps as the Wx value and the Wy value to calculate [W_one] in formula (5). When producing colored lights, the position of the W color LED lamp beads may be slightly different. By averaging the color coordinates, the color correction result can be guaranteed.
其中,彩色灯还包括W颜色的LED灯珠时,W色灯珠的校正系数设为1。Wherein, when the color lamp further includes W-color LED lamp beads, the correction coefficient of the W-color lamp beads is set to 1.
显然,本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施 方式予以穷举。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。Obviously, the foregoing embodiments of the present invention are merely examples for clearly explaining the present invention, and are not intended to limit the embodiments of the present invention. For those of ordinary skill in the art, other different forms of changes or modifications can be made on the basis of the above description. There is no need and cannot be exhaustive for all implementations. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.

Claims (10)

  1. 一种彩色灯色彩校正方法,所述彩色灯包括多种颜色的LED灯珠,其特征在于,每台彩色灯内均设置色彩校正模块,包括如下步骤:A method for color correction of a color lamp. The color lamp includes LED lamps of multiple colors, and is characterized in that a color correction module is installed in each color lamp, including the following steps:
    S1.数据采集及处理,包括如下步骤:S1. Data collection and processing, including the following steps:
    S11.分别采集一台彩色灯各种颜色的点阵原始光色参数;S11. Collect the dot matrix original light color parameters of each color of a colored lamp;
    S12.对采集到的点阵原始光色参数进行处理并绘制该台彩色灯对应原始色域的色品图,其中色域为某种表色模式所能表达的颜色数量所构成的范围区域;S12. Process the collected original light color parameters of the dot matrix and draw a chromaticity diagram corresponding to the original color gamut of the color lamp, where the color gamut is a range area composed of the number of colors that can be expressed by a certain color mode;
    S13.重复步骤S11至S12,以获取n台彩色灯对应原始色域的色品图,绘制所有彩色灯的色品图的交集区域作为可调有效色域;S13. Repeat steps S11 to S12 to obtain chromaticity diagrams corresponding to the original color gamut of n colored lamps, and draw the intersection area of the chromaticity diagrams of all colored lamps as the adjustable effective color gamut;
    S2.每台彩色灯的校正系数矩阵的获取:在可调有效色域内设定目标色域,结合已获取的每台彩色灯的原始色域,计算得到每一台彩色灯的校正系数矩阵并将其存储于该台彩色灯的色彩校正模块内;S2. Obtaining the correction coefficient matrix of each color lamp: Set the target color gamut within the adjustable effective color gamut, combine the obtained original color gamut of each color lamp, calculate the correction coefficient matrix of each color lamp, and Store it in the color correction module of the color lamp;
    S3.向每台彩色灯的色彩校正模块发送源信号,色彩校正模块基于校正系数矩阵对源信号进行处理以获取校正后的信号,使用校正后的信号控制驱动电路驱动光源发光。S3. Send the source signal to the color correction module of each color light. The color correction module processes the source signal based on the correction coefficient matrix to obtain the corrected signal, and uses the corrected signal to control the driving circuit to drive the light source to emit light.
  2. 根据权利要求1所述的一种彩色灯色彩校正方法,其特征在于,所述彩色灯包括RGB三种颜色的LED灯珠,The method for color correction of a colored lamp according to claim 1, wherein the colored lamp comprises LED lamp beads of three colors of RGB,
    步骤S11中,利用光色参数采集设备分别采集一台彩色灯的RGB三基色点阵原始光色参数,所述点阵原始光色参数为CIE Yxy颜色模型下Yxy值,其中,Y为亮度值记为RY_bright、GY_bright、BY_bright,xy为色坐标记为(Rx,Ry)、(Gx,Gy)、(Bx,By);In step S11, the light color parameter acquisition device is used to collect the original light color parameters of the RGB three-primary dot matrix of a color light, the original light color parameters of the dot matrix are Yxy values under the CIE Yxy color model, where Y is the brightness value Recorded as RY_bright, GY_bright, BY_bright, and xy are colored seats labeled (Rx, Ry), (Gx, Gy), (Bx, By);
    步骤S12中,对采集到的点阵原始光色参数进行处理以将其转换为原始色域空间三刺激值矩阵[XYZ_original] i,并在CIE XYZ 1931标准色度系统中绘制该台彩色灯对应原始色域的色品图; In step S12, the collected original light color parameters of the dot matrix are processed to be converted into the original color gamut space tristimulus value matrix [XYZ_original] i , and the corresponding color lights are drawn in the CIE XYZ 1931 standard chromaticity system Chromaticity diagram of original color gamut;
    步骤S13中,重复步骤S11至S12,以获取n台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,i为1…n,并绘制对应的色品图,在CIE XYZ 1931标准色度系统中绘制所有彩色灯的色品图的交集区域作为可调有效色域; In step S13, steps S11 to S12 are repeated to obtain the original color gamut space tristimulus matrix [XYZ_original] i of n colored lights, where i is 1 ... n, and the corresponding chromaticity diagram is drawn. The standard color is CIE XYZ 1931 The intersection area of the chromaticity diagram of all colored lights in the degree system is used as the adjustable effective color gamut;
    步骤S2中,在可调有效色域内设定目标色域空间三刺激值矩阵[XYZ_target],结合已获取的每台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,计 算得到每一台彩色灯的校正系数矩阵[conversion_coefficient] i并将其存储于该台彩色灯的色彩校正模块内。 In step S2, a target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and the original color gamut space tristimulus value matrix [XYZ_original] i of each color lamp that has been obtained is calculated to obtain each The correction coefficient matrix [conversion_coefficient] i of the desk color lamp is stored in the color correction module of the desk color lamp.
  3. 根据权利要求2所述的一种彩色灯色彩校正方法,其特征在于,步骤S12中,对采集到的点阵原始光色参数进行公式(1)的处理以将其转换为原始色域空间三刺激值矩阵[XYZ_original] i,记[XYZ_original] i
    Figure PCTCN2019075204-appb-100001
    Figure PCTCN2019075204-appb-100002
    The method for color correction of a colored lamp according to claim 2, characterized in that in step S12, the collected point matrix original light color parameters are processed by formula (1) to convert them into the original color gamut space. Stimulus value matrix [XYZ_original] i , let [XYZ_original] i be
    Figure PCTCN2019075204-appb-100001
    Figure PCTCN2019075204-appb-100002
  4. 根据权利要求2所述的一种彩色灯色彩校正方法,其特征在于,步骤S2中,每台彩色灯的校正系数矩阵[conversion_coefficient] i的计算方式为:记[XYZ_target]为
    Figure PCTCN2019075204-appb-100003
    [conversion_coefficient] i
    Figure PCTCN2019075204-appb-100004
    The method for color correction of a colored lamp according to claim 2, characterized in that, in step S2, the correction coefficient matrix [conversion_coefficient] i of each colored lamp is calculated as: [XYZ_target] is
    Figure PCTCN2019075204-appb-100003
    [conversion_coefficient] i is
    Figure PCTCN2019075204-appb-100004
    [conversion_coefficient] i*[XYZ_original] i=[XYZ_target]        (2); [conversion_coefficient] i * [XYZ_original] i = [XYZ_target] (2);
    其中校正系数矩阵[conversion_coefficient] i中: Where the correction coefficient matrix [conversion_coefficient] i :
    RR为输入源信号为红色时,红灯的亮度校正系数;RR is the brightness correction coefficient of the red light when the input source signal is red;
    RG为输入源信号为红色时,绿灯的亮度校正系数;RG is the brightness correction coefficient of the green light when the input source signal is red;
    RB为输入源信号为红色时,蓝灯的亮度校正系数;RB is the brightness correction coefficient of the blue light when the input source signal is red;
    GR为输入源信号为绿色时,红灯的亮度校正系数;GR is the brightness correction coefficient of the red light when the input source signal is green;
    GG为输入源信号为绿色时,绿灯的亮度校正系数;GG is the brightness correction coefficient of the green light when the input source signal is green;
    GB为输入源信号为绿色时,蓝灯的亮度校正系数;GB is the brightness correction coefficient of the blue light when the input source signal is green;
    BR为输入源信号为蓝色时,红灯的亮度校正系数;BR is the brightness correction coefficient of the red light when the input source signal is blue;
    BG为输入源信号为蓝色时,绿灯的亮度校正系数;BG is the brightness correction coefficient of the green light when the input source signal is blue;
    BB为输入源信号为蓝色时,蓝灯的亮度校正系数。BB is the brightness correction coefficient of the blue light when the input source signal is blue.
  5. 根据权利要求2所述的一种彩色灯色彩校正方法,其特征在于,色彩校正模块包括主芯片和校正芯片;步骤S3中,主芯片对源信号处理以获取各基色通道数据,经调光gamma曲线表转换为16位[PWM_original] i值,利用校正芯片中的校正系数矩阵[conversion_coefficient] i并结合公式(3)对16位[PWM_original] i值进行校正,得到校正后各基色16位[PWM_target]值; The color lamp color correction method according to claim 2, wherein the color correction module includes a main chip and a correction chip; in step S3, the main chip processes the source signal to obtain data of each primary color channel, and adjusts the dimming gamma The curve table is converted into a 16-bit [PWM_original] i value, and the correction coefficient matrix [conversion_coefficient] i in the correction chip is combined with the formula (3) to correct the 16-bit [PWM_original] i value to obtain the corrected 16-bit [PWM_target] ]value;
    [PWM_target]=[conversion_coefficient] i*[PWM_original] i         (3); [PWM_target] = [conversion_coefficient] i * [PWM_original] i (3);
    校正芯片将校正后各基色16位[PWM_target]值传输至主芯片,以控制驱动电路获取对应的不同大小的电流,使该电流驱动光源发光。The correction chip transmits the 16-bit [PWM_target] value of each primary color after correction to the main chip, so as to control the driving circuit to obtain corresponding currents of different magnitudes, so that the current drives the light source to emit light.
  6. 根据权利要求3所述的一种彩色灯色彩校正方法,其特征在于,所述彩色灯还包括W颜色的LED灯珠,步骤S1中还包括利用光色参数采集设备采集每一台彩色灯的W颜色的点阵原始光色参数,所述点阵原始光色参数为CIEYxy颜色模型下Yxy值,记作WY_bright、(Wx,Wy);对WY_bright、(Wx,Wy)进行处理获取在CIE XYZ 1931标准色度系统中白点的位置[W_one];取步骤S13中所有彩色灯色品图的交集区域作为原始交集色域空间三刺激值矩阵[XYZ_intersection],对[XYZ_intersection]中的数据进行叠加处理获取[W_rgbintecsetion],记[XYZ_intersection]为
    Figure PCTCN2019075204-appb-100005
    记[W_rgbintecsetion]为
    Figure PCTCN2019075204-appb-100006
    [W_rgbintecsetion]通过公式(4)获得;
    The method for correcting color of a colored lamp according to claim 3, wherein the colored lamp further comprises W-color LED lamp beads, and step S1 further comprises collecting light of each colored lamp using a light color parameter acquisition device. W color dot matrix original light color parameter, the dot matrix original light color parameter is the Yxy value under the CIEYxy color model, written as WY_bright, (Wx, Wy); processing WY_bright, (Wx, Wy) to obtain in CIE XYZ The position of the white point in the 1931 standard chromaticity system [W_one]; take the intersection area of all the color lamp chromaticity diagrams in step S13 as the original intersection color gamut space tristimulus value matrix [XYZ_intersection], and superimpose the data in [XYZ_intersection] Get [W_rgbintecsetion] by processing, write [XYZ_intersection] as
    Figure PCTCN2019075204-appb-100005
    Let [W_rgbintecsetion] be
    Figure PCTCN2019075204-appb-100006
    [W_rgbintecsetion] obtained by formula (4);
    Figure PCTCN2019075204-appb-100007
    Figure PCTCN2019075204-appb-100007
    通过对[W_one]和[W_rgbintecsetion]的处理,获取混色修正矩阵[mix_coefficient],步骤S2中在可调有效色域内设定目标色域空间三刺激值矩阵[XYZ_target]后用混色修正矩阵[mix_coefficient]对其修正以得到[XYZ_target_new],再结合已获取的每台彩色灯的原始色域空间三刺激值矩阵[XYZ_original] i,计算得到每一台彩色灯的校正系数矩阵[conversion_coefficient] iThrough the processing of [W_one] and [W_rgbintecsetion], a color mixing correction matrix [mix_coefficient] is obtained. In step S2, the target color gamut space tristimulus value matrix [XYZ_target] is set in the adjustable effective color gamut, and then the color mixing correction matrix [mix_coefficient] is used. It is modified to obtain [XYZ_target_new], and the original color gamut space tristimulus matrix [XYZ_original] i of each color lamp is obtained, and a correction coefficient matrix [conversion_coefficient] i of each color lamp is calculated.
  7. 根据权利要求6所述的一种彩色灯色彩校正方法,其特征在于,记[W_one]为
    Figure PCTCN2019075204-appb-100008
    通过公式(5)计算[W_one]:
    The method for correcting color of a colored lamp according to claim 6, characterized in that [W_one] is
    Figure PCTCN2019075204-appb-100008
    Calculate [W_one] by formula (5):
    Figure PCTCN2019075204-appb-100009
    Figure PCTCN2019075204-appb-100009
    通过公式(6)计算混色修正矩阵[mix_coefficient]:Calculate the color mixing correction matrix [mix_coefficient] by formula (6):
    [mix_coefficient]*[W_rgbintecsetion]=[W_one][mix_coefficient] * [W_rgbintecsetion] = [W_one]
    (6);(6);
    通过公式(7)对设定的目标色域空间三刺激值矩阵[XYZ_target]进行修正:Correct the set target color gamut space tristimulus value matrix [XYZ_target] by formula (7):
    [XYZ_target_new]=[mix_coefficient]*[XYZ_target]      (7)。[XYZ_target_new] = [mix_coefficient] * [XYZ_target] (7).
  8. 根据权利要求7所述的一种彩色灯色彩校正方法,其特征在于,取所有台彩色灯的WY_bright值中的最小值作为WY_bright值代入公式(5)中计算[W_one]。The method for color correction of a color lamp according to claim 7, characterized in that the minimum value of the WY_bright values of all the color lamps is taken as the WY_bright value to calculate [W_one] in formula (5).
  9. 根据权利要求8所述的一种彩色灯色彩校正方法,其特征在于,取所有台彩色灯的Wx的平均值和所有台彩色灯的Wy的平均值作为Wx值和Wy值代入公式(5)中计算[W_one]。The color correction method for a color lamp according to claim 8, characterized in that the average value of Wx of all the color lamps and the average value of Wy of all the color lamps are taken as the Wx value and the Wy value and substituted into the formula (5) [W_one] is calculated.
  10. 根据权利要求6所述的一种彩色灯色彩校正方法,其特征在于,彩色灯还包括W颜色的LED灯珠时,W色灯珠的校正系数设为1。The method for correcting color of a color lamp according to claim 6, wherein when the color lamp further comprises LED beads of W color, the correction coefficient of the W color beads is set to 1.
PCT/CN2019/075204 2018-06-13 2019-02-15 Color correction method for multi-color lamp WO2019237757A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810608418.9 2018-06-13
CN201810608418.9A CN108668411B (en) 2018-06-13 2018-06-13 Color correction method for color lamp

Publications (1)

Publication Number Publication Date
WO2019237757A1 true WO2019237757A1 (en) 2019-12-19

Family

ID=63775700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075204 WO2019237757A1 (en) 2018-06-13 2019-02-15 Color correction method for multi-color lamp

Country Status (2)

Country Link
CN (1) CN108668411B (en)
WO (1) WO2019237757A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828337A (en) * 2022-07-01 2022-07-29 杭州罗莱迪思科技股份有限公司 Control method and application of outdoor LED dyeing lamp

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109673082B (en) * 2018-12-26 2020-05-05 中国科学技术大学 Spectrum, color and color temperature control method of LED lighting system
CN110557865A (en) * 2019-09-06 2019-12-10 江西嘉捷鑫源科技有限公司 Batch color correction system and method for intelligent color LED bulbs
CN110570811A (en) * 2019-09-11 2019-12-13 宋清海 LED color gamut correction method
CN110677955B (en) * 2019-10-22 2021-03-26 滨州学院 Method and system for determining maximum brightness of RGB LED light source matching target chromaticity
CN110677954B (en) * 2019-10-22 2021-04-02 滨州学院 Precise dimming method and system for super-three-color LED light source
CN112071257B (en) * 2020-07-31 2021-12-10 佛山市青松科技股份有限公司 LED screen correction method and device, storage medium and LED screen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310008A (en) * 2006-05-16 2007-11-29 Sharp Corp Display device using led
CN103108469A (en) * 2013-01-31 2013-05-15 北京半导体照明科技促进中心 Method and device for controlling output light of illuminating device and illuminating system
CN107945730A (en) * 2017-11-22 2018-04-20 田国辉 A kind of control method of the LED standard screen based on two-level current
CN108024410A (en) * 2016-11-02 2018-05-11 新谱光科技股份有限公司 The bearing calibration of full-color illuminator

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074206B (en) * 2009-11-20 2013-06-19 京东方科技集团股份有限公司 Color correction method, color correction device and LED color correction system
CN102542988B (en) * 2011-12-29 2013-11-27 中国科学院长春光学精密机械与物理研究所 Device and method for previewing light-emitting diode (LED) display screen revising effect
CN104795021B (en) * 2015-03-26 2017-12-12 芜湖倍思科创园有限公司 A kind of LED display color self-adjusting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310008A (en) * 2006-05-16 2007-11-29 Sharp Corp Display device using led
CN103108469A (en) * 2013-01-31 2013-05-15 北京半导体照明科技促进中心 Method and device for controlling output light of illuminating device and illuminating system
CN108024410A (en) * 2016-11-02 2018-05-11 新谱光科技股份有限公司 The bearing calibration of full-color illuminator
CN107945730A (en) * 2017-11-22 2018-04-20 田国辉 A kind of control method of the LED standard screen based on two-level current

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828337A (en) * 2022-07-01 2022-07-29 杭州罗莱迪思科技股份有限公司 Control method and application of outdoor LED dyeing lamp
CN114828337B (en) * 2022-07-01 2022-09-27 杭州罗莱迪思科技股份有限公司 Control method and application of outdoor LED dyeing lamp

Also Published As

Publication number Publication date
CN108668411B (en) 2019-12-20
CN108668411A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
WO2019237757A1 (en) Color correction method for multi-color lamp
CN104599636B (en) LED display bright chroma bearing calibration and bright chroma correction coefficient generating means
WO2020088687A1 (en) Automatic maximum brightness color matching implementation method for color lamp, and color modulation method and system
CN110677955B (en) Method and system for determining maximum brightness of RGB LED light source matching target chromaticity
CN105430790B (en) Light mixing method for LED light source and linear lighting lamp
CN106535406B (en) The brightness correcting method of three primary colors LED light source
CN103489402B (en) The adjustment method of mosaic display screen and system
KR20080033005A (en) Apparatus and method for calibration of gray data
CN106132002B (en) Control LED light color color-mixture device and its method
CN106102248B (en) A kind of illumination control method, lighting device and terminal
CN103366680A (en) Led display screen white balance correction technology
WO2022041512A1 (en) Four-color low-blue-light wide-color-gamut display method, apparatus and system
CN110120207A (en) Splicing large screen chroma-luminance consistency automatic adjustment system and bearing calibration
CN107507580A (en) Local dimming method applied to Novel backlight
CN110570811A (en) LED color gamut correction method
CN107864369B (en) The compound display acquisition method of LED display
CN113936589A (en) Virtual pixel correction method and device
JP2009180907A (en) Color light sources for field sequential color display
CN110708797B (en) Accurate dimming method and system for three-color LED light source
CN107945730A (en) A kind of control method of the LED standard screen based on two-level current
US20240032166A1 (en) Full-spectrum light-emitting diode (led) color management system based on rgbwcla seven-color integration
CN106471565A (en) Image display device and for method to dimming light source
TWI456561B (en) Introducing the white brightness parameter of the display panel into the method of calculating the gray scale white balance gain value according to the white optical characteristic of the display panel to improve the gray scale white balance adjustment accuracy
CN104796679A (en) Laser display color adjusting method and device thereof
JP2011188319A (en) Color correction method and color correction device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19820237

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19820237

Country of ref document: EP

Kind code of ref document: A1