CN115866220A - Color correction method, device, storage medium, chip and projection equipment - Google Patents

Color correction method, device, storage medium, chip and projection equipment Download PDF

Info

Publication number
CN115866220A
CN115866220A CN202211469070.2A CN202211469070A CN115866220A CN 115866220 A CN115866220 A CN 115866220A CN 202211469070 A CN202211469070 A CN 202211469070A CN 115866220 A CN115866220 A CN 115866220A
Authority
CN
China
Prior art keywords
target
rgb
light source
duty ratio
color
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.)
Pending
Application number
CN202211469070.2A
Other languages
Chinese (zh)
Inventor
吕思成
陈诚
李波
张聪
胡震宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huole Science and Technology Development Co Ltd
Original Assignee
Shenzhen Huole Science and Technology Development Co Ltd
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 Shenzhen Huole Science and Technology Development Co Ltd filed Critical Shenzhen Huole Science and Technology Development Co Ltd
Priority to CN202211469070.2A priority Critical patent/CN115866220A/en
Publication of CN115866220A publication Critical patent/CN115866220A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

The method determines a first RGB duty ratio of a light source component according to a target color coordinate corresponding to target white balance and an original duty ratio corresponding to the light source component of the projection equipment, distributes the target duty ratio to the duty ratio of each primary color of the first RGB duty ratio according to light source configuration parameters of the projection equipment to obtain the target RGB duty ratio, and then controls the light source component to generate a projection light source according to the target RGB duty ratio, so that the projection equipment can correct the color of the projection equipment under the condition of not compressing CLO (CLO), the brightness of the picture color of a projection picture is normal, and normal transition between high saturation color and low saturation color is ensured.

Description

Color correction method, device, storage medium, chip and projection equipment
Technical Field
The present disclosure relates to the field of projection technologies, and in particular, to a color correction method, apparatus, storage medium, chip, and projection device.
Background
In a projection device, color overlap (overlay) is generally used to improve the brightness of a projection screen. In the related art, overlap of the projection apparatus is generally achieved by compressing CLO (Color Light Output) of RGB lamps of the Light source module, however, compressing CLO may cause the projection apparatus to reduce brightness of the projection picture when playing video or pictures with high saturation colors. Moreover, the transition between high and low saturation colors is prone to problems.
Therefore, a new overlap technique is needed to ensure that the brightness of the image color of the projection image is normal and ensure the normal transition between the high saturation color and the low saturation color.
Disclosure of Invention
The disclosure discloses a color correction method, a color correction device, a storage medium, a chip and a projection device, which can ensure normal brightness of the image color of a projection image and ensure normal transition between high saturation color and low saturation color under the condition of not compressing CLO.
In a first aspect, the present disclosure provides a color correction method, including:
determining a target color coordinate corresponding to the target white balance;
determining a first RGB duty ratio of a light source component according to the target color coordinate and an original duty ratio corresponding to the light source component of the projection equipment;
determining a target duty ratio to be increased;
according to the light source configuration parameters of the projection equipment, distributing the target duty ratio to the duty ratio of each primary color of the first RGB duty ratio to obtain the target RGB duty ratio;
and controlling the light source assembly to generate a projection light source according to the target RGB duty ratio.
In a second aspect, the present disclosure provides a color correction device, including:
a first determination module configured to determine a target color coordinate corresponding to a target white balance;
the second determining module is configured to determine the RGB duty ratio of the light source assembly according to the target color coordinate and the original duty ratio corresponding to the light source assembly of the projection equipment;
a third determining module configured to determine a target duty cycle to be increased;
the distribution module is configured to distribute the target duty ratio to the duty ratio of each primary color of the RGB duty ratio according to the light source configuration parameters of the projection equipment to obtain the target RGB duty ratio;
and the control module is configured to control the light source assembly to generate the projection light source according to the target RGB duty ratio.
In a third aspect, the disclosed embodiments provide a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method of the first aspect.
In a fourth aspect, the present disclosure provides a chip, including a processor and an interface; the processor is arranged to read instructions to perform the steps of the method according to the first aspect.
In a fifth aspect, the present disclosure provides a projection apparatus, including:
a light source assembly configured to generate a projection light source;
a light source control module configured to output a raw duty cycle of the light source assembly;
a memory configured to store executable instructions for implementing the method of the first aspect;
a processor configured to execute the executable instructions to control the light source assembly to generate a projection light source according to the raw duty cycle.
The method comprises the steps of determining a first RGB duty ratio of a light source component according to a target color coordinate corresponding to target white balance and an original duty ratio corresponding to the light source component of the projection equipment, distributing the target duty ratio to the duty ratio of each primary color of the first RGB duty ratio according to light source configuration parameters of the projection equipment to obtain the target RGB duty ratio, and then controlling the light source component to generate a projection light source according to the target RGB duty ratio, so that the projection equipment can correct the color of the projection equipment under the condition of not compressing CLO (compact ring offset), the brightness of the picture color of a projection picture is normal, and normal transition between high-saturation color and low-saturation color is ensured.
Drawings
Fig. 1 shows a duty cycle diagram of RGB for one time period.
Fig. 2 shows a duty cycle diagram of RGB under color overlap for one time period.
FIG. 3 is a flow chart illustrating a method of color correction according to an example embodiment.
Fig. 4 is a detailed flowchart of step 120 shown in fig. 3.
FIG. 5 is a schematic diagram illustrating an RGB model in accordance with an exemplary embodiment.
FIG. 6 is a schematic diagram of an RGB model shown in accordance with another exemplary embodiment.
Fig. 7 is a detailed flowchart of step 140 shown in fig. 3.
Fig. 8 is a flowchart illustrating determining a first duty cycle according to an example embodiment.
Fig. 9 is a detailed flowchart of step 142 shown in fig. 7.
FIG. 10 is a schematic diagram illustrating RGB duty cycles in accordance with an example embodiment.
FIG. 11 is a schematic diagram illustrating RGB color mixing, according to an example embodiment.
Fig. 12 is a block diagram illustrating a color correction apparatus according to an exemplary embodiment.
Fig. 13 is a schematic diagram illustrating a configuration of a projection device according to an exemplary embodiment.
Fig. 14 is a schematic configuration diagram of a projection apparatus 200 according to another exemplary embodiment.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In the related art, the projection device generally displays various colors based on time-sharing alternate display of RGB lamps in combination with the persistence of vision effect of human eyes. The timing sequence of the RGB lamp can be divided into two types, the first type is that the duty ratio of any one primary color in RGB is connected with the duty ratios of the other two primary colors, for example, RGB, RGBRG, RGRGB and GBRGR, etc., and the duty ratio of any one primary color is connected with the duty ratios of the other two primary colors. The second is that the duty cycle of one of the two primary colors is not connected to the duty cycle of one of the other two primary colors in RGB, for example, the duty cycles of R and B are not connected in RGBG model, and B and G are not connected in RBRG model.
Fig. 1 shows a duty cycle diagram of RGB for one time period. As shown in fig. 1, when the projection apparatus does not use overlap, in one time period of RGB, at the time of displaying the R primary color, the display panels of R are simultaneously turned on, and the display panels of G primary color and B primary color are not turned on. Similarly, the display of the G primary and the B primary is identical to the display of the R primary.
When the projection device uses overlap, the original duty cycles of RGB are partially allocated to C (Cyan) and Y (Yellow) or M (Magenta) during a time period of RGB. Fig. 2 shows a duty cycle diagram of RGB under color overlap for one time period. As shown in fig. 2, the time for displaying the R primary is shortened, and the duty ratio of R being shortened is provided to Y, and the principle of displaying the G primary and the B primary is the same, which is not described herein again. At this time, CLO = (R + G + B)/(R + G + B + Y + C), and it is seen that CLO is compressed, which may cause the projection device to reduce the brightness of the projection picture when playing video or pictures with high saturation colors. Moreover, the transition between high and low saturation colors is prone to problems.
In view of the above technical problem, an embodiment of the present disclosure provides a color correction method to correct colors of a projection device without compressing CLO, so as to make brightness of picture colors of a projection picture normal, and ensure normal transition between high saturation colors and low saturation colors.
FIG. 3 is a flow chart illustrating a method of color correction according to an example embodiment. As shown in fig. 3, an embodiment of the present disclosure provides a color correction method, which may be performed by a projection device, and in particular, may be performed by a color correction apparatus, which may be implemented by software and/or hardware and configured in the projection device. Of course, the method may also be performed by a chip. As shown in fig. 3, the method may include the following steps.
In step 110, the target color coordinates corresponding to the target white balance are determined.
Here, the target white balance refers to a required white balance of the projection screen, which may be autonomously set according to the requirements of a user or a manufacturer. The target color coordinate is a coordinate value of the target white balance in an XY color coordinate system, wherein an X coordinate in the XY color coordinate system represents a proportion of the red primary color, a Y coordinate represents a proportion of the green primary color, and a coordinate Z of the blue primary color can be calculated by X + Y + Z = 1.
In step 120, a first RGB duty cycle of the light source assembly of the projection apparatus is determined according to the target color coordinates and the original duty cycle corresponding to the light source assembly.
Here, the original duty ratio corresponding to the light source assembly of the projection apparatus refers to the duty ratio of RGB of the light source assembly when overlap is not used, and the original duty ratio includes the duty ratio of the red primary color light source (R), the duty ratio of the green primary color light source (G), and the duty ratio of the blue primary color light source (B). For example, the original duty cycle may be represented as (D) R ,D G ,D B ) Wherein D is R Representing the original duty cycle of R, D G Representing the original duty cycle of G, D B Representing the original duty cycle of B.
It should be understood that the raw duty cycle may be understood as a factory set parameter of RGB of the light source assembly.
The first RGB duty ratio refers to a duty ratio of RGB of the light source assembly at the target color coordinates.
Wherein the first RGB duty cycle includes a duty cycle of a red primary light source, a duty cycle of a green primary light source, and a duty cycle of a blue primary light source. For example, the first RGB duty cycle may be expressed as (D ″) R ,D″ G ,D″ B ) Wherein D ″) R Denotes the duty cycle, D ″, of R in the target color coordinate G Denotes the duty cycle, D ″, of G in the target color coordinate B Representing the duty cycle of B at the target color coordinate.
It should be noted that the first RGB duty ratio is a duty ratio at the target color coordinates when the light source unit is not turned on overrlap, and the white balance of the projection screen can be matched with the target white balance based on the first RGB duty ratio.
In step 130, a target duty cycle to be increased is determined.
Here, the target duty ratio refers to a duty ratio, i.e., overlap, at which RGB of the light source assembly is to be increased. For example, after the first RGB duty ratio is normalized, it can be expressed as 100%, and overlap refers to the percentage of the portion exceeding the sum of the first RGB duty ratio to the original sum. For example, after 30% overlap plus the first RGB duty cycle, the new first RGB duty cycle is 130%.
It should be understood that the target duty cycle may be set according to the requirements of the projection screen, for example, when the brightness of the projection screen is required to be high, the target duty cycle is increased.
In step 140, a target duty cycle is allocated to the duty cycle of each primary color of the first RGB duty cycle according to the light source configuration parameters of the projection device, so as to obtain a target RGB duty cycle.
Here, the light source configuration parameters refer to parameters of the light source assembly, which are hardware properties of the light source assembly. The target duty cycle is assigned to the duty cycle of each primary color of the first RGB duty cycle in a different manner for different light source configuration parameters.
Wherein the target RGB duty cycle comprises a duty cycle of a red primary light source, a duty cycle of a green primary light source, and a duty cycle of a blue primary light source. The different light source configuration parameters determine how the target duty cycles are assigned to the duty cycles of the red, green, and blue primary light sources in the first RGB duty cycle. For example, the target duty cycle is 30%, the first RGB duty cycle is R:30%, G:40%, B:30%, the target duty cycle may be evenly distributed into the first RGB duty cycle, and then the target RGB duty cycle is R:40%, G:50%, B:40 percent.
In step 150, the light source module is controlled to generate a projection light source according to the target RGB duty ratio.
Here, after determining the target RGB duty cycle, the projection apparatus may control the light source assembly to generate the projection light source according to the target RGB duty cycle. I.e. the light source modules are operated at the target RGB duty cycle.
Therefore, the first RGB duty ratio of the light source component is determined according to the target color coordinate corresponding to the target white balance and the original duty ratio corresponding to the light source component of the projection equipment, the target duty ratio is distributed to the duty ratio of each primary color of the first RGB duty ratio according to the light source configuration parameters of the projection equipment, the target RGB duty ratio is obtained, then the light source component is controlled to generate the projection light source according to the target RGB duty ratio, the projection equipment can correct the color of the projection equipment under the condition that the CLO is not compressed, the brightness of the picture color of a projection picture is normal, and normal transition between the high-saturation color and the low-saturation color is guaranteed.
Fig. 4 is a detailed flowchart of step 120 shown in fig. 3. As shown in fig. 4, in some implementations, step 120 may include the following steps:
in step 121, coordinate information of RGB of the light source assembly in the XYZ color system is determined.
Here, the XYZ color system is a system in which a chromaticity system is established using three virtual primary colors XYZ, and tristimulus values of an isoenergetic spectrum are matched, and is named as CIE1931 standard chromaticity observer spectrum tristimulus values. Coordinate information of RGB in XYZ color system includes coordinate information of R lamp, which can be expressed as X R ,Y R ,Z R G lamp coordinate information, which may be expressed as X G ,Y G ,Z G And coordinate information of the B lamp, which can be expressed as X B ,Y B ,Z B
For example, RGB of the light source assembly may be detected, luminance and color coordinate data of the RGB are obtained, and coordinate information of the RGB in an XYZ color system is obtained based on the luminance and color coordinate data of the RGB in combination with a conversion relationship between color coordinates and the XYZ color system.
For example, the luminance and color coordinate data of RGB can be expressed as:
Figure BDA0003957734210000051
wherein L is R ,x R ,y R Respectively representing the brightness and color coordinate data, L, of the R lamp G ,x G ,y G Respectively representing brightness and color coordinate data, L, of G lamp B ,x B ,y B The luminance and color coordinate data of the B lamp are shown. The conversion relationship between the color coordinates and the XYZ color system can be expressed as:
Figure BDA0003957734210000061
In this case, X, Y, Z represents the coordinates of the XYZ color system, x and y represent the coordinates of color coordinates, and L represents luminance. Based on the above conversion relationship, coordinate information of RGB in the XYZ color system can be obtained.
In step 122, an inverse matrix is constructed based on the original duty ratio and the coordinate information, wherein the inverse matrix is used for representing the proportional relationship of RGB under the unit duty ratio.
Here, after obtaining coordinate information of RGB in the XYZ color system, an inverse matrix for characterizing a proportional relationship of RGB at a unit duty may be constructed based on the original duty and the coordinate information.
Illustratively, the inverse matrix may be represented as:
Figure BDA0003957734210000062
in step 123, an RGB scaling matrix is determined based on the inverse matrix and a target conversion relationship, wherein the target conversion relationship is a conversion relationship between the color coordinates and the XYZ color system.
Here, the target conversion relationship refers to a conversion relationship between color coordinates and the XYZ color system, which can be expressed as:
Figure BDA0003957734210000063
of course, the conversion relation may also be normalized, and the target conversion relation may be expressed as
Figure BDA0003957734210000064
Illustratively, the inverse matrix is associated with the targetAnd (4) cross multiplying the conversion relation to obtain an RGB proportion matrix. For example,
Figure BDA0003957734210000065
wherein M is RGB Is an RGB scaling matrix.
In step 124, a first RGB duty cycle is determined based on the RGB scaling matrix and the raw duty cycle.
Here, the first RGB duty cycle includes a duty cycle of the red primary color light source, a duty cycle of the green primary color light source, and a duty cycle of the blue primary color light source, and the first RGB duty cycle actually characterizes the duty cycle of the light source assembly at the target color coordinates without turning on overrlap.
For example, the first RGB duty ratio may be obtained based on a preset calculation formula:
Figure BDA0003957734210000071
wherein, D ″) R Represents the duty cycle, D ″, of the red primary light source in the first RGB duty cycle G Represents the duty cycle, D ″, of the green primary light source in the first RGB duty cycle B Representing the duty cycle of the blue primary light source in the first RGB duty cycle.
Therefore, based on the above steps 121 to 124, the first RGB duty ratio at which RGB achieves the target white balance can be accurately obtained when RGB of the light source module is not overlapped.
In some implementations, the light source configuration parameter includes one of a first configuration parameter, a second configuration parameter, a third configuration parameter, and a fourth configuration parameter.
The first configuration parameter represents that any primary color in RGB of the light source component is connected with the other two primary colors, and the light source component supports modification of the original duty ratio.
FIG. 5 is a schematic diagram illustrating an RGB model in accordance with an exemplary embodiment. As shown in fig. 5, in the RGB model, the trailing edge of the R duty is connected to the leading edge of the G duty, the trailing edge of the G duty is connected to the leading edge of the B duty, and the trailing edge of the B duty is connected to the leading edge of the R duty. I.e. any one of the RGB primaries is connected to the other two primaries.
It should be understood that the support of the light source assembly with the modified raw duty cycles means that the raw duty cycles of the RGB of the light source assembly can be directly replaced with other RGB duty cycles.
The second configuration parameter represents that any primary color in RGB of the light source component is connected with the other two primary colors, and the light source component does not support the modification of the original duty ratio.
Here, the light source assembly does not support modifying the original duty cycle means that the original duty cycle of RGB of the light source assembly cannot be directly replaced with other RGB duty cycles, and an increased duty cycle needs to be mapped to a portion of overlap.
And the third configuration parameter represents that at least one primary color in RGB of the light source component is not connected with one of the other two primary colors, and the light source component supports modification of the original duty ratio.
FIG. 6 is a schematic diagram of an RGB model shown in accordance with another exemplary embodiment. As shown in FIG. 6, in the RGB model, the trailing edge of the R duty cycle is connected to the leading edge of the first G duty cycle, the trailing edge of the first G duty cycle is connected to the leading edge of the B duty cycle, the trailing edge of the B duty cycle is connected to the leading edge of the second G duty cycle, and the trailing edge of the second G duty cycle is connected to the leading edge of the R duty cycle. I.e., there is at least one primary color in RGB that is not connected to one of the other two primary colors, e.g., the B duty cycle is not connected to the R duty cycle.
It is worth mentioning that there is at least one primary color in RGB of the light source module that is not connected to one of the other two primary colors, which may be the case as shown in the RGBG model of fig. 6, or other models, but is a modification or extension of the RGBG model.
The fourth configuration parameter represents that at least one primary color in RGB of the light source component is not connected with one of the other two primary colors, and the light source component does not support the modification of the original duty ratio.
Fig. 7 is a detailed flowchart of step 140 shown in fig. 3. As shown in fig. 7, step 140 may include the steps of:
in step 141, a target duty cycle is determined to be assigned to a first duty cycle of any of the primary colors of RGB based on a first target assignment matching the light source configuration parameters.
Here, the corresponding first target allocation manner is different for different light source configuration parameters. For example, the light source configuration parameter includes one of a first configuration parameter, a second configuration parameter, a third configuration parameter, and a fourth configuration parameter, and the first target allocation manners corresponding to the first configuration parameter, the second configuration parameter, the third configuration parameter, and the fourth configuration parameter may be different.
The first duty cycle refers to a duty cycle at which a target duty cycle is assigned to the red primary color light source, the green primary color light source, and the blue primary color light source. For example, the target duty cycle may be 30%, the first duty cycle allocated to the red primary color light source may be 10%, the first duty cycle allocated to the green primary color light source may be 10%, and the first duty cycle allocated to the blue primary color light source may be 10%.
It should be understood that, for different light source configuration parameters, the corresponding first target distribution manner is different, and the first duty ratio allocated to the red primary color light source, the first duty ratio allocated to the green primary color light source, and the first duty ratio allocated to the blue primary color light source may be different, and may be specifically set according to actual situations.
As some examples, where the light source configuration parameters include the first configuration parameter or the third configuration parameter, the first duty cycle may be determined according to the target duty cycle and the first RGB duty cycle.
Here, in the case that the light source configuration parameter of the light source assembly of the projection apparatus is the first configuration parameter or the third configuration parameter, in order to ensure that the target white balance is unchanged, the target duty ratios need to be allocated according to the ratio between the duty ratios of the respective primary colors in the first RGB duty ratio and the first RGB duty ratio.
Illustratively, the first duty cycle may be calculated by the following calculation:
Figure BDA0003957734210000081
wherein, P R Representing a first duty cycle, P, of a red primary light source G Representing a first duty cycle, P, of the light source of the green primary color B Representing a first duty cycle of the blue primary light source and P representing a target duty cycle.
Fig. 8 is a flowchart illustrating determining a first duty cycle according to an example embodiment. As further examples, where the light source configuration parameters include the second configuration parameter or the fourth configuration parameter, the first duty cycle may be determined by the following steps.
In step 801, a ratio between the first RGB duty cycle and the original duty cycle corresponding to each primary color of the light source module is determined according to the first RGB duty cycle and the original duty cycle.
Here, the first RGB duty ratio includes a duty ratio of the red primary color light source, a duty ratio of the green primary color light source, and a duty ratio of the blue primary color light source, the original duty ratio includes a duty ratio of the red primary color light source, a duty ratio of the green primary color light source, and a duty ratio of the blue primary color light source, and the ratio is a ratio of a duty ratio of each primary color in the first RGB duty ratio to a duty ratio of a corresponding primary color in the original duty ratio. For example,
Figure BDA0003957734210000091
represents the ratio of the light source of the primary color red, and/or is greater than or equal to>
Figure BDA0003957734210000092
Represents the ratio of the light source of the primary color green, and/or>
Figure BDA0003957734210000093
Representing the ratio of the blue primary light source. />
In step 802, a second RGB duty ratio is determined according to the first RGB duty ratio and a target ratio, where the target ratio is the smallest ratio among the ratios corresponding to all the primaries.
Here, the target ratio is the smallest ratio among the ratios corresponding to all the primaries, for example, if
Figure BDA0003957734210000094
Is minimum value of->
Figure BDA0003957734210000095
Then the target ratio is->
Figure BDA0003957734210000096
For example, the second RGB duty cycle may be determined according to a ratio between a duty cycle corresponding to each primary color in the first RGB duty cycle and a target ratio. For example, the second RGB duty cycle may be calculated by the following calculation:
Figure BDA0003957734210000097
wherein,
Figure BDA0003957734210000098
denotes the target ratio, D' R Representing the duty cycle, D '", of the red primary light source in the second RGB duty cycle' G Representing the duty cycle, D '", of the green primary light source in the second RGB duty cycle' B Representing the duty cycle of the blue primary light source in the second RGB duty cycle.
In step 803, a first duty cycle is determined according to the target duty cycle and the second RGB duty cycle.
Here, in order to ensure that the target white balance is constant, the target duty ratio needs to be distributed in proportion to the duty ratio of each primary color in the second RGB duty ratio and the second RGB duty ratio.
It should be noted that, since the light source module of the second configuration parameter or the fourth configuration parameter does not support direct modification of the original duty ratio, the increased duty ratio needs to be mapped onto the overlap, and a value range of the target duty ratio is required. WhereinThe value range of the target duty ratio is
Figure BDA0003957734210000099
According to the above calculation formula, when the value of the target duty ratio P is equal to
Figure BDA00039577342100000910
In this case, the primary color corresponding to the target ratio is not overlapped, that is, the target duty ratio is not allocated to the duty ratio of the primary color corresponding to the target ratio, and the target duty ratio is allocated to the duty ratios of the other two primary colors according to a ratio. When the value of the target duty ratio is greater than->
Figure BDA0003957734210000101
The target duty cycle is then scaled to the duty cycles of the three primary colors of RGB.
Based on this, through the above steps 801 to 803, the target duty ratio can be accurately allocated to any one of the primary colors of RGB, thereby ensuring that the target white balance is unchanged.
In step 142, a target RGB duty ratio is obtained according to the first duty ratio and the first RGB duty ratio.
Here, after determining the first duty ratio to be allocated to any one of the primary colors of RGB, the target RGB duty ratio is obtained according to the first duty ratio and the first RGB duty ratio.
For example, assuming that the first duty cycle assigned to the red primary light source is 10%, the first duty cycle assigned to the green primary light source is 10%, and the first duty cycle assigned to the blue primary light source is 10%, the first RGB duty cycles are R:30%, G:40%, B:30%, the target RGB duty cycle is R:40%, G:50%, B:40 percent.
Therefore, the target duty ratio is distributed to the duty ratio of the primary color corresponding to the first RGB duty ratio through a first target distribution mode matched with the light source configuration parameters, so that the target RGB duty ratio can meet the requirements of the light source configuration parameters of the light source assembly, and the target white balance is guaranteed to be unchanged.
Fig. 9 is a detailed flowchart of step 142 shown in fig. 7. As shown in fig. 9, in some implementations, step 142 may include the following steps:
in step 1421, color protection requirements are determined.
Here, color protection requirements refer to characterizing the saturation and/or hue of one or more primary colors in the protection RGB to be constant. The color protection requirements may be determined according to the user's color requirements for the projected picture.
In step 1422, a second target allocation that matches the color protection requirement is determined according to the color protection requirement.
Here, different second target allocation manners may be corresponded to different color protection requirements. A mapping relation can exist between the color protection requirement and the distribution mode, and after the color protection requirement is determined, the corresponding second target distribution mode can be determined by combining the mapping relation.
It is worth noting that the color protection requirements may be different under different light source configuration parameters. For example, under a first configuration parameter, the color protection requirements may include requirement A and requirement B, and under a second configuration parameter, the color protection requirements may include requirement C and requirement D.
In step 1423, a target RGB duty ratio is obtained based on the first duty ratio and the first RGB duty ratio in combination with the second target allocation manner.
Here, after determining a second target allocation pattern matching the color protection requirement, the target RGB duty ratios may be obtained based on the first duty ratios and the first RGB duty ratios in combination with the second target allocation pattern. For example, the first duty cycle is allocated to the leading edge and/or the trailing edge of the duty cycle of the primary color corresponding to the first RGB duty cycle to obtain the target RGB duty cycle.
Wherein the target RGB duty cycle matches a color of the projected picture generated according to the target RGB duty cycle to the color protection requirement.
For example, if the color protection is required to protect the saturation of red from changing, the target RGB duty ratio obtained according to the second target allocation manner can ensure that the saturation of red of the projection picture generated according to the target RGB duty ratio does not change.
Thus, the colors of the projection picture under the target RGB duty ratio can be made to meet the color protection requirements by calculating the target RGB duty ratio according to the second target allocation manner corresponding to the color protection requirements.
In some embodiments, when the configuration parameter of the light source is the first configuration parameter, if the color protection requirement indicates that the hues of all the primary colors are protected from changing, the first duty ratio is uniformly distributed on the leading edge and the trailing edge of the duty ratio of the primary color corresponding to the first RGB duty ratio, so as to obtain the target RGB duty ratio.
Here, the color protection requirement characterization is to protect the hues of all the primary colors from changing, which means that the hues of red, green and blue are not changed, and at this time, the first duty ratio needs to be uniformly distributed on the leading edge and the trailing edge of the duty ratio of the primary color corresponding to the first RGB duty ratio. For example, assuming that the first duty ratio assigned to the red primary color light source is 10%, the leading edge and the trailing edge of the duty ratio belonging to the red primary color light source are each assigned a duty ratio of 5% in the first RGB duty ratio.
FIG. 10 is a schematic diagram illustrating RGB duty cycles in accordance with an example embodiment. As shown in fig. 10, overlap at the leading and trailing edges of the R duty cycle is denoted as P, respectively RF 、P RB Overlap at the leading and trailing edges of the G duty cycle is denoted as P GF 、P GB Overlap at the leading and trailing edges of the R duty cycle is denoted as P BF 、P BB . In a time period, the leading edge of G is mixed into R, R is mixed into color, the trailing edge of G is mixed into B, B is mixed into color, the trailing edge of R and the leading edge of B are also mixed into G, and G is mixed into color, the following relationship exists:
P RF +P RB +P GF +P GB +P BF +P BB =P R +P G +P B =P(1)
therefore, if the color tone of a certain primary color is to be ensured to be unchanged, the other two primary colors mixed into the primary color need to meet the proportion.
FIG. 11 is a rootA schematic diagram of RGB color mixing is shown according to an exemplary embodiment. As shown in fig. 11, the coordinate system is XYZ color system of the CIE1931 standard. Assuming that the hue of B is guaranteed to be unchanged, the new B coordinate still needs to be on the BY line after B mixes in R and G. Assuming that the coordinate of B after color mixing is B C is the coordinates of BG after mixing in G, M is the coordinates of BR after mixing in R, and CM is parallel to GR. In fig. 11, B is mixed by the trailing edge of G and the leading edge of R, and the following relationship can be obtained according to the color mixing law and the mathematical geometry:
Figure BDA0003957734210000111
Figure BDA0003957734210000112
Figure BDA0003957734210000113
the following relationships can be obtained from equations (1), (2), (3), and (4):
Figure BDA0003957734210000121
Figure BDA0003957734210000122
Figure BDA0003957734210000123
0≤P≤100%
according to the above relationship, in the RGB timing sequence, the overlap allocated to each primary color needs to be equally allocated on the leading edge and the trailing edge of the corresponding primary color, so that the color tone of the three primary colors can not change. Therefore, under the condition that the configuration parameters of the light source are the first configuration parameters, if the color protection requirement represents that the hues of all the primary colors are unchanged, the first duty ratios can be uniformly distributed on the leading edges and the trailing edges of the duty ratios of the primary colors corresponding to the first RGB duty ratios, so as to obtain the target RGB duty ratios, and ensure that the color hues of the red primary colors, the green primary colors and the blue primary colors are unchanged.
It is worth noting that the color saturation of all primary colors is reduced while the hue of all primary colors is protected from changing. It should be understood that if the saturation of a color is unchanged, the hue of the color must be unchanged. If the hue of a color changes, the saturation inevitably changes.
In some embodiments, in a case that the light source configuration parameter is the first configuration parameter, if the color protection requirement indicates that the saturation of the first target primary color is not changed, the first duty ratio may be distributed over the first RGB duty ratio based on a first distribution manner, so as to obtain the target RGB duty ratio, where the first distribution manner is used to enable two primary colors other than the first target primary color not to overlap with the first target primary color at the target RGB duty ratio.
Here, the first target primary color may be one of a red primary color, a green primary color, and a blue primary color. In order to protect the saturation of the first target primary color from changing, the first target primary color cannot be mixed with other colors, that is, the other two primary colors except the first target primary color do not overlap with the first target primary color under the target RGB duty ratio.
As shown in fig. 5, when the saturation of red is to be protected from being changed, red cannot be mixed with green and/or blue. The first duty cycle assigned to G needs to be assigned all on the trailing edge of G, the first duty cycle assigned to B needs to be assigned all on the leading edge of B, the first duty cycle assigned to R can be assigned on the leading edge and/or the trailing edge of R, and how to assign the first duty cycle of R can be further adjusted according to other requirements.
In some embodiments, in a case that the light source configuration parameter is the first configuration parameter, if the color protection requirement indicates that the saturation of the second target primary color is protected and the hue of the third target primary color is protected, the first duty ratio is allocated to the first RGB duty ratio based on a second allocation manner, so as to obtain the target RGB duty ratio, where the second allocation manner is used to enable two other primary colors except the second target primary color not to overlap with the second target primary color, and the second target primary color to overlap with the third target primary color, and the second target primary color not to overlap with the primary colors except the second target primary color and the third target primary color at the target RGB duty ratio.
Here, the second target primary color may be one of a red primary color, a green primary color, and a blue primary color. The third target color primary may be one of the other two color primaries except the second target color primary. For example, when the second target primary color is red, the third target primary color is one of blue and green.
It should be understood that to protect the saturation of one color from changing, the color cannot be mixed with other colors, and to protect the hue of one color from changing, the ratio of the other two colors mixed with the color needs to be in accordance with a preset ratio. At the target RGB duty cycle, the other two primaries other than the second target primary do not overlap the second target primary, and the second target primary overlaps the third target primary, and the second target primary does not overlap the primaries other than the second target primary and the third target primary.
As shown in fig. 5, if the saturation of green is to be protected, the first duty ratios required to be allocated to red and blue cannot be superimposed into green, the first duty ratios required to be allocated to red all need to be allocated to the leading edge of red and the first duty ratios required to be allocated to blue all need to be allocated to the trailing edge of blue. If the hue of red needs to be protected from change at the same time, and blue is mixed into red, green needs to be mixed into red according to a preset proportion, and the first duty ratio allocated to green needs to be allocated at the leading edge of green. The preset proportion is determined in the process of calculating the first duty ratio, namely the proportion between the duty ratio of each primary color in the first RGB duty ratio and the first RGB duty ratio is the preset proportion.
It should be noted that, according to the above calculation formula, in the case that the light source configuration parameter is the first configuration parameter, the color saturation of the two primary colors cannot be protected at the same time.
In some embodiments, in the case that the light source configuration parameter is the second configuration parameter, if the target duty ratio is equal to the preset threshold, the color protection requirement may include the first color protection requirement or the second color protection requirement, and if the target duty ratio is greater than the preset threshold, the color protection requirement may include the third color protection requirement or the fourth color protection requirement.
The first color protection requirement represents and protects the saturation of the primary color corresponding to the target ratio unchanged, the second color protection requirement represents and protects the saturation of other primary colors except the primary color corresponding to the target ratio unchanged, the third color protection requirement represents and protects the saturation of the fourth target primary color unchanged, and the fourth color protection requirement represents and protects the saturation of the fifth target primary color unchanged and protects the hue of the sixth target primary color unchanged.
Here, when the light source configuration parameter of the projection apparatus is the second configuration parameter, since the light source assembly of the projection apparatus does not support directly modifying the original duty ratio, an increased duty ratio needs to be mapped to a portion of the overlap, and there is a range requirement for the size of the target duty ratio. Wherein the preset threshold is
Figure BDA0003957734210000131
It should be noted that when the target duty ratio P is set to be
Figure BDA0003957734210000132
In this case, the primary color corresponding to the target ratio is not overlapped, that is, the target duty ratio is not distributed to the duty ratio of the primary color corresponding to the target ratio, and the target duty ratio is distributed to the duty ratios of the other two primary colors according to a ratio. When the value of the target duty ratio is larger than
Figure BDA0003957734210000133
The target duty cycle is then scaled to the duty cycles of the three primary colors of RGB. Thus, for different values of the target duty cycle, forThe required color protection requirements are different.
Wherein, the primary color corresponding to the target ratio refers to
Figure BDA0003957734210000141
Corresponds to the minimum value in, e.g., is/are>
Figure BDA0003957734210000142
Is minimum value of->
Figure BDA0003957734210000143
The primary color corresponding to the target ratio is the red primary color, and the other primary colors except the primary color corresponding to the target ratio may be green and blue.
The concept of the fourth target primary is consistent with that of the first target primary, and the concept of the fifth target primary and the sixth target primary is consistent with that of the second target primary and the third target primary, which will not be described herein again. It should be understood that, in the case that the target duty ratio is larger than the preset threshold, all three primary colors of RGB are assigned to the first duty ratio, and in the RGB model as shown in fig. 5, only one primary color can be selected to be protected from changing saturation, i.e., the third color protection requirement. While the hue of only one of the other two primary colors can be protected, i.e. a fourth color protection requirement. When the target duty ratio is equal to the preset threshold, the primary color corresponding to the target ratio is not allocated to the first duty ratio, and then in the RGB model shown in fig. 5, only the saturation of the primary color corresponding to the target ratio can be selectively protected from changing, that is, the first color protection requirement. Or, the saturation of the other two primary colors except the primary color corresponding to the target ratio is selected to be protected simultaneously, namely the second color protection requirement.
In some implementations, in a case that the color protection requirement includes a first color protection requirement, the first duty ratio is distributed over the second RGB duty ratio based on a third distribution manner to obtain a target RGB duty ratio, where the third distribution manner is used to make the primary colors except the primary color corresponding to the target ratio not overlap with the primary color corresponding to the target ratio at the target RGB duty ratio.
In some implementations, in a case that the color protection requirement includes a second color protection requirement, the first duty ratio is distributed over the second RGB duty ratio based on a fourth distribution manner to obtain a target RGB duty ratio, where the fourth distribution manner is used to make the primary colors except for the primary color corresponding to the target ratio not overlap with each other at the target RGB duty ratio.
In some implementations, in a case where the color protection requirement includes a third color protection requirement, the first duty ratio is distributed over the second RGB duty ratio based on a fifth distribution manner to obtain the target RGB duty ratio, where the fifth distribution manner is used to make none of the primaries other than the fourth target primary overlap with the fourth target primary at the target RGB duty ratio.
In some implementations, where the color protection requirements include a fourth color protection requirement, the target RGB duty cycle is obtained by allocating the first duty cycle over the second RGB duty cycle based on a sixth allocation manner, where the sixth allocation manner is used such that at the target RGB duty cycle, the other two primaries except the fifth target primary do not overlap with the fifth target primary, and the fifth target primary overlaps with the sixth target primary, and the fifth target primary does not overlap with the primaries except the fifth target primary and the sixth target primary.
In the above embodiment, when the light source configuration parameter of the light source assembly is the second configuration parameter, since the light source assembly of the projection apparatus does not support directly modifying the original duty ratio, the increased duty ratio needs to be mapped to the portion of the overlap. Therefore, the second RGB duty ratio needs to be determined according to the target ratio and the first RGB duty ratio. At this second RGB duty ratio, the white balance of the projection picture can be made to coincide with the target white balance, and then the first duty ratio is actually to be allocated on the second RGB duty ratio.
It should be noted that, when the light source configuration parameter of the light source module is the second configuration parameter, the RGB timing of the light source module is actually as shown in fig. 5. The first allocation manner, the second allocation manner, the third allocation manner, the fourth allocation manner, the fifth allocation manner, and the sixth allocation manner all actually follow a principle that if the saturation of a color is to be protected from changing, the color cannot be mixed with other colors, and if the hue of the color is to be protected from changing, the other two colors need to be mixed into the color according to a preset ratio.
For example, as shown in fig. 5, when the color protection requirement is the first color protection requirement, if the primary color corresponding to the target ratio is red, the first duty cycle allocated to G needs to be allocated entirely on the trailing edge of G, and the first duty cycle allocated to B needs to be allocated entirely on the leading edge of B, so that green and blue do not mix into red, thereby protecting the saturation of red from changing.
For example, as shown in fig. 5, when the color protection requirement is the second color protection requirement, if the primary color corresponding to the target ratio is red and the saturation of green and blue is to be protected from changing, the first duty ratio assigned to G needs to be assigned to the leading edge of G and the first duty ratio assigned to B needs to be assigned to the trailing edge of B, so that green and blue overlap with each other, and the saturation of green and blue is protected from changing.
It should be understood that, regarding the fifth dispensing formula and the sixth dispensing formula, the principle follows that the saturation of the color to be protected is not changed, the color cannot be mixed with other colors, and the hue of the color to be protected is not changed, and the other two colors need to be mixed with the color according to the preset proportion, which is not illustrated here.
In some embodiments, in a case that the light source configuration parameter is the third configuration parameter, if the color protection requirement indicates that the saturation of a seventh target primary color of the non-interconnected primary colors in the RGB protecting the light source module is not changed, the first duty ratio may be distributed over the first RGB duty ratio based on a seventh distribution manner, so as to obtain the target RGB duty ratio, where the seventh distribution manner is used to make two primary colors except the seventh target primary color not overlap with the seventh target primary color at the target RGB duty ratio.
Here, when the light source configuration parameter is the third configuration parameter, the RGB timing of the light source assembly may be as shown in fig. 6, and when the first RGB duty ratio is calculated, two gs equally divide the G duty ratio in the first RGB duty ratio, or one of the gs has the minimum duty limit.
Since R and B are not connected in time series, only G can be mixed into R and B, and therefore, as long as R and B are mixed into G, the hues of R and B must be changed, and there must be one primary color in R and B that is mixed into G. At the same time, G must also be assigned to the first duty cycle mixture of R and B, and therefore the saturation of G cannot be protected either. However, since R and B are mixed in G at a predetermined ratio, the hue of G must be constant.
Therefore, when the light source configuration parameter is the third configuration parameter, the saturation of the seventh target primary color of the non-interconnected primary colors of the RGB of the light source module may be selectively protected from being changed. As shown in fig. 6, the seventh target primary color may be one of a red primary color and a blue primary color.
It should be noted that, in practice, the seventh allocation manner also follows the principle that, if the saturation of a color to be protected is not changed, the color cannot be mixed with other colors, and if the hue of the color to be protected is not changed, the other two colors need to be mixed with the color according to a preset ratio.
For example, as shown in fig. 6, when the color protection requirement is to protect the saturation of the red primary color from changing, the first duty cycle assigned to the first G needs to be assigned to the trailing edge of the first G, the first duty cycle assigned to the second G needs to be assigned to the leading edge of the second G, and the first duty cycle assigned to B needs to be assigned to the leading edge of B, so that green and blue colors are not mixed into red color, thereby protecting the saturation of red color from changing.
In some embodiments, in a case that the light source configuration parameter is a fourth configuration parameter, if the target duty ratio is equal to a preset threshold and the eighth target primary color corresponding to the target ratio is not connected to one of the other two primary colors, the color protection requirement includes a fifth color protection requirement or a sixth color protection requirement, where the fifth color protection requirement represents that saturation of the eighth target primary color is protected from changing, the sixth color protection requirement represents that saturation of the ninth target primary color is protected from changing, and the ninth target primary color is one of the other two primary colors which is not connected to the eighth target primary color.
Here, as shown in fig. 6, the red primary color (R) and the blue primary color (B) are not connected to each other, and the eighth target primary color corresponding to the target ratio may refer to the red primary color or the blue primary color. In this case, the color protection requirements may include a fifth color protection requirement or a sixth color protection requirement. The fifth color protection requirement represents that the saturation of the eighth target primary color is protected from changing, that is, the saturation of the red primary color or the blue primary color can be selectively protected from changing. The sixth color protection requirement characterizes to protect the saturation of the ninth target primary color unchanged, wherein the ninth target primary color is a primary color which is not connected with the eighth target primary color in the other two primary colors. For example, when the eighth target primary color is a red primary color, the ninth target primary color is a blue primary color, and when the eighth target primary color is a blue primary color, the ninth target primary color is a red primary color.
It should be noted that, as shown in fig. 6, in the case that the light source configuration parameter is the fourth configuration parameter, if the target duty ratio is equal to the preset threshold and the eighth target primary color corresponding to the target ratio is G, it indicates that G is not allocated to the first duty ratio, that is, G is not overlapped. At this time, both R and B can simultaneously protect the color saturation. If D 'is satisfied' R :D″′ B =D R :D B The hue of G does not change either.
It should be understood that, the related description of the preset threshold may refer to the above embodiments, and will not be described herein.
It should be noted that, when the light source configuration parameter of the light source module is the fourth configuration parameter, since the light source module of the projection apparatus does not support directly modifying the original duty ratio, the increased duty ratio needs to be mapped to the portion of the overlap. Therefore, the second RGB duty ratio needs to be determined according to the target ratio and the first RGB duty ratio. At this second RGB duty ratio, the white balance of the projection picture can be made to coincide with the target white balance, and then the first duty ratio is actually to be allocated on the second RGB duty ratio.
In some implementations, in a case where the color protection requirement includes a fifth color protection requirement, the first duty ratio may be distributed over the second RGB duty ratio based on an eighth distribution manner, so as to obtain the target RGB duty ratio, where the eighth distribution manner is used to enable none of the two primary colors except the eighth target primary color to overlap with the eighth target primary color at the target RGB duty ratio.
In some implementations, in a case that the color protection requirement includes a sixth color protection requirement, the first duty ratio is distributed over the second RGB duty ratio based on a ninth distribution manner to obtain the target RGB duty ratio, where the eighth distribution manner is used to make none of the two primary colors except the ninth target primary color overlap with the ninth target primary color at the target RGB duty ratio.
It should be noted that the eighth allocation method and the ninth allocation method actually follow the principle that, if the saturation of a color to be protected is not changed, the color cannot be mixed with other colors, and if the hue of the color to be protected is not changed, the other two colors need to be mixed with the color according to a preset ratio. In the embodiment of the present disclosure, how to obtain the target RGB duty ratio according to the eighth distribution manner and the ninth distribution manner is not illustrated.
In some embodiments, in the case that the light source configuration parameter is a fourth configuration parameter, if the target duty ratio is greater than the preset threshold, the color protection requirement includes a seventh color protection requirement, where the seventh color protection requirement represents and protects a saturation of a tenth target primary color unchanged, and the tenth target primary color is one of two unconnected primary colors in RGB.
Here, the target duty ratio being greater than the preset threshold value indicates that all three primaries of RGB are assigned to the first duty ratio (overlap). In this case, the saturation of the tenth target primary color, which is one of two unconnected colors of RGB, may be optionally protected. As shown in fig. 6, the tenth target primary color may be one of a red primary color or a blue primary color.
In some implementations, in a case that the color protection requirement includes a seventh color protection requirement, the first duty ratio is distributed over the second RGB duty ratio based on a tenth distribution manner to obtain the target RGB duty ratio, wherein the tenth distribution manner is used to make neither of the two primaries except the tenth target primary overlap with the tenth target primary at the target RGB duty ratio.
Here, when the light source configuration parameter of the light source assembly is the fourth configuration parameter, since the light source assembly of the projection apparatus does not support directly modifying the original duty ratio, the increased duty ratio needs to be mapped to the portion of overlap. Therefore, the second RGB duty ratio needs to be determined according to the target ratio and the first RGB duty ratio. At this second RGB duty ratio, the white balance of the projection picture can be made to coincide with the target white balance, and then the first duty ratio is actually to be allocated on the second RGB duty ratio. For the calculation manner of the second RGB duty ratio, reference may be made to the above embodiments, and details are not repeated herein.
It should be noted that the tenth formula also actually follows the principle that, if the saturation of the color to be protected is not changed, the color cannot be mixed with other colors, and if the hue of the color to be protected is not changed, the other two colors need to be mixed with the color according to the preset proportion. In the disclosed embodiment, no further illustration is made on how to obtain the target RGB duty ratio according to the tenth formulation.
Fig. 12 is a block diagram illustrating a color correction apparatus according to an exemplary embodiment. As shown in fig. 12, an embodiment of the present disclosure provides a color correction apparatus 1200, including:
a first determining module 1201 configured to determine a target color coordinate corresponding to the target white balance;
a second determining module 1202 configured to determine RGB duty ratios of the light source modules of the projection apparatus according to the target color coordinates and the original duty ratios corresponding to the light source modules;
a third determining module 1203 configured to determine a target duty cycle to be increased;
the distribution module 1204 is configured to distribute the target duty ratio to the duty ratio of each primary color of the RGB duty ratio according to the light source configuration parameters of the projection apparatus to obtain the target RGB duty ratio;
a control module 1205 configured to control the light source assembly to generate the projection light source according to the target RGB duty cycle.
Optionally, the second determining module 1202 includes:
a first determination unit configured to determine coordinate information of RGB of the light source assembly in an XYZ color system;
the second determining unit is configured to construct an inverse matrix based on the original duty ratio and the coordinate information, wherein the inverse matrix is used for representing the proportional relation of RGB under the unit duty ratio;
a third determining unit configured to determine an RGB proportion matrix based on the inverse matrix and a target conversion relationship, wherein the target conversion relationship is a conversion relationship between the color coordinates and an XYZ color system;
and the fourth determining unit is configured to determine the first RGB duty ratio according to the RGB proportion matrix and the original duty ratio.
Optionally, the assignment module 1204 comprises:
the fifth determining unit is configured to determine a first duty ratio of the target duty ratio distributed to any primary color of RGB based on a first target distribution mode matched with the light source configuration parameters;
and the sixth determining unit is configured to obtain the target RGB duty ratio according to the first duty ratio and the first RGB duty ratio.
Optionally, the sixth determining unit includes:
a color determination unit configured to determine a color protection requirement;
the distribution mode determining unit is configured to determine a second target distribution mode matched with the color protection requirement according to the color protection requirement;
and the obtaining unit is configured to obtain a target RGB duty ratio by combining a second target distribution mode based on the first duty ratio and the first RGB duty ratio, wherein the target RGB duty ratio enables the color of the projection picture generated according to the target RGB duty ratio to be matched with the color protection requirement.
Optionally, the light source configuration parameter includes one of a first configuration parameter, a second configuration parameter, a third configuration parameter, and a fourth configuration parameter;
the first configuration parameter represents that any primary color in RGB of the light source component is connected with the other two primary colors, and the light source component supports modification of the original duty ratio;
the second configuration parameter represents that any primary color in RGB of the light source component is connected with the other two primary colors, and the light source component does not support the modification of the original duty ratio;
the third configuration parameter represents that at least one primary color in RGB of the light source component is not connected with one of the other two primary colors, and the light source component supports modification of the original duty ratio;
the fourth configuration parameter characterizes that at least one of the RGB colors of the light source module is not connected to one of the other two primary colors, and the light source module does not support modifying the original duty cycle.
Optionally, the fifth determining unit is specifically configured to:
under the condition that the light source configuration parameters comprise first configuration parameters or third configuration parameters, determining a first duty ratio according to a target duty ratio and a first RGB duty ratio;
under the condition that the configuration parameters of the light source comprise second configuration parameters or fourth configuration parameters, determining the ratio of a first RGB duty ratio corresponding to each primary color of the light source assembly to an original duty ratio according to the first RGB duty ratio and the original duty ratio;
determining a second RGB duty ratio according to the first RGB duty ratio and a target ratio, wherein the target ratio is the minimum ratio in the ratios corresponding to all primary colors;
and determining the first duty ratio according to the target duty ratio and the second RGB duty ratio.
With respect to the apparatus 1200 in the above embodiment, the method logic executed by each functional module has already been described in detail in relation to the method, and is not described herein again.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the color correction method provided by the present disclosure.
The embodiment of the present disclosure further provides a chip, which includes a processor and an interface; the processor is configured to read instructions to perform the steps of the color correction method according to the above embodiment.
Fig. 13 is a schematic diagram illustrating a configuration of a projection device according to an exemplary embodiment. As shown in fig. 13, the projection apparatus 1300 includes a light source assembly 1301, a light source control module 1302, a processor 1304, and a memory 1303, wherein the light source control module 1302, the processor 1304, and the light source control module 1302 are sequentially connected, and the memory 1303 is connected to the processor 1304, wherein:
a light source assembly 1301 configured to generate a projection light source;
a light source control module 1302 configured to output the original duty cycle of the light source component 1301;
a memory 1303 configured to store executable instructions for implementing the color correction method described in the above embodiments;
a processor 1304 configured to execute the executable instructions to control the light source assembly 1301 to generate the projection light source according to the original duty cycle.
It should be noted that the processor 1304 may be a chip described in the above embodiment, that is, the chip is packaged into the processor 1304 shown in fig. 13, and the color correction method provided in the above embodiment is implemented.
Fig. 14 is a schematic configuration diagram of a projection apparatus 200 according to another exemplary embodiment. As shown in fig. 14, the projection apparatus 200 includes a projection section 210 and a driving section 220 that drives the projection section 210. The projection section 210 may form an optical image and project the optical image onto the imaging medium SC.
The projection unit 210 includes a light source unit 211, a light modulator 212, and an optical system 213. The driving section 220 includes a light source driving section 221 and a light modulator driving section 222.
The Light source 211 may include a solid Light source such as a Light Emitting Diode (LED), a laser, and a pump lamp. The light source section 211 may include optical elements such as lenses and polarizing plates for improving optical characteristics of projection light, and light adjusting elements for adjusting light flux.
The light source driving part 221 may control the operation of the light source in the light source part 211, including turning on and off, according to an instruction of the control part 250.
The light modulator 212 includes a Display panel 215, and the Display panel 215 may be a transmissive Liquid Crystal panel (LCD), a reflective Liquid Crystal On Silicon (LCOS), or a Digital Micromirror Device (DMD).
The light modulator 212 is driven by the light modulator driving unit 222, and the light modulator driving unit 222 is connected to the image processing unit 245.
The image processing unit 245 inputs image data to the light modulator driving unit 222. The light modulator driving section 222 converts the input image data into a data signal suitable for the operation of the display panel 215. The light modulator driving section 222 applies a voltage to each pixel of each display panel 215 based on the converted data signal, and draws an image on the display panel 215.
The optical system 213 includes a lens or a mirror or the like that images the incident image light PLA on the imaging medium SC. The optical system 213 may also include a zoom mechanism that enlarges or reduces the image projected onto the imaging medium SC, a focus adjustment mechanism that performs focus adjustment, and the like.
The projection apparatus 200 further includes an operation section 231, a signal receiving section 233, an input interface 235, a storage section 237, a data interface 241, an interface section 242, a frame memory 243, an image processing section 245, and a control section 250. The input interface 235, the storage unit 237, the data interface 241, the interface unit 242, the image processing unit 245, and the control unit 250 can mutually perform data communication via the internal bus 207.
The operation unit 231 may generate corresponding operation signals according to operations of various buttons and switches applied to the surface of the housing of the projection apparatus 200, and output the operation signals to the input interface 235. The input interface 235 includes a circuit that outputs an operation signal input from the operation unit 231 to the control unit 250.
The signal receiving unit 233 receives a signal (e.g., an infrared signal or a bluetooth signal) transmitted from the control device 5 (e.g., a remote controller), and decodes the received signal to generate a corresponding operation signal. The signal receiving unit 233 outputs the generated operation signal to the input interface 235. The input interface 235 outputs the received operation signal to the control section 250.
The storage unit 237 may be a magnetic recording device such as a Hard Disk Drive (HDD) or a storage device using a semiconductor memory element such as a flash memory. The storage unit 237 stores programs executed by the control unit 250, data processed by the control unit 250, image data, and the like.
The data interface 241 includes a connector and an interface circuit, and can be connected to the other electronic devices 100 by wire. The data interface 241 may be a communication interface that performs communication with other electronic devices 100. The data interface 241 receives image data, sound data, and the like from the other electronic device 100. In the present embodiment, the image data may be a content image.
The interface section 242 is a communication interface for communicating with another electronic device 100 according to the ethernet standard. The interface unit 242 includes a connector and an interface circuit that processes a signal transmitted by the connector. The interface section 242 is an interface substrate including a connector and an interface circuit, and is connected to a main substrate of the control section 250, which is a substrate on which the processor 253 and other components are mounted. The connector and the interface circuit constituting the interface section 242 are mounted on the main board of the control section 250. The interface section 242 may receive setting information or instruction information transmitted from another electronic apparatus 100.
The control section 250 includes a memory 251 and a processor 253.
The memory 251 is a nonvolatile storage device that stores programs and data executed by the processor 253. The Memory 251 is configured by a semiconductor Memory element such as a magnetic Memory device or a flash-Only Memory (ROM), or another type of nonvolatile Memory device. The Memory 251 may also include a Random Access Memory (RAM) constituting a work area of the processor 253. The memory 251 stores data processed by the control unit 250 and a control program executed by the processor 253.
The processor 253 may be constituted by a single processor, or may be constituted by a combination of a plurality of processing groups. The processor 253 executes a control program to control the respective portions of the projection apparatus 200. For example, the processor 253 executes corresponding image processing based on the operation signal generated by the operation unit 231, and outputs parameters used in the image processing (such as parameters for performing keystone correction on an image) to the image processing unit 245. In addition, the processor 253 can control the light source driving part 221 to turn on or off the light source in the light source part 211 or adjust the brightness.
The image processing section 245 and the frame memory 243 may be formed of an integrated circuit. The Integrated Circuit includes a Large Scale Integration (LSI), an Application Specific Integrated Circuit (ASIC), and a Programmable Logic Device (PLD), wherein the PLD may include a Field-Programmable Gate Array (FPGA). The integrated circuit may also comprise a portion of an analog circuit, or a combination of a processor and an integrated circuit. The combination of a processor and an integrated circuit is called a Micro Controller Unit (MCU), a System on Chip (SoC), a System LSI, a chipset, or the like.
The image processing section 245 may store the image data received from the data interface 241 in the frame memory 243. The frame memory 243 includes a plurality of banks, each of which includes a memory capacity in which image data of one frame can be written. The frame Memory 243 may be a Synchronous Dynamic Random Access Memory (SDRAM) or a Dynamic Random Access Memory (DRAM).
The image processing section 245 can perform image processing including resolution conversion, size adjustment, distortion correction, shape correction, digital zoom, image tone adjustment, image brightness adjustment, and the like on the image data stored in the frame memory 243.
The image processing section 245 may also convert an input frame frequency of the vertical synchronization signal into a drawing frequency and generate a vertical synchronization signal having the drawing frequency, which is referred to as an output synchronization signal. The image processing unit 245 outputs the output synchronization signal to the light modulator driving unit 222.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.

Claims (10)

1. A color correction method, comprising:
determining a target color coordinate corresponding to the target white balance;
determining a first RGB duty ratio of a light source assembly according to the target color coordinate and an original duty ratio corresponding to the light source assembly of the projection equipment;
determining a target duty ratio to be increased;
distributing the target duty ratio to the duty ratio of each primary color of the first RGB duty ratio according to the light source configuration parameters of the projection equipment to obtain the target RGB duty ratio;
and controlling the light source assembly to generate a projection light source according to the target RGB duty ratio.
2. The method as recited in claim 1, wherein determining a first RGB duty cycle of a light source assembly of a projection device based on the target color coordinates and a corresponding raw duty cycle of the light source assembly comprises:
determining coordinate information of RGB of the light source assembly under an XYZ color system;
constructing an inverse matrix based on the original duty ratio and the coordinate information, wherein the inverse matrix is used for representing the proportional relation of the RGB under the unit duty ratio;
determining an RGB proportion matrix based on the inverse matrix and a target conversion relation, wherein the target conversion relation is a conversion relation between color coordinates and the XYZ table color system;
and determining the first RGB duty ratio according to the RGB proportion matrix and the original duty ratio.
3. The method of claim 1 or 2, wherein the distributing the target duty cycles into the duty cycles of each primary color of the first RGB duty cycles according to the light source configuration parameters of the projection device to obtain the target RGB duty cycles comprises:
determining a first duty ratio of the target duty ratio to be distributed to any primary color of the RGB based on a first target distribution mode matched with the light source configuration parameters;
and obtaining the target RGB duty ratio according to the first duty ratio and the first RGB duty ratio.
4. The method of claim 3, wherein obtaining the target RGB duty cycle from the first duty cycle and the first RGB duty cycle comprises:
determining color protection requirements;
determining a second target distribution mode matched with the color protection requirement according to the color protection requirement;
and obtaining the target RGB duty ratio by combining the second target distribution mode based on the first duty ratio and the first RGB duty ratio, wherein the target RGB duty ratio enables the color of the projection picture generated according to the target RGB duty ratio to be matched with the color protection requirement.
5. The method of claim 3, wherein the light source configuration parameter comprises one of a first configuration parameter, a second configuration parameter, a third configuration parameter, and a fourth configuration parameter;
wherein the first configuration parameter characterizes that any one of the RGB primaries of the light source assembly is connected to both the other two primaries, and the light source assembly supports modifying the original duty cycle;
the second configuration parameter represents that any one primary color in RGB of the light source component is connected with the other two primary colors, and the light source component does not support modifying the original duty ratio;
the third configuration parameter represents that at least one primary color is not connected with one of the other two primary colors in RGB of the light source component, and the light source component supports modification of an original duty ratio;
the fourth configuration parameter characterizes that at least one of the RGB colors of the light source module is not connected to one of the other two primary colors, and the light source module does not support modifying the original duty cycle.
6. The method of claim 5, wherein determining the target duty cycle to be allocated to the first duty cycle of any primary color of the RGB based on the first target allocation matched with the light source configuration parameters comprises:
determining the first duty cycle according to the target duty cycle and the first RGB duty cycle if the light source configuration parameter includes the first configuration parameter or the third configuration parameter;
under the condition that the light source configuration parameters comprise the second configuration parameters or the fourth configuration parameters, determining a ratio between a first RGB duty cycle and an original duty cycle corresponding to each primary color of the light source assembly according to the first RGB duty cycle and the original duty cycle;
determining a second RGB duty ratio according to the first RGB duty ratio and a target ratio, wherein the target ratio is the minimum ratio in the ratios corresponding to all the primary colors;
and determining the first duty ratio according to the target duty ratio and the second RGB duty ratio.
7. A color correction apparatus, characterized by comprising:
a first determination module configured to determine a target color coordinate corresponding to a target white balance;
the second determining module is configured to determine the RGB duty ratio of the light source assembly according to the target color coordinates and the original duty ratio corresponding to the light source assembly of the projection equipment;
a third determining module configured to determine a target duty cycle to be increased;
the distribution module is configured to distribute the target duty ratio to the duty ratio of each primary color of the RGB duty ratio according to the light source configuration parameters of the projection equipment to obtain the target RGB duty ratio;
and the control module is configured to control the light source assembly to generate a projection light source according to the target RGB duty ratio.
8. A computer storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 6.
9. A chip comprising a processor and an interface; the processor is configured to read instructions to perform the steps of the method according to any one of claims 1 to 6.
10. A projection device, comprising:
a light source assembly configured to generate a projection light source;
a light source control module configured to output a raw duty cycle of the light source assembly;
a memory configured to store executable instructions for implementing the method of any one of claims 1 to 6;
a processor configured to execute the executable instructions to control the light source assembly to generate a projection light source according to the raw duty cycle.
CN202211469070.2A 2022-11-22 2022-11-22 Color correction method, device, storage medium, chip and projection equipment Pending CN115866220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211469070.2A CN115866220A (en) 2022-11-22 2022-11-22 Color correction method, device, storage medium, chip and projection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211469070.2A CN115866220A (en) 2022-11-22 2022-11-22 Color correction method, device, storage medium, chip and projection equipment

Publications (1)

Publication Number Publication Date
CN115866220A true CN115866220A (en) 2023-03-28

Family

ID=85665073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211469070.2A Pending CN115866220A (en) 2022-11-22 2022-11-22 Color correction method, device, storage medium, chip and projection equipment

Country Status (1)

Country Link
CN (1) CN115866220A (en)

Similar Documents

Publication Publication Date Title
US20200252591A1 (en) Device, system and method for photometric compensation of images provided by a display device
US8801196B2 (en) Multi-screen display apparatus that determines common target brightness for controlling multiple light sources
JP6019859B2 (en) Projector and light emission control method in projector
US10148924B2 (en) Projection apparatus, method of controlling projection apparatus, and projection system
US6953250B2 (en) Color adjusting method for projector
US20100171933A1 (en) Method for compensating for color loss of image in image projector and apparatus thereof
US20190037181A1 (en) Multi-projection system, projector, and method for controlling projector
US11323673B2 (en) Method for operating control apparatus, and projector
JP2019040003A (en) Projector and method for controlling projector
JP2006330177A (en) Display device and projector
JP2019024180A (en) Projector, multi-projection system, and method for controlling projector
JPWO2014162768A1 (en) Projector, color correction apparatus, and projection method
CN109324465B (en) Display apparatus and display method
CN115866220A (en) Color correction method, device, storage medium, chip and projection equipment
JP2004341282A (en) Projection display device
JP2001016602A (en) Projection liquid crystal display device and automatic hue adjustment system
JP2023022717A (en) Display method of display system, display method of display device, display system and display device
US9894334B2 (en) Signal processing circuit, circuit substrate, and projector
US10587851B2 (en) Projector and method of controlling projector
US12019360B2 (en) Chromaticity adjustment method and projector
JP2017010057A (en) Projector and projector light emission control method
JP2011150111A (en) Image processor, image display system, and image processing method
US20200296340A1 (en) Color conversion method, color conversion device, and display device
US11074027B2 (en) Display apparatus and system with first and second modes
JP7309352B2 (en) Electronic equipment and its control method

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