CN114217757A - Color temperature adjustment method, terminal device and computer-readable storage medium - Google Patents

Color temperature adjustment method, terminal device and computer-readable storage medium Download PDF

Info

Publication number
CN114217757A
CN114217757A CN202111437374.6A CN202111437374A CN114217757A CN 114217757 A CN114217757 A CN 114217757A CN 202111437374 A CN202111437374 A CN 202111437374A CN 114217757 A CN114217757 A CN 114217757A
Authority
CN
China
Prior art keywords
value
channel
display
color coordinate
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111437374.6A
Other languages
Chinese (zh)
Inventor
邝彬强
曾丽娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Chuntex Elite Electronic Technology Co Ltd
Original Assignee
Guangdong Chuntex Elite Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Chuntex Elite Electronic Technology Co Ltd filed Critical Guangdong Chuntex Elite Electronic Technology Co Ltd
Priority to CN202111437374.6A priority Critical patent/CN114217757A/en
Publication of CN114217757A publication Critical patent/CN114217757A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Of Color Television Signals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application is applicable to the technical field of displays, and provides a color temperature adjusting method, terminal equipment and a computer-readable storage medium, wherein the color temperature adjusting method comprises the following steps: acquiring initial data of a display to be detected, wherein the initial data comprises initial brightness and initial color coordinates; if the initial brightness is not within a preset brightness range, adjusting the RGB value of the display to the maximum value within a target range, wherein the target range is the value range of the RGB value in the display; acquiring first brightness of the display, wherein the first brightness is corresponding brightness when the RGB value of the display is the maximum value; and if the first brightness is within the preset brightness range, adjusting the color temperature of the display to a target color temperature according to a first color coordinate, wherein the first color coordinate is a corresponding color coordinate when the RGB value of the display is the maximum value. By the method, the adjustment efficiency of the color temperature of the display can be improved.

Description

Color temperature adjustment method, terminal device and computer-readable storage medium
Technical Field
The application belongs to the technical field of displays, and particularly relates to a color temperature adjusting method, a terminal device and a computer readable storage medium.
Background
Color temperature is an important indicator of a display. Due to the physical differences, the color temperature may be different for different displays. When the display is shipped from factory, the color temperature of the display needs to be adjusted to reach a standard value.
In the prior art, the color temperature of the display is usually detected by an instrument, and then the RGB values of the display are manually adjusted by a technician, so that the color temperature of the display tends to a standard value. However, a certain deviation still exists between the color temperature adjusted by the method and the standard numerical value, the adjustment effect is poor, the color temperature difference between different displays leaving the factory is obvious, and the adjustment efficiency is low.
Disclosure of Invention
The embodiment of the application provides a color temperature adjusting method, terminal equipment and a computer readable storage medium, which can improve the adjusting efficiency of the color temperature of a display.
In a first aspect, an embodiment of the present application provides a color temperature adjustment method, including:
acquiring initial data of a display to be detected, wherein the initial data comprises initial brightness and initial color coordinates;
if the initial brightness is not within a preset brightness range, adjusting the RGB value of the display to the maximum value within a target range, wherein the target range is the value range of the RGB value in the display;
acquiring first brightness of the display, wherein the first brightness is corresponding brightness when the RGB value of the display is the maximum value;
and if the first brightness is within the preset brightness range, adjusting the color temperature of the display to a target color temperature according to a first color coordinate, wherein the first color coordinate is a corresponding color coordinate when the RGB value of the display is the maximum value.
In the embodiment of the application, when the initial brightness of the display is not within the preset brightness range, the RGB value of the display is first adjusted to the maximum value within the target range, so that the brightness of the display is maximized, and then the RGB value is gradually adjusted to adjust the color temperature of the display. Because the brightness is an important index for the factory inspection of the display, if the brightness is unqualified, the display is unqualified. By the method, the color temperature of the display is adjusted on the premise of ensuring the qualified brightness of the display, so that an invalid adjusting process can be avoided, the adjusting time is saved, and the color temperature adjusting efficiency is effectively improved.
In a possible implementation manner of the first aspect, if the first luminance is within the preset luminance range, adjusting the color temperature of the display to a target color temperature according to a first color coordinate includes:
if the first brightness is within the preset brightness range, acquiring a target color coordinate corresponding to the target color temperature;
adjusting the numerical value of a B channel and the numerical value of a G channel of the display according to the first color coordinate until a second color coordinate is obtained, wherein the longitudinal coordinate value in the second color coordinate is equal to the longitudinal coordinate value in the target color coordinate;
and adjusting the numerical value of the R channel and the numerical value of the G channel of the display according to the second color coordinate until the target color coordinate is obtained.
In a possible implementation manner of the first aspect, the adjusting the values of the B channel and the G channel of the display according to the first color coordinate until obtaining a second color coordinate includes:
calculating a vertical coordinate difference value between a vertical coordinate value in the first color coordinate and a vertical coordinate value in the target color coordinate;
acquiring a first adjustment quantity of a channel B of the display corresponding to the longitudinal coordinate difference value;
if the difference value between the first channel numerical value and the first boundary value is greater than or equal to the first adjustment amount, adjusting the numerical value of the B channel of the display according to the first adjustment amount to obtain a third color coordinate corresponding to the RGB value of the display after adjustment, wherein the first channel numerical value is the numerical value of the B channel of the display before adjustment, and the first boundary value is the boundary value of the B channel of the display;
if the longitudinal coordinate value in the third color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the B channel and the numerical value of the G channel of the display according to the third color coordinate until the second color coordinate is obtained;
and if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment amount, adjusting the numerical value of the G channel according to the first color coordinate until the second color coordinate is obtained.
In a possible implementation manner of the first aspect, if the difference between the first channel value and the first boundary value is smaller than the first adjustment amount, adjusting the value of the G channel according to the first color coordinate until the second color coordinate is obtained includes:
if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment quantity, acquiring a second adjustment quantity of a G channel of the display corresponding to the vertical coordinate difference value;
if the difference value between the second channel numerical value and the second boundary value is greater than or equal to the second adjustment amount, adjusting the numerical value of the G channel of the display according to the second adjustment amount to obtain a fourth color coordinate corresponding to the RGB value of the display after adjustment, wherein the second channel numerical value is the numerical value of the G channel of the display before adjustment, and the second boundary value is the boundary value of the G channel of the display;
and if the longitudinal coordinate value in the fourth color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the G channel of the display according to the fourth color coordinate until the second color coordinate is obtained.
In a possible implementation manner of the first aspect, the adjusting the value of the R channel and the value of the G channel of the display according to the second color coordinate until the target color coordinate is obtained includes:
calculating an abscissa difference value between an abscissa value in the second color coordinate and an abscissa value in the target color coordinate;
acquiring a third adjustment quantity of an R channel of the display corresponding to the horizontal coordinate difference value;
if the difference value between the third channel numerical value and the third boundary value is greater than or equal to the third adjustment amount, adjusting the numerical value of the R channel of the display according to the third adjustment amount to obtain a fifth color coordinate corresponding to the RGB value of the display after adjustment, wherein the third channel numerical value is the numerical value of the R channel of the display before adjustment, and the third boundary value is the boundary value of the R channel of the display;
if the abscissa value in the fifth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the numerical value of the R channel and the numerical value of the G channel of the display according to the fifth color coordinate until the target color coordinate is obtained;
and if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, adjusting the numerical value of the G channel according to the fifth color coordinate until the target color coordinate is obtained.
In a possible implementation manner of the first aspect, if the difference between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, adjusting the numerical value of the G channel according to the fifth color coordinate until the target color coordinate is obtained includes:
if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, acquiring a fourth adjustment amount of a G channel of the display corresponding to the horizontal coordinate difference value;
if the difference value between the fourth channel numerical value and the fourth boundary value is greater than or equal to the fourth adjustment amount, adjusting the numerical value of the G channel of the display according to the fourth adjustment amount to obtain a sixth color coordinate corresponding to the RGB value of the display after adjustment, wherein the fourth channel numerical value is the numerical value of the G channel of the display before adjustment, and the fourth boundary value is the boundary value of the G channel of the display;
and if the abscissa value in the sixth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the value of the G channel of the display according to the sixth color coordinate until the target color coordinate is obtained.
In a possible implementation manner of the first aspect, after adjusting the value of the R channel and the value of the G channel of the display according to the second color coordinate until the target color coordinate is obtained, the method further includes:
acquiring second brightness of the display when the color coordinate of the display is the target color coordinate;
and if the second brightness is not in the preset brightness range, judging that the display is unqualified.
In one possible implementation manner of the first aspect, after acquiring the initial color temperature data of the display to be detected, the method further includes:
and if the initial brightness is within a preset brightness range, adjusting the color temperature of the display to a target color temperature according to the initial color coordinate.
In one possible implementation manner of the first aspect, after obtaining the first brightness of the display, the method further includes:
and if the first brightness is not in the preset brightness range, judging that the display is unqualified.
In a second aspect, an embodiment of the present application provides a color temperature adjustment apparatus, including:
the data acquisition unit is used for acquiring initial data of the display to be detected, and the initial data comprises initial brightness and initial color coordinates;
the brightness adjusting unit is used for adjusting the RGB value of the display to the maximum value in a target range if the initial brightness is not in a preset brightness range, wherein the target range is the value range of the RGB value in the display;
the brightness acquisition unit is used for acquiring first brightness of the display, and the first brightness is corresponding brightness when the RGB value of the display is the maximum value;
and the first adjusting unit is configured to adjust the color temperature of the display to a target color temperature according to a first color coordinate if the first brightness is within the preset brightness range, where the first color coordinate is a color coordinate corresponding to the maximum RGB value of the display.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the color temperature adjustment method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, and the embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement the color temperature adjustment method according to any one of the first aspects.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the color temperature adjustment method according to any one of the first aspect.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a color temperature adjustment method provided in an embodiment of the present application;
FIG. 2 is a flow chart of color temperature adjustment of a display according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a color temperature adjustment apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise.
Referring to fig. 1, which is a schematic flow chart of a color temperature adjustment method provided in an embodiment of the present application, by way of example and not limitation, the method may include the following steps:
s101, acquiring initial data of a display to be detected, wherein the initial data comprises initial brightness and initial color coordinates.
In practical application, the brightness and color coordinates of the display to be detected can be read by the color analyzer.
It should be noted that, in the following steps, the brightness and the color coordinate of the display are changed accordingly every time the RGB values of the display are adjusted, and the brightness and the color coordinate of the display can be monitored by the color analyzer, which is not described in detail in the following description.
S102, if the initial brightness is not in the preset brightness range, adjusting the RGB value of the display to the maximum value in the target range.
Wherein, the target range is the value range of the RGB value in the display. The RGB values include values of three color channels of red, green, and blue, and generally, the value ranges of the three color channels are the same. In the embodiment of the present application, adjusting the RGB values of the display to the maximum values means adjusting the values of the three color channels to the maximum values, respectively. For example, if the RGB values in the display range from 0 to 255, the maximum value in the target range is 255, and the RGB values of the display are adjusted to the maximum value (255 ).
In one embodiment, if the initial brightness is within a preset brightness range, the color temperature of the display is adjusted to the target color temperature according to the initial color coordinate. The process of adjusting the color temperature of the display to the target color temperature according to the initial color coordinate is the same as the process of adjusting the color temperature of the display to the target color temperature according to the first color coordinate in S104, and specific reference may be made to the description in the embodiment corresponding to S104, which is not repeated herein.
S103, acquiring first brightness of the display, wherein the first brightness is corresponding brightness when the RGB value of the display is the maximum value.
As described in S101, when the RGB values of the display change, the color coordinates and brightness of the display change accordingly. When the RGB values of the display are adjusted to the maximum value, the brightness of the display is recorded as the first brightness, and the color coordinates of the display are recorded as the first color coordinates.
And S104, if the first brightness is within the preset brightness range, adjusting the color temperature of the display to the target color temperature according to the first color coordinate.
The color temperature value of the display corresponds to the color coordinate, and the color coordinate of the display is adjusted, so that the color temperature of the display is changed.
And if the first brightness is not in the preset brightness range, judging that the display is unqualified.
In the art, if the brightness of the display is not satisfactory, the display is not qualified and needs to be reassembled. In the embodiment of the application, when the initial brightness of the display is not within the preset brightness range, the RGB value of the display is first adjusted to the maximum value within the target range, so that the brightness of the display is maximized, and then the RGB value is gradually adjusted to adjust the color temperature of the display. Because the brightness is an important index for the factory inspection of the display, if the brightness is unqualified, the display is unqualified. By the method, the color temperature of the display is adjusted on the premise of ensuring the qualified brightness of the display, so that an invalid adjusting process can be avoided, the adjusting time is saved, and the color temperature adjusting efficiency is effectively improved.
In one embodiment, S104 may include the steps of:
and S1041, if the first brightness is within the preset brightness range, acquiring a target color coordinate corresponding to the target color temperature.
It should be noted that a set of color coordinates corresponds to a color temperature value, but a color temperature value may correspond to multiple sets of color coordinates. In the embodiment of the application, color coordinates corresponding to different color temperature values can be preset. When the color temperature of the display needs to be adjusted to the target color temperature, the preset color coordinate corresponding to the target color temperature is recorded as the target color coordinate. For example, to adjust the color temperature to 6500K, which corresponds to the target color coordinate of (0.313,0.329), the RGB values in the display are adjusted, i.e., the ratio of the three color channels is adjusted, so that the color coordinate of the display is adjusted to (0.313, 0.329).
And S1042, adjusting the numerical value of the B channel and the numerical value of the G channel of the display according to the first color coordinate until a second color coordinate is obtained, wherein the longitudinal coordinate value in the second color coordinate is equal to the longitudinal coordinate value in the target color coordinate.
In this step, the ordinate in the color coordinate is adjusted by adjusting the values of the B channel and the G channel.
And S1043, adjusting the numerical value of the R channel and the numerical value of the G channel of the display according to the second color coordinate until the target color coordinate is obtained.
Generally, the change of the value of the B channel mainly changes the ordinate value of the color coordinate, and the larger the value of the B channel is, the smaller the ordinate value of the color coordinate is; but the change in the value of the B channel has a small influence on the abscissa value of the color coordinate. The change of the numerical value of the R channel mainly changes the abscissa value of the color coordinate, and the larger the numerical value of the R channel is, the larger the abscissa value of the color coordinate is; but the change in the value of the R channel has less influence on the ordinate of the color coordinate. The change of the value of the G channel has influence on both horizontal and vertical coordinates of the color coordinate, but has larger influence on the vertical coordinate value; and the larger the value of the G channel is, the larger the abscissa value is, and the smaller the ordinate value is.
In the method, the longitudinal coordinate value of the color coordinate is adjusted through the step of S1042 to reach the longitudinal coordinate value in the target color coordinate; in step S1043, the abscissa value of the color coordinate is adjusted to reach the abscissa value in the target color coordinate, and thus the display color coordinate reaches the target color coordinate. By the method, the color coordinates are orderly adjusted according to the sequence of the ordinate firstly and then the abscissa secondly; compared with the disordered adjusting method in the prior art, the method can avoid ineffective adjustment and has higher adjusting efficiency.
Optionally, the numerical value of the R channel and the numerical value of the G channel of the display may be adjusted according to the first color coordinate, so that the abscissa of the color coordinate of the display reaches the abscissa of the target color coordinate, and a seventh color coordinate is obtained; and adjusting the numerical value of the B channel and the numerical value of the G channel of the display according to the seventh color coordinate until the target color coordinate is obtained.
In the above-described method, it is equivalent to adjust the abscissa of the color coordinate first and then adjust the ordinate. Practice shows that the mode of firstly adjusting the ordinate of the color coordinate and then adjusting the abscissa is higher in adjustment efficiency than the mode of firstly adjusting the abscissa of the color coordinate and then adjusting the ordinate.
In one embodiment, after the step of S1043, the method further comprises:
acquiring second brightness of the display when the color coordinate of the display is the target color coordinate; and if the second brightness is not in the preset brightness range, judging that the display is unqualified.
It should be noted that the change in the value of the G channel has a large effect on the display brightness. In the process of adjusting the color temperature, the value of G-pass may be changed, and thus the brightness of the display may be changed. And the brightness of the display is an important evaluation index for the quality of the display. Therefore, in order to further verify the quality of the display, after adjusting the color temperature of the display, the brightness of the display needs to be re-evaluated to ensure that the quality of the display meets the standard.
In one embodiment, S1042 may include:
and 2-1, calculating a vertical coordinate difference value between the vertical coordinate value in the first color coordinate and the vertical coordinate value in the target color coordinate.
And 2-2, acquiring a first adjustment quantity of the B channel of the display corresponding to the vertical coordinate difference value.
In the embodiment of the present application, the adjustment amount of each color channel and the difference interval corresponding to each adjustment amount may be preset. For example: when the difference value of the longitudinal coordinates is more than 0.01 and less than 0.015, the adjustment amount of the B channel is 5; when the difference value of the longitudinal coordinates is more than 0.005 and less than 0.01, the adjustment amount of the channel B is 3; when the difference in the vertical coordinates is less than 0.005, the adjustment amount of the B channel is 1. It should be noted that the definitions of the difference intervals of different color channels may be different, and the adjustment amount corresponding to each difference interval may also be different, and may be preset according to actual needs, and is not specifically limited herein.
And 2-3, if the difference value between the first channel numerical value and the first boundary value is greater than or equal to the first adjustment amount, adjusting the numerical value of the B channel of the display according to the first adjustment amount to obtain a third color coordinate corresponding to the RGB value of the adjusted display.
The first channel value is a value of a B channel of the display before adjustment, and the first boundary value is a boundary value of the B channel of the display.
As described in the embodiment of S102, the values of the three RGB color channels are within the target range. It should be noted that, in the embodiment of the present application, when the value of the B channel needs to be increased, the first boundary value represents the maximum value in the target range; when the value of the B channel needs to be reduced, the first boundary value represents the minimum value in the target range. In other words, it is necessary to ensure that the adjusted value of B-pass is still within the target range.
And 2-4, if the longitudinal coordinate value in the third color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the B channel and the numerical value of the G channel of the display according to the third color coordinate until the second color coordinate is obtained.
And 2-5, if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment amount, adjusting the numerical value of the G channel according to the first color coordinate until a second color coordinate is obtained.
Further, the steps 2-5 can further include:
2-5-1, if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment quantity, acquiring a second adjustment quantity of the G channel of the display corresponding to the vertical coordinate difference value.
The manner of obtaining the second adjustment amount is the same as the manner of obtaining the first adjustment amount, and reference may be specifically made to the description in fig. 2-2, which is not described herein again.
2-5-2, if the difference value between the second channel numerical value and the second boundary value is greater than or equal to the second adjustment quantity, adjusting the numerical value of the G channel of the display according to the second adjustment quantity, and obtaining a fourth color coordinate corresponding to the RGB value of the adjusted display.
And the second channel value is the value of the G channel of the display before adjustment, and the second boundary value is the boundary value of the G channel of the display.
As described in the embodiment of S102, the values of the three RGB color channels are within the target range. It should be noted that, in the embodiment of the present application, when the value of the G channel needs to be increased, the second boundary value represents a maximum value in the target range; when the value of the G channel needs to be reduced, the second boundary value represents a minimum value within the target range. In other words, it is necessary to ensure that the adjusted value of G-pass is still within the target range.
2-5-3, if the longitudinal coordinate value in the fourth color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the G channel of the display according to the fourth color coordinate until the second color coordinate is obtained.
It should be noted that, in practical applications, the following situations may exist: no matter how the values of the B channel and the G channel are adjusted, the ordinate of the color coordinate of the display cannot be made to reach the ordinate of the target color coordinate. In this case, the display is determined to be a defective product.
In one embodiment, S1043 may include:
and 3-1, calculating an abscissa difference value between the abscissa value in the second color coordinate and the abscissa value in the target color coordinate.
And 3-2, acquiring a third adjustment quantity of the R channel of the display corresponding to the horizontal coordinate difference value.
The manner of obtaining the third adjustment amount is the same as the manner of obtaining the first adjustment amount, and reference may be specifically made to the description in fig. 2-2, which is not described herein again.
And 3-3, if the difference value between the third channel numerical value and the third boundary value is greater than or equal to the third adjustment amount, adjusting the numerical value of the R channel of the display according to the third adjustment amount to obtain a fifth color coordinate corresponding to the RGB value of the adjusted display.
And the third channel numerical value is the numerical value of the R channel of the display before adjustment, and the third boundary value is the boundary value of the R channel of the display.
As described in the embodiment of S102, the values of the three RGB color channels are within the target range. It should be noted that, in the embodiment of the present application, when the value of the R channel needs to be increased, the second boundary value represents a maximum value in the target range; when the value of the R channel needs to be reduced, the second boundary value represents a minimum value within the target range. In other words, it is necessary to ensure that the adjusted value of G-pass is still within the target range.
And 3-4, if the abscissa value in the fifth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the numerical value of the R channel and the numerical value of the G channel of the display according to the fifth color coordinate until the target color coordinate is obtained.
And 3-5, if the difference value between the numerical value of the third channel and the third boundary value is smaller than the third adjustment amount, adjusting the numerical value of the G channel according to the fifth color coordinate until the target color coordinate is obtained.
Further, the steps 3-5 may further include:
3-5-1, if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment quantity, obtaining a fourth adjustment quantity of the G channel of the display corresponding to the horizontal coordinate difference value.
3-5-2, if the difference value between the fourth channel numerical value and the fourth boundary value is greater than or equal to the fourth adjustment quantity, adjusting the numerical value of the G channel of the display according to the fourth adjustment quantity, and obtaining a sixth color coordinate corresponding to the RGB value of the adjusted display.
The fourth channel value is the value of the G channel of the display before adjustment, and the fourth boundary value is the boundary value of the G channel of the display.
3-5-3, if the abscissa value in the sixth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the numerical value of the G channel of the display according to the sixth color coordinate until the target color coordinate is obtained.
It should be noted that, in practical applications, the following situations may exist: no matter how the values of the R channel and the G channel are adjusted, the abscissa of the color coordinate of the display cannot be made to reach the abscissa value of the target color coordinate. In this case, the display is determined to be a defective product.
The above steps 3-1 to 3-5 are similar to the steps 2-1 to 2-5, and specific reference may be made to the description of the steps 2-1 to 2-5, which is not repeated herein.
The adjustment process of the color coordinates is described as an example. Assume that the initial color coordinates are (0.285,0.319), the initial luminance is 250, the target color coordinates are (0.313,0.329), and the target luminance is 300. Because the luminance is out of specification, RGB is set to the maximum value (128,128,128). And determining whether the hardware state of the current display meets the brightness specification. If not, the display needs to be renovated; if the color temperature is consistent with the color temperature, the color temperature is adjusted according to the latest color coordinate.
Assuming that the color coordinates (0.316,0.315) and the brightness 320 correspond to the maximum value of RGB, the value of the B channel is adjusted. From the data view, if the difference between the ordinate of the current color coordinate and the target color coordinate is 0.014, the difference is large, and the corresponding adjustment amount is 5, the value of the B channel is subtracted by 5 (since the value of the B channel has an inverse effect on the ordinate, subtraction is required).
Re-measured color coordinates (0.315,0.320), brightness 317. The value of the B channel continues to be adjusted. Looking at the data, if the difference between the ordinate of the current color coordinate and the ordinate of the target color coordinate is 0.009 and the corresponding adjustment amount is 3, then 3 is subtracted from the value of the B channel.
Re-measured color coordinates (0.315,0.323), brightness 317. The value of the B channel continues to be adjusted. Looking up from the data, if the difference value between the vertical coordinates of the current color coordinate and the target color coordinate is 0.006 and the corresponding adjustment amount is 3, 3 is subtracted from the value of the B channel.
Re-measured color coordinates (0.315,0.324), brightness 316. The value of the B channel continues to be adjusted. Looking up from the data, if the difference value between the vertical coordinates of the current color coordinate and the target color coordinate is 0.005 and the corresponding adjustment amount is 3, the value of the B channel is subtracted by 3.
Re-measured color coordinates (0.316,0.327), brightness 316. The value of the B channel continues to be adjusted. Looking up from the data, if the difference value between the vertical coordinates of the current color coordinate and the target color coordinate is 0.002 and the corresponding adjustment amount is 1, the value of the B channel is subtracted by 1.
Re-measured color coordinates (0.316,0.329), brightness 315. If the ordinate value in the color coordinate at this time is identical to the ordinate value in the target color coordinate, the abscissa value is continuously adjusted. Looking up from the data, if the difference value of the horizontal coordinates of the current color coordinate and the target color coordinate is 0.003 and the corresponding adjustment amount is 1, 1 is subtracted from the value of the R channel.
Re-measured color coordinates (0.313,0.329), brightness 315. The color coordinates at this time coincide with the target color coordinates. And comparing the brightness again, wherein the brightness at the moment is 315, the target brightness 300 can be achieved, and the adjustment is finished if the brightness meets the requirement.
In the above example, only a case is shown in which the color coordinates of the display can be brought to the target color coordinates by adjusting the numerical values of the R channel and the B channel. For the scheme that needs to adjust the value of the G channel, no example is given here.
Referring to fig. 2, a flowchart of adjusting color temperature of a display provided in an embodiment of the present application is shown. As shown in fig. 2, the method in the embodiment of the present application may be executed by a PC upper computer. The PC upper computer is connected with the display and the color analyzer through the jig respectively. The color analyzer reads the initial data of the display, including color coordinates (x, y) and luminance Lv. Firstly, whether the color coordinate and the brightness meet the specification is respectively judged, and if the color coordinate and the brightness meet the specification, adjustment is not needed. If not, first judging whether the brightness is in accordance with the specification. If the brightness does not meet the specification, adjusting the RGB value of the display to a maximum value MAX; judging whether the brightness at the moment meets the specification; if the specification is not met, judging that the display is unqualified; if yes, continuing to judge whether y meets the specification. If y does not meet the specification, adjusting the value of the channel B and the value of the channel G; judging whether the adjusted y meets the specification; if the y can not meet the specification no matter how the adjustment is carried out, judging that the display is unqualified; if y meets the specification, continuing to judge whether x meets the specification. If x does not meet the specification, adjusting the numerical value of the R channel and the numerical value of the G channel; judging whether the adjusted x meets the specification or not; if x cannot meet the specification no matter how the adjustment is carried out, judging that the display is unqualified; if x meets the specification, re-judging whether the adjusted brightness meets the specification. If the adjusted brightness also meets the specification, the adjustment is finished; and if the adjusted brightness does not meet the specification, judging that the display is unqualified.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a block diagram of a color temperature adjusting apparatus according to an embodiment of the present application, which corresponds to the color temperature adjusting method described in the foregoing embodiment, and only the relevant portions of the embodiment of the present application are shown for convenience of illustration.
Referring to fig. 3, the apparatus includes:
the data acquiring unit 31 is configured to acquire initial data of a display to be detected, where the initial data includes initial brightness and initial color coordinates.
And a brightness adjusting unit 32, configured to adjust the RGB value of the display to a maximum value in a target range if the initial brightness is not within a preset brightness range, where the target range is a value range of the RGB value in the display.
The luminance obtaining unit 33 is configured to obtain a first luminance of the display, where the first luminance is a luminance corresponding to the maximum RGB value of the display.
The first adjusting unit 34 is configured to adjust the color temperature of the display to a target color temperature according to a first color coordinate if the first luminance is within the preset luminance range, where the first color coordinate is a color coordinate corresponding to the maximum RGB value of the display.
Optionally, the first adjusting unit 34 is further configured to:
if the first brightness is within the preset brightness range, acquiring a target color coordinate corresponding to the target color temperature;
adjusting the numerical value of a B channel and the numerical value of a G channel of the display according to the first color coordinate until a second color coordinate is obtained, wherein the longitudinal coordinate value in the second color coordinate is equal to the longitudinal coordinate value in the target color coordinate;
and adjusting the numerical value of the R channel and the numerical value of the G channel of the display according to the second color coordinate until the target color coordinate is obtained.
Optionally, the first adjusting unit 34 is further configured to:
calculating a vertical coordinate difference value between a vertical coordinate value in the first color coordinate and a vertical coordinate value in the target color coordinate;
acquiring a first adjustment quantity of a channel B of the display corresponding to the longitudinal coordinate difference value;
if the difference value between the first channel numerical value and the first boundary value is greater than or equal to the first adjustment amount, adjusting the numerical value of the B channel of the display according to the first adjustment amount to obtain a third color coordinate corresponding to the RGB value of the display after adjustment, wherein the first channel numerical value is the numerical value of the B channel of the display before adjustment, and the first boundary value is the boundary value of the B channel of the display;
if the longitudinal coordinate value in the third color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the B channel and the numerical value of the G channel of the display according to the third color coordinate until the second color coordinate is obtained;
and if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment amount, adjusting the numerical value of the G channel according to the first color coordinate until the second color coordinate is obtained.
Optionally, the first adjusting unit 34 is further configured to:
if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment quantity, acquiring a second adjustment quantity of a G channel of the display corresponding to the vertical coordinate difference value;
if the difference value between the second channel numerical value and the second boundary value is greater than or equal to the second adjustment amount, adjusting the numerical value of the G channel of the display according to the second adjustment amount to obtain a fourth color coordinate corresponding to the RGB value of the display after adjustment, wherein the second channel numerical value is the numerical value of the G channel of the display before adjustment, and the second boundary value is the boundary value of the G channel of the display;
and if the longitudinal coordinate value in the fourth color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the G channel of the display according to the fourth color coordinate until the second color coordinate is obtained.
Optionally, the first adjusting unit 34 is further configured to:
calculating an abscissa difference value between an abscissa value in the second color coordinate and an abscissa value in the target color coordinate;
acquiring a third adjustment quantity of an R channel of the display corresponding to the horizontal coordinate difference value;
if the difference value between the third channel numerical value and the third boundary value is greater than or equal to the third adjustment amount, adjusting the numerical value of the R channel of the display according to the third adjustment amount to obtain a fifth color coordinate corresponding to the RGB value of the display after adjustment, wherein the third channel numerical value is the numerical value of the R channel of the display before adjustment, and the third boundary value is the boundary value of the R channel of the display;
if the abscissa value in the fifth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the numerical value of the R channel and the numerical value of the G channel of the display according to the fifth color coordinate until the target color coordinate is obtained;
and if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, adjusting the numerical value of the G channel according to the fifth color coordinate until the target color coordinate is obtained.
Optionally, the first adjusting unit 34 is further configured to:
if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, acquiring a fourth adjustment amount of a G channel of the display corresponding to the horizontal coordinate difference value;
if the difference value between the fourth channel numerical value and the fourth boundary value is greater than or equal to the fourth adjustment amount, adjusting the numerical value of the G channel of the display according to the fourth adjustment amount to obtain a sixth color coordinate corresponding to the RGB value of the display after adjustment, wherein the fourth channel numerical value is the numerical value of the G channel of the display before adjustment, and the fourth boundary value is the boundary value of the G channel of the display;
and if the abscissa value in the sixth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the value of the G channel of the display according to the sixth color coordinate until the target color coordinate is obtained.
Optionally, the apparatus further comprises:
the checking unit 35 is configured to adjust a value of an R channel and a value of a G channel of the display according to the second color coordinate until the target color coordinate is obtained, and obtain a second brightness of the display when the color coordinate of the display is the target color coordinate; and if the second brightness is not in the preset brightness range, judging that the display is unqualified.
Optionally, the apparatus further comprises:
and a second adjusting unit 36, configured to, after the initial color temperature data of the display to be detected is obtained, adjust the color temperature of the display to a target color temperature according to the initial color coordinate if the initial brightness is within a preset brightness range.
Optionally, the checking unit 35 is further configured to:
after the first brightness of the display is obtained, if the first brightness is not within the preset brightness range, the display is judged to be unqualified.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
In addition, the color temperature adjusting apparatus shown in fig. 3 may be a software unit, a hardware unit, or a combination of software and hardware unit that is built in the existing terminal device, may be integrated into the terminal device as an independent pendant, or may exist as an independent terminal device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 4, the terminal device 4 of this embodiment includes: at least one processor 40 (only one is shown in fig. 4), a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, wherein the processor 40 implements the steps of any of the various color temperature adjustment method embodiments described above when executing the computer program 42.
The terminal device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that fig. 4 is merely an example of the terminal device 4, and does not constitute a limitation of the terminal device 4, and may include more or less components than those shown, or combine some components, or different components, such as an input-output device, a network access device, and the like.
The Processor 40 may be a Central Processing Unit (CPU), and the Processor 40 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may in some embodiments be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. In other embodiments, the memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of the computer programs. The memory 41 may also be used to temporarily store data that has been output or is to be output.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a terminal device, enables the terminal device to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to an apparatus/terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A color temperature adjustment method, comprising:
acquiring initial data of a display to be detected, wherein the initial data comprises initial brightness and initial color coordinates;
if the initial brightness is not within a preset brightness range, adjusting the RGB value of the display to the maximum value within a target range, wherein the target range is the value range of the RGB value in the display;
acquiring first brightness of the display, wherein the first brightness is corresponding brightness when the RGB value of the display is the maximum value;
and if the first brightness is within the preset brightness range, adjusting the color temperature of the display to a target color temperature according to a first color coordinate, wherein the first color coordinate is a corresponding color coordinate when the RGB value of the display is the maximum value.
2. The method of claim 1, wherein the adjusting the color temperature of the display to the target color temperature according to the first color coordinate if the first luminance is within the preset luminance range comprises:
if the first brightness is within the preset brightness range, acquiring a target color coordinate corresponding to the target color temperature;
adjusting the numerical value of a B channel and the numerical value of a G channel of the display according to the first color coordinate until a second color coordinate is obtained, wherein the longitudinal coordinate value in the second color coordinate is equal to the longitudinal coordinate value in the target color coordinate;
and adjusting the numerical value of the R channel and the numerical value of the G channel of the display according to the second color coordinate until the target color coordinate is obtained.
3. The color temperature adjustment method of claim 2, wherein the adjusting the values of the B channel and the G channel of the display according to the first color coordinate until obtaining a second color coordinate comprises:
calculating a vertical coordinate difference value between a vertical coordinate value in the first color coordinate and a vertical coordinate value in the target color coordinate;
acquiring a first adjustment quantity of a channel B of the display corresponding to the longitudinal coordinate difference value;
if the difference value between the first channel numerical value and the first boundary value is greater than or equal to the first adjustment amount, adjusting the numerical value of the B channel of the display according to the first adjustment amount to obtain a third color coordinate corresponding to the RGB value of the display after adjustment, wherein the first channel numerical value is the numerical value of the B channel of the display before adjustment, and the first boundary value is the boundary value of the B channel of the display;
if the longitudinal coordinate value in the third color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the B channel and the numerical value of the G channel of the display according to the third color coordinate until the second color coordinate is obtained;
and if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment amount, adjusting the numerical value of the G channel according to the first color coordinate until the second color coordinate is obtained.
4. The color temperature adjustment method of claim 3, wherein if the difference between the first channel value and the first boundary value is smaller than the first adjustment amount, adjusting the value of the G channel according to the first color coordinate until the second color coordinate is obtained comprises:
if the difference value between the first channel numerical value and the first boundary value is smaller than the first adjustment quantity, acquiring a second adjustment quantity of a G channel of the display corresponding to the vertical coordinate difference value;
if the difference value between the second channel numerical value and the second boundary value is greater than or equal to the second adjustment amount, adjusting the numerical value of the G channel of the display according to the second adjustment amount to obtain a fourth color coordinate corresponding to the RGB value of the display after adjustment, wherein the second channel numerical value is the numerical value of the G channel of the display before adjustment, and the second boundary value is the boundary value of the G channel of the display;
and if the longitudinal coordinate value in the fourth color coordinate is not equal to the longitudinal coordinate value in the target color coordinate, continuing to adjust the numerical value of the G channel of the display according to the fourth color coordinate until the second color coordinate is obtained.
5. The color temperature adjustment method of claim 2, wherein the adjusting the values of the R channel and the G channel of the display according to the second color coordinates until the target color coordinates are obtained comprises:
calculating an abscissa difference value between an abscissa value in the second color coordinate and an abscissa value in the target color coordinate;
acquiring a third adjustment quantity of an R channel of the display corresponding to the horizontal coordinate difference value;
if the difference value between the third channel numerical value and the third boundary value is greater than or equal to the third adjustment amount, adjusting the numerical value of the R channel of the display according to the third adjustment amount to obtain a fifth color coordinate corresponding to the RGB value of the display after adjustment, wherein the third channel numerical value is the numerical value of the R channel of the display before adjustment, and the third boundary value is the boundary value of the R channel of the display;
if the abscissa value in the fifth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the numerical value of the R channel and the numerical value of the G channel of the display according to the fifth color coordinate until the target color coordinate is obtained;
and if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, adjusting the numerical value of the G channel according to the fifth color coordinate until the target color coordinate is obtained.
6. The color temperature adjustment method according to claim 5, wherein if the difference between the third channel value and the third boundary value is smaller than the third adjustment amount, adjusting the value of the G channel according to the fifth color coordinate until the target color coordinate is obtained includes:
if the difference value between the third channel numerical value and the third boundary value is smaller than the third adjustment amount, acquiring a fourth adjustment amount of a G channel of the display corresponding to the horizontal coordinate difference value;
if the difference value between the fourth channel numerical value and the fourth boundary value is greater than or equal to the fourth adjustment amount, adjusting the numerical value of the G channel of the display according to the fourth adjustment amount to obtain a sixth color coordinate corresponding to the RGB value of the display after adjustment, wherein the fourth channel numerical value is the numerical value of the G channel of the display before adjustment, and the fourth boundary value is the boundary value of the G channel of the display;
and if the abscissa value in the sixth color coordinate is not equal to the abscissa value in the target color coordinate, continuing to adjust the value of the G channel of the display according to the sixth color coordinate until the target color coordinate is obtained.
7. The color temperature adjustment method according to claim 2, wherein after adjusting the values of the R channel and the G channel of the display according to the second color coordinates until the target color coordinates are obtained, the method further comprises:
acquiring second brightness of the display when the color coordinate of the display is the target color coordinate;
and if the second brightness is not in the preset brightness range, judging that the display is unqualified.
8. The color temperature adjustment method according to claim 1, wherein after acquiring initial color temperature data of a display to be detected, the method further comprises:
if the initial brightness is within a preset brightness range, adjusting the color temperature of the display to a target color temperature according to the initial color coordinate;
after obtaining the first brightness of the display, the method further comprises:
and if the first brightness is not in the preset brightness range, judging that the display is unqualified.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN202111437374.6A 2021-11-29 2021-11-29 Color temperature adjustment method, terminal device and computer-readable storage medium Pending CN114217757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111437374.6A CN114217757A (en) 2021-11-29 2021-11-29 Color temperature adjustment method, terminal device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111437374.6A CN114217757A (en) 2021-11-29 2021-11-29 Color temperature adjustment method, terminal device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN114217757A true CN114217757A (en) 2022-03-22

Family

ID=80698859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111437374.6A Pending CN114217757A (en) 2021-11-29 2021-11-29 Color temperature adjustment method, terminal device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN114217757A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257572A (en) * 2018-03-05 2018-07-06 中兴通讯股份有限公司 A kind of chromaticity coordinates calibration method, device and system
US20180366071A1 (en) * 2017-06-19 2018-12-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for adjusting color temperature based on screen brightness, non-transitory computer-readable storage medium and terminal device
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
CN111833828A (en) * 2020-08-25 2020-10-27 广西世纪创新显示电子有限公司 Debugging method and system for factory settings of low-power-consumption liquid crystal display

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180366071A1 (en) * 2017-06-19 2018-12-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for adjusting color temperature based on screen brightness, non-transitory computer-readable storage medium and terminal device
CN108257572A (en) * 2018-03-05 2018-07-06 中兴通讯股份有限公司 A kind of chromaticity coordinates calibration method, device and system
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
CN111833828A (en) * 2020-08-25 2020-10-27 广西世纪创新显示电子有限公司 Debugging method and system for factory settings of low-power-consumption liquid crystal display

Similar Documents

Publication Publication Date Title
US11330685B2 (en) Method, device, terminal setting and readable storage medium for correcting mixed color
CN109257507B (en) Method for adjusting screen brightness, mobile terminal and storage medium
CN109309826B (en) Image color balancing method and device, terminal equipment and readable storage medium
CN107909569A (en) One kind flower screen detection method, flower screen detection device and electronic equipment
WO2024037506A1 (en) Screen color adjusting and uniformizing method and device, and storage medium
CN108337496A (en) White balancing treatment method, processing unit, processing equipment and storage medium
CN113948041A (en) Brightness compensation method and device of display panel and electronic equipment
CN115083328B (en) Display compensation method, device, equipment, medium and display device
US11990105B2 (en) Method and system of measuring display panel, and display device
CN109325603B (en) Fault request processing method and device and terminal equipment
CN114217757A (en) Color temperature adjustment method, terminal device and computer-readable storage medium
CN113327552B (en) Gamma debugging method and device, electronic equipment and storage medium
CN112992036B (en) Display panel driving method and device and display equipment
CN115116373A (en) Color temperature adjusting method and device, terminal equipment and computer readable storage medium
CN113870800B (en) Backlight adjusting method and device, terminal equipment and storage medium
CN113406429B (en) Electronic metering device detection method and device, storage medium and electronic equipment
CN116246558A (en) Display performance detection method and device for display, terminal equipment and storage medium
CN115186751A (en) CVT metering error prediction method and device based on s transformation and storage medium
CN110704006B (en) Multi-screen picture display method and device, terminal equipment and storage medium
CN109996017B (en) Image adjusting method and terminal thereof
CN109887449B (en) Display and energy efficiency testing method and system thereof
CN111276092B (en) Optimization parameter determination method and device
CN110730044A (en) Radio frequency test channel positioning method and device, radio frequency test system and control terminal
CN109286798B (en) Frame position identification method and system of projection screen and terminal equipment
CN112291556B (en) Color temperature debugging method and device, terminal equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination