Color temperature adjustment method, device, storage medium and electronic device for display device
By using the preset conversion relationship and error range optimization method in the display device, the problem of low color temperature adjustment efficiency is solved, fast and accurate color temperature adjustment is achieved, and the adjustment efficiency and calculation efficiency of the device are improved.
Patent Information
- Application Number
- CN202110556287.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-05-21
AI Technical Summary
The color temperature adjustment efficiency of display devices in the prior art is low and time-consuming. Especially when a large number of devices need to be adjusted, the color temperature adjustment cannot meet the demand for rapid adjustment, resulting in a waste of human resources and an overburdened computer operation.
Convert the coordinates of the target color temperature in the preset color standard to the color coordinate system of the display device through the preset conversion relationship, determine the second coordinate, search for the qualified third coordinate in the traversing area in the coordinate system, and adjust the white point To achieve the target color temperature, the search space is optimized using preset conversion matrices and error bounds to improve efficiency.
It realizes rapid color temperature adjustment of display equipment, shortens the adjustment time, improves the adjustment efficiency of the equipment, and significantly reduces the computing cost and computational burden.
Smart Images

Figure CN113160091B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and in particular to a method, device, storage medium and electronic device for adjusting the color temperature of a display device. Background Art
[0002] Monitors are the product series with the highest color management requirements among display products. This product is used in the field of radio and television broadcasting to create sufficiently realistic and shocking movie and television broadcast images. In color adjustment, white point adjustment (i.e. color temperature adjustment) is an extremely important part. White is measured according to different standards based on different illumination to reflect the human visual system's perception of white under different light. Therefore, the color temperature adjustment of the white point of each display is an extremely important part. In addition, since each display device has different color temperatures due to slight differences in manufacturing materials or manufacturing processes when it is produced in the factory, the color coordinates corresponding to the white point of each display device are different. In order to ensure that the white performance of each product is consistent when it leaves the factory, the color temperature of the display device needs to be adjusted before leaving the factory.
[0003] At present, the color temperature can be adjusted manually by human eyes to determine whether the display device reaches the standard color temperature. However, manual adjustment greatly wastes human resources. When there are too many display devices to be adjusted, manual debugging cannot meet the needs of fast device adjustment. In some cases, computer-assisted automatic adjustment can also be performed, that is, traversing different RGB (red, green, blue) ratios in the color space of the display device, and using an exhaustive method to search for white point coordinates that meet the target color temperature. However, the RGB coordinate range to be searched by the traversal search method is relatively large. Taking a 10-bit image system as an example, a maximum of 2 30 This creates a huge computing burden, places high demands on the computing power of the computer processor, and takes a long time to calculate, which seriously affects the efficiency and cost of the adjustment. Summary of the invention
[0004] The purpose of the embodiments of the present disclosure is to provide a method, device, storage medium and electronic device for adjusting the color temperature of a display device, so as to solve the problems of low adjustment efficiency and long time consumption of display devices in the prior art.
[0005] The embodiment of the present disclosure adopts the following technical solution: a method for adjusting the color temperature of a display device, comprising: determining a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of a target color temperature in a first coordinate system; adjusting the white point of the display device to the second coordinate so that the color temperature of the display device is the target color temperature; wherein the first coordinate system is a coordinate system corresponding to the target color temperature in a preset color standard, and the second coordinate system is a color coordinate system of the display device.
[0006] In some embodiments, after determining the second coordinate, it also includes: determining a traversal area in the second coordinate system based on the second coordinate and the first error range; traversing all coordinate points in the traversal area to determine a third coordinate whose color temperature meets the first preset condition in the traversal area; adjusting the white point of the display device to the third coordinate so that the color temperature of the display device is the target color temperature.
[0007] In some embodiments, the first preset condition includes at least one of the following: the color temperature corresponding to the third coordinate is the same as the target color temperature; the error between the color temperature corresponding to the third coordinate and the target color temperature is less than or equal to a second error range.
[0008] In some embodiments, the preset transformation relationship is determined based on the following steps: determining a first transformation matrix between a first coordinate system and a predetermined linear coordinate system; determining a second transformation matrix between a second coordinate system and a predetermined linear coordinate system; and determining the preset transformation relationship based on the first transformation matrix and the second transformation matrix.
[0009] In some embodiments, determining the preset conversion relationship based on the first conversion matrix and the second conversion matrix includes: determining the preset conversion relationship as the product of the second conversion matrix and the inverse transformation matrix of the first conversion matrix.
[0010] An embodiment of the present disclosure also provides a color temperature adjustment device for a display device, comprising: a determination module, used to determine a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of a target color temperature in a first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the target color temperature in a preset color standard, and the second coordinate system is a color coordinate system of the display device; an adjustment module, used to adjust the white point of the display device to the second coordinate so that the color temperature of the display device is the target color temperature.
[0011] In some embodiments, the determination module is also used to: determine a traversal area in the second coordinate system based on the second coordinate and the first error range; traverse all coordinate points in the traversal area to determine a third coordinate whose color temperature in the traversal area meets the first preset condition; the adjustment module is also used to: adjust the white point of the display device to the third coordinate so that the color temperature of the display device is the target color temperature.
[0012] In some embodiments, the determination module is further used to: determine a first transformation matrix between the first coordinate system and a predetermined linear coordinate system; determine a second transformation matrix between the second coordinate system and a predetermined linear coordinate system; and determine the preset transformation relationship based on the first transformation matrix and the second transformation matrix.
[0013] An embodiment of the present disclosure further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for adjusting the color temperature of a display device are executed.
[0014] An embodiment of the present disclosure further provides an electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method for adjusting the color temperature of the display device when executing the computer program on the memory.
[0015] The beneficial effects of the embodiments of the present disclosure are as follows: based on a preset conversion relationship between a first coordinate system corresponding to the color space of the target color temperature and a second coordinate system corresponding to the color space of the display device currently to be adjusted, the coordinates of a point in the second coordinate system are determined as the second coordinates, so that the second coordinates coincide with the first coordinates after being converted through the preset conversion relationship. At this time, the white point of the display device to be adjusted can be adjusted to the second coordinates, so that the color temperature of the display device to be adjusted is the same as the target color temperature, thereby achieving rapid adjustment of the color temperature of the display device to be adjusted, shortening the adjustment time, and improving the adjustment efficiency of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0017] Figure 1 Schematic diagram of different color spaces;
[0018] Figure 2 This is a flow chart of a method for adjusting the color temperature of a display device in the first embodiment of the present disclosure;
[0019] Figure 3 A flowchart for implementing the determination of the preset conversion relationship in the first embodiment of the present disclosure;
[0020] Figure 4 This is a schematic diagram of the traversal area in the first embodiment of the present disclosure;
[0021] Figure 5 It is a structural schematic diagram of a color temperature adjustment device for a display device in the first embodiment of the present disclosure;
[0022] Figure 6 Schematic diagram of the structure of an electronic device in the fourth embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] Various aspects and features of the present disclosure are described herein with reference to the drawings.
[0024] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present disclosure will occur to those skilled in the art.
[0025] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the general description of the present disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure.
[0026] These and other characteristics of the present disclosure will become apparent from the following description of a preferred form of embodiment given as a non-limiting example, with reference to the attached drawings.
[0027] It should also be understood that, although the present disclosure has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present disclosure that have the features of the claims and are therefore within the scope of protection defined thereby.
[0028] The above and other aspects, features and advantages of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
[0029] Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments claimed are merely examples of the present disclosure, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant details. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present disclosure in a variety of ways with substantially any suitable detailed structure.
[0030] This specification may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present disclosure.
[0031] A color space is uniquely determined by the coordinates of red (R), green (G), blue (B), and white (W), such as Figure 1 As shown, Figure 1 The area enclosed by each triangle represents a different color space (such as NTSC, sRGB, BT2020, etc. as shown in the figure), where the three vertices of the triangle correspond to the red, green, and blue coordinates, respectively, and the central dot corresponds to the white point coordinate, and the white point coordinate corresponds to the color temperature value.
[0032] In order to solve the problem that the color temperature adjustment of the display device in the prior art is time-consuming and inefficient, the first embodiment of the present disclosure provides a color temperature adjustment method for the display device, and the process is as follows: Figure 2 As shown, it mainly includes steps S1 and S2:
[0033] S1, determining a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of a target color temperature in a first coordinate system.
[0034] The target color temperature in this application is a limitation on the color temperature presented by the display device based on the actual use requirements of the device or the requirements of the preset color standards in the industry. The first coordinate system is the coordinate system corresponding to the target color temperature in the preset color standard. When the target color temperature is known, the white point coordinates corresponding to the target color temperature in the first coordinate system are also determined, that is, the first coordinates. The color space of the display device to be adjusted corresponds to the second coordinate system. Due to errors in the production of the display device, the second coordinate system cannot completely overlap with the first coordinate system, and the color temperature (i.e., white point coordinates) currently presented by the display device to be adjusted is also different from the target color temperature.
[0035] The preset conversion relationship in this embodiment refers to the conversion relationship between the first coordinate system and the second coordinate system, that is, the coordinate mapping relationship between the first coordinate system and the second coordinate system determined based on the matching of the color space. The first coordinate in the first coordinate system represents the target color temperature, so there must be a point in the second coordinate system, and the coordinates of the point coincide with the first coordinate after being converted to the first coordinate system through the preset conversion relationship. Then, when the white point of the display device is adjusted to the position of the point, the color temperature calculated based on the coordinates of the point is the target color temperature. Therefore, based on the preset conversion relationship and the known first coordinate, a second coordinate can be determined in the second coordinate system so that it coincides with the first coordinate after being converted to the first coordinate system.
[0036] In some embodiments, a predetermined linear coordinate system may be used as a medium to determine a preset conversion relationship between the first coordinate system and the second coordinate system. Figure 3 An implementation process for determining a preset conversion relationship is shown, which mainly includes the following steps:
[0037] S101, determining a first transformation matrix between a first coordinate system and a predetermined linear coordinate system.
[0038] The predetermined linear coordinate system is a linear color definition space different from the RGB coordinate system. According to the theoretical basis of color science, different color spaces can be converted into a linear color definition space. Specifically, the coordinates of the red point, the blue point, and the green point in the first coordinate system are the coordinates of the three vertices of the corresponding triangle, which are the coordinates of the R point (xR1 ,y R1 ,z R1 )、Point B coordinates (x B1 ,y B1 ,z B1 ) and the coordinates of point G (x G1 ,G,z G1 ), the first coordinate (point W) is (x W1 ,y W1 ,z W1 ), based on the following formula, the first transformation matrix N between the first coordinate system and the predetermined linear coordinate system can be determined:
[0039]
[0040]
[0041]
[0042] Among them, (X R1 , Y R1 , Z R1 ) is the coordinate value of the point R in the first coordinate system in the predetermined linear coordinate system, (X G1 , Y G1 , Z G1 ) is the coordinate value of the coordinate of point G in the first coordinate system in the predetermined linear coordinate system, (X B1 , Y B1 , Z B1 ) is the coordinate value of point B in the first coordinate system in the predetermined linear coordinate system, W XYZ1 It is the coordinate value of the point w in the first coordinate system in the predetermined linear coordinate system.
[0043] S102: Determine a second transformation matrix between the second coordinate system and a predetermined linear coordinate system.
[0044] Similarly, the coordinates of the red point, the blue point and the green point in the second coordinate system are also the coordinates of the three vertices of the corresponding triangles, which can be determined by the screen characteristics of the original display device; then, according to the same principle of determining the first transformation matrix N in step S101, the second transformation matrix M between the second coordinate system and the predetermined linear coordinate system is calculated, and the specific calculation process will not be repeated.
[0045] S103: Determine a preset conversion relationship based on the first conversion matrix and the second conversion matrix.
[0046] The transformation operation performed according to actual needs, that is, the conversion from the second coordinate system to the first coordinate system, is performed in a predetermined linear coordinate system, that is, the following formula needs to be satisfied:
[0047]
[0048] Where, M is the second transformation matrix, N is the first transformation matrix, Represents the coordinates of a point in the second coordinate system, Then it corresponds to the coordinates of the point in the first coordinate system.
[0049] After converting formula (4), we get the following formula:
[0050]
[0051] Based on formula (5), it can be determined that the preset transformation relationship is the product of the second transformation matrix and the inverse transformation matrix of the first transformation matrix. At this time, if the first coordinate in the first coordinate system and the preset transformation relationship are known, the second coordinate can be determined in the second coordinate system to satisfy the second coordinate calculated based on the preset transformation relationship and coincide with the first coordinate.
[0052] S2, adjusting the white point of the display device to a second coordinate so that the color temperature of the display device is the target color temperature.
[0053] After the second coordinate is determined, the coordinate of the white point of the display device to be adjusted can be adjusted to the second coordinate, so that the color temperature of the display device determined based on the white point coordinate can be the same as the target color temperature, thereby achieving rapid adjustment of the color temperature of the display device to be adjusted.
[0054] This embodiment is based on a preset conversion relationship between a first coordinate system corresponding to the color space of the target color temperature and a second coordinate system corresponding to the color space of the display device to be adjusted. The coordinates of a point in the second coordinate system are determined as the second coordinates, so that the second coordinates coincide with the first coordinates after being converted through the preset conversion relationship. At this time, the white point of the display device to be adjusted can be adjusted to the second coordinates, so that the color temperature of the display device to be adjusted is the same as the target color temperature, thereby realizing rapid adjustment of the color temperature of the display device to be adjusted, shortening the adjustment time, and improving the adjustment efficiency of the device.
[0055] Due to differences in display devices, errors in measuring devices, or rounding of decimal values during calculation, when the display device performs actual color temperature adjustment according to the second coordinate, the display effect ultimately achieved cannot meet the target color temperature requirement. Therefore, in some embodiments, a traversal area can be determined in the second coordinate system based on the second coordinate and a pre-set first error range. For example, the first error range can be set to ±30, that is, ±30 based on the current value of each coordinate axis of the second coordinate, forming a traversal area as shown in FIG. Figure 4On this basis, all coordinate points in the traversal area are traversed to determine the third coordinate in the area, so that the color temperature determined based on the third coordinate meets the first preset condition. At this time, the white point of the display device is adjusted to the third coordinate, so that the color temperature of the display device can present the target color temperature.
[0056] Specifically, when the color temperature corresponding to the third coordinate is the same as the target color temperature, it can be determined that the color temperature corresponding to the third coordinate meets the first preset condition, or when the error between the color temperature corresponding to the third coordinate and the target color temperature is less than the second error range, it can also be determined that the color temperature corresponding to the third coordinate meets the first preset condition. The second error range can be set according to the actual adjustment requirements to ensure that even if there is a difference between the color temperature determined based on the third coordinate and the target color temperature, the difference will not affect the human eye observation or the actual use of the display device. In addition, if there are multiple coordinates in the second coordinate system at the same time, and the error between the color temperature corresponding to the target color temperature is less than the second error range, the coordinate with the smallest error can be determined as the third coordinate to minimize the gap between the final adjusted color temperature and the target color temperature.
[0057] When the white point of the display device is at the second coordinate, it means that under ideal conditions the display device directly presents the target color temperature. In actual calculations, the color temperature value at the second coordinate may differ from the target color temperature due to errors. However, the coordinates corresponding to the target color temperature in the actual second coordinate system should also be within a certain range of the second coordinate. Therefore, by determining the traversal area based on the second coordinate and determining the third coordinate within the traversal area, the accuracy of the color temperature adjustment of the display device can be further improved, especially when a large number of display devices need to be adjusted, the display effect can be guaranteed to be uniform to the greatest extent. At the same time, the traversal area determined by the second coordinate can effectively reduce the size of the search space. Under the same 10-bit image system, the original 2-bit search space required can be reduced to 10-bit. 30 Search calculations reduced to 2 18 times, which is only 0.02% of the original number, greatly shortening the traversal time. While improving the accuracy of color temperature adjustment, it also achieves the effect of improving calculation efficiency.
[0058] The second embodiment of the present disclosure provides a color temperature adjustment device for a display device, which can be installed in any display device to be adjusted, or in a computer or processor for color temperature adjustment. Figure 5As shown, it mainly includes a determination module 10 and an adjustment module 20 that are coupled to each other, wherein the determination module 10 is used to determine a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of a target color temperature in a first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the target color temperature in a preset color standard, and the second coordinate system is a color coordinate system of a display device; the adjustment module 20 is used to adjust the white point of the display device to the second coordinate so that the color temperature of the display device is the target color temperature.
[0059] The target color temperature in this application is a limitation on the color temperature presented by the display device based on the actual use requirements of the device or the requirements of the preset color standards in the industry. The first coordinate system is the coordinate system corresponding to the target color temperature in the preset color standard. When the target color temperature is known, the white point coordinates corresponding to the target color temperature in the first coordinate system are also determined, that is, the first coordinates. The color space of the display device to be adjusted corresponds to the second coordinate system. Due to errors in the production of the display device, the second coordinate system cannot completely overlap with the first coordinate system, and the color temperature (i.e., white point coordinates) currently presented by the display device to be adjusted is also different from the target color temperature.
[0060] The preset conversion relationship in this embodiment refers to the conversion relationship between the first coordinate system and the second coordinate system, that is, the coordinate mapping relationship between the first coordinate system and the second coordinate system determined based on the matching of the color space. The first coordinate in the first coordinate system represents the target color temperature, so there must be a point in the second coordinate system, and the coordinates of the point coincide with the first coordinate after being converted to the first coordinate system through the preset conversion relationship. Then, when the white point of the display device is adjusted to the position of the point, the color temperature calculated based on the coordinates of the point is the target color temperature. Therefore, the determination module 10 can determine a second coordinate in the second coordinate system based on the preset conversion relationship and the known first coordinate, so that it coincides with the first coordinate after being converted to the first coordinate system.
[0061] In some embodiments, a preset transformation relationship between the first coordinate system and the second coordinate system can be determined through a predetermined linear coordinate system as a medium. The determination module 10 can determine the first transformation matrix between the first coordinate system and the predetermined linear coordinate system and the second transformation matrix between the second coordinate system and the predetermined linear coordinate system based on the coordinates of the R point, the G point and the B point in the first coordinate system and the second coordinate system, and determine the preset transformation relationship based on the first transformation matrix and the second transformation matrix. Specifically, the preset transformation relationship can be the product of the second transformation matrix and the inverse transformation matrix of the first transformation matrix. It should be understood that the specific calculation process of the first transformation matrix, the second transformation matrix and the preset transformation relationship has been described in detail in the first embodiment, and will not be repeated in this embodiment.
[0062] After the second coordinate is determined, the adjustment module 20 can adjust the coordinates of the white point of the display device to be adjusted to the second coordinate, so that the color temperature of the display device determined based on the white point coordinates can be the same as the target color temperature, thereby achieving rapid adjustment of the color temperature of the display device to be adjusted.
[0063] Furthermore, due to differences in display devices, errors in measuring devices, or rounding of decimal values during calculation, when the display device performs actual color temperature adjustment according to the second coordinate, the display effect ultimately achieved cannot meet the requirements of the target color temperature. Therefore, in some embodiments, the determination module 10 can determine a traversal area in the second coordinate system based on the second coordinate and a pre-set first error range, and on this basis, traverse all coordinate points in the traversal area to determine a third coordinate in the area, so that the color temperature determined based on the third coordinate meets the first preset condition. At this time, the white point of the display device is adjusted to the third coordinate by the adjustment module 20, so that the color temperature of the display device can present the target color temperature.
[0064] Specifically, when the color temperature corresponding to the third coordinate is the same as the target color temperature, it can be determined that the color temperature corresponding to the third coordinate meets the first preset condition, or when the error between the color temperature corresponding to the third coordinate and the target color temperature is less than the second error range, it can also be determined that the color temperature corresponding to the third coordinate meets the first preset condition. The second error range can be set according to the actual adjustment requirements to ensure that even if there is a difference between the color temperature determined based on the third coordinate and the target color temperature, the difference will not affect the human eye observation or the actual use of the display device. In addition, if there are multiple coordinates in the second coordinate system at the same time, and the error between the color temperature corresponding to the target color temperature is less than the second error range, the coordinate with the smallest error can be determined as the third coordinate to minimize the gap between the final adjusted color temperature and the target color temperature.
[0065] When the white point of the display device is at the second coordinate, it means that the display device directly presents the target color temperature under ideal conditions. In actual calculations, the color temperature value at the second coordinate may differ from the target color temperature due to errors, but the coordinates corresponding to the target color temperature in the actual second coordinate system should also be within a certain range of the second coordinate. Therefore, by determining the traversal area based on the second coordinate and determining the third coordinate within the traversal area, the accuracy of the color temperature adjustment of the display device can be further improved, especially when a large number of display devices need to be adjusted, the display effect can be guaranteed to the greatest extent. At the same time, the traversal area determined by the second coordinate can effectively reduce the size of the search space, greatly shorten the traversal time, and improve the accuracy of color temperature adjustment while achieving the effect of improving calculation efficiency.
[0066] A third embodiment of the present disclosure provides a storage medium, which can be installed in any display device to be adjusted, or in a computer or processor for adjusting color temperature, and is specifically a computer-readable medium, storing a computer program, and when the computer program is executed by the processor, the method provided by any embodiment of the present disclosure is implemented, including the following steps S31 and S32:
[0067] S31, determining a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of a target color temperature in the first coordinate system;
[0068] S32, adjusting the white point of the display device to a second coordinate so that the color temperature of the display device is the target color temperature, wherein the first coordinate system is a coordinate system corresponding to the target color temperature in a preset color standard, and the second coordinate system is a color coordinate system of the display device.
[0069] After the computer program is executed by the processor to determine the second coordinate, the processor also executes the following steps: based on the second coordinate and the first error range, a traversal area is determined in the second coordinate system; all coordinate points in the traversal area are traversed to determine a third coordinate whose color temperature meets the first preset condition; and the white point of the display device is adjusted to the third coordinate so that the color temperature of the display device is the target color temperature.
[0070] Specifically, the first preset condition includes at least one of the following: the color temperature corresponding to the third coordinate is the same as the target color temperature; the error between the color temperature corresponding to the third coordinate and the target color temperature is less than or equal to the second error range.
[0071] The computer program is also executed by the processor to perform the following steps: determine a first conversion matrix between the first coordinate system and the predetermined linear coordinate system; determine a second conversion matrix between the second coordinate system and the predetermined linear coordinate system; and determine a preset conversion relationship based on the first conversion matrix and the second conversion matrix.
[0072] When the computer program is executed by the processor to determine the preset conversion relationship based on the first conversion matrix and the second conversion matrix, the processor specifically executes the following steps: determining the preset conversion relationship as the product of the second conversion matrix and the inverse transformation matrix of the first conversion matrix.
[0073] This embodiment is based on a preset conversion relationship between a first coordinate system corresponding to the color space of the target color temperature and a second coordinate system corresponding to the color space of the display device to be adjusted. The coordinates of a point in the second coordinate system are determined as the second coordinates, so that the second coordinates coincide with the first coordinates after being converted through the preset conversion relationship. At this time, the white point of the display device to be adjusted can be adjusted to the second coordinates, so that the color temperature of the display device to be adjusted is the same as the target color temperature, thereby realizing rapid adjustment of the color temperature of the display device to be adjusted, shortening the adjustment time, and improving the adjustment efficiency of the device.
[0074] The fourth embodiment of the present disclosure provides an electronic device, which may be any display device to be adjusted, or a computer or processor for adjusting the color temperature of other display devices, and its structural schematic diagram is shown in FIG. Figure 6 As shown, at least a memory 100 and a processor 200 are included. A computer program is stored in the memory 100. The processor 200 implements the method provided by any embodiment of the present disclosure when executing the computer program in the memory 100. Exemplarily, the steps of the electronic device computer program are as follows S41 and S42:
[0075] S41, determining a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of a target color temperature in the first coordinate system;
[0076] S42, adjusting the white point of the display device to the second coordinate so that the color temperature of the display device is the target color temperature, wherein the first coordinate system is the coordinate system corresponding to the target color temperature in the preset color standard, and the second coordinate system is the color coordinate system of the display device;.
[0077] After executing the determination of the second coordinate stored in the memory, the processor also executes the following computer program: based on the second coordinate and the first error range, a traversal area is determined in the second coordinate system; all coordinate points in the traversal area are traversed to determine a third coordinate whose color temperature meets the first preset condition; and the white point of the display device is adjusted to the third coordinate so that the color temperature of the display device is the target color temperature.
[0078] Specifically, the first preset condition includes at least one of the following: the color temperature corresponding to the third coordinate is the same as the target color temperature; the error between the color temperature corresponding to the third coordinate and the target color temperature is less than or equal to the second error range.
[0079] The processor also executes the following computer program stored in the memory: determining a first conversion matrix between the first coordinate system and the predetermined linear coordinate system; determining a second conversion matrix between the second coordinate system and the predetermined linear coordinate system; and determining a preset conversion relationship based on the first conversion matrix and the second conversion matrix.
[0080] When the processor determines the preset conversion relationship based on the first conversion matrix and the second conversion matrix stored in the execution memory, it specifically executes the following computer program: determining the preset conversion relationship as the product between the second conversion matrix and the inverse transformation matrix of the first conversion matrix.
[0081] This embodiment is based on a preset conversion relationship between a first coordinate system corresponding to the color space of the target color temperature and a second coordinate system corresponding to the color space of the display device to be adjusted. The coordinates of a point in the second coordinate system are determined as the second coordinates, so that the second coordinates coincide with the first coordinates after being converted through the preset conversion relationship. At this time, the white point of the display device to be adjusted can be adjusted to the second coordinates, so that the color temperature of the display device to be adjusted is the same as the target color temperature, thereby realizing rapid adjustment of the color temperature of the display device to be adjusted, shortening the adjustment time, and improving the adjustment efficiency of the device.
[0082] Multiple embodiments of the present disclosure are described in detail above, but the present disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concepts of the present disclosure, and these variations and modifications should all fall within the scope of protection required by the present disclosure.
Claims
1. A method for adjusting the color temperature of a display device, characterized in that: include: Determine a second coordinate in the second coordinate system according to a preset conversion relationship and a first coordinate of the target color temperature in the first coordinate system; Adjusting the white point of the display device to the second coordinate so that the color temperature of the display device is the target color temperature; The first coordinate system is the coordinate system corresponding to the target color temperature in the preset color standard, and the second coordinate system is the color coordinate system of the display device; The preset conversion relationship is determined based on the following steps: determining a first transformation matrix between the first coordinate system and the predetermined linear coordinate system; determining a second transformation matrix between the second coordinate system and the predetermined linear coordinate system; The preset conversion relationship is determined based on the first conversion matrix and the second conversion matrix.
2. The color temperature adjustment method according to claim 1, characterized in that: After determining the second coordinate, the method further includes: Based on the second coordinates and the first error range, determining a traversal area in the second coordinate system; Traversing all coordinate points in the traversal area, and determining a third coordinate whose color temperature in the traversal area meets a first preset condition; The white point of the display device is adjusted to the third coordinate so that the color temperature of the display device is the target color temperature.
3. The color temperature adjustment method according to claim 2, characterized in that: The first preset condition includes at least one of the following: The color temperature corresponding to the third coordinate is the same as the target color temperature; An error between the color temperature corresponding to the third coordinate and the target color temperature is less than or equal to a second error range.
4. The color temperature adjustment method according to claim 1, characterized in that: The determining the preset conversion relationship based on the first conversion matrix and the second conversion matrix includes: The preset conversion relationship is determined as the product of the second conversion matrix and the inverse transformation matrix of the first conversion matrix.
5. A color temperature adjustment device for a display device, characterized in that: include: A determination module, configured to determine a second coordinate in a second coordinate system according to a preset conversion relationship and a first coordinate of the target color temperature in the first coordinate system, wherein the first coordinate system is a coordinate system corresponding to the target color temperature in a preset color standard, and the second coordinate system is a color coordinate system of a display device; An adjustment module, used for adjusting the white point of the display device to the second coordinate so that the color temperature of the display device is the target color temperature; The determining module is further used for: determining a first transformation matrix between the first coordinate system and the predetermined linear coordinate system; determining a second transformation matrix between the second coordinate system and the predetermined linear coordinate system; The preset conversion relationship is determined based on the first conversion matrix and the second conversion matrix.
6. The color temperature adjustment device according to claim 5, characterized in that: The determination module is further used to: determine a traversal area in the second coordinate system based on the second coordinate and the first error range; traverse all coordinate points in the traversal area to determine a third coordinate in the traversal area whose color temperature meets the first preset condition; The adjustment module is further used to adjust the white point of the display device to the third coordinate so that the color temperature of the display device is the target color temperature.
7. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for adjusting the color temperature of a display device according to any one of claims 1 to 4 are implemented.
8. An electronic device comprising at least a memory and a processor, wherein a computer program is stored in the memory, wherein: The processor implements the steps of the color temperature adjustment method of the display device according to any one of claims 1 to 4 when executing the computer program on the memory.
Citation Information
Patent Citations
Gamut conversion method and device
CN107222733A
White balance calibration method, device and system
CN107659811A
Color space adjusting method, device and system of display panel
CN111179801A
Liquid crystal display colour-temp. automatic regulation systemand method
CN1710638A
White balance adjustment circuit, its adjustment method and camera apparatus
JP2007082174A
