Method and device for correcting color cast of single-chip LCD (liquid crystal display) projector
By dynamically adjusting the red, green and blue gain values of the LCD projector, the color coordinate offset problem caused by the temperature rise of the single-chip LCD projector is solved according to the relationship between the temperature and the color coordinates in the optical cavity, and the color coordinate offset of the single-chip LCD projector is solved, and the color coordinate offset of the single-chip LCD projector is realized. The color-shaping effect of the screen improves the user experience.
Patent Information
- Application Number
- CN202411486450.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-07
AI Technical Summary
After the single-chip LCD projector is turned on, the color coordinates are offset due to the increase in temperature, which makes the picture appear bluer, especially in white and skin tone scenes of characters. The existing technology lacks effective correction solutions.
By calculating the relationship between the temperature and color coordinates in the optical machine cavity, the gain values of red, green and blue are dynamically adjusted to overcome the color coordinate offset caused by temperature changes. The specific methods include obtaining the current temperature in the optical machine cavity, calculating the blue gain value, and calculating the red and green gain values through formulas, and finally dynamically adjusting the LCD projector.
It realizes constant maintenance of color coordinates, ensuring that the picture does not cast color, greatly improving the user's viewing experience.
Smart Images

Figure CN119402627A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data calibration, and in particular to a method, device, equipment and computer-readable storage medium for color cast correction of a single-chip LCD projector. Background Art
[0002] After the single-chip LCD projector is turned on, the color temperature will increase as the temperature in the optical machine cavity increases (the color coordinates Cx, Cy gradually decrease). The color coordinates will stabilize only after the temperature in the optical machine cavity stabilizes. This process takes 15-30 minutes. The image after stabilization will appear bluer than when it is just turned on, which is particularly obvious in white and human skin color scenes.
[0003] Currently, there is no correction solution for the color cast caused by temperature rise in single-chip LCD projectors. Therefore, in order to prevent the projected image from being cast in color, always maintain stable color coordinates, and ensure that users have a better viewing experience, a single-chip LCD projector color cast correction is urgently needed. Summary of the invention
[0004] According to an embodiment of the present application, a color cast correction solution for a single-chip LCD projector is provided, which calculates the relationship between the color coordinate offset and the temperature in the optical machine cavity, dynamically adjusts the R, G and B gains, overcomes the color coordinate offset caused by temperature changes, and can keep the color coordinates constant at all times, ensuring that the picture is not color cast, greatly improving the user experience.
[0005] In a first aspect of the present application, a method for color cast correction of a single-chip LCD projector is provided. The method comprises:
[0006] Get the current temperature inside the optical machine cavity;
[0007] If the temperature in the optical engine cavity is greater than the initial temperature, the gain value of blue is calculated based on the difference between the temperature in the optical engine cavity and the initial temperature, the color coordinate X-axis offset and the color coordinate Y-axis offset obtained by the first preset algorithm, and the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm;
[0008] Based on the blue gain value, the red and green gain values are calculated respectively by the following formulas:
[0009] n*ΔX t +b*ΔX b +r*ΔX r =0
[0010] n*ΔY t +b*ΔY b +g*ΔY g =0
[0011] Where n is the difference between the temperature in the optomechanical cavity and the initial temperature;
[0012] ΔX t is the color coordinate X-axis offset;
[0013] ΔY t is the color coordinate Y axis offset;
[0014] ΔX b is the color coordinate X-axis offset corresponding to the blue gain change;
[0015] ΔY b is the Y-axis offset of the color coordinate corresponding to the change of blue gain;
[0016] ΔX r is the color coordinate X-axis offset corresponding to the red gain change;
[0017] ΔY g is the color coordinate Y-axis offset corresponding to the green gain change;
[0018] b is the gain value of blue;
[0019] r is the gain value of red;
[0020] g is the gain value of green;
[0021] The LCD projector is dynamically adjusted by the blue, red and green gain values.
[0022] Furthermore, the color coordinate X-axis offset and Y-axis offset obtained by the first preset algorithm include:
[0023] Based on the first optical-mechanical cavity temperature and the color coordinates of the center point of the first projection screen acquired at the first time point, and the second optical-mechanical cavity temperature and the color coordinates of the center point of the second projection screen acquired at the second time point, calculating the relationship between the color coordinates and the optical-mechanical cavity temperature;
[0024] Based on the relationship between the color coordinates and the temperature in the optical engine cavity, the color coordinate X-axis offset and Y-axis offset are obtained.
[0025] Furthermore, the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm include:
[0026] Fix the red and blue gains, and respectively record the first color coordinate when the blue gain is a default value, and the second color coordinate when the blue gain is a default value minus a preset threshold;
[0027] Based on the first color coordinate and the second color coordinate, a color coordinate X-axis offset and a color coordinate Y-axis offset corresponding to the blue gain change are obtained.
[0028] Furthermore, it also includes:
[0029] In the pure white picture scene, the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change are obtained by the second preset algorithm.
[0030] In a second aspect of the present application, a color cast correction device for a single-chip LCD projector is provided. The device comprises:
[0031] An acquisition module is used to obtain the current temperature in the optical machine cavity;
[0032] A first calculation module, for calculating a blue gain value based on a difference between the temperature in the optical machine cavity and the initial temperature, an X-axis offset and a Y-axis offset of a color coordinate obtained by a first preset algorithm, and an X-axis offset and a Y-axis offset of a color coordinate corresponding to a blue gain change obtained by a second preset algorithm if the temperature in the optical machine cavity is greater than an initial temperature;
[0033] The second calculation module is used to calculate the gain values of red and green respectively based on the gain value of blue by the following formula:
[0034] n*ΔX t +b*ΔX b +r*ΔX r =0
[0035] n*ΔY t +b*ΔY b +g*ΔY g =0
[0036] Where n is the difference between the temperature in the optomechanical cavity and the initial temperature;
[0037] ΔX t is the color coordinate X-axis offset;
[0038] ΔY t is the color coordinate Y axis offset;
[0039] ΔX b is the color coordinate X-axis offset corresponding to the blue gain change;
[0040] ΔY b is the Y-axis offset of the color coordinate corresponding to the change of blue gain;
[0041] ΔX r is the color coordinate X-axis offset corresponding to the red gain change;
[0042] ΔY g is the color coordinate Y-axis offset corresponding to the green gain change;
[0043] b is the gain value of blue;
[0044] r is the gain value of red;
[0045] g is the gain value of green;
[0046] The adjustment module is used to dynamically adjust the LCD projector through the gain values of blue, red and green.
[0047] Furthermore, the color coordinate X-axis offset and Y-axis offset obtained by the first preset algorithm include:
[0048] Based on the first optical-mechanical cavity temperature and the color coordinates of the center point of the first projection screen acquired at the first time point, and the second optical-mechanical cavity temperature and the color coordinates of the center point of the second projection screen acquired at the second time point, calculating the relationship between the color coordinates and the optical-mechanical cavity temperature;
[0049] Based on the relationship between the color coordinates and the temperature in the optical engine cavity, the color coordinate X-axis offset and Y-axis offset are obtained.
[0050] Furthermore, the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm include:
[0051] Fix the red and blue gains, and respectively record the first color coordinate when the blue gain is a default value, and the second color coordinate when the blue gain is a default value minus a preset threshold;
[0052] Based on the first color coordinate and the second color coordinate, a color coordinate X-axis offset and a color coordinate Y-axis offset corresponding to the blue gain change are obtained.
[0053] Furthermore, it also includes:
[0054] In the pure white picture scene, the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change are obtained by the second preset algorithm.
[0055] In a third aspect of the present application, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.
[0056] In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present application is implemented.
[0057] The method for correcting color cast of a single-chip LCD projector provided in an embodiment of the present application obtains the current temperature in an optical-mechanical cavity; if the temperature in the optical-mechanical cavity is greater than the initial temperature, the blue gain value is calculated based on the difference between the temperature in the optical-mechanical cavity and the initial temperature, the color coordinate X-axis offset and Y-axis offset obtained by a first preset algorithm, and the color coordinate X-axis offset and Y-axis offset corresponding to the blue gain change obtained by a second preset algorithm; based on the blue gain value, the red and green gain values are calculated respectively; the LCD projector is dynamically adjusted through the blue, red and green gain values to overcome the color coordinate offset caused by temperature changes, thereby greatly improving the user experience.
[0058] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0060] Figure 1 is a flow chart of a method for color cast correction of a single-chip LCD projector according to an embodiment of the present application;
[0061] Figure 2 is a block diagram of a color cast correction device for a single-chip LCD projector according to an embodiment of the present application;
[0062] Figure 3 It is a schematic diagram of the structure of a terminal device or a server suitable for implementing the embodiments of the present application. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0064] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0065] Figure 1 A flow chart of a method for color cast correction of a single-chip LCD projector according to an embodiment of the present disclosure is shown. The method comprises:
[0066] S110, obtaining the current temperature inside the optical engine cavity.
[0067] In some embodiments, the current temperature inside the optical engine cavity can be obtained through the temperature sensor provided by the LCD projector; if the LCD projector is not equipped with a temperature sensor, the current temperature inside the optical engine cavity can also be obtained through an external device, which is not further limited here.
[0068] S120, if the temperature inside the optical machine cavity is greater than the initial temperature, the blue gain value is calculated based on the difference between the temperature inside the optical machine cavity and the initial temperature, the color coordinate X-axis offset and Y-axis offset obtained by the first preset algorithm, and the color coordinate X-axis offset and Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm.
[0069] In some embodiments, after the projector is turned on, a pure white screen is played. The test records the initial temperature T0 in the optical machine cavity and the color coordinates (x0, y0) of the center point of the projected screen. After the temperature stabilizes (usually 30 minutes), the steady-state temperature T1 and color coordinates (x1, y1) are tested again. The color coordinate offset and temperature change are considered to be linearly related, and the color coordinate x offset ΔX is calculated for every 1 degree increase in temperature. t = (x1-x0) / (T1-T0), color coordinate offset ΔY t =(y1-y0) / (T1-T0). That is, based on the first optical machine cavity temperature and the color coordinates of the center point of the first projection screen acquired at the first time point, and the second optical machine cavity temperature and the color coordinates of the center point of the second projection screen acquired at the second time point, the relationship between the color coordinates and the temperature in the optical machine cavity is calculated. Based on the relationship between the color coordinates and the temperature in the optical machine cavity, the color coordinate X-axis offset and Y-axis offset are obtained.
[0070] Usually, the default values of R, G, B (red, green, blue) gains of the white balance processing module of the projector CPU chip are all 1024, and the available adjustment range is [0, 1024]. If it exceeds 1024, side effects such as uneven grayscale transition and color overexposure will occur.
[0071] Adjusting the R / G / B gain will cause the color coordinates to shift linearly, with the following relationship:
[0072] R gain is proportional to the color coordinate x and has little effect on the color coordinate y, which can be ignored.
[0073] G gain is proportional to the color coordinate y and has little effect on the color coordinate x, which can be ignored.
[0074] B gain is inversely proportional to the color coordinates x, y.
[0075] In some embodiments, after the temperature of the projector is stable, a pure white picture is played, and the G and B gains are kept at the default values. The color coordinates (X3, Y3) and (X4, Y4) when the R gain is the default value and the default value minus the preset threshold N are tested and recorded respectively. The offset ΔX of the color coordinate X is calculated when the R gain decreases by 1. r =(X4-X3) / N. It should be noted that the value of the preset threshold N can be set according to the actual application scenario and the model, power and other parameters of the LCD projector. When setting the specific value of N, it is not easy to set N too small. If it is too small, the color coordinates will shift too little, which will lead to inaccurate calculation.
[0076] Furthermore, the offset ΔY of the color coordinate Y is calculated by the same method for every decrease of G gain by 1. g ; Every time the B gain decreases by 1, the color coordinate X shifts by ΔX b and the offset ΔY of the color coordinate Y b .
[0077] In some embodiments, the blue gain value b may be calculated by the following method:
[0078] n*ΔX t +b*ΔX b ≥0
[0079] n*ΔY t +b*ΔY b ≥0
[0080] Calculate the minimum value in the above formula to get the value of b;
[0081] n is the difference between the temperature inside the optomechanical cavity and the initial temperature.
[0082] S130: Calculate red and green gain values respectively based on the blue gain value.
[0083] In some embodiments, based on the gain value of blue, the gain values of red and green can be calculated respectively by the following formulas:
[0084] n*ΔX t +b*ΔX b +r*ΔX r =0
[0085] n*ΔY t +b*ΔY b +g*ΔY g =0
[0086] Where n is the difference between the temperature in the optomechanical cavity and the initial temperature;
[0087] ΔX t is the color coordinate X-axis offset;
[0088] ΔY t is the color coordinate Y axis offset;
[0089] ΔX b is the color coordinate X-axis offset corresponding to the blue gain change;
[0090] ΔY b is the Y-axis offset of the color coordinate corresponding to the change of blue gain;
[0091] ΔX r is the color coordinate X-axis offset corresponding to the red gain change;
[0092] ΔY g is the color coordinate Y-axis offset corresponding to the green gain change;
[0093] b is the gain value of blue;
[0094] r is the gain value of red;
[0095] g is the green gain value.
[0096] S140, dynamically calibrating the LCD projector according to the gain values of blue, red and green.
[0097] In some embodiments, according to the values of r, g, b calculated in the above steps, the R, G, B gains of the white balance module are updated to obtain a picture without color cast, thereby completing the dynamic adjustment of the current LCD projector.
[0098] According to the embodiments of the present disclosure, the following technical effects are achieved:
[0099] By calculating the relationship between the color coordinate offset and the temperature in the optical cavity, the R, G, and B gains of the LCD projector white balance module are dynamically adjusted to overcome the color coordinate offset caused by temperature changes. The color coordinates can always remain constant, ensuring that the picture is not color cast, greatly improving the user experience.
[0100] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0101] The above is an introduction to the method embodiment. The following is a further explanation of the scheme described in this application through an apparatus embodiment.
[0102] Figure 2 FIG. 2 shows a block diagram 200 of a color cast correction device for a single-chip LCD projector according to an embodiment of the present application. Figure 2 Shown include:
[0103] An acquisition module 210 is used to acquire the current temperature in the optical machine cavity;
[0104] A first calculation module 220, configured to calculate a blue gain value based on a difference between the optical machine cavity temperature and the initial temperature, an X-axis offset and a Y-axis offset of a color coordinate obtained by a first preset algorithm, and an X-axis offset and a Y-axis offset of a color coordinate corresponding to a blue gain change obtained by a second preset algorithm if the temperature in the optical machine cavity is greater than an initial temperature;
[0105] The second calculation module 230 is used to calculate the gain values of red and green respectively based on the gain value of blue by the following formula:
[0106] n*ΔX t +b*ΔX b +r*ΔX r =0
[0107] n*ΔY t +b*ΔY b +g*ΔY g =0
[0108] Where n is the difference between the temperature in the optomechanical cavity and the initial temperature;
[0109] ΔX t is the color coordinate X-axis offset;
[0110] ΔY t is the color coordinate Y axis offset;
[0111] ΔX b is the color coordinate X-axis offset corresponding to the blue gain change;
[0112] ΔY b is the Y-axis offset of the color coordinate corresponding to the change of blue gain;
[0113] ΔX r is the color coordinate X-axis offset corresponding to the red gain change;
[0114] ΔY g is the color coordinate Y-axis offset corresponding to the green gain change;
[0115] b is the gain value of blue;
[0116] r is the gain value of red;
[0117] g is the gain value of green;
[0118] The adjustment module 240 is used to dynamically adjust the LCD projector according to the gain values of the blue, red and green colors.
[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0120] Figure 3 A schematic diagram of the structure of a terminal device or server suitable for implementing an embodiment of the present application is shown.
[0121] like Figure 3 As shown, the terminal device or server includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 703. In the RAM 303, various programs and data required for the operation of the terminal device or server are also stored. CPU301, ROM302 and RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0122] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
[0123] In particular, according to an embodiment of the present application, the above method flow steps can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.
[0124] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0125] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be arranged in a processor. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves.
[0127] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the method described in the present application.
[0128] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A method for correcting color cast of a single-chip LCD projector, characterized in that: include: Get the current temperature inside the optical machine cavity; If the temperature in the optical engine cavity is greater than the initial temperature, the gain value of blue is calculated based on the difference between the temperature in the optical engine cavity and the initial temperature, the color coordinate X-axis offset and the color coordinate Y-axis offset obtained by the first preset algorithm, and the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm; Based on the blue gain value, the red and green gain values are calculated respectively by the following formulas: n*ΔX t +b*ΔX b +r*ΔX r =0 n*ΔY t +b*ΔY b +g*ΔY g =0 Where n is the difference between the temperature in the optomechanical cavity and the initial temperature; ΔX t is the color coordinate X-axis offset; ΔY t is the color coordinate Y axis offset; ΔX b is the color coordinate X-axis offset corresponding to the blue gain change; ΔY b is the Y-axis offset of the color coordinate corresponding to the change of blue gain; ΔX r is the color coordinate X-axis offset corresponding to the red gain change; ΔY g is the color coordinate Y-axis offset corresponding to the green gain change; b is the gain value of blue; r is the gain value of red; g is the gain value of green; The LCD projector is dynamically adjusted by the blue, red and green gain values.
2. The method according to claim 1, characterized in that: The color coordinate X-axis offset and Y-axis offset obtained by the first preset algorithm include: Based on the first optical-mechanical cavity temperature and the color coordinates of the center point of the first projection screen acquired at the first time point, and the second optical-mechanical cavity temperature and the color coordinates of the center point of the second projection screen acquired at the second time point, calculating the relationship between the color coordinates and the optical-mechanical cavity temperature; Based on the relationship between the color coordinates and the temperature in the optical engine cavity, the color coordinate X-axis offset and Y-axis offset are obtained.
3. The method according to claim 2, characterized in that The color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm include: Fix the red and blue gains, and respectively record the first color coordinate when the blue gain is a default value, and the second color coordinate when the blue gain is a default value minus a preset threshold; Based on the first color coordinate and the second color coordinate, a color coordinate X-axis offset and a color coordinate Y-axis offset corresponding to the blue gain change are obtained.
4. The method according to claim 3, characterized in that Also includes: In the pure white picture scene, the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change are obtained by the second preset algorithm.
5. A color cast correction device for a single-chip LCD projector, characterized in that: include: An acquisition module is used to obtain the current temperature in the optical machine cavity; A first calculation module, for calculating a blue gain value based on a difference between the temperature in the optical machine cavity and the initial temperature, an X-axis offset and a Y-axis offset of a color coordinate obtained by a first preset algorithm, and an X-axis offset and a Y-axis offset of a color coordinate corresponding to a blue gain change obtained by a second preset algorithm if the temperature in the optical machine cavity is greater than an initial temperature; The second calculation module is used to calculate the gain values of red and green respectively based on the gain value of blue by the following formula: n*ΔX t +b*ΔX b +r*ΔX r =0 n*ΔY t +b*ΔY b +g*ΔY g =0 Where n is the difference between the temperature in the optomechanical cavity and the initial temperature; ΔX t is the color coordinate X-axis offset; ΔY t is the color coordinate Y axis offset; ΔX b is the color coordinate X-axis offset corresponding to the blue gain change; ΔY b is the Y-axis offset of the color coordinate corresponding to the change of blue gain; ΔX r is the color coordinate X-axis offset corresponding to the red gain change; ΔY g is the color coordinate Y-axis offset corresponding to the green gain change; b is the gain value of blue; r is the gain value of red; g is the gain value of green; The adjustment module is used to dynamically adjust the LCD projector through the gain values of blue, red and green.
6. The device according to claim 5, characterized in that The color coordinate X-axis offset and Y-axis offset obtained by the first preset algorithm include: Based on the first optical-mechanical cavity temperature and the color coordinates of the center point of the first projection screen acquired at the first time point, and the second optical-mechanical cavity temperature and the color coordinates of the center point of the second projection screen acquired at the second time point, calculating the relationship between the color coordinates and the optical-mechanical cavity temperature; Based on the relationship between the color coordinates and the temperature in the optical engine cavity, the color coordinate X-axis offset and Y-axis offset are obtained.
7. The device according to claim 6, characterized in that The color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change obtained by the second preset algorithm include: Fix the red and blue gains, and respectively record the first color coordinate when the blue gain is a default value, and the second color coordinate when the blue gain is a default value minus a preset threshold; Based on the first color coordinate and the second color coordinate, a color coordinate X-axis offset and a color coordinate Y-axis offset corresponding to the blue gain change are obtained.
8. The device according to claim 7, characterized in that Also includes: In the pure white picture scene, the color coordinate X-axis offset and the color coordinate Y-axis offset corresponding to the blue gain change are obtained by the second preset algorithm.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.