Color correction method and device, storage medium, chip and projection device
By calculating the RGB duty cycle of the light source component of the projection device and allocating a target duty cycle, the problem of uneven transition between high-saturation and low-saturation colors in the projection device was solved, and the brightness and color transition of the projected image were normalized.
Patent Information
- Application Number
- CN202211469070.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-11-22
AI Technical Summary
Existing projection devices, when using the CLO of RGB lamps in the compressed light source component to achieve color overlap, result in an uneven transition between high-saturation and low-saturation colors and reduce screen brightness.
By determining the target color coordinates corresponding to the target white balance, calculating the RGB duty cycle of the light source component, and allocating the target duty cycle to the duty cycle of each primary color according to the light source configuration parameters, the light source component is controlled to generate the projection light source, so as to ensure that the normal transition between high-saturation and low-saturation colors and the screen brightness are achieved without compressing the CLO.
Without compressing CLO, the projected image maintains normal color brightness and transitions smoothly between highly saturated and low-saturation colors, thus improving the color performance of the projected image.
Smart Images

Figure CN115866220B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of projection technology, and in particular, to a color correction method and device, a storage medium, a chip, and a projection device. BACKGROUND
[0002] In a projection device, color overlap is generally used to improve the brightness of a projection picture. In related technologies, the overlap of a projection device is generally achieved by compressing the CLO (Color Light Output) of RGB lamps of a light source assembly. However, compression of the CLO can cause the projection device to reduce the brightness of a projection picture when playing a video or picture with high-saturation colors. Moreover, the transition between high-saturation colors and low-saturation colors can easily be problematic.
[0003] Therefore, there is an urgent need for a new overlap technology to ensure that the brightness of the picture colors of a projection picture is normal, while ensuring that high-saturation colors and low-saturation colors can be normally transitioned. SUMMARY
[0004] The present disclosure discloses a color correction method, device, storage medium, chip, and projection device, which can ensure that the brightness of the picture colors of a projection picture is normal without compressing the CLO, and that high-saturation colors and low-saturation colors can be normally transitioned.
[0005] In a first aspect, the present disclosure provides a color correction method, comprising:
[0006] determining a target color coordinate corresponding to a target white balance;
[0007] determining a first RGB duty cycle of a light source assembly according to the target color coordinate and an original duty cycle corresponding to the light source assembly of the projection device;
[0008] determining a target duty cycle to be added;
[0009] distributing the target duty cycle to a duty cycle of each primary color of the first RGB duty cycle according to a light source configuration parameter of the projection device, to obtain a target RGB duty cycle;
[0010] controlling the light source assembly to generate a projection light source according to the target RGB duty cycle.
[0011] In a second aspect, the present disclosure provides a color correction device, comprising:
[0012] a first determining module configured to determine a target color coordinate corresponding to a target white balance;
[0013] The second determining module is configured to determine the RGB duty cycle of the light source component according to the target color coordinate and the original duty cycle corresponding to the light source component of the projection device.
[0014] The third determining module is configured to determine the target duty cycle to be added.
[0015] The distribution module is configured to distribute the target duty cycle into the duty cycle of each primary color of the RGB duty cycle according to the light source configuration parameter of the projection device, to obtain a target RGB duty cycle.
[0016] The control module is configured to control the light source component to generate the projection light source according to the target RGB duty cycle.
[0017] In a third aspect, the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method of the first aspect.
[0018] In a fourth aspect, the present disclosure provides a chip comprising a processor and an interface; the processor is configured to read instructions to execute the steps of the method of the first aspect.
[0019] In a fifth aspect, the present disclosure provides a projection device comprising:
[0020] The light source component is configured to generate a projection light source.
[0021] The light source control module is configured to output the original duty cycle of the light source component.
[0022] The memory is configured to store executable instructions for implementing the method of the first aspect.
[0023] The processor is configured to execute the executable instructions according to the original duty cycle to control the light source component to generate the projection light source.
[0024] The present disclosure relates to a color correction method, which determines a first RGB duty cycle of a light source component according to a target color coordinate corresponding to a target white balance and an original duty cycle corresponding to the light source component of a projection device, and then distributes a target duty cycle into the duty cycle of each primary color of the first RGB duty cycle according to a light source configuration parameter of the projection device to obtain a target RGB duty cycle, and then controls the light source component to generate a projection light source according to the target RGB duty cycle, so that the projection device can correct the color of the projection device without compressing CLO, so as to make the picture color brightness of the projection picture normal, and ensure that the high saturation color and the low saturation color can be normally transitioned. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 An RGB duty cycle diagram of one time period is shown.
[0026] Figure 2 A duty cycle diagram of RGB under color overlap is shown.
[0027] Figure 3 A flow chart of a color correction method is shown according to an example embodiment.
[0028] Figure 4 A detailed flow chart of step 120 is shown. Figure 3
[0029] Figure 5 A diagram of an RGB model is shown according to an example embodiment.
[0030] Figure 6 A diagram of an RGB model is shown according to another example embodiment.
[0031] Figure 7 A detailed flow chart of step 140 is shown. Figure 3
[0032] Figure 8 A flow chart of determining a first duty cycle is shown according to an example embodiment.
[0033] Figure 9 A detailed flow chart of step 142 is shown. Figure 7
[0034] A diagram of RGB duty cycle is shown according to an example embodiment. Figure 10
[0035] A diagram of RGB mixing is shown according to an example embodiment. Figure 11
[0036] A module connection diagram of a color correction apparatus is shown according to an example embodiment. Figure 12
[0037] A structure diagram of a projection device is shown according to an example embodiment. Figure 13
[0038] A structure diagram of a projection device 200 is shown according to another example embodiment. Figure 14 DETAILED DESCRIPTION
[0039] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be interpreted as being limited to the embodiments set forth herein, but rather these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It is understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of protection of the present disclosure.
[0040] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect.
[0041] The term "comprising" and variations thereof as used herein are open-ended, that is "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". Related terms are defined in a similar manner.
[0042] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0043] It should be noted that the modification of "one" or "multiple" mentioned in the present disclosure is illustrative rather than limiting, and those skilled in the art should understand that, unless otherwise explicitly indicated in the context, it should be understood as "one or more".
[0044] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only used for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0045] In the related art, the projection device is generally based on the time-sharing alternation display of the RGB lamp in time, combined with the visual persistence effect of the human eye, to display various colors. Among them, the timing of the RGB lamp can be divided into two kinds, the first kind is that the duty cycle of any one primary color in RGB is connected with the duty cycle of the other two primary colors, for example, RGB, RGBRG, RGRGB and GBRGR models, the duty cycle of any one primary color is connected with the duty cycle of the other two primary colors. The second kind is that the duty cycle of one kind of primary color in RGB is not connected with the duty cycle of one kind of primary color in the other two kinds of primary colors, for example, in the RGBG model, the duty cycle of R is not connected with the duty cycle of B, and in the RBRG model, B and G are not connected.
[0046] Figure 1 A duty cycle diagram of RGB in one time period is shown. As shown in the figure, Figure 1 When the projection device does not use overlap, in one time period of RGB, the display panel of R is opened at the same time when displaying R primary color, and the display panels of G and B primary colors are not opened. Similarly, the display of G and B primary colors is consistent with that of R primary color.
[0047] When the projection device uses overlap, in one time period of RGB, the original duty cycle of RGB is partially allocated to C (Cyan) and Y (Yellow) or M (Magenta). Figure 2 A duty cycle diagram of RGB in one time period under color overlap is shown. As shown in the figure, Figure 2 The time for displaying R primary color is shortened, and the shortened duty cycle of R is provided to Y. The principle of displaying G and B primary colors is consistent, and is not described here. At this time, CLO=(R+G+B) / (R+G+B+Y+C), it can be seen that CLO is compressed, which will cause the projection device to reduce the brightness of the projection picture when playing a video or picture with high saturation color. Moreover, the transition between high saturation color and low saturation color is prone to problems.
[0048] Based on the above technical problems, the embodiment of the present disclosure provides a color correction method to correct the color of the projection device without compressing CLO, so as to make the picture color brightness of the projection picture normal, and ensure that the high saturation color and the low saturation color can normally transition.
[0049] Figure 3 A flowchart of a color correction method according to an example embodiment is shown. As shown in the figure, Figure 3 The embodiment of the present disclosure provides a color correction method, which can be executed by a projection device, specifically, by a color correction device, which can be implemented by software and / or hardware, and configured in the projection device. Of course, the method can also be executed by a chip. As shown in the figure, Figure 3 The method can include the following steps.
[0050] In step 110, the target color coordinates corresponding to the target white balance are determined.
[0051] Here, the target white balance refers to the white balance of the projection picture required, which can be set autonomously according to the requirements of the user or the manufacturer. The target color coordinates refer to the coordinate values of the target white balance in the XY color coordinate system, wherein the X coordinate in the XY color coordinate system represents the proportion of the red primary color, the Y coordinate represents the proportion of the green primary color, and the Z coordinate of the blue primary color can be calculated by X+Y+Z=1.
[0052] In step 120, a first RGB duty cycle of the light source assembly is determined according to the target color coordinate and the original duty cycle corresponding to the light source assembly of the projection device.
[0053] Here, the original duty cycle corresponding to the light source assembly of the projection device refers to the duty cycle of the RGB of the light source assembly when the overlap is not used, and the original duty cycle includes the duty cycle of the red primary light source (R), the duty cycle of the green primary light source (G), and the duty cycle of the blue primary light source (B). For example, the original duty cycle can be represented as (D R , D G , D B ), where D R represents the original duty cycle of R, D G represents the original duty cycle of G, and D B represents the original duty cycle of B.
[0054] It should be understood that the original duty cycle can be understood as a factory setting parameter of the RGB of the light source assembly.
[0055] The first RGB duty cycle refers to the duty cycle of the RGB of the light source assembly under the target color coordinate.
[0056] The first RGB duty cycle includes the duty cycle of the red primary light source, the duty cycle of the green primary light source, and the duty cycle of the blue primary light source. For example, the first RGB duty cycle can be represented as (D″ R , D″ G , D″ B ), where D″ R represents the duty cycle of R under the target color coordinate, D″ G represents the duty cycle of G under the target color coordinate, and D″ B represents the duty cycle of B under the target color coordinate.
[0057] It is worth noting that the first RGB duty cycle refers to the duty cycle of the light source assembly under the target color coordinate without turning on the overlap, and based on the first RGB duty cycle, the white balance of the projection picture can be consistent with the target white balance.
[0058] In step 130, a target duty cycle to be added is determined.
[0059] Here, the target duty cycle refers to the duty cycle of the RGB of the light source assembly to be added, i.e., the overlap. For example, after normalization of the first RGB duty cycle, it can be represented as 100%, and the overlap refers to the percentage of the total sum of the first RGB duty cycle after the addition of the overlap. For example, 30% of the overlap added to the first RGB duty cycle results in a new first RGB duty cycle of 130%.
[0060] It should be understood that the target duty cycle can be set according to the needs of the projected image. For example, when a high brightness of the projected image is required, the target duty cycle is increased.
[0061] In step 140, the 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, thereby obtaining the target RGB duty cycle.
[0062] Here, light source configuration parameters refer to the parameters of the light source component, which are hardware attributes of the light source component. For different light source configuration parameters, the allocation method for the duty cycle of each primary color in the first RGB duty cycle differs.
[0063] The target RGB duty cycle includes the duty cycles of the red, green, and blue primary color light sources. Different light source configuration parameters determine how the target duty cycle is distributed among the red, green, and blue primary color light sources in the first RGB duty cycle. For example, if the target duty cycle is 30%, and the first RGB duty cycle is R: 30%, G: 40%, B: 30%, the target duty cycle can be evenly distributed among the first RGB duty cycles, resulting in a target RGB duty cycle of R: 40%, G: 50%, B: 40%.
[0064] In step 150, the light source assembly is controlled to generate a projection light source according to the target RGB duty cycle.
[0065] Here, after determining the target RGB duty cycle, the projection device can control the light source component to generate the projected light source according to the target RGB duty cycle. That is, the light source component operates at the target RGB duty cycle.
[0066] Therefore, by determining the first RGB duty cycle of the light source component based on the target color coordinates corresponding to the target white balance and the original duty cycle of the light source component of the projection device, the target duty cycle is then 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, thus obtaining the target RGB duty cycle. Then, based on the target RGB duty cycle, the light source component is controlled to generate the projection light source, enabling the projection device to correct the colors of the projection device without compressing the CLO, so that the color and brightness of the projected image are normal, and that a normal transition can be ensured between high-saturation and low-saturation colors.
[0067] Figure 4 yes Figure 3 The flowchart for step 120 is shown below. Figure 4 As shown, in some possible implementations, step 120 may include the following steps:
[0068] In step 121, the coordinate information of the RGB of the light source assembly in XYZ color system is determined.
[0069] Here, the XYZ color system refers to establishing a chromaticity system using three imaginary primary colors XYZ, matching the tristimulus value of the equal-energy spectrum, and naming it as the CIE1931 standard colorimetric observer spectral tristimulus value. The coordinate information of the RGB in the XYZ color system includes the coordinate information of the R lamp, which can be represented as X R ,Y R ,Z R , the coordinate information of the G lamp, which can be represented as X G ,Y G ,Z G , and the coordinate information of the B lamp, which can be represented as X B ,Y B ,Z B .
[0070] Exemplarily, the RGB of the light source assembly can be detected to obtain the luminance and color coordinate data of the RGB, and based on the luminance and color coordinate data of the RGB, the conversion relationship between the color coordinate and the XYZ color system is combined to obtain the coordinate information of the RGB in the XYZ color system.
[0071] For example, the luminance and color coordinate data of the RGB can be represented as: wherein L R ,x R ,y R represent the luminance and color coordinate data of the R lamp respectively, L G ,x G ,y G represent the luminance and color coordinate data of the G lamp respectively, and L B ,x B ,y B represent the luminance and color coordinate data of the B lamp respectively. The conversion relationship between the color coordinate and the XYZ color system can be represented as: wherein X, Y, Z represent the coordinates of the XYZ color system, x, y represent the coordinates of the color coordinate, and L represents the luminance. Based on the above conversion relationship, the coordinate information of the RGB in the XYZ color system can be obtained.
[0072] In step 122, based on the original duty ratio and the coordinate information, an inverse matrix is constructed, wherein the inverse matrix is used to represent the proportional relationship of the RGB under the unit duty ratio.
[0073] Here, after obtaining the coordinate information of the RGB in the XYZ color system, based on the original duty ratio and the coordinate information, an inverse matrix can be constructed to represent the proportional relationship of the RGB under the unit duty ratio.
[0074] Exemplarily, the inverse matrix can be expressed as:
[0075] In step 123, based on the inverse matrix and a target conversion relationship, a RGB scale matrix is determined, wherein the target conversion relationship is a conversion relationship between the color coordinates and the XYZ colorimetric system.
[0076] Here, the target conversion relationship refers to a conversion relationship between the color coordinates and the XYZ colorimetric system, which can be expressed as: Of course, the conversion relationship can also be normalized, and the target conversion relationship can be expressed as
[0077] Exemplarily, the inverse matrix and the target conversion relationship are multiplied, and the RGB scale matrix is obtained. For example, wherein M RGB is the RGB scale matrix.
[0078] In step 124, according to the RGB scale matrix and the original duty cycle, a first RGB duty cycle is determined.
[0079] Here, 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. The first RGB duty cycle actually represents the duty cycle of the light source assembly under the target color coordinates without opening the overrlap.
[0080] Exemplarily, the first RGB duty cycle can be obtained based on a pre-designed formula, which is:
[0081]
[0082] wherein D″ R represents the duty cycle of the red primary light source in the first RGB duty cycle, D″ G represents the duty cycle of the green primary light source in the first RGB duty cycle, and D″ B represents the duty cycle of the blue primary light source in the first RGB duty cycle.
[0083] Therefore, based on the above steps 121 to 124, the first RGB duty cycle of the RGB of the light source assembly under the target white balance without opening the overrlap can be accurately obtained.
[0084] In some implementable embodiments, the light source configuration parameter includes one of the first configuration parameter, the second configuration parameter, the third configuration parameter, and the fourth configuration parameter.
[0085] The first configuration parameter indicates that any one of the RGB of the light source component is connected to the other two, and the light source component supports modifying the original duty cycle.
[0086] Figure 5 is a schematic diagram of an RGB model according to an example embodiment. As shown in the RGB model, the trailing edge of the R duty cycle is connected to the leading edge of the G duty cycle, the trailing edge of the G duty cycle is connected to the leading edge of the B duty cycle, and the trailing edge of the B duty cycle is connected to the leading edge of the R duty cycle. That is, any one of the RGB is connected to the other two. Figure 5
[0087] It should be understood that the light source component supporting modifying the original duty cycle means that the original duty cycle of the RGB of the light source component can be directly replaced by other RGB duty cycles.
[0088] The second configuration parameter indicates that any one of the RGB of the light source component is connected to the other two, and the light source component does not support modifying the original duty cycle.
[0089] Here, the light source component not supporting modifying the original duty cycle means that the original duty cycle of the RGB of the light source component cannot be directly replaced by other RGB duty cycles, and the increased duty cycle needs to be mapped to the overlap part.
[0090] The third configuration parameter indicates that at least one of the RGB of the light source component is not connected to one of the other two, and the light source component supports modifying the original duty cycle.
[0091] Figure 6 is a schematic diagram of an RGB model according to another example embodiment. As shown in the RGB model, Figure 6 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. That is, at least one of the RGB is not connected to one of the other two, for example, the B duty cycle is not connected to the R duty cycle.
[0092] It is worth noting that at least one of the RGB of the light source component is not connected to one of the other two, which can be the case shown in the RGBG model as shown in Figure 6 , or other models, but the essence is still a variation or expansion of the RGBG model.
[0093] The fourth configuration parameter indicates that at least one of the RGB of the light source component is not connected to one of the other two, and the light source component does not support modifying the original duty cycle.
[0094] Figure 7 is Figure 3 a detailed flowchart of step 140. As shown in Figure 7 step 140 can include the following steps:
[0095] In step 141, a first duty cycle of the target duty cycle is determined to be allocated to any primary color of RGB based on a first target allocation mode matching the light source configuration parameter.
[0096] Here, for different light source configuration parameters, the corresponding first target allocation mode is different. For example, the light source configuration parameter includes one of the first configuration parameter, the second configuration parameter, the third configuration parameter and the fourth configuration parameter, and the first target allocation mode corresponding to the first configuration parameter, the second configuration parameter, the third configuration parameter and the fourth configuration parameter can be different.
[0097] The first duty cycle refers to the duty cycle of the target duty cycle allocated to the red primary color light source, the duty cycle of the green primary color light source and the duty cycle of the blue primary color light source. For example, the target duty cycle is 30%, the target duty cycle is 30%, the first duty cycle allocated to the red primary color light source can be 10%, the first duty cycle allocated to the green primary color light source can be 10% and the first duty cycle allocated to the blue primary color light source can be 10%.
[0098] It should be understood that for different light source configuration parameters, the corresponding first target allocation mode is different, and then the first duty cycle allocated to the red primary color light source, the first duty cycle allocated to the green primary color light source and the first duty cycle allocated to the blue primary color light source can be different, which can be set according to actual conditions.
[0099] As some examples, in the case that the light source configuration parameter includes the first configuration parameter or the third configuration parameter, the first duty cycle can be determined according to the target duty cycle and the first RGB duty cycle.
[0100] Here, in the case that the light source configuration parameter of the light source component of the projection device is the first configuration parameter or the third configuration parameter, in order to ensure that the target white balance is unchanged, the target duty cycle needs to be allocated according to the ratio between the duty cycle of each primary color in the first RGB duty cycle and the first RGB duty cycle.
[0101] Exemplarily, the first duty cycle can be calculated by the following calculation formula:
[0102]
[0103] wherein P R represents the first duty cycle of the red primary color light source, P G represents the first duty cycle of the green primary color light source, and PB The first duty cycle represents the blue primary color light source, and P represents the target duty cycle.
[0104] Figure 8 This is a flowchart illustrating the determination of a first duty cycle according to an exemplary embodiment. Figure 8 As shown, as some other examples, when the light source configuration parameters include a second configuration parameter or a fourth configuration parameter, the first duty cycle can be determined by the following steps.
[0105] In step 801, the ratio between the first RGB duty cycle and the original duty cycle corresponding to each primary color of the light source component is determined based on the first RGB duty cycle and the original duty cycle.
[0106] Here, the first RGB duty cycle includes the duty cycle of the red primary color light source, the duty cycle of the green primary color light source, and the duty cycle of the blue primary color light source. The original duty cycle includes the duty cycle of the red primary color light source, the duty cycle of the green primary color light source, and the duty cycle of the blue primary color light source. The ratio is the ratio of the duty cycle of each primary color in the first RGB duty cycle to the duty cycle of the corresponding primary color in the original duty cycle. For example, The ratio representing the red primary color light source, The ratio representing the green primary color light source, This represents the ratio of the blue primary color light source.
[0107] In step 802, the second RGB duty cycle is determined based on the first RGB duty cycle and the target ratio, wherein the target ratio is the smallest ratio among all the ratios corresponding to the primary colors.
[0108] Here, the target ratio is the smallest ratio among all the ratios corresponding to the primary colors. For example, if The minimum value in is The target ratio is
[0109] For example, the second RGB duty cycle can be determined based on the ratio between the duty cycle of each primary color in the first RGB duty cycle and the target ratio. For instance, the second RGB duty cycle can be calculated using the following formula:
[0110]
[0111] in, D″′ represents the target ratio. R D″′ represents the duty cycle of the red primary color light source in the second RGB duty cycle. G D″′ represents the duty cycle of the green primary color light source in the second RGB duty cycle. B This indicates the duty cycle of the blue primary color light source in the second RGB duty cycle.
[0112] In step 803, the first duty ratio is determined according to the target duty ratio and the second RGB duty ratio.
[0113] Here, in order to ensure that the target white balance is unchanged, the target duty ratio needs to be distributed according to the proportion between the duty ratio of each primary color in the second RGB duty ratio and the second RGB duty ratio.
[0114] It is worth noting that since the light source component 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 to the overlap, and the value range of the target duty ratio is required. The value range of the target duty ratio is
[0115] According to the above calculation formula, when the value of the target duty ratio P is , the target ratio corresponding to the primary color is without overlap, that is, the target duty ratio will not be distributed to the duty ratio of the primary color corresponding to the target ratio, and the target duty ratio will be distributed to the duty ratio of the other two primary colors. When the value of the target duty ratio is greater than , the target duty ratio will be distributed to the duty ratio of the three primary colors of RGB according to the proportion.
[0116] Based on this, through the above steps 801 to 803, the target duty ratio can be accurately distributed to any primary color of RGB, so as to ensure that the target white balance is unchanged.
[0117] In step 142, the target RGB duty ratio is obtained according to the first duty ratio and the first RGB duty ratio.
[0118] Here, after determining the first duty ratio distributed to any primary color of RGB, the target RGB duty ratio is obtained according to the first duty ratio and the first RGB duty ratio.
[0119] For example, assuming that the first duty ratio distributed to the red primary color light source is 10%, the first duty ratio distributed to the green primary color light source is 10%, and the first duty ratio distributed to the blue primary color light source is 10%, the first RGB duty ratio is R: 30%, G: 40%, and B: 30%, and the target RGB duty ratio is R: 40%, G: 50%, and B: 40%.
[0120] Therefore, by matching the first target distribution mode with the light source configuration parameter, the target duty ratio is distributed to the duty ratio of the primary color corresponding to the first RGB duty ratio, so that the target RGB duty ratio can meet the requirements of the light source configuration parameter of the light source component, and the target white balance is ensured to be unchanged.
[0121] Figure 9 is Figure 7A detailed flowchart of the illustrated step 142 is shown in FIG. 14B. As shown in FIG. 14B, in some implementable embodiments, the step 142 can include the following steps: Figure 9
[0122] In step 1421, a color protection requirement is determined.
[0123] Here, the color protection requirement refers to a requirement to keep the saturation and / or hue of one or more primary colors in RGB unchanged. The color protection requirement can be determined according to the color requirement of the user for the projection picture.
[0124] In step 1422, a second target allocation manner that matches the color protection requirement is determined according to the color protection requirement.
[0125] Here, different second target allocation manners can correspond to different color protection requirements. There can be a mapping relationship between the color protection requirement and the allocation manner. After the color protection requirement is determined, the corresponding second target allocation manner can be determined by combining the mapping relationship.
[0126] It is worth noting that the color protection requirement can be different under different light source configuration parameters. For example, under the first configuration parameter, the color protection requirement can include requirement A and requirement B, and under the second configuration parameter, the color protection requirement can include requirement C and requirement D.
[0127] In step 1423, a target RGB duty ratio is obtained based on the first duty ratio and the first RGB duty ratio, and in combination with the second target allocation manner.
[0128] Here, after the second target allocation manner that matches the color protection requirement is determined, the target RGB duty ratio can be obtained based on the first duty ratio and the first RGB duty ratio, and in combination with the second target allocation manner. For example, the first duty ratio is allocated to the front edge and / or the rear edge of the duty ratio of the primary color corresponding to the first RGB duty ratio, to obtain the target RGB duty ratio.
[0129] Here, the target RGB duty ratio makes the color of the projection picture generated according to the target RGB duty ratio match the color protection requirement.
[0130] For example, the color protection requirement is to keep the saturation of red unchanged, and 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 is unchanged.
[0131] Therefore, the target RGB duty ratio calculated according to the second target allocation manner corresponding to the color protection requirement can make the color of the projection picture under the target RGB duty ratio meet the color protection requirement.
[0132] In some embodiments, if the color protection requirement represents that the hue of all primary colors is protected unchanged, the first duty cycle is evenly distributed on the front and back edges of the duty cycle of the primary color corresponding to the first RGB duty cycle, to obtain the target RGB duty cycle, when the light source configuration parameter is the first configuration parameter.
[0133] Here, the color protection requirement representing that the hue of all primary colors is protected unchanged means that the hues of red, green and blue are unchanged, at this time, the first duty cycle needs to be evenly distributed on the front and back edges of the duty cycle of the primary color corresponding to the first RGB duty cycle. For example, assuming that the first duty cycle allocated to the red primary color light source is 10%, then 5% of the duty cycle is allocated to the front and back edges of the duty cycle of the red primary color light source in the first RGB duty cycle.
[0134] Figure 10 is a schematic diagram of RGB duty cycle according to an exemplary embodiment. As shown in Figure 10 , the overlaps located at the front and back edges of the R duty cycle are represented as P RF , P RB , the overlaps located at the front and back edges of the G duty cycle are represented as P GF , P GB , the overlaps located at the front and back edges of the B duty cycle are represented as P BF , P BB . In a time period, the front edge of G mixes into R, R is mixed, the back edge of G mixes into B, B is mixed, the back edge of R and the front edge of B also mix into G, G is mixed, then there is the following relationship:
[0135] P RF +P RB +P GF +P GB +P BF +P BB =P R +P G +P B =P(1)
[0136] It can be seen that if the color hue of a primary color is to be guaranteed unchanged, the other two primary colors mixed into the primary color need to meet the proportion.
[0137] Figure 11 is a schematic diagram of RGB mixing according to an exemplary embodiment. As shown in Figure 11 , the coordinate system is the CIE1931 standard XYZ colorimetric system. Assuming that the hue of B is to be guaranteed unchanged, then after B mixes into R and G, the new B coordinate still needs to be located on the BY line. Assuming that the coordinate of the mixed B is B ′, C is the coordinate of BG mixed with G, M is the coordinate of BR mixed with R, CM is parallel to GR. In Figure 11 which B is mixed by the trailing edge of G and the leading edge of R, according to the color mixing law and mathematical geometric relationship, the following relationship can be obtained:
[0138]
[0139]
[0140]
[0141] According to formulas (1), (2), (3) and (4), the following relationship can be obtained:
[0142]
[0143]
[0144]
[0145] 0≤P≤100%
[0146] According to the above relationship, in the time sequence of RGB, the overlap to which each primary color needs to be allocated is evenly allocated on the leading edge and the trailing edge of the corresponding primary color, so as to ensure that the color hue of the three primary colors will not change. Therefore, in the case where the light source configuration parameter is the first configuration parameter, if the color protection requirement represents protecting the hue of all primary colors unchanged, the first duty cycle can be evenly allocated on the leading edge and the trailing edge of the duty cycle of the primary color corresponding to the first RGB duty cycle, to obtain a target RGB duty cycle, so as to ensure that the color hue of the red primary color, the green primary color and the blue primary color is unchanged.
[0147] It is worth mentioning that in the case of protecting the hue of all primary colors unchanged, the color saturation of all primary colors will decrease. 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 must change.
[0148] In some embodiments, in the case where the light source configuration parameter is the first configuration parameter, if the color protection requirement represents protecting the saturation of the first target primary color unchanged, the first duty cycle can be allocated on the first RGB duty cycle based on a first allocation manner to obtain a target RGB duty cycle, wherein the first allocation manner is used to make the other two primary colors except the first target primary color not overlap with the first target primary color under the target RGB duty cycle.
[0149] Here, the first target primary color can be one of a red primary color, a green primary color, and a blue primary color. To protect the saturation of the first target primary color, the first target primary color cannot be mixed into other colors, i.e., the other two primary colors except the first target primary color do not overlap with the first target primary color at the target RGB duty cycle.
[0150] As shown in FIG. 6, when the saturation of the red color is to be protected, the red color cannot be mixed into the green color and / or the blue color. The first duty cycle allocated to G needs to be allocated entirely on the trailing edge of G, the first duty cycle allocated to B needs to be allocated entirely on the leading edge of B, and the first duty cycle allocated to R can be allocated on the leading edge and / or the trailing edge of R. The allocation of the first duty cycle of R can be further adjusted according to other requirements. Figure 5
[0151] In some embodiments, when the light source configuration parameter is the first configuration parameter, if the color protection requirement represents a case of protecting the saturation of the second target primary color and protecting the hue of the third target primary color, the first duty cycle is allocated on the first RGB duty cycle to obtain a target RGB duty cycle based on a second allocation manner. The second allocation manner is used to make the other two primary colors except the second target primary color not overlap with the second target primary color at the target RGB duty cycle, and the second target primary color overlaps with the third target primary color, and the second target primary color does not overlap with the primary colors except the second target primary color and the third target primary color.
[0152] Here, the second target primary color can be one of a red primary color, a green primary color, and a blue primary color. The third target primary color can be one of the other two primary colors except the second target primary color. For example, when the second target primary color is red, the third target primary color is one of blue and green.
[0153] It should be understood that to protect the saturation of a color, the color cannot be mixed into other colors, and to protect the hue of a color, the proportion of the other two colors mixed into the color needs to meet a preset proportion. At the target RGB duty cycle, the other two primary colors except the second target primary color do not overlap with the second target primary color, and the second target primary color overlaps with the third target primary color, and the second target primary color does not overlap with the primary colors except the second target primary color and the third target primary color.
[0154] As shown in FIG. 6, when the saturation of the red color is to be protected, the red color cannot be mixed into the green color and / or the blue color. The first duty cycle allocated to G needs to be allocated entirely on the trailing edge of G, the first duty cycle allocated to B needs to be allocated entirely on the leading edge of B, and the first duty cycle allocated to R can be allocated on the leading edge and / or the trailing edge of R. The allocation of the first duty cycle of R can be further adjusted according to other requirements. Figure 5 If the saturation of green needs to be protected, the first duty cycle allocated to red and blue cannot be superimposed into green, the first duty cycle allocated to red needs to be allocated to the front edge of red and the first duty cycle allocated to blue needs to be allocated to the rear edge of blue. If the hue of red needs to be protected at the same time, since blue has been mixed into red, green needs to be mixed into red according to a preset proportion, and the first duty cycle allocated to green needs to be allocated to the front edge of green. The preset proportion is determined in the process of calculating the first duty cycle, that is, the proportion between the duty cycle of each primary color in the first RGB duty cycle and the first RGB duty cycle is the preset proportion.
[0155] It is worth noting that according to the above calculation formula, in the case of the light source configuration parameter being the first configuration parameter, it is impossible to simultaneously protect the color saturation of the two primary colors unchanged.
[0156] In some embodiments, in the case of the light source configuration parameter being the second configuration parameter, if the target duty cycle is equal to the preset threshold, the color protection requirement can include the first color protection requirement or the second color protection requirement, and if the target duty cycle is greater than the preset threshold, the color protection requirement can include the third color protection requirement or the fourth color protection requirement.
[0157] The first color protection requirement represents protecting the saturation of the primary color corresponding to the target ratio unchanged, the second color protection requirement represents protecting the saturation of the primary color other than the primary color corresponding to the target ratio unchanged, the third color protection requirement represents protecting the saturation of the fourth target primary color unchanged, and the fourth color protection requirement represents protecting the saturation of the fifth target primary color unchanged and protecting the hue of the sixth target primary color unchanged.
[0158] Here, when the light source configuration parameter of the projection device is the second configuration parameter, since the light source component of the projection device does not support directly modifying the original duty cycle, the increased duty cycle needs to be mapped to the overlap part, and the size of the target duty cycle has a range requirement. The preset threshold is
[0159] It is worth noting that when the value of the target duty cycle P is , the primary color corresponding to the target ratio has no overlap, that is, the target duty cycle will not be allocated to the duty cycle of the primary color corresponding to the target ratio, and the target duty cycle will be allocated to the duty cycles of the other two primary colors in proportion. When the value of the target duty cycle is greater than , the target duty cycle will be allocated to the duty cycles of the three primary colors of RGB in proportion. Therefore, for different values of the target duty cycle, the corresponding color protection requirement is different.
[0160] The primary color corresponding to the target ratio refers to the minimum value in the range [0, 1] corresponds to the primary color, for example, the minimum value in the range [0, 1] is the target ratio corresponds to the red primary color, and the other primary colors except the target ratio correspond to the green and blue primary colors.
[0161] The fourth target primary color is consistent with the concept of the first target primary color, and the fifth target primary color and the sixth target primary color are consistent with the concept of the second target primary color and the third target primary color, which will not be described here. It should be understood that when the target duty cycle is greater than the preset threshold, the RGB three primary colors are all allocated to the first duty cycle, and then in the RGB model as shown in FIG. 4B, only one of the three primary colors can be selected to protect the saturation unchanged, that is, the third color protection requirement. And only one of the other two primary colors can be protected in hue, that is, the fourth color protection requirement. When the target duty cycle is equal to the preset threshold, the primary color corresponding to the target ratio is not allocated to the first duty cycle, and then in the RGB model as shown in FIG. 4C, only one of the three primary colors can be selected to protect the saturation unchanged, that is, the first color protection requirement. Alternatively, the saturation of the other two primary colors except the primary color corresponding to the target ratio is protected unchanged, that is, the second color protection requirement. Figure 5 Figure 5
[0162] In some implementable embodiments, when the color protection requirement includes the first color protection requirement, the first duty cycle is allocated on the second RGB duty cycle based on a third allocation manner to obtain a target RGB duty cycle, wherein the third allocation manner is used to make that under the target RGB duty cycle, the other primary colors except the primary color corresponding to the target ratio do not overlap with the primary color corresponding to the target ratio.
[0163] In some implementable embodiments, when the color protection requirement includes the second color protection requirement, the first duty cycle is allocated on the second RGB duty cycle based on a fourth allocation manner to obtain a target RGB duty cycle, wherein the fourth allocation manner is used to make that under the target RGB duty cycle, the other primary colors except the primary color corresponding to the target ratio do not overlap with each other.
[0164] In some implementable embodiments, when the color protection requirement includes the third color protection requirement, the first duty cycle is allocated on the second RGB duty cycle based on a fifth allocation manner to obtain a target RGB duty cycle, wherein the fifth allocation manner is used to make that under the target RGB duty cycle, the other primary colors except the fourth target primary color do not overlap with the fourth target primary color.
[0165] In some implementable embodiments, when the color protection requirement comprises a fourth color protection requirement, the first duty cycle is allocated on the second RGB duty cycle based on a sixth allocation manner to obtain the target RGB duty cycle, wherein the sixth allocation manner is used to make two other base colors except the fifth target base color not overlap with the fifth target base color, and the fifth target base color overlaps with the sixth target base color, and the fifth target base color does not overlap with the base color except the fifth target base color and the sixth target base color under the target RGB duty cycle.
[0166] In the above embodiments, when the light source configuration parameter of the light source assembly is the second configuration parameter, since the light source assembly of the projection device does not support direct modification of the original duty cycle, the increased duty cycle needs to be mapped to the overlap part. Therefore, the second RGB duty cycle needs to be determined according to the target ratio and the first RGB duty cycle. Under the second RGB duty cycle, the white balance of the projection picture can be consistent with the target white balance, and the first duty cycle is actually to be allocated on the second RGB duty cycle.
[0167] It is worth noting that when the light source configuration parameter of the light source assembly is the second configuration parameter, the timing of the RGB of the light source assembly is actually as shown in Figure 5 The above first allocation manner, second allocation manner, third allocation manner, fourth allocation manner, fifth allocation manner and sixth allocation manner actually all follow a principle, that is, to protect the saturation of the color unchanged, the color cannot be mixed into other colors, and to protect the hue of the color unchanged, the other two colors need to be mixed into the color according to a preset ratio.
[0168] For example, as shown in Figure 5 When the color protection requirement is the first color protection requirement, if the base color corresponding to the target ratio is red, the first duty cycle allocated to G needs to be allocated on the trailing edge of G, and the first duty cycle allocated to B needs to be allocated on the leading edge of B, so that green and blue cannot be mixed into red, thereby protecting the saturation of red unchanged.
[0169] For example, as shown in Figure 5 When the color protection requirement is the second color protection requirement, if the base color corresponding to the target ratio is red, and it is desired to protect the saturation of green and blue unchanged, the first duty cycle allocated to G needs to be allocated on the leading edge of G, and the first duty cycle allocated to B needs to be allocated on the trailing edge of B, so that green and blue overlap with each other, thereby protecting the saturation of green and blue unchanged.
[0170] It should be understood that, as to the fifth distribution mode and the sixth distribution mode, the principle is that, if the saturation of a color to be protected is to be kept unchanged, the color cannot be mixed into other colors, and if the hue of the color to be protected is to be kept unchanged, the other two colors need to be mixed into the color according to a preset ratio, which will not be illustrated here.
[0171] In some embodiments, when the light source configuration parameter is the third configuration parameter, if the color protection requirement represents that the saturation of a seventh target primary color among the primary colors that are not connected to each other in the RGB of the light source component is to be kept unchanged, the first duty cycle can be distributed on the first RGB duty cycle based on a seventh distribution mode to obtain a target RGB duty cycle, where the seventh distribution mode is used to make the two primary colors other than the seventh target primary color not overlap with the seventh target primary color under the target RGB duty cycle.
[0172] Here, when the light source configuration parameter is the third configuration parameter, the RGB timing of the light source component can be as shown in Figure 6 When the first RGB duty cycle is calculated, the two Gs are equally distributed in the G duty cycle of the first RGB duty cycle, or one of the two Gs has a minimum duty cycle limit.
[0173] Since R and B are not connected in timing, only G can be mixed into R and B, so as long as R and B are mixed into G, the hue of R and B will definitely change, and there must be a primary color in R and B that is mixed into G. At the same time, G will also be distributed to the first duty cycle of R and B for mixing, so the saturation of G cannot be protected. However, since R and B are mixed into G according to a preset ratio, the hue of G must be unchanged.
[0174] Therefore, when the light source configuration parameter is the third configuration parameter, the saturation of a seventh target primary color among the primary colors that are not connected to each other in the RGB of the light source component can be selected to be kept unchanged. As shown in Figure 6 The seventh target primary color can be one of a red primary color and a blue primary color.
[0175] It should be noted that the seventh distribution mode also actually follows the principle that, if the saturation of a color to be protected is to be kept unchanged, the color cannot be mixed into other colors, and if the hue of the color to be protected is to be kept unchanged, the other two colors need to be mixed into the color according to a preset ratio.
[0176] For example, as shown in Figure 6 When the color protection requirement is to keep the saturation of the red primary color unchanged, the first duty cycle distributed to the first G needs to be distributed entirely on the trailing edge of the first G, the first duty cycle distributed to the second G needs to be distributed entirely on the leading edge of the second G, and the first duty cycle distributed to B needs to be distributed entirely on the leading edge of B, so that green and blue cannot be mixed into red, thereby keeping the saturation of red unchanged.
[0177] In some embodiments, when the light source configuration parameter is the fourth configuration parameter, if the target duty cycle 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, then the color protection requirement includes a fifth color protection requirement or a sixth color protection requirement. The fifth color protection requirement represents protecting the saturation of the eighth target primary color from becoming unchanged, and the sixth color protection requirement represents protecting the saturation of the ninth target primary color from becoming unchanged. The ninth target primary color is the primary color among the other two primary colors that is not connected to the eighth target primary color.
[0178] Here, as Figure 6 As shown, since the red primary color (R) and the blue primary color (B) are not connected, the eighth target primary color corresponding to the target ratio can refer to either the red primary color or the blue primary color. In this case, the color protection requirement can include either a fifth color protection requirement or a sixth color protection requirement. The fifth color protection requirement indicates that the saturation of the eighth target primary color is kept unchanged; that is, either the red primary color or the blue primary color can be chosen to remain unchanged. The sixth color protection requirement indicates that the saturation of the ninth target primary color is kept unchanged, where the ninth target primary color is the primary color among the other two primary colors that is not connected to the eighth target primary color. For example, when the eighth target primary color is red, the ninth target primary color is blue; when the eighth target primary color is blue, the ninth target primary color is red.
[0179] It is worth noting that, such as Figure 6 As shown, when the light source configuration parameter is the fourth configuration parameter, if the target duty cycle equals 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 cycle, i.e., G does not overlap. In this case, both R and B can simultaneously protect the color saturation from becoming unchanged. If D″′ is satisfied... R :D″′ B =D R :D B If so, the hue of G will not change.
[0180] It should be understood that the relevant explanations regarding the preset threshold can be found in the above embodiments, and will not be repeated here.
[0181] It's important to note that when the light source configuration parameter of the light source component is the fourth configuration parameter, since the light source component of this projection device does not support direct modification of the original duty cycle, the increased duty cycle needs to be mapped to the overlap portion. Therefore, the second RGB duty cycle needs to be determined based on the target ratio and the first RGB duty cycle. Under this second RGB duty cycle, the white balance of the projected image can be made consistent with the target white balance; therefore, the first duty cycle should actually be allocated to the second RGB duty cycle.
[0182] In some implementable embodiments, when the color protection requirement comprises a fifth color protection requirement, the first overlap ratio can be allocated on the second RGB overlap ratio based on an eighth allocation manner to obtain a target RGB overlap ratio, wherein the eighth allocation manner is configured to make two base colors other than an eighth target base color not overlap with the eighth target base color under the target RGB overlap ratio.
[0183] In some implementable embodiments, when the color protection requirement comprises a sixth color protection requirement, the first overlap ratio can be allocated on the second RGB overlap ratio based on a ninth allocation manner to obtain a target RGB overlap ratio, wherein the eighth allocation manner is configured to make two base colors other than a ninth target base color not overlap with the ninth target base color under the target RGB overlap ratio.
[0184] It is worth noting that the eighth allocation manner and the ninth allocation manner are actually also based on the principle that the saturation of the color to be protected is unchanged, and the color to be protected cannot be mixed into other colors, and the hue of the color to be protected is unchanged, and the other two colors need to be mixed into the color according to a preset ratio. In the embodiments of the present disclosure, how to obtain the target RGB overlap ratio according to the eighth allocation manner and the ninth allocation manner is no longer illustrated.
[0185] In some embodiments, when the light source configuration parameter is the fourth configuration parameter, if the target overlap ratio is greater than a preset threshold, the color protection requirement comprises a seventh color protection requirement, wherein the seventh color protection requirement represents that the saturation of a tenth target base color is unchanged, and the tenth target base color is one of two base colors that are not connected in RGB.
[0186] Here, the target overlap ratio greater than the preset threshold indicates that all three base colors of RGB are allocated to the first overlap ratio (overlap). In this case, the saturation of the tenth target base color can be selected to be unchanged, wherein the tenth target base color is one of two base colors that are not connected in RGB. As shown in Figure 6 the tenth target base color can be one of a red base color or a blue base color.
[0187] In some implementable embodiments, when the color protection requirement comprises a seventh color protection requirement, the first overlap ratio can be allocated on the second RGB overlap ratio based on a tenth allocation manner to obtain a target RGB overlap ratio, wherein the tenth allocation manner is configured to make two base colors other than a tenth target base color not overlap with the tenth target base color under the target RGB overlap ratio.
[0188] 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 device does not support directly modifying the original duty cycle, the increased duty cycle needs to be mapped to the overlap part. Therefore, the second RGB duty cycle needs to be determined according to the target ratio and the first RGB duty cycle. Under the second RGB duty cycle, the white balance of the projection picture can be consistent with the target white balance, and the first duty cycle is actually to be allocated on the second RGB duty cycle. For the calculation method of the second RGB duty cycle, refer to the above embodiment, which will not be repeated here.
[0189] It is worth noting that the tenth configuration method is actually also based on the principle that the saturation of the color to be protected is not changed, and the color cannot be mixed into other colors, and the hue of the color to be protected is not changed, and the other two colors need to be mixed into the color according to the preset ratio. In the embodiments of the present disclosure, how to obtain the target RGB duty cycle according to the tenth configuration method will not be illustrated.
[0190] Figure 12 A module connection diagram of a color correction device is shown according to an example embodiment. As shown in Figure 12 The present disclosure provides a color correction device, which includes:
[0191] A first determination module 1201 is configured to determine a target color coordinate corresponding to a target white balance.
[0192] A second determination module 1202 is configured to determine an RGB duty cycle of a light source assembly according to the target color coordinate and an original duty cycle corresponding to the light source assembly of a projection device.
[0193] A third determination module 1203 is configured to determine a target duty cycle to be increased.
[0194] An allocation module 1204 is configured to allocate the target duty cycle to the duty cycle of each primary color of the RGB duty cycle according to a light source configuration parameter of the projection device, to obtain a target RGB duty cycle.
[0195] A control module 1205 is configured to control the light source assembly to generate a projection light source according to the target RGB duty cycle.
[0196] Optionally, the second determination module 1202 includes:
[0197] A first determination unit is configured to determine coordinate information of RGB of the light source assembly in an XYZ colorimetric system;
[0198] A second determination unit is configured to construct an inverse matrix based on the original duty cycle and the coordinate information, wherein the inverse matrix is used to represent the proportional relationship of RGB under a unit duty cycle.
[0199] The third determining unit is configured to determine an RGB scale matrix based on the inverse matrix and a target conversion relationship, wherein the target conversion relationship is a conversion relationship between a color coordinate and an XYZ colorimetric system.
[0200] The fourth determining unit is configured to determine a first RGB duty cycle according to the RGB scale matrix and the original duty cycle.
[0201] Optionally, the distribution module 1204 comprises:
[0202] The fifth determining unit is configured to determine a first duty cycle of the target duty cycle distribution to any primary color of RGB based on the first target distribution mode matched with the light source configuration parameter.
[0203] The sixth determining unit is configured to obtain a target RGB duty cycle according to the first duty cycle and the first RGB duty cycle.
[0204] Optionally, the sixth determining unit comprises:
[0205] The color determining unit is configured to determine a color protection requirement.
[0206] 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.
[0207] The obtaining unit is configured to obtain a target RGB duty cycle based on the first duty cycle and the first RGB duty cycle in combination with the second target distribution mode, wherein the target RGB duty cycle makes the color of a projection picture generated according to the target RGB duty cycle match the color protection requirement.
[0208] Optionally, 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.
[0209] The first configuration parameter represents that any primary color of RGB of the light source assembly is connected with the other two primary colors, and the light source assembly supports modification of the original duty cycle.
[0210] The second configuration parameter represents that any primary color of RGB of the light source assembly is connected with the other two primary colors, and the light source assembly does not support modification of the original duty cycle.
[0211] The third configuration parameter represents that at least one primary color of RGB of the light source assembly is not connected with one of the other two primary colors, and the light source assembly supports modification of the original duty cycle.
[0212] The fourth configuration parameter represents that at least one primary color of RGB of the light source assembly is not connected with one of the other two primary colors, and the light source assembly does not support modification of the original duty cycle.
[0213] Optionally, the fifth determining unit is specifically configured to:
[0214] In a case where the light source configuration parameter comprises the first configuration parameter or the third configuration parameter, the first duty cycle is determined according to the target duty cycle and the first RGB duty cycle;
[0215] In a case where the light source configuration parameter comprises the second configuration parameter or the fourth configuration parameter, a ratio between the first RGB duty cycle and the original duty cycle corresponding to each primary color of the light source component is determined according to the first RGB duty cycle and the original duty cycle;
[0216] The second RGB duty cycle is determined according to the first RGB duty cycle and a target ratio, wherein the target ratio is the smallest ratio among all ratios corresponding to the primary colors;
[0217] The first duty cycle is determined according to the target duty cycle and the second RGB duty cycle.
[0218] As to the apparatus 1200 in the above embodiment, the method logic executed by each functional module has been described in detail in the part about the method, and thus will not be repeated here.
[0219] 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.
[0220] The present disclosure also provides a chip, which comprises a processor and an interface; the processor is configured to read instructions to execute the steps of the color correction method according to the above embodiments.
[0221] Figure 13 is a structural schematic diagram of a projection device according to an exemplary embodiment. As shown in Figure 13 The projection device 1300 comprises a light source component 1301, a light source control module 1302, a processor 1304 and a memory 1303, the light source control module 1302, the processor 1304 and the light source control module 1302 are connected in sequence, and the memory 1303 is connected with the processor 1304, wherein:
[0222] The light source component 1301 is configured to generate a projection light source;
[0223] The light source control module 1302 is configured to output an original duty cycle of the light source component 1301;
[0224] The memory 1303 is configured to store executable instructions for implementing the color correction method according to the above embodiments;
[0225] The processor 1304 is configured to execute the executable instructions according to the original duty ratio, and control the light source assembly 1301 to generate a projection light source.
[0226] It is worth mentioning that the processor 1304 can be a chip as described in the above embodiments, that is, the chip is packaged as Figure 13 The processor 1304 shown in the figure implements the color correction method provided in the above embodiments.
[0227] Figure 14 Fig. 2 is a structural schematic diagram of a projection device 200 according to another exemplary embodiment. As shown in the figure, the projection device 200 includes a projection part 210 and a driving part 220 for driving the projection part 210. The projection part 210 can form an optical image and project the optical image onto an imaging medium SC. Figure 14
[0228] The projection part 210 includes a light source part 211, a light modulator 212, and an optical system 213. The driving part 220 includes a light source driving part 221 and a light modulator driving part 222.
[0229] The light source part 211 can include a solid light source such as a light emitting diode (LED), a laser, and a pump lamp. The light source part 211 can include an optical element such as a lens and a polarizing plate for improving the optical characteristics of the projection light, and a dimming element for adjusting the light flux.
[0230] The light source driving part 221 can control the operation of the light source in the light source part 211, including lighting and extinguishing, according to the instruction of the control part 250.
[0231] The light modulator 212 includes a display panel 215, which can be a transmissive liquid crystal display (LCD), a reflective liquid crystal on silicon (LCOS), or a digital micromirror device (DMD).
[0232] The light modulator 212 is driven by the light modulator driving part 222, which is connected to the image processing part 245.
[0233] The image processing part 245 inputs image data to the light modulator driving part 222. The light modulator driving part 222 converts the input image data into a data signal suitable for the operation of the display panel 215. The light modulator driving part 222 applies a voltage to each pixel of each display panel 215 according to the converted data signal, and draws an image on the display panel 215.
[0234] The optical system 213 includes a lens or a mirror, or the like, which images the incident image light PLA on the imaging medium SC. The optical system 213 can also include a zoom mechanism which magnifies or reduces the image projected on the imaging medium SC, a focus adjustment mechanism which performs focus adjustment, or the like.
[0235] The projection device 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 section 237, the data interface 241, the interface section 242, the image processing section 245, and the control section 250 can communicate data with each other via the internal bus 207.
[0236] The operation section 231 can generate a corresponding operation signal according to the operation of various buttons and switches acting on the surface of the housing of the projection device 200, and output the operation signal to the input interface 235. The input interface 235 includes a circuit which outputs the operation signal input from the operation section 231 to the control section 250.
[0237] The signal receiving section 233 receives a signal (e.g., an infrared signal, a Bluetooth signal) transmitted from a control device 5 (e.g., a remote controller), and can decode the received signal to generate a corresponding operation signal. The signal receiving section 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.
[0238] The storage section 237 can be a magnetic recording device such as a hard disk drive (HDD), or a storage device using a semiconductor storage element such as a flash memory. The storage section 237 stores a program executed by the control section 250, data processed by the control section 250, image data, and the like.
[0239] The data interface 241 includes a connector and an interface circuit, and can be connected to another electronic device 100 in a wired manner. The data interface 241 can be a communication interface which performs communication with another electronic device 100. The data interface 241 receives image data, sound data, and the like from another electronic device 100. In the present embodiment, the image data can be content image.
[0240] The interface section 242 is a communication interface that communicates with the other electronic device 100 in accordance with an Ethernet standard. The interface section 242 includes a connector and an interface circuit that processes signals transmitted by the connector. The interface section 242 is an interface substrate including the connector and the 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 that constitute the interface section 242 are mounted on the main substrate of the control section 250. The interface section 242 can receive setting information or instruction information transmitted by the other electronic device 100.
[0241] The control section 250 includes a memory 251 and a processor 253.
[0242] The memory 251 is a storage device that stores programs and data executed by the processor 253 non-volatile. The memory 251 is constituted by a magnetic storage device, a semiconductor storage element such as a flash Read-Only Memory (ROM), or other kinds of non-volatile storage devices. The memory 251 can also include a Random Access Memory (RAM) that constitutes a work area of the processor 253. The memory 251 stores data processed by the control section 250 and control programs executed by the processor 253.
[0243] The processor 253 can be constituted by a single processor or can be combined from a plurality of processing units. The processor 253 executes control programs to control each part of the projection device 200. For example, the processor 253 executes corresponding image processing in accordance with an operation signal generated by the operation section 231 and outputs parameters used in the image processing, such as parameters for trapezoidal correction of an image, to the image processing section 245. In addition, the processor 253 can control the light source section 211 to turn on, off, or adjust the brightness of the light source by controlling the light source driving section 221.
[0244] The image processing section 245 and the frame memory 243 can be constituted by an integrated circuit. The integrated circuit includes a Large Scale Integration (LSI), an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD) including a Field-Programmable Gate Array (FPGA), and the like. The integrated circuit can also include a part of an analog circuit, or a combination of a processor and an integrated circuit. The combination of the processor and the integrated circuit is referred to as a Microcontroller Unit (MCU), a System on Chip (SoC), a system LSI, a chipset, or the like.
[0245] The image processing section 245 can store the image data received from the data interface 241 in the frame memory 243. The frame memory 243 includes a plurality of memory banks each including a storage capacity in which one frame of image data can be written. The frame memory 243 can be constituted by a Synchronous Dynamic Random Access Memory (SDRAM) or a Dynamic Random Access Memory (DRAM).
[0246] The image processing section 245 can perform image processing on the image data stored in the frame memory 243, including resolution conversion, size adjustment, distortion correction, shape correction, digital zooming, image tone adjustment, and image brightness adjustment, and the like.
[0247] The image processing section 245 can also convert the input frame frequency of the vertical synchronization signal to 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 section 245 then outputs the above-mentioned output synchronization signal to the light modulator driving section 222.
[0248] The above description is merely a preferred embodiment of the present disclosure and a description of the principles of the technology employed. It will be understood by those skilled in the art that the scope of the disclosure involved herein is not limited to the technical solutions formed by the specific combinations of the technical features described above, and also encompasses other technical solutions formed by any combinations of the above technical features or equivalent features thereof without departing from the above-mentioned disclosed concept. For example, the above-mentioned features can be replaced with technical features having similar functions disclosed in the present disclosure (but not limited to) to form technical solutions.
[0249] Moreover, while operations have been depicted in a particular order, this should not be understood as requiring such an order nor limiting it to only those operations shown and described. One of ordinary skill in the art will recognize that many of the operations can be performed in a differing order, or be performed concurrently, that some operations can be performed in any order or omitted, and that some operations can be performed in parallel. Similarly, while several specific implementation details have been included herein, these should not be taken as limitations on the scope of the disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination. Moreover, although the subject matter has been described in language specific to structural features, methodological acts, it is to be understood that the subject matter defined herein 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.
[0250] While the subject matter has been described above in terms of specific embodiments, it is not intended to be limited to the embodiments described. Rather, it is the intent to cover all modifications coming within the scope of the claims below.
Claims
1. A color correction method characterized by, The method comprises the following steps: determining a target color coordinate corresponding to a target white balance; determining a first RGB duty cycle of a light source component of a projection device according to the target color coordinate and an original duty cycle corresponding to the light source component; determining a target duty cycle to be added; allocating the target duty cycle to a duty cycle of each primary color of the first RGB duty cycle according to a light source configuration parameter of the projection device to obtain a target RGB duty cycle; controlling the light source component to generate a projection light source according to the target RGB duty cycle. The method comprises the following steps: determining a first duty cycle of any primary color of the RGB to which the target duty cycle is allocated based on a first target allocation mode matched with the light source configuration parameter; obtaining the target RGB duty cycle according to the first duty cycle and the first RGB duty cycle. 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. The first configuration parameter indicates that any primary color of the RGB of the light source component is connected with the other two primary colors, and the light source component supports modifying the original duty cycle. The second configuration parameter indicates that any primary color of the 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 cycle. The third configuration parameter indicates that at least one primary color of the RGB of the light source component is not connected with one of the other two primary colors, and the light source component supports modifying the original duty cycle. The fourth configuration parameter indicates that at least one primary color of the 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 modifying the original duty cycle. The method comprises the following steps: in a case where the light source configuration parameter comprises the first configuration parameter or the third configuration parameter, determining the first duty cycle according to the target duty cycle and the first RGB duty cycle; in a case where the light source configuration parameter comprises the second configuration parameter or the fourth configuration parameter, determining a ratio between a first RGB duty cycle corresponding to each primary color of the light source component and the original duty cycle according to the first RGB duty cycle and the original duty cycle; determining a second RGB duty cycle according to the first RGB duty cycle and a target ratio, wherein the target ratio is the smallest ratio among all the ratios corresponding to the primary colors; determining the first duty cycle according to the target duty cycle and the second RGB duty cycle.
2. The method of claim 1, wherein, The method comprises the following steps: determining coordinate information of the RGB of the light source component in XYZ colorimetric system; construct an inverse matrix based on the original duty cycle and the coordinate information, wherein the inverse matrix is used to represent a proportional relationship of the RGB under a unit duty cycle; determine an RGB proportional matrix based on the inverse matrix and a target conversion relationship, wherein the target conversion relationship is a conversion relationship between a color coordinate and the XYZ colorimetric system; determine the first RGB duty cycle according to the RGB proportional matrix and the original duty cycle.
3. The method of claim 1, wherein, The target RGB duty cycle is obtained according to the first duty cycle and the first RGB duty cycle, including: determining a color protection requirement; determining a second target distribution mode matched with the color protection requirement according to the color protection requirement; obtaining the target RGB duty cycle based on the first duty cycle and the first RGB duty cycle in combination with the second target distribution mode, wherein the target RGB duty cycle makes the color of a projection picture generated according to the target RGB duty cycle match the color protection requirement.
4. A color correction device, characterized by, including: a first determination module configured to determine a target color coordinate corresponding to a target white balance; a second determination module configured to determine an RGB duty cycle of a light source component of a projection device according to the target color coordinate and an original duty cycle corresponding to the light source component; a third determination module configured to determine a target duty cycle to be added; a distribution module configured to distribute the target duty cycle to a duty cycle of each primary color of the RGB duty cycle according to a light source configuration parameter of the projection device to obtain a target RGB duty cycle; a control module configured to control the light source component to generate a projection light source according to the target RGB duty cycle; The distribution module includes: a fifth determination unit configured to determine a first duty cycle of any primary color of the RGB to which the target duty cycle is distributed based on a first target distribution mode matched with the light source configuration parameter; a sixth determination unit configured to obtain the target RGB duty cycle according to the first duty cycle and a first RGB duty cycle; 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 of the RGB of the light source component is connected with the other two primary colors, and the light source component supports modifying the original duty cycle; The second configuration parameter represents that any primary color of the 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 cycle; The third configuration parameter represents that there is at least one primary color of the RGB of the light source component that is not connected with one of the other two primary colors, and the light source component supports modifying the original duty cycle; The fourth configuration parameter represents that there is at least one primary color of the RGB of the light source component that is not connected with one of the other two primary colors, and the light source component does not support modifying the original duty cycle; The fifth determination unit is specifically configured to: In a case that the light source configuration parameter comprises the first configuration parameter or the third configuration parameter, the first duty cycle is determined according to the target duty cycle and the first RGB duty cycle; In a case that the light source configuration parameter comprises the second configuration parameter or the fourth configuration parameter, a ratio between the first RGB duty cycle and the original duty cycle corresponding to each primary color of the light source component is determined according to the first RGB duty cycle and the original duty cycle; A second RGB duty cycle is determined according to the first RGB duty cycle and a target ratio, wherein the target ratio is the minimum ratio among the ratios corresponding to all the primary colors; The first duty cycle is determined according to the target duty cycle and the second RGB duty cycle.
5. A computer storage medium having stored thereon a computer program, characterized in that The program, when executed by a processor, implements the steps of the method of any one of claims 1 to 3.
6. A chip, characterized by An interface; the processor is configured to read instructions to perform the steps of the method of any one of claims 1 to 3.
7. A projection apparatus, characterized by comprising: It comprises: A light source component configured to generate a projection light source; A light source control module configured to output an original duty cycle of the light source component; A memory configured to store executable instructions for implementing the method of any one of claims 1 to 3; A processor configured to execute the executable instructions according to the original duty cycle to control the light source component to generate a projection light source.
Citation Information
Patent Citations
Method and device for color range adjustment
CN101945292A
Projection device, white balance adjustment method thereof and readable storage medium
CN112929620A
Color correction method and device, projector and storage medium
CN114339175A