CN113891053B - Projection equipment control method and device, medium and electronic equipment - Google Patents
Projection equipment control method and device, medium and electronic equipment Download PDFInfo
- Publication number
- CN113891053B CN113891053B CN202111248026.4A CN202111248026A CN113891053B CN 113891053 B CN113891053 B CN 113891053B CN 202111248026 A CN202111248026 A CN 202111248026A CN 113891053 B CN113891053 B CN 113891053B
- Authority
- CN
- China
- Prior art keywords
- projection
- color
- light
- color value
- diffuse reflection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- ORFSSYGWXNGVFB-UHFFFAOYSA-N sodium 4-amino-6-[[4-[4-[(8-amino-1-hydroxy-5,7-disulfonaphthalen-2-yl)diazenyl]-3-methoxyphenyl]-2-methoxyphenyl]diazenyl]-5-hydroxynaphthalene-1,3-disulfonic acid Chemical compound COC1=C(C=CC(=C1)C2=CC(=C(C=C2)N=NC3=C(C4=C(C=C3)C(=CC(=C4N)S(=O)(=O)O)S(=O)(=O)O)O)OC)N=NC5=C(C6=C(C=C5)C(=CC(=C6N)S(=O)(=O)O)S(=O)(=O)O)O.[Na+] ORFSSYGWXNGVFB-UHFFFAOYSA-N 0.000 claims abstract description 15
- 230000004044 response Effects 0.000 claims abstract description 5
- 239000011159 matrix material Substances 0.000 claims description 63
- 238000012937 correction Methods 0.000 claims description 46
- 238000002329 infrared spectrum Methods 0.000 claims description 36
- 230000002596 correlated effect Effects 0.000 claims description 34
- 238000005259 measurement Methods 0.000 claims description 18
- 230000000875 corresponding effect Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 7
- 230000001276 controlling effect Effects 0.000 claims description 5
- 238000010276 construction Methods 0.000 claims description 3
- 238000001914 filtration Methods 0.000 claims description 3
- 230000003595 spectral effect Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 239000003086 colorant Substances 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 230000005284 excitation Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3141—Constructional details thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3141—Constructional details thereof
- H04N9/315—Modulator illumination systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Projection Apparatus (AREA)
- Video Image Reproduction Devices For Color Tv Systems (AREA)
Abstract
The disclosure relates to a projection device control method, a projection device control device, a medium and an electronic device. The method comprises the following steps: in response to receiving a projection instruction, acquiring a first color value of first diffuse reflection light formed by diffuse reflection of ambient light through a projection surface before projection of the projection device to the projection surface; the projection equipment is controlled to respectively project pure red light, pure green light and pure blue light to the projection surface according to any sequence, and a second color value of second diffuse reflection light formed by diffuse reflection of the projected light and the ambient light through the projection surface during each projection is obtained, wherein the second color value comprises the characteristics of a projection light source, the projection surface and the ambient light; determining a gain coefficient of the RGB channel according to the first color value and each second color value; the gain of the RGB channel is adjusted according to the gain coefficient. Therefore, the gain coefficient of the RGB channel can be accurately calculated, and the accurate compensation of the color temperature of the projection light source is realized. Thus, the color temperature of the projection picture is always kept within a preset value or range no matter how the ambient light and the projection surface are changed, and the optimal viewing experience is provided for the user.
Description
The present application is a divisional application of chinese patent application filed 12/23/2020, with application number 202011556302.9 and the name of "projection device control method, apparatus, medium, and electronic device".
Technical Field
The disclosure relates to the technical field of projection equipment, and in particular relates to a projection equipment control method, a device, a medium and electronic equipment.
Background
The projection device displays the picture to a user through the diffuse reflection principle, wherein the ambient light forms diffuse reflection on a projection plane and enters human eyes together with the diffuse reflection light of the light projected by the projection device, so that the color temperature of the display picture is affected. In addition, when a user uses the projection device, a picture is generally projected on a wall surface or a curtain, and the wall surface or the curtain has various materials, microstructures and colors, which affect the absorptivity and reflectivity of light rays with different wavelengths, thereby affecting the color temperature of the picture. Therefore, the influence of the ambient light and the projection plane on the visual experience is very large, and it can be seen that how to adaptively adjust the color temperature of the projection device according to the current ambient conditions plays an important role in improving the visual experience of the user.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a projection device control method, apparatus, medium, and electronic device.
To achieve the above object, in a first aspect, the present disclosure provides a projection apparatus control method, the method including:
In response to receiving a projection instruction, acquiring a first color value of first diffuse reflection light formed by diffuse reflection of ambient light through a projection surface before the projection device projects the ambient light onto the projection surface;
the projection equipment is controlled to respectively project pure red light, pure green light and pure blue light to the projection surface according to any sequence, and a second color value of second diffuse reflection light formed by diffuse reflection of the light projected by the projection equipment and the ambient light through the projection surface during each projection is obtained, wherein the second color value of each second diffuse reflection light not only comprises the characteristics of a projection light source of the projection equipment, but also comprises the characteristics of the projection surface and the ambient light;
determining gain coefficients of RGB channels in the projection equipment according to the first color value and each second color value;
and adjusting the gain of the RGB channel according to the gain coefficient.
Optionally, the determining the gain coefficient of the RGB channel in the projection device according to the first color value and each of the second color values includes:
subtracting the first color value from the second color value for each of the second color values to obtain a third color value;
constructing a target color lookup table according to the first color value and each third color value and determining a first chromaticity coordinate of a projection light source of the projection device;
And determining the gain coefficient according to the first chromaticity coordinate and the target color lookup table.
Optionally, said constructing a target color look-up table according to said first color value and each said third color value comprises:
constructing an intermediate color lookup table according to each third color value;
and correcting the intermediate color lookup table according to the first color value to obtain the target color lookup table.
Optionally, the determining the first color coordinate of the projection light source of the projection device according to the first color value and each third color value includes:
determining a correlated color temperature of target diffuse reflection light according to each third color value, wherein the target diffuse reflection light is obtained by superposing all the second diffuse reflection light;
and determining the first chromaticity coordinate according to the correlated color temperature.
Optionally, the determining the correlated color temperature of the target diffuse reflected light according to each third color value includes:
determining a fourth color value of the target diffuse reflected light according to each third color value;
determining a second chromaticity coordinate of the target diffuse reflected light in an XYZ color space according to the fourth color value;
And determining the correlated color temperature of the target diffuse reflection light according to the second chromaticity coordinates.
Optionally, the determining the first chromaticity coordinate according to the correlated color temperature includes:
determining a target color temperature of a projection light source corresponding to a correlated color temperature according to a preset corresponding relation between the correlated color temperature and the color temperature of the projection light source;
and determining the intersection point coordinates of the black body locus and the isotherm of the target color temperature in the XYZ color space as the first chromaticity coordinates.
Optionally, before the step of determining the gain coefficients of the RGB channels in the projection device based on the first color value and each of the second color values, the method further comprises:
respectively acquiring infrared spectrum information of the first diffuse reflection light and each second diffuse reflection light;
correcting the first color value according to the infrared spectrum information of the first diffuse reflection light, and correcting the second color value of the second diffuse reflection light according to the infrared spectrum information of the second diffuse reflection light for each second diffuse reflection light;
the determining the gain coefficient of the RGB channel in the projection device according to the first color value and each second color value comprises the following steps:
And determining the gain coefficient of the RGB channel in the projection equipment according to the first color value obtained after correction and each second color value obtained after correction.
Optionally, the correcting the first color value according to the infrared spectrum information of the first diffuse reflection light includes:
acquiring a first correction matrix and a second correction matrix, wherein the first correction matrix is determined according to a measurement result under a standard light source with an infrared component larger than a first preset proportion threshold value, and the second correction matrix is determined according to a measurement result under a standard light source with an infrared component smaller than a second preset proportion threshold value, and the first preset proportion threshold value is larger than the second preset proportion threshold value;
and determining the first color value obtained after correction according to the product of the first correction matrix and the matrix to be corrected and the product of the second correction matrix and the matrix to be corrected, wherein the matrix to be corrected is a column vector formed by the first color value and the infrared spectrum information of the first diffuse reflection light.
In a second aspect, the present disclosure provides a projection device control apparatus, the apparatus comprising:
the acquisition module is used for responding to the received projection instruction and acquiring a first color value of first diffuse reflection light formed by diffuse reflection of ambient light through the projection surface before the projection equipment projects to the projection surface;
The control module is used for controlling the projection equipment to respectively project pure red light, pure green light and pure blue light to the projection surface according to any sequence, and obtaining second color values of second diffuse reflection light formed by diffuse reflection of the light projected by the projection equipment and the ambient light through the projection surface during each projection, wherein the second color values of the second diffuse reflection light not only comprise the characteristics of a projection light source of the projection equipment, but also comprise the characteristics of the projection surface and the ambient light;
the determining module is used for determining gain coefficients of RGB channels in the projection equipment according to the first color values acquired by the acquiring module and each second color value acquired by the control module;
and the adjusting module is used for adjusting the gain of the RGB channel according to the gain coefficient determined by the determining module.
In a third aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method provided by the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method provided by the first aspect of the present disclosure.
In the technical scheme, when a projection instruction is received, a first color value of first diffuse reflection light formed by diffuse reflection of ambient light on a projection surface before projection of the projection device on the projection surface is obtained; then, the projection equipment is controlled to respectively project pure red light, pure green light and pure blue light to a projection surface according to any sequence, and a second color value of second diffuse reflection light formed by diffuse reflection of light projected by the projection equipment and ambient light through the projection surface during each projection is obtained; then, according to the first color value and each second color value, the gain coefficient of the RGB channel in the projection device is determined, and according to the gain coefficient, the gain of the RGB channel is adjusted. The first color value of the first diffuse reflection light of the projection surface comprises the characteristics of the projection surface and the ambient light, the second color value of each second diffuse reflection light of the projection surface comprises the characteristics of a projection light source of the projection device, and the characteristics of the projection surface and the ambient light, so that the influence of the ambient light and the projection surface on the color temperature can be removed from each second color value according to the first color value, the gain coefficient of an RGB channel in the projection device can be accurately calculated, and the gain of the RGB channel is adjusted according to the gain coefficient, so that the accurate compensation of the color temperature of the projection light source is realized. Thus, the color temperature of the projection picture is always kept within a preset value or range no matter how the ambient light and the projection surface are changed, so that the optimal viewing experience is provided for the user.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
fig. 1 is a flowchart illustrating a projection device control method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of determining gain factors according to an exemplary embodiment.
Fig. 3 is an xy graph of CIE1931, shown according to an exemplary embodiment.
Fig. 4 is a graph showing a correlated color temperature versus a target color temperature according to an exemplary embodiment.
Fig. 5 is a partial enlarged view of the CIE1931 coordinate diagram shown in fig. 3.
Fig. 6 is a flowchart illustrating a projection device control method according to another exemplary embodiment.
Fig. 7A is a graph showing intensity of an infrared light ray versus weight coefficient according to an exemplary embodiment.
Fig. 7B is a graph showing intensity of an infrared light ray versus weight coefficient according to another exemplary embodiment.
Fig. 8 is a block diagram illustrating a projection device control apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
As discussed in the background, how to adaptively adjust the color temperature of a projection device according to the current environmental conditions has an important role in enhancing the look and feel experience of a user. For this reason, the adaptive adjustment of the color temperature of the projection device is mainly achieved in the following two ways: (1) The projection light source of the projection equipment is changed according to the ambient light to compensate the color temperature deviation (namely color deviation), but the characteristics of a projection surface and the projection light source are not considered in the mode, so that the problems of overcompensation or undercompensation easily occur; (2) The color temperature deviation (namely color deviation) is compensated by changing the projection light source which is projected subsequently according to the light source which is projected currently by the projection device, and the color temperature accuracy of the self light source can be accurately controlled in the mode, but the color temperature deviation caused by the ambient light and the projection surface cannot be compensated. In view of this, the present disclosure provides a projection device control method, apparatus, medium, and electronic device.
Fig. 1 is a flowchart illustrating a projection device control method according to an exemplary embodiment. As shown in fig. 1, the method includes S101 to S104.
In S101, in response to receiving the projection instruction, a first color value of first diffuse reflection light formed by diffuse reflection of ambient light by the projection surface before the projection device projects onto the projection surface is acquired.
In the present disclosure, the projection surface may be a wall surface or a curtain made of various materials, and the color of the projection surface may be various colors such as white, pink, gray, etc., and the materials and colors of the projection surface are not particularly limited in the present disclosure. The first color value may be RGB data or XYZ data in XYZ color space. Among them, the XYZ color space is defined in 1931 by the international lighting society (International Commission on illumination, abbreviated as CIE), and is also called CIE1931.
Before the projection device projects the ambient light onto the projection surface, diffuse reflection occurs after the ambient light irradiates the projection surface, so that the first diffuse reflection light of the projection surface is formed by the diffuse reflection of the ambient light through the projection surface, and the first color value of the first diffuse reflection light simultaneously comprises the characteristics of the projection surface and the ambient light.
In S102, the projection device is controlled to project pure red light, pure green light and pure blue light onto the projection surface in any order, and a second color value of a second diffuse reflection light formed by diffuse reflection of the light projected by the projection device and the ambient light through the projection surface during each projection is obtained.
In the present disclosure, the second color value may be RGB data or XYZ data in XYZ color space. The light projected by the projection device is projected onto the projection surface, and then diffuse reflection occurs, and at the same time, the ambient light is also diffusely reflected after being projected onto the projection surface, so that the second diffuse reflection light of the projection surface is light formed by diffusely reflecting the light projected by the projection device and the ambient light through the projection surface, and thus, the second color value of each second diffuse reflection light not only contains the characteristics of the projection light source of the projection device, but also contains the characteristics of the projection surface and the ambient light.
In addition, the first diffuse reflection light and the second diffuse reflection light can be collected by a sensing module facing the projection surface, wherein the sensing module can be a color temperature sensor, a camera and the like, and the sensing module can be integrated in the projection device or can be independent of the projection device and connected with the projection device through a wireless network or a wired network.
In addition, it should be noted that the projection device may project pure red light, pure green light, and pure blue light onto the projection surface in any order, as long as the corresponding second color values can be obtained. For example, the projection device may be controlled to sequentially project pure red light, pure green light, and pure blue light onto the projection surface; for another example, the projection device may be controlled to sequentially project pure red light, pure blue light, and pure green light onto the projection surface.
In S103, a gain factor of an RGB channel in the projection device is determined based on the first color value and each of the second color values.
In the present disclosure, the RGB channels include a red (R) channel, a green (G) channel, and a blue (B) channel, so that a gain coefficient of the red (R) channel, a gain coefficient of the green (G) channel, and a gain coefficient of the blue (B) channel can be determined according to the first color value and each second color value.
In S104, the gains of the RGB channels are adjusted according to the gain coefficients.
In the present disclosure, in determining the gain coefficient of the red (R) channel, the gain coefficient of the green (G) channel, and the gain coefficient of the blue (B) channel through S103, the gain of the red (R) channel in the projection apparatus may be adjusted according to the gain coefficient of the red (R) channel, the gain of the green (G) channel in the projection apparatus may be adjusted according to the gain coefficient of the green (G) channel, and the gain of the blue (B) channel in the projection apparatus may be adjusted according to the gain coefficient of the blue (B) channel.
In the technical scheme, when a projection instruction is received, a first color value of first diffuse reflection light formed by diffuse reflection of ambient light on a projection surface before projection of the projection device on the projection surface is obtained; then, the projection equipment is controlled to respectively project pure red light, pure green light and pure blue light to a projection surface according to any sequence, and a second color value of second diffuse reflection light formed by diffuse reflection of light projected by the projection equipment and ambient light through the projection surface during each projection is obtained; then, according to the first color value and each second color value, the gain coefficient of the RGB channel in the projection device is determined, and according to the gain coefficient, the gain of the RGB channel is adjusted. The first color value of the first diffuse reflection light of the projection surface comprises the characteristics of the projection surface and the ambient light, the second color value of each second diffuse reflection light of the projection surface comprises the characteristics of a projection light source of the projection device, and the characteristics of the projection surface and the ambient light, so that the influence of the ambient light and the projection surface on the color temperature can be removed from each second color value according to the first color value, the gain coefficient of an RGB channel in the projection device can be accurately calculated, and the gain of the RGB channel is adjusted according to the gain coefficient, so that the accurate compensation of the color temperature of the projection light source is realized. Thus, the color temperature of the projection picture is always kept within a preset value or range no matter how the ambient light and the projection surface are changed, so that the optimal viewing experience is provided for the user.
A detailed description will be given below of a specific embodiment of determining the gain coefficients of the RGB channels in the projection apparatus according to the first color value and each second color value in S103. Specifically, S1031 to S1033 shown in fig. 2 can be used.
In S1031, for each second color value, the first color value is subtracted from the second color value to obtain a third color value.
In the present disclosure, for each second color value, the first color value is subtracted from the second color value in order to filter the environmental characteristic from the second color value, so as to avoid the influence of the environmental light on the Gamma (Gamma) characteristic of the projection light source of the projection device.
Illustratively, the third color value may be obtained by the following equations (1) to (3):
wherein X 'is' R (N)、Y′ R (N)、Z′ R (N) the X data in the second color value of the second diffuse reflection light formed by the diffuse reflection of the pure red light and the ambient light projected by the projection device and the third color value obtained by subtracting the first color valueY data, Z data; x'. G (N)、Y′ G (N)、Z′ G (N) respectively obtaining X data, Y data and Z data in a second color value of second diffuse reflection light formed by diffuse reflection of pure green light and ambient light projected by the projection equipment through a projection surface and a third color value obtained by subtracting the first color value; x'. B (N)、Y′ B (N)、Z′ B (N) respectively obtaining X data, Y data and Z data in a second color value of second diffuse reflection light formed by diffuse reflection of pure blue light and ambient light projected by the projection equipment through a projection surface and a third color value obtained by subtracting the first color value; x is X R 、Y R 、Z R Respectively obtaining X data, Y data and Z data in a second color value of second diffuse reflection light formed by diffuse reflection of pure red light and ambient light projected by the projection equipment through a projection surface; x is X G 、Y G 、Z G Respectively X data, Y data and Z data in a second color value of second diffuse reflection light formed by diffuse reflection of pure green light and ambient light projected by the projection equipment through a projection surface; x is X B 、Y B 、Z B Respectively obtaining X data, Y data and Z data in a second color value of second diffuse reflection light formed by diffuse reflection of pure blue light and ambient light projected by the projection equipment through a projection surface; x is X D 、Y D 、Z D X data, Y data and Z data in the first color value respectively; n is the maximum value of the data level values, e.g., 256, 1024, etc.
In S1032, a target color look-up table is constructed from the first color value and each third color value and a first color coordinate of a projection light source of the projection device is determined.
In S1033, a gain coefficient is determined from the first chromaticity coordinates and the target color lookup table.
A detailed description will be given below of a specific embodiment of constructing the target color lookup table based on the first color value and each third color value in S1032.
Firstly, constructing an intermediate color lookup table according to each third color value; and then, correcting the intermediate color lookup table according to the first color value to obtain a target color lookup table.
Specifically, the method is obtained in S1031The three third color values are the color values at 100% saturation (i.e., X data X 'for red' R (N); red Y data Y' R (N); red Z data Z' R (N); green X data X' G (N); green Y data Y' G (N); green Z data Z' G(N) The method comprises the steps of carrying out a first treatment on the surface of the Blue X data X' B (N); blue Y data Y' B (N); blue Z data Z' B (N))。
Since the brightness of the projection light source generally accords with Gamma2.2, the color value of the rest saturation can be calculated based on Gamma2.2, so that the intermediate color lookup table can be obtained.
Illustratively, the color values of the remaining saturation may be calculated by the following equations (4) - (6):
wherein X 'is' R (IRE) is the X data of red with saturation IRE/N in the intermediate color lookup table, IRE is the data level value, and IRE is [0, N-1 ]]Any integer within the range; y'. R (IRE) is Y data for red of saturation IRE/N in the intermediate color look-up table; z's' R (IRE) is the Z data for red with saturation IRE/N in the intermediate color look-up table; x'. G (IRE) is the X data for green with saturation IRE/N in the intermediate color look-up table; y'. G (IRE) is Y data for green with saturation IRE/N in the intermediate color look-up table; z's' G (IRE) is the Z data for green with saturation IRE/N in the intermediate color look-up table; x'. B (IRE) is the X data for blue with saturation IRE/N in the intermediate color look-up table; y'. B (IRE) is Y data for blue with saturation IRE/N in the intermediate color look-up table; z's' B (IRE) is the Z data for the blue color with saturation IRE/N in the intermediate color look-up table.
Illustratively, n=1024, the mid-color look-up table obtained by the above method is shown in table 1 below:
table 1 intermediate color lookup table
IRE | X′ R | Y′ R | Z′ R | X′ G | Y′ G | Z′ G | X′ B | Y′ B | Z′ B |
0 | X′ R (0) | Y′ R (0) | Z′ R (0) | X′ G (0) | Y′ G (0) | Z′ G (0) | X′ B (0) | Y′ B (0) | Z′ B (0) |
1 | x′ R (1) | Y′ R (1) | Z′ R (1) | X′ G (1) | Y′ G (1) | Z′ G (1) | X′ B (1) | Y′ B (1) | Z′ B (1) |
2 | …… | …… | …… | …… | …… | …… | …… | …… | …… |
3 | …… | …… | …… | …… | …… | …… | …… | …… | …… |
…… | …… | …… | …… | …… | …… | …… | …… | …… | …… |
…… | …… | …… | …… | …… | …… | …… | …… | …… | …… |
1021 | …… | …… | …… | …… | …… | …… | …… | …… | …… |
1022 | …… | …… | …… | …… | …… | …… | …… | …… | …… |
1023 | X′ R (1023) | Y′ R (1023) | Z′ R (1023) | X′ G (1023) | Y′ G (1023) | Z′ G (1023) | X′ B (1023) | Y′ B (1023) | Z′ B (1023) |
1024 | X′ R (1024) | Y′ R (1024) | Z′ R (1024) | X′ G (1024) | Y′ G (1024) | z′ G (1024) | X′ B (1024) | Y′ B (1024) | Z′ B (1024) |
In addition, if the brightness of the projection light source does not meet gamma2.2, the projection device is controlled to project 90% white light, 80% white light, … …% white light and 10% white light onto the projection surface according to any sequence, the fifth color value of the projection light source of the projection device is measured by the sensing module during each projection, and then the intermediate color lookup table is obtained by linear interpolation according to the third color values and the fifth color values. The specific way of obtaining the color lookup table by using the linear difference is well known to those skilled in the art, and will not be described in detail in this disclosure.
After the intermediate color lookup table is obtained in the above manner, the intermediate color lookup table is corrected according to the first color value, and the target color lookup table is obtained.
Illustratively, each color value in the target color lookup table can be calculated by the following equations (7) to (9):
wherein X 'is' R1 (IRE) is the X data of red with saturation IRE/N in the target color look-up table, IRE is the data level value, and IRE is [0, N]Any within the rangeAn integer; y'. R1 (IRE) is Y data of red with saturation IRE/N in the target color look-up table; z's' R1 (IRE) is the Z data for red with saturation IRE/N in the target color look-up table; x'. G1 (IRE) is the X data for green with saturation IRE/N in the target color look-up table; y'. G1 (IRE) is Y data of green color with saturation of IRE/N in the target color lookup table; z's' G1 (IRE) is the Z data for green with saturation IRE/N in the target color look-up table; x'. B1 (IRE) is the X data for blue with saturation IRE/N in the target color look-up table; y'. B1 (IRE) is Y data for blue with saturation IRE/N in the target color look-up table; z's' B1 (IRE) is the Z data for blue with saturation IRE/N in the target color look-up table.
A detailed description will be given below of a specific embodiment of determining the first chromaticity coordinates of the projection light source of the projection device according to the first color value and each third color value in S1032. Specifically, firstly, determining a correlated color temperature of target diffuse reflection light according to each third color value, wherein the target diffuse reflection light is obtained by superposing all second diffuse reflection light; then, a first chromaticity coordinate is determined from the correlated color temperature.
The following describes in detail the above-described embodiment of determining the correlated color temperature of the target diffuse reflected light based on each of the third color values. Specifically, the correlated color temperature can be determined by the following steps 1) to 3).
1) And determining a fourth color value of the target diffuse reflection light according to each third color value.
Illustratively, the fourth color value of the target diffuse reflected light may be determined from each third color value by the following equation (10):
wherein X is X data in the fourth color value; y is Y data in a fourth color value; z is Z data in the fourth color value.
2) And determining a second chromaticity coordinate of the target diffuse reflected light in the XYZ color space according to the fourth color value.
In the present disclosure, the second chromaticity coordinates of the target diffuse reflected light in the XYZ color space, i.e., the coordinates of the target diffuse reflected light in the xy coordinate diagram of CIE1931 (as shown in fig. 3) are determined according to the fourth color value, wherein all colors can be represented by x, y coordinates in the coordinate system in the xy coordinate diagram of CIE 1931. The black bold line in fig. 3 is a black body trace line, and can be understood as a white trace line at different color temperatures. The color temperature above the blackbody locus line is a standard color temperature, the line intersecting the blackbody locus line is an isotherm, wherein each color on the isotherm is the same color temperature, and the rest of the color temperatures are correlated color temperatures except that the color temperature on the blackbody locus line is the standard color temperature. The farther from the black body locus line, the color temperature value is the same, but the larger the color shift Δuv becomes, the more serious the color shift becomes.
Illustratively, the second chromaticity coordinates (x, y) may be determined from the fourth color value by the following equation (11):
3) And determining the correlated color temperature of the target diffuse reflection light according to the second chromaticity coordinates.
In the present disclosure, the actual light source is not always on the blackbody locus line, and therefore the concept of correlated color temperature (Correlative Color Temperature, CCT) is proposed, where the relative color temperature of the light source is represented on a uniform chromaticity diagram by the shortest distance temperature, also represented by K-temperature. Therefore, two beams of white light with the same color temperature are likely to be greenish and purple, and only the subjective feeling on the blackbody locus line is pure white.
Illustratively, the above correlated color temperature CCT may be determined from the second chromaticity coordinates by the following equation (12):
wherein a1, a2, a3 and c are all constants.
The following describes the specific embodiment of determining the first chromaticity coordinates according to the correlated color temperature:
first, a target color temperature of the projection light source corresponding to the correlated color temperature is determined according to a preset corresponding relation between the correlated color temperature and the color temperature of the projection light source.
For example, the correspondence between the correlated color temperature and the color temperature of the projection light source is shown in fig. 4, wherein the upper limit value and the lower limit value of the target color temperature may be set in a comfortable color temperature range, so as to reduce the difference between the target color temperature and the correlated color temperature and reduce the brightness loss.
Then, the intersection coordinates of the blackbody locus in the XYZ color space and the isotherm of the target color temperature, i.e., (u 1, v 1) shown in fig. 5, are determined as first chromaticity coordinates.
The following describes in detail the above specific embodiment of determining the gain coefficient according to the first chromaticity coordinates and the target color lookup table in S1033:
in the present disclosure IRE may be R 、IRE G 、IRE B Any combination (wherein IRE) R IRE is the data level value corresponding to red R Is [0, N]Any value within the range; IRE (IRE) G IRE for the green corresponding data level value G Is [0, N]Any value within the range; IRE (IRE) B IRE for the data level value corresponding to blue B Is [0, N]Arbitrary value within the range), substituting into the following equation (13), respectively, find the value of (x w ,y w ) IRE with minimum distance from target chromaticity coordinates R 、IRE G 、IRE B IRE is used herein Rmin 、IRE Gmin 、IRE Bmin Representing then IRE Rmin N is determined as the gain factor of the red channel, IRE Gmin N is determined as the gain factor of the green channel, IRE Bmin N is determined as the gain factor of the blue channel.
In addition, the first diffuse reflection light and the second diffuse reflection light collected by the sensing module facing the projection surface not only contain color values, but also include infrared spectrum information, when the sensing module is irradiated by infrared light, the sensing module responds within 700nm of the wavelength of the infrared light, and particularly when the color value excitation is low and the infrared light excitation is high, the measurement accuracy of the sensing module on the color value can be greatly affected. Therefore, the sensing module can be provided with an infrared channel for collecting infrared spectrum information so as to assist in improving the measurement accuracy of the color value. Specifically, as shown in fig. 6, the above method further includes S105 to S107 before S103.
In S105, infrared spectrum information of the first diffusely reflected light is acquired.
In S106, infrared spectrum information of each second diffuse reflected light is acquired.
In S107, the first color value is corrected based on the infrared spectrum information of the first diffuse reflection light, and the second color value of the second diffuse reflection light is corrected based on the infrared spectrum information of the second diffuse reflection light for each of the second diffuse reflection light.
In the present disclosure, when a first color value of first diffuse reflection light formed by diffuse reflection of ambient light by a projection surface is obtained, infrared spectrum information of the first diffuse reflection light may also be obtained simultaneously; after the projection device is controlled to project light onto the projection surface each time, in addition to acquiring a second color value of second diffuse reflection light formed by diffuse reflection of the light projected by the projection device and the ambient light by the projection surface each time of projection, infrared spectrum information of the second diffuse reflection light needs to be acquired simultaneously. And correcting the first color value according to the infrared spectrum information of the first diffuse reflection light, and correcting the second color value of each second diffuse reflection light according to the infrared spectrum information of the second diffuse reflection light. Thus, the step S103 can determine the gain coefficients of the RGB channels in the projection device according to the corrected first color value and each corrected second color value.
A specific embodiment of correcting the first color value based on the above-described infrared spectrum information of the first diffusely reflected light will be described in detail below. In the present disclosure, the first color value may be corrected in various ways according to the infrared spectrum information of the first diffuse reflected light. In one embodiment, a third correction matrix may be obtained, where the third correction matrix is determined from measurements under a single standard light source; and then, determining a first color value obtained after correction according to the product of the third correction matrix and the matrix to be corrected, wherein the matrix to be corrected is a column vector formed by the first color value and the infrared spectrum information of the first diffuse reflection light.
Illustratively, the corrected first color value may be determined from the product of the third correction matrix and the matrix to be corrected by the following equation (14):
wherein,,the corrected first color value; />Is a matrix to be corrected, wherein IR is the infrared spectrum information of the first diffuse reflection light,>the first color value; />Is a third calibration matrix.
The manner of determining the third correction matrix is described in detail below.
Specifically, the projection apparatus is controlled to project a standard light source (e.g., any of D50, D65, TL83, TL84, etc.) toward the projection surface; then, the color value and infrared spectrum information of diffuse reflection light formed by diffuse reflection of the standard light source and the ambient light through the projection surface are obtained through the sensing module, and meanwhile, the color value of the standard light source projected by the projection surface is measured through standard instruments such as an illuminometer, an integrating sphere and the like; according to the method, multiple measurements are performed under different environmental lights, wherein the light sources projected to the projection surface by the projection device each time are consistent, and then fitting is performed according to the color values and infrared spectrum information of multiple groups of diffuse reflection lights measured by the sensing module and the color values of multiple groups of standard light sources measured by the standard instrument, so as to obtain the third calibration matrix.
Illustratively, the color values and infrared spectrum information of the sets of diffuse reflected light measured by the sensing module, and the color values of the sets of standard light sources measured by the standard instrument are shown in table 2 below:
table 2 measurement data table of sensing module and standard instrument
Fitting is performed according to the measurement data of the sensing module and the measurement data of the standard instrument in the table 2, so as to obtain a third calibration matrix
In another embodiment, a first correction matrix and a second correction matrix may be obtained, where the first correction matrix is determined according to a measurement result under a standard light source with an infrared component greater than a first preset proportion threshold (i.e., a light source with a high infrared component), and the second correction matrix is determined according to a measurement result under a standard light source with an infrared component less than a second preset proportion threshold (i.e., a light source with a low infrared component), and the first preset proportion threshold is greater than the second preset proportion threshold; and then, determining a first color value obtained after correction according to the product of the first correction matrix and the matrix to be corrected and the product of the second correction matrix and the matrix to be corrected.
Illustratively, the corrected first color value may be determined by the following equation (15) from the product of the first correction matrix and the matrix to be corrected, the product of the second correction matrix and the matrix to be corrected:
Wherein,,is a second calibration matrix; />Is a first correction matrix; weight is a weight coefficient.
The weight coefficient weight may be determined according to the intensity of the infrared light, and may be determined by a relationship between the intensity of the infrared light and the weight coefficient shown in fig. 7A or 7B, for example.
The manner of determining the first correction matrix is described in detail below.
Specifically, for each standard light source with the infrared component larger than a first preset proportion threshold value, respectively controlling the projection equipment to project the standard light source to a projection surface; then, the color value and infrared spectrum information of diffuse reflection light formed by diffuse reflection of the standard light source and the ambient light through the projection surface are obtained through the sensing module, and meanwhile, the color value of the standard light source projected by the projection surface is measured through standard instruments such as an illuminometer, an integrating sphere and the like; according to the method, multiple measurements are performed under different ambient lights, and then fitting is performed according to the color values and infrared spectrum information of multiple groups of diffuse reflection lights measured by the sensing module and the color values of multiple groups of standard light sources with different infrared components larger than a first preset proportion threshold value measured by a standard instrument, so that the first calibration matrix is obtained.
The manner of determining the second correction matrix is described in detail below.
Specifically, for each standard light source with the infrared component smaller than the second preset proportion threshold value, respectively controlling the projection equipment to project the standard light source to the projection surface; then, the color value and infrared spectrum information of diffuse reflection light formed by diffuse reflection of the standard light source and the ambient light through the projection surface are obtained through the sensing module, and meanwhile, the color value of the standard light source projected by the projection surface is measured through a standard instrument; according to the mode, multiple measurements are carried out under different ambient lights, and then fitting is carried out according to the color values and the infrared spectrum information of multiple groups of diffuse reflection lights measured by the sensing module and the color values of multiple groups of standard light sources with different infrared components smaller than a second preset proportion threshold value measured by a standard instrument, so that the second calibration matrix is obtained.
The first calibration matrix, the second calibration matrix and the third calibration matrix can be determined in advance and stored in corresponding storage modules in the projection device, so that the projection device can acquire the first calibration matrix and the second calibration matrix or acquire the third calibration matrix by accessing the storage modules, the color temperature adjustment efficiency is improved, and convenience and rapidness are realized.
In addition, besides the above-mentioned mode of correcting the first color value according to the infrared spectrum information of the first diffuse reflection light, an optical element for filtering infrared light can be further arranged on the sensing module, so that the measurement accuracy of the first color value can be improved.
Since the specific way of correcting the second color value of the second diffuse reflection light is the same as the way of correcting the first color value, a detailed description is omitted in this disclosure.
Based on the same inventive concept, the present disclosure also provides a projection device control apparatus. Fig. 8 is a block diagram illustrating a projection device control apparatus according to an exemplary embodiment. As shown in fig. 8, the apparatus 800 includes: an obtaining module 801, configured to obtain, in response to receiving a projection instruction, a first color value of first diffuse reflection light formed by diffuse reflection of ambient light by a projection surface before the projection device projects onto the projection surface; the control module 802 is configured to control the projection device to project pure red light, pure green light, and pure blue light onto the projection surface in any order, and obtain a second color value of a second diffuse reflection light formed by diffuse reflection of the light projected by the projection device and the ambient light through the projection surface during each projection; a determining module 803, configured to determine a gain coefficient of an RGB channel in the projection device according to the first color value acquired by the acquiring module 801 and each second color value acquired by the controlling module 803; and an adjusting module 804, configured to adjust the gain of the RGB channel according to the gain coefficient determined by the determining module 803.
In the technical scheme, when a projection instruction is received, a first color value of first diffuse reflection light formed by diffuse reflection of ambient light on a projection surface before projection of the projection device on the projection surface is obtained; then, the projection equipment is controlled to respectively project pure red light, pure green light and pure blue light to a projection surface according to any sequence, and a second color value of second diffuse reflection light formed by diffuse reflection of light projected by the projection equipment and ambient light through the projection surface during each projection is obtained; then, according to the first color value and each second color value, the gain coefficient of the RGB channel in the projection device is determined, and according to the gain coefficient, the gain of the RGB channel is adjusted. The first color value of the first diffuse reflection light of the projection surface comprises the characteristics of the projection surface and the ambient light, the second color value of each second diffuse reflection light of the projection surface comprises the characteristics of a projection light source of the projection device, and the characteristics of the projection surface and the ambient light, so that the influence of the ambient light and the projection surface on the color temperature can be removed from each second color value according to the first color value, the gain coefficient of an RGB channel in the projection device can be accurately calculated, and the gain of the RGB channel is adjusted according to the gain coefficient, so that the accurate compensation of the color temperature of the projection light source is realized. Thus, the color temperature of the projection picture is always kept within a preset value or range no matter how the ambient light and the projection surface are changed, so that the optimal viewing experience is provided for the user.
Optionally, the determining module 803 includes: a filtering sub-module, configured to subtract, for each of the second color values, the first color value from the second color value to obtain a third color value; a target construction sub-module, configured to construct a target color lookup table according to the first color value and each third color value, and determine a first chromaticity coordinate of a projection light source of the projection device; and the first determining submodule is used for determining the gain coefficient according to the first chromaticity coordinate and the target color lookup table.
Optionally, the target building sub-module includes: an intermediate construction sub-module, configured to construct an intermediate color lookup table according to each of the third color values; and the correction submodule is used for correcting the intermediate color lookup table according to the first color value to obtain the target color lookup table.
Optionally, the objective building sub-module further comprises: the second determining submodule is used for determining the correlated color temperature of target diffuse reflection light according to each third color value, wherein the target diffuse reflection light is obtained by superposing all the second diffuse reflection light; and the third determination submodule is used for determining the first chromaticity coordinate according to the correlated color temperature.
Optionally, the second determining submodule includes: a fourth color value determining sub-module, configured to determine a fourth color value of the target diffuse reflected light according to each of the third color values; a second chromaticity coordinate determining sub-module, configured to determine, according to the fourth color value, a second chromaticity coordinate of the target diffuse reflected light in an XYZ color space; and the correlated color temperature determining submodule is used for determining the correlated color temperature of the target diffuse reflection light according to the second chromaticity coordinate.
Optionally, the third determining submodule includes: the target color temperature determining submodule is used for determining a target color temperature of the projection light source corresponding to the correlated color temperature according to a preset corresponding relation between the correlated color temperature and the color temperature of the projection light source; and the first chromaticity coordinate determining submodule is used for determining the intersection point coordinate of the blackbody locus and the isotherm of the target color temperature in the XYZ color space as the first chromaticity coordinate.
Optionally, the apparatus 800 further comprises: the infrared spectrum information obtaining module is configured to obtain infrared spectrum information of the first diffuse reflection light and each second diffuse reflection light before the determining module 803 determines a gain coefficient of an RGB channel in the projection device according to the first color value and each second color value; the correction module is used for correcting the first color value according to the infrared spectrum information of the first diffuse reflection light, and correcting the second color value of the second diffuse reflection light according to the infrared spectrum information of the second diffuse reflection light for each second diffuse reflection light; the determining module 803 is configured to determine a gain coefficient of an RGB channel in the projection apparatus according to the corrected first color value and each corrected second color value.
Optionally, the correction module includes: the acquisition sub-module is used for acquiring a first correction matrix and a second correction matrix, wherein the first correction matrix is determined according to a measurement result under a standard light source with infrared components larger than a first preset proportion threshold value, and the second correction matrix is determined according to a measurement result under a standard light source with infrared components smaller than a second preset proportion threshold value, and the first preset proportion threshold value is larger than the second preset proportion threshold value; and the fourth determining module is used for determining the first color value obtained after correction according to the product of the first correction matrix and the matrix to be corrected and the product of the second correction matrix and the matrix to be corrected, wherein the matrix to be corrected is a column vector formed by the first color value and the infrared spectrum information of the first diffuse reflection light.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described projection device control method provided by the present disclosure.
Fig. 9 is a block diagram of an electronic device 900, according to an example embodiment. As shown in fig. 9, the electronic device 900 may include: processor 901, memory 902. The electronic device 900 may also include one or more of a multimedia component 903, an input/output (I/O) interface 904, and a communication component 905.
The processor 901 is configured to control the overall operation of the electronic device 900, so as to complete all or part of the steps in the above-mentioned projection device control method. The memory 902 is used to store various types of data to support operations at the electronic device 900, which may include, for example, instructions for any application or method operating on the electronic device 900, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and so forth. The Memory 902 may be implemented by any type or combination of volatile or nonvolatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 903 may include a screen and audio components. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 902 or transmitted through the communication component 905. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 904 provides an interface between the processor 901 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 905 is used for wired or wireless communication between the electronic device 900 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 905 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processors (Digital Signal Processor, abbreviated as DSP), digital signal processing devices (Digital Signal Processing Device, abbreviated as DSPD), programmable logic devices (Programmable Logic Device, abbreviated as PLD), field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), controllers, microcontrollers, microprocessors, or other electronic components for performing the projection device control methods described above.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the projection device control method described above. For example, the computer readable storage medium may be the memory 902 including program instructions described above, which are executable by the processor 901 of the electronic device 900 to perform the projection device control method described above.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.
Claims (10)
1. A projection device control method, the method comprising:
in response to receiving a projection instruction, acquiring a first color value of first diffuse reflection light formed by diffuse reflection of ambient light through a projection surface before the projection device projects the ambient light onto the projection surface;
the projection equipment is controlled to respectively project pure red light, pure green light and pure blue light to the projection surface according to any sequence, and a second color value of second diffuse reflection light formed by diffuse reflection of the light projected by the projection equipment and the ambient light through the projection surface during each projection is obtained, wherein the second color value of each second diffuse reflection light not only comprises the characteristics of a projection light source of the projection equipment, but also comprises the characteristics of the projection surface and the ambient light;
Determining gain coefficients of RGB channels in the projection equipment according to the first color value and each second color value;
according to the gain coefficient, adjusting the gain of the RGB channel;
the determining the gain coefficient of the RGB channel in the projection device according to the first color value and each second color value comprises the following steps:
subtracting the first color value from the second color value for each of the second color values to obtain a third color value;
constructing a target color lookup table according to the first color value and each third color value and determining a first color coordinate of a projection light source of the projection device, wherein the target color lookup table comprises a corresponding relation among a data level value IRE, red XYZ data with saturation IRE/N, green XYZ data with saturation IRE/N and blue XYZ data with saturation IRE/N, and N is the maximum value of the data level value IRE;
and determining the gain coefficient according to the first chromaticity coordinate and the target color lookup table.
2. The method of claim 1, wherein constructing a target color look-up table from the first color value and each of the third color values comprises:
Constructing an intermediate color lookup table according to each third color value;
and correcting the intermediate color lookup table according to the first color value to obtain the target color lookup table.
3. The method of claim 1, wherein said determining the first chromaticity coordinates of the projection light source of the projection device from the first color value and each of the third color values comprises:
determining a correlated color temperature of target diffuse reflection light according to each third color value, wherein the target diffuse reflection light is obtained by superposing all the second diffuse reflection light;
and determining the first chromaticity coordinate according to the correlated color temperature.
4. A method according to claim 3, wherein said determining the correlated color temperature of the target diffuse reflected light based on each of said third color values comprises:
determining a fourth color value of the target diffuse reflected light according to each third color value;
determining a second chromaticity coordinate of the target diffuse reflected light in an XYZ color space according to the fourth color value;
and determining the correlated color temperature of the target diffuse reflection light according to the second chromaticity coordinates.
5. A method according to claim 3, wherein said determining said first chromaticity coordinates from said correlated color temperature comprises:
Determining a target color temperature of a projection light source corresponding to a correlated color temperature according to a preset corresponding relation between the correlated color temperature and the color temperature of the projection light source;
and determining the intersection point coordinates of the black body locus and the isotherm of the target color temperature in the XYZ color space as the first chromaticity coordinates.
6. The method of any of claims 1-5, wherein prior to the step of determining gain coefficients for an RGB channel in the projection device from the first color value and each of the second color values, the method further comprises:
respectively acquiring infrared spectrum information of the first diffuse reflection light and each second diffuse reflection light;
correcting the first color value according to the infrared spectrum information of the first diffuse reflection light, and correcting the second color value of the second diffuse reflection light according to the infrared spectrum information of the second diffuse reflection light for each second diffuse reflection light;
the determining the gain coefficient of the RGB channel in the projection device according to the first color value and each second color value comprises the following steps:
and determining the gain coefficient of the RGB channel in the projection equipment according to the first color value obtained after correction and each second color value obtained after correction.
7. The method of claim 6, wherein correcting the first color value based on the infrared spectral information of the first diffusely reflected light comprises:
acquiring a first correction matrix and a second correction matrix, wherein the first correction matrix is determined according to a measurement result under a standard light source with an infrared component larger than a first preset proportion threshold value, and the second correction matrix is determined according to a measurement result under a standard light source with an infrared component smaller than a second preset proportion threshold value, and the first preset proportion threshold value is larger than the second preset proportion threshold value;
and determining the first color value obtained after correction according to the product of the first correction matrix and the matrix to be corrected and the product of the second correction matrix and the matrix to be corrected, wherein the matrix to be corrected is a column vector formed by the first color value and the infrared spectrum information of the first diffuse reflection light.
8. A projection device control apparatus, the apparatus comprising:
the acquisition module is used for responding to the received projection instruction and acquiring a first color value of first diffuse reflection light formed by diffuse reflection of ambient light through the projection surface before the projection equipment projects to the projection surface;
The control module is used for controlling the projection equipment to respectively project pure red light, pure green light and pure blue light to the projection surface according to any sequence, and obtaining second color values of second diffuse reflection light formed by diffuse reflection of the light projected by the projection equipment and the ambient light through the projection surface during each projection, wherein the second color values of the second diffuse reflection light not only comprise the characteristics of a projection light source of the projection equipment, but also comprise the characteristics of the projection surface and the ambient light;
the determining module is used for determining gain coefficients of RGB channels in the projection equipment according to the first color values acquired by the acquiring module and each second color value acquired by the control module;
the adjusting module is used for adjusting the gain of the RGB channel according to the gain coefficient determined by the determining module;
wherein the determining module comprises:
a filtering sub-module, configured to subtract, for each of the second color values, the first color value from the second color value to obtain a third color value;
a target construction submodule, configured to construct a target color lookup table according to the first color value and each third color value and determine a first color coordinate of a projection light source of the projection device, where the target color lookup table includes a correspondence between a data level value IRE, XYZ data of red with saturation IRE/N, XYZ data of green with saturation IRE/N, and XYZ data of blue with saturation IRE/N, N being a maximum value of the data level value IRE;
And the first determining submodule is used for determining the gain coefficient according to the first chromaticity coordinate and the target color lookup table.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-7.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111248026.4A CN113891053B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method and device, medium and electronic equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011556302.9A CN112738489B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method, device, medium and electronic equipment |
CN202111248026.4A CN113891053B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method and device, medium and electronic equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011556302.9A Division CN112738489B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method, device, medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113891053A CN113891053A (en) | 2022-01-04 |
CN113891053B true CN113891053B (en) | 2023-07-25 |
Family
ID=75615697
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111248026.4A Active CN113891053B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method and device, medium and electronic equipment |
CN202011556302.9A Active CN112738489B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method, device, medium and electronic equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011556302.9A Active CN112738489B (en) | 2020-12-23 | 2020-12-23 | Projection equipment control method, device, medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN113891053B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113965739B (en) * | 2020-12-23 | 2023-07-25 | 深圳市火乐科技发展有限公司 | Projection equipment control method and device, medium and electronic equipment |
CN113259645B (en) * | 2021-06-08 | 2021-10-19 | 深圳市火乐科技发展有限公司 | Color temperature adjusting method and device, computer readable storage medium and projection equipment |
CN113873208B (en) * | 2021-09-16 | 2023-07-25 | 峰米(北京)科技有限公司 | Gamma curve adjusting method and equipment for projection equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6043797A (en) * | 1996-11-05 | 2000-03-28 | Clarity Visual Systems, Inc. | Color and luminance control system for liquid crystal projection displays |
JP2009105679A (en) * | 2007-10-23 | 2009-05-14 | Canon Inc | Image processing apparatus and method of controlling the same |
CN101960379A (en) * | 2008-03-04 | 2011-01-26 | 纳幕尔杜邦公司 | Improved reflective projection screen |
JP2011205199A (en) * | 2010-03-24 | 2011-10-13 | Seiko Epson Corp | Image processing device, image display system, image processing method |
CN103716503A (en) * | 2012-09-28 | 2014-04-09 | 日立民用电子株式会社 | Image processing apparatus and projector |
JP2019201271A (en) * | 2018-05-15 | 2019-11-21 | キヤノン株式会社 | Projection type display device |
JP2019204017A (en) * | 2018-05-24 | 2019-11-28 | キヤノン株式会社 | Color correction method of image projection device |
CN110769229A (en) * | 2019-07-10 | 2020-02-07 | 成都极米科技股份有限公司 | Method, device and system for detecting color brightness of projection picture |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3514257B2 (en) * | 2002-05-20 | 2004-03-31 | セイコーエプソン株式会社 | Image processing system, projector, image processing method, program, and information storage medium |
JP2008109328A (en) * | 2006-10-25 | 2008-05-08 | Infovision Optoelectronics Holdings Ltd | Circuit and method for correcting color reproduction area |
KR100834764B1 (en) * | 2006-12-11 | 2008-06-05 | 삼성전자주식회사 | Projector with color correction and method thereof |
KR100866486B1 (en) * | 2007-01-04 | 2008-11-03 | 삼성전자주식회사 | Ambient light adaptive color correction method and device for projector |
JP2009116289A (en) * | 2007-11-06 | 2009-05-28 | Bright View Technologies Inc | Portable front projection screen |
CN101815220B (en) * | 2009-02-20 | 2011-08-10 | 华晶科技股份有限公司 | Method for correcting image color distortion |
JP5430254B2 (en) * | 2009-07-01 | 2014-02-26 | キヤノン株式会社 | Image display apparatus and control method thereof |
JP2012248910A (en) * | 2011-05-25 | 2012-12-13 | Canon Inc | Color correction method of projection display device |
US9030575B2 (en) * | 2011-10-12 | 2015-05-12 | Apple Inc. | Transformations and white point constraint solutions for a novel chromaticity space |
KR101627634B1 (en) * | 2011-12-26 | 2016-06-08 | 한국전자통신연구원 | Projector image correction device and method |
CN103702095B (en) * | 2013-12-24 | 2016-01-20 | 北京淳中科技股份有限公司 | The gamut correction method of image co-registration process, Apparatus and system |
CN106331664A (en) * | 2015-06-30 | 2017-01-11 | 芋头科技(杭州)有限公司 | Projector control method and projector suitable for the same |
CN106707674B (en) * | 2015-11-17 | 2021-02-26 | 深圳光峰科技股份有限公司 | Automatic focusing method of projection equipment and projection equipment |
FR3047832B1 (en) * | 2016-02-12 | 2019-09-27 | Idemia Identity And Security | METHOD FOR DETERMINING A COLOR VALUE OF AN OBJECT IN AN IMAGE |
CN108282647B (en) * | 2018-01-31 | 2019-11-05 | 上海小蚁科技有限公司 | Color correcting method and device, computer readable storage medium, terminal |
CN108600725B (en) * | 2018-05-10 | 2024-03-19 | 浙江芯劢微电子股份有限公司 | White balance correction device and method based on RGB-IR image data |
US10630948B2 (en) * | 2018-09-26 | 2020-04-21 | Christie Digital Systems Usa, Inc. | Device, system and method for photometric compensation of images provided by a display device |
CN110913194B (en) * | 2019-11-22 | 2021-12-28 | Oppo广东移动通信有限公司 | Automatic white balance compensation method, terminal and computer storage medium |
-
2020
- 2020-12-23 CN CN202111248026.4A patent/CN113891053B/en active Active
- 2020-12-23 CN CN202011556302.9A patent/CN112738489B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6043797A (en) * | 1996-11-05 | 2000-03-28 | Clarity Visual Systems, Inc. | Color and luminance control system for liquid crystal projection displays |
JP2009105679A (en) * | 2007-10-23 | 2009-05-14 | Canon Inc | Image processing apparatus and method of controlling the same |
CN101960379A (en) * | 2008-03-04 | 2011-01-26 | 纳幕尔杜邦公司 | Improved reflective projection screen |
JP2011205199A (en) * | 2010-03-24 | 2011-10-13 | Seiko Epson Corp | Image processing device, image display system, image processing method |
CN103716503A (en) * | 2012-09-28 | 2014-04-09 | 日立民用电子株式会社 | Image processing apparatus and projector |
JP2019201271A (en) * | 2018-05-15 | 2019-11-21 | キヤノン株式会社 | Projection type display device |
JP2019204017A (en) * | 2018-05-24 | 2019-11-28 | キヤノン株式会社 | Color correction method of image projection device |
CN110769229A (en) * | 2019-07-10 | 2020-02-07 | 成都极米科技股份有限公司 | Method, device and system for detecting color brightness of projection picture |
Also Published As
Publication number | Publication date |
---|---|
CN113891053A (en) | 2022-01-04 |
CN112738489B (en) | 2021-12-07 |
CN112738489A (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113891053B (en) | Projection equipment control method and device, medium and electronic equipment | |
CN113965739B (en) | Projection equipment control method and device, medium and electronic equipment | |
Berns | Methods for characterizing CRT displays | |
CN107197225B (en) | Color digital camera white balance correcting based on chromatic adaptation model | |
JP5589299B2 (en) | Color measuring device and method, and liquid crystal display system | |
EP1942680A2 (en) | Apparatus and method for ambient light adaptive color correction | |
CN114025145B (en) | Automatic white balance compensation method, terminal and computer storage medium | |
US20090179881A1 (en) | Color sensor unit for use in display device, color measuring device for use in display device, display system incorporated with color sensor unit, and display calibration method | |
GB2430105A (en) | Imaging device | |
JP2002027491A (en) | Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method | |
CN112565727B (en) | Projection equipment control method, device, medium and electronic equipment | |
CN113194303A (en) | Image white balance method, device, electronic equipment and computer readable storage medium | |
EP2201557A2 (en) | Image display apparatus and method of compensating for white balance | |
WO2022174651A1 (en) | Projection device control method and apparatus, medium, and electronic device | |
CN112750171B (en) | Color adjustment method, device, medium and electronic equipment | |
JP2007093477A (en) | Method and apparatus of calibrating color measuring device, and color measuring method and device | |
JP2010217645A (en) | Method, device and program of making correction value of image display device | |
TWI602419B (en) | Adjusting method and display apparatus using same | |
CN101159878B (en) | Color matching method and image seizure device and electronic equipment using the same | |
US8284260B2 (en) | Optimal raw RGB determination for color calibration | |
JP2010217644A (en) | Method, device and program of making correction value of image display device | |
CN109151457B (en) | Image processing method and device, terminal and storage medium | |
JP2008157782A (en) | Calibration method of tristimulus value direct reading type measuring device, calibration system, color measuring method and color measuring device | |
CN113259645B (en) | Color temperature adjusting method and device, computer readable storage medium and projection equipment | |
CN112738486A (en) | Projection control method, device, system, medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |