WO2016070730A1 - 调节屏幕色温的方法、装置、终端和存储介质 - Google Patents
调节屏幕色温的方法、装置、终端和存储介质 Download PDFInfo
- Publication number
- WO2016070730A1 WO2016070730A1 PCT/CN2015/092875 CN2015092875W WO2016070730A1 WO 2016070730 A1 WO2016070730 A1 WO 2016070730A1 CN 2015092875 W CN2015092875 W CN 2015092875W WO 2016070730 A1 WO2016070730 A1 WO 2016070730A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user interface
- color temperature
- blue
- red
- value
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a terminal, and a computer storage medium for adjusting a screen color temperature.
- the color temperature of the screen is one of the most important criteria for measuring the quality of the screen color display.
- the user's perception of the same color of the screen varies with the color temperature of the screen, so the terminal device usually allows the user to manually adjust the color temperature of the screen, but with the terminal.
- the intelligent development, manual adjustment of the screen color temperature is clearly unable to meet the needs of users.
- different user interfaces of the terminal have different colors displayed on the screen. Some of the colors are cold, and some of the colors are warm. When the color temperature of the screen does not match the color of the user interface, the color of the picture will be distorted. Affect the display effect of the terminal.
- an embodiment of the present invention provides a method, an apparatus, a terminal, and a computer storage medium for adjusting a screen color temperature, which are intended to dynamically adjust a color temperature of a screen according to a user interface, improve a display effect, and improve a user experience.
- the embodiment of the invention provides a method for adjusting the color temperature of a screen, the method comprising:
- the color temperature of the screen is adjusted according to the obtained color temperature value.
- the obtaining the tone information of the user interface according to the RGB value includes:
- the hue information of the user interface is obtained according to the red-green ratio or/and the blue-green ratio.
- the acquiring the tone information of the user interface according to the RGB value includes:
- the tone information of the user interface is obtained according to the statistical values of the red-green ratio or/and the blue-green ratio.
- the hue information is a warm and cold level or a hue value of the hue.
- the method further includes:
- the method further includes:
- the tone value is a ratio between a statistical value of a red-green ratio of a pixel in a user interface and a statistical value of a blue-green ratio, or the tone value is a statistical value of the red-green ratio and the ratio of the blue-green ratio The difference between the statistics.
- the method for adjusting a color temperature of a screen according to the obtained color temperature value includes:
- the obtaining the statistical values of the three reference colors of red, green and blue in the user interface includes:
- An average value is calculated for each of the three reference colors of red, green and blue of all the pixels in the user interface to obtain a statistical value of each of the reference colors.
- Embodiments of the present invention provide an apparatus for adjusting a color temperature of a screen, the apparatus comprising: an analysis calculation module and an adjustment module, wherein:
- An analysis calculation module configured to detect RGB values of pixels in a user interface of the terminal, and obtain tone information of the user interface according to the RGB values;
- the adjustment module is configured to acquire a color temperature value corresponding to the hue information of the user interface according to a preset correspondence between the hue and the color temperature, and adjust a color temperature of the screen according to the obtained color temperature value.
- the analysis calculation module is configured to:
- the hue information of the user interface is obtained according to the red-green ratio or/and the blue-green ratio.
- the analysis calculation module is configured to:
- the tone information of the user interface is obtained according to the statistical values of the red-green ratio or/and the blue-green ratio.
- the hue information is a warm and cold level or a hue value of the hue.
- the analysis and calculation module is further configured to:
- the tone value is a ratio between a statistical value of a red-green ratio of a pixel in a user interface and a statistical value of a blue-green ratio, or the tone value is a statistical value of the red-green ratio and the The difference between the statistics of the blue-green ratio.
- the adjustment module is further configured to:
- the analysis and calculation module is further configured to:
- An average value is calculated for each of the three reference colors of red, green and blue of all the pixels in the user interface to obtain a statistical value of each of the reference colors.
- the embodiment of the invention further provides a terminal, the terminal at least comprising the foregoing device for adjusting the color temperature of the screen.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for adjusting a screen color temperature.
- the method, device, terminal and computer storage medium for adjusting the color temperature of the screen obtained by the embodiment of the present invention obtain the color information of the user interface according to the RGB value of the pixel by detecting the RGB value of the pixel in the user interface of the terminal, according to the preset Corresponding relationship between hue and color temperature, obtaining a color temperature value corresponding to the hue information of the user interface, and finally adjusting the screen according to the obtained color temperature value
- the color temperature allows the terminal to dynamically adjust the color temperature of the screen as the user interface changes to match the color temperature of the screen to the user interface. For example, when the color of the user interface is cold, the color temperature of the screen is lowered to make the color warmer.
- the color of the user interface When the color of the user interface is warmer, the color temperature of the screen is raised accordingly, so that the color is colder. . Therefore, through mutual integration and mutual offset, the final display effect of the user interface is more natural and real, avoiding picture color distortion, improving the display effect of the terminal, and improving the user experience.
- FIG. 1 is a flow chart of a first embodiment of a method for adjusting screen color temperature according to the present invention
- FIG. 2 is a flow chart of a second embodiment of a method for adjusting screen color temperature according to the present invention.
- FIG. 3 is a flow chart of a third embodiment of a method for adjusting screen color temperature according to the present invention.
- FIG. 4 is a block diagram of an embodiment of an apparatus for adjusting the color temperature of a screen of the present invention.
- the method, the device, the terminal and the computer storage medium for adjusting the color temperature of the screen obtained the color information of the user interface according to the RGB value of the pixel by detecting the RGB value of the pixel in the user interface of the terminal, according to the preset color tone.
- the terminal can dynamically adjust the color temperature of the screen according to the change of the user interface, so as to make the screen
- the color temperature is matched with the user interface, so that the color temperature of the screen can be dynamically adjusted according to the user interface, so that the screen displayed by the user interface is more natural and real, the display effect of the terminal is enhanced, and the user experience is improved.
- the method includes the following steps:
- Step S10 detecting RGB values of pixels in the user interface of the terminal
- the terminal may detect the RGB value of the pixel in the current user interface of the terminal once in real time or every preset time. Preferably, when the terminal detects that the current user interface changes, the terminal performs a detection.
- the terminal can detect only the RGB values of the pixels in the user interface that satisfy the preset condition, such as pixels of a certain preset area or a user-specified area. This embodiment preferably detects the RGB values of all pixels in the user interface.
- the RGB value refers to values of three reference colors of red (Red), green (Green), and blue (Blue) included in one pixel, and different RGB values correspond to different colors. For example, if the color of a pixel is yellow, the corresponding RGB value is (R255, G255, B0), that is, the red value is 255, the green value is 255, and the blue value is 0.
- Step S11 Perform statistical calculation on the RGB values of all pixels in the user interface, and obtain statistics values of three reference colors of red, green and blue in the user interface.
- the statistical calculation may be a summation calculation or an average calculation, and the corresponding statistical value is a summation value or an average value.
- the RGB values corresponding to each pixel are (R1, G1, B1), (R2, G2, B2)... (Rn, Gn, Bn), red for all pixels in the user interface.
- only the RGB values of the pixels in the user interface that satisfy the preset conditions are statistically calculated. For example, after removing pixels such as black, white, pure green, pure red, or/and pure blue in the user interface, the remaining pixels are pixels that satisfy the preset condition.
- Step S12 calculating a red-green ratio or a blue-green ratio in the user interface according to statistical values of three reference colors of red, green and blue
- the red-green ratio in the user interface is Rs/Gs
- the blue-green ratio is Bs/Gs.
- the red-green ratio and the blue-green ratio in the user interface determine the warmth and warmth of the user interface. Among them, the red-green ratio corresponds to warm color, the greater the red-green ratio, the warmer the tone; the blue-green ratio corresponds to the cool color, and the greater the blue-green ratio, the colder the tone.
- Step S13 Obtaining the tone information of the user interface according to the ratio of red to green or / and the ratio of blue to green
- the hue information can be expressed in terms of the level of warmth and warmth of the hue. For example, from cold to warm (low to high), it is defined as grade 1 to grade n, and different ranges of red and green ratios and blue-green ratios are classified into different grades. The gradual increase of the red-green ratio and the gradual decrease of the blue-green ratio gradually increase the level of the hue and warmth, so that the corresponding cold and warm level is obtained according to the red-green ratio and the blue-green ratio in the user interface.
- the warm and cold level of the hue may be defined by only one of the blue-green ratio and the red-green ratio, such as the blue-green ratio to define the warm and cold level of the hue, and the greater the blue-green ratio, the corresponding The lower the level of cold and warm, so that the corresponding level of cooling and warming is obtained according to the blue-green ratio in the user interface; or the red and green ratio is used to define the level of warmth and warmth of the hue, and the greater the ratio of red to green, the higher the corresponding level of cold and warm, thus The red-green ratio in the user interface obtains the corresponding level of cooling and warming.
- the hue information can also be expressed by the hue value, such as the ratio of the red-green ratio to the blue-green ratio (red-green ratio/blue-green ratio) or the difference (red-green ratio-blue-green ratio) as the hue value, the greater the hue value The warmer the corresponding hue, the smaller the hue value, and the cooler the corresponding hue.
- the hue value such as the ratio of the red-green ratio to the blue-green ratio (red-green ratio/blue-green ratio) or the difference (red-green ratio-blue-green ratio) as the hue value, the greater the hue value The warmer the corresponding hue, the smaller the hue value, and the cooler the corresponding hue.
- Step S14 Acquire a color temperature value corresponding to the hue information of the user interface according to a preset correspondence between the hue and the color temperature.
- the correspondence between the hue and the color temperature may be a one-to-one correspondence between the warm and cold level of the hue and the color temperature value, or may be a one-to-one correspondence between the hue value and the color temperature value.
- the colder the hue displayed by the hue information of the user interface the smaller the corresponding color temperature value. That is, as the level of warmth and warmth of the hue increases, the corresponding color temperature value also increases, and as the level of warmth and warmth of the hue decreases, the corresponding color temperature value also decreases; As the hue value increases, the corresponding color temperature value also increases, and as the hue value decreases, the corresponding color temperature value also decreases.
- Step S15 adjusting the color temperature of the screen according to the obtained color temperature value
- the color temperature of the screen when the color tone of the user interface is cold, the color temperature of the screen is lowered accordingly, so that the color is warmer; when the color tone of the user interface is warmer, the color temperature of the screen is increased accordingly, so that The color is colder. Therefore, by mutual integration and mutual offset, the final display effect of the user interface is more natural and real, avoiding image color distortion, and improving the display effect of the terminal.
- the method includes the following steps:
- Step S20 detecting RGB values of pixels in the user interface of the terminal
- the terminal may detect the RGB value of the pixel in the current user interface of the terminal once in real time or every preset time. Preferably, when the terminal detects that the current user interface changes, the terminal performs a detection.
- the terminal can detect only the RGB values of the pixels in the user interface that satisfy the preset condition, such as pixels of a certain area. This embodiment preferably detects the RGB values of all pixels in the user interface.
- the RGB value refers to values of three reference colors of red (Red), green (Green), and blue (Blue) included in one pixel, and different RGB values correspond to different colors. For example, if the color of a certain pixel is sky blue, the corresponding RGB value is (R135, G206, B235), that is, the red value is 135, the green value is 206, and the blue value is 235.
- Step S21 calculating a red-green ratio or/and a blue-green ratio value in each pixel according to the RGB value of each pixel
- the red-green ratio in the pixel is R/G
- the blue-green ratio is B/G.
- the red-green ratio and the blue-green ratio in the pixel determine the degree of warmth and coldness of the pixel tone. Among them, the red-green ratio corresponds to warm color, the greater the ratio of red to green, the warmer the tone; the blue-green ratio corresponds to the cool color, and the greater the ratio of blue to green, the tone The colder.
- Step S22 Perform statistical calculation on the red-green ratio or/and the blue-green ratio of all pixels in the user interface, and obtain statistics of red-green ratio or/and blue-green ratio.
- the statistical calculation may be a summation calculation or an average calculation, and the corresponding statistical value is a summation value or an average value. For example, suppose the user interface includes N pixels, and the RGB values corresponding to each pixel are (R1, G1, B1), (R2, G2, B2), ...
- the calculation of the red-green ratio or/and the blue-green ratio and the statistical calculation are performed only on pixels in the user interface that satisfy the preset condition. For example, after removing pixels such as black, white, pure green, pure red, or/and pure blue in the user interface, the remaining pixels are pixels that satisfy the preset condition.
- Step S23 obtaining tone information of the user interface according to a statistical value of a red-green ratio or a blue-green ratio
- the hue information can be expressed in terms of the level of warmth and warmth of the hue. For example, from cold to warm (low to high), it is defined as level 1 to n, and the statistics of different ranges of red and green ratio and blue-green ratio are classified into different values. Grade, as the statistical value of the red-green ratio increases gradually, and the statistical value of the blue-green ratio gradually decreases, the tone warming level increases step by step, so that according to the statistical value of the red-green ratio of the user interface and the ratio of blue to green The statistical value is obtained corresponding to the level of cooling and heating.
- the warm and cold level of the hue may be defined only by one of the statistical values of the blue-green ratio and the statistical value of the red-green ratio, such as the cold and warm level of the hue only by the statistical value of the blue-green ratio.
- the larger the statistical value of the blue-green ratio the lower the corresponding cooling and heating level, and thus the statistics according to the blue-green ratio in the user interface.
- the value obtains the corresponding level of cooling and warming; or the statistic value of the red-green ratio is used to define the level of the warmth and the warmth of the hue.
- the larger the statistical value of the red-green ratio the higher the corresponding level of the warm and cold, so according to the red-green ratio in the user interface.
- the statistical value is obtained corresponding to the level of cooling and heating.
- the hue information may also be represented by a hue value, such as a ratio of a statistical value of a red-green ratio to a statistical value of a blue-green ratio (a statistical value of a red-green ratio/a statistical value of a blue-green ratio) or a difference (a ratio of a red-green ratio)
- a hue value such as a ratio of a statistical value of a red-green ratio to a statistical value of a blue-green ratio (a statistical value of a red-green ratio/a statistical value of a blue-green ratio) or a difference (a ratio of a red-green ratio)
- the statistical value - the statistical value of the blue-green ratio) as the tone value, the larger the tone value, the warmer the corresponding tone, the smaller the tone value, and the cooler the corresponding tone.
- Step S24 Acquire a color temperature value corresponding to the hue information of the user interface according to a preset correspondence between the hue and the color temperature.
- the correspondence between the hue and the color temperature may be a one-to-one correspondence between the warm and cold level of the hue and the color temperature value, or may be a one-to-one correspondence between the hue value and the color temperature value.
- the colder the hue displayed by the hue information of the user interface the smaller the corresponding color temperature value. That is, as the color warmth level increases, the corresponding color temperature value also increases. As the color warmth level decreases, the corresponding color temperature value decreases. As the hue value increases, the corresponding color temperature value also increases. As the hue value decreases, the corresponding color temperature value decreases.
- Step S25 adjusting the color temperature of the screen according to the obtained color temperature value
- the color temperature of the screen when the color tone of the user interface is cold, the color temperature of the screen is lowered accordingly, so that the color is warmer; when the color tone of the user interface is warmer, the color temperature of the screen is increased accordingly, so that The color is colder. Therefore, through mutual integration and mutual offset, the final display effect of the user interface is more natural and real, avoiding picture color distortion, improving the display effect of the terminal, and improving the user experience.
- the terminal can dynamically adjust the color temperature of the screen according to the change of the user interface, so that the color temperature of the screen matches the user interface, such as when the color tone of the user interface is cold.
- the color temperature of the screen is lowered to make the color warmer.
- the color temperature of the screen is raised accordingly, so that the color is cold.
- a third embodiment of a method for adjusting the color temperature of a screen of the present invention is proposed.
- the method includes the following steps:
- Step S30 detecting RGB values of pixels in the user interface of the terminal
- the terminal may detect the RGB value of the pixel in the current user interface of the terminal once in real time or every preset time. Preferably, when the terminal detects that the current user interface changes, the terminal performs a detection.
- the terminal can detect only the RGB values of the pixels in the user interface that satisfy the preset condition, such as pixels of a certain preset area or a user-specified area. This embodiment preferably detects the RGB values of all pixels in the user interface.
- the RGB values of all the pixels in the user interface can be statistically calculated to obtain the statistical values of the three reference colors of red, green and blue; the red-green ratio in each pixel can also be calculated according to the RGB value of each pixel and / Or the blue-green ratio, in the red-green ratio and/or the blue-green ratio of all pixels in the user interface, statistically calculate the statistical value of the red-green ratio and/or the blue-green ratio. For details, see S11 above. And S21 ⁇ S22 to achieve.
- Step S31 Obtain tone information of the user interface according to the RGB value.
- the ratio of red to green in the pixel is R/G
- the ratio of blue to green is B/G.
- the ratio of red to green in the pixel and the ratio of blue to green determine the degree of warmth and coldness of the pixel tone.
- the red-green ratio corresponds to warm color, the greater the red-green ratio, the warmer the tone; the blue-green ratio corresponds to the cool color, and the greater the blue-green ratio, the colder the tone.
- Step S32 Acquire a color temperature value corresponding to the hue information of the user interface according to a preset correspondence between the hue and the color temperature.
- the hue information can be expressed in terms of the level of warmth and warmth of the hue, such as from cold to warm (low to high).
- the second definition is from grade 1 to grade n, and the statistical values of the red-green ratio and the blue-green ratio of different ranges are classified into different grades, and the statistical value of the red-green ratio is gradually increased, and the statistical value of the blue-green ratio is Gradually decreasing, the level of warmth and warmth of the hue is increased step by step, so that the corresponding cold and warm level is obtained according to the statistical value of the red-green ratio of the user interface and the statistical value of the blue-green ratio.
- the warm and cold level of the hue may be defined only by one of the statistical values of the blue-green ratio and the statistical value of the red-green ratio, such as the cold and warm level of the hue only by the statistical value of the blue-green ratio.
- Level the larger the statistical value of the red-green ratio, the higher the corresponding cooling and warming level, so that the corresponding cold and warm level is obtained according to the statistical value of the red-green ratio in the user interface.
- the hue information may also be represented by a hue value, such as a ratio of a statistical value of a red-green ratio to a statistical value of a blue-green ratio (a statistical value of a red-green ratio/a statistical value of a blue-green ratio) or a difference (a ratio of a red-green ratio)
- a hue value such as a ratio of a statistical value of a red-green ratio to a statistical value of a blue-green ratio (a statistical value of a red-green ratio/a statistical value of a blue-green ratio) or a difference (a ratio of a red-green ratio)
- the statistical value - the statistical value of the blue-green ratio) as the tone value, the larger the tone value, the warmer the corresponding tone, the smaller the tone value, and the cooler the corresponding tone.
- Step S33 Adjusting the color temperature of the screen according to the obtained color temperature value
- the correspondence between the hue and the color temperature may be a one-to-one correspondence between the warm and cold level of the hue and the color temperature value, or may be a one-to-one correspondence between the hue value and the color temperature value.
- the colder the hue displayed by the hue information of the user interface the smaller the corresponding color temperature value. That is, as the color warmth level increases, the corresponding color temperature value also increases. As the color tone warming level decreases, the corresponding color temperature value also decreases. As the tone value increases, the corresponding color temperature value also increases. As the hue value decreases, the corresponding color temperature value also decreases.
- the color temperature of the screen is lowered accordingly, so that the color is warmer; when the color tone of the user interface is warmer, the color temperature of the screen is raised accordingly, so that the color is cold.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method for adjusting a screen color temperature.
- the apparatus includes an analysis calculation module 401 and an adjustment module 402, wherein:
- the analysis calculation module 401 is configured to detect RGB values of pixels in the user interface of the terminal, and obtain tone information of the user interface according to the RGB values.
- the analysis calculation module 401 can detect the RGB values of the pixels in the current user interface of the terminal once in real time or every preset time. Preferably, when the analysis calculation module 401 detects the current user interface change, the detection is performed once.
- the analysis calculation module 401 can detect only the RGB values of the pixels in the user interface that satisfy the preset condition, such as pixels of a certain preset area or a user-specified area. This embodiment preferably detects the RGB values of all pixels in the user interface.
- the analysis calculation module 401 performs statistical calculation on the RGB values of all pixels in the user interface to obtain statistical values of three reference colors of red, green and blue in the user interface, according to statistical values of three reference colors of red, green and blue. Calculate the red-green ratio or/and the blue-green ratio in the user interface, and obtain the hue information of the user interface according to the red-green ratio or/and the blue-green ratio.
- the statistical calculation may be a summation calculation or an average calculation, and the corresponding statistical value is a summation value or an average value.
- the user interface includes N pixels, and the RGB values corresponding to each pixel are (R1, G1, B1), (R2, G2, B2), ... (Rn, Gn, Bn), and the analysis calculation module 401 is in the user interface.
- the analysis calculation module 401 may also perform statistical calculation only on the RGB values of the pixels in the user interface that satisfy the preset condition. For example, after removing pixels such as black, white, pure green, pure red, or/and pure blue in the user interface, the remaining pixels are pixels that satisfy the preset condition.
- the red-green ratio in the user interface is Rs/Gs
- the blue-green ratio is Bs/Gs.
- the red-green ratio and the blue-green ratio in the user interface determine the warmth and warmth of the user interface. Among them, the red-green ratio corresponds to warm color, the greater the red-green ratio, the warmer the tone; the blue-green ratio corresponds to the cool color, and the greater the blue-green ratio, the colder the tone.
- the hue information can be expressed in terms of the level of warmth and warmth of the hue. For example, from cold to warm (low to high), it is defined as grade 1 to grade n, and different ranges of red and green ratios and blue-green ratios are classified into different grades. The gradual increase of the red-green ratio and the gradual decrease of the blue-green ratio gradually increase the tone warming level step by step, so that the analysis calculation module 401 obtains the corresponding cold and warm level according to the red-green ratio and the blue-green ratio of the user interface.
- the warm and cold level of the hue may be defined by only one of the blue-green ratio and the red-green ratio, such as the blue-green ratio to define the warm and cold level of the hue, and the greater the blue-green ratio, the corresponding The lower the level of the cold and warm, so that the analysis calculation module 401 obtains the corresponding cooling and warming level according to the blue-green ratio in the user interface; or defines the warm and cold level of the hue only by the red-green ratio, the greater the ratio of red to green, the corresponding the level of the warm and cold The analysis module 401 obtains a corresponding cooling and warming level according to the red-green ratio in the user interface.
- the hue information may also be represented by a hue value, for example, the analysis calculation module 401 uses a ratio of a red-green ratio to a blue-green ratio (red-green ratio/blue-green ratio) or a difference (red-green ratio-blue-green ratio) as a tone value. The larger the hue value, the warmer the corresponding hue, the smaller the hue value, and the cooler the corresponding hue.
- the analysis calculation module 401 calculates a red-green ratio or/and a blue-green ratio value in each pixel based on the RGB values of each pixel, a red-green ratio or/and a blue-green ratio for all pixels in the user interface. Statistical calculations are performed to obtain statistical values of red-green ratio or/and blue-green ratio, and tone information of the user interface is obtained according to statistical values of red-green ratio or/and blue-green ratio.
- the ratio of red to green in the pixel is R/G
- the ratio of blue to green is B/G.
- the ratio of red to green in the pixel and the ratio of blue to green determine the degree of warmth and coldness of the pixel tone.
- the red-green ratio corresponds to warm color, the greater the red-green ratio, the warmer the tone; the blue-green ratio corresponds to the cool color, and the greater the blue-green ratio, the colder the tone.
- the statistical calculation may be a summation calculation or an average calculation, and the corresponding statistical value is a summation value or an average value.
- the blue-green ratio corresponding to each pixel is B1/G1, B2/G2...Bn/Gn
- the analysis calculation module 401 performs a summation operation on the blue-green ratio of all pixels in the user interface.
- the analysis calculation module 401 may perform calculation and statistical calculation of the red-green ratio or the blue-green ratio only on the pixels in the user interface that satisfy the preset condition. For example, after removing pixels such as black, white, pure green, pure red, or/and pure blue in the user interface, the remaining pixels are pixels that satisfy the preset condition.
- the hue information can be expressed in terms of the level of warmth and warmth of the hue. For example, from cold to warm (low to high), it is defined as level 1 to n, and the statistics of different ranges of red and green ratio and blue-green ratio are classified into different values. Level, as the statistical value of the red-green ratio gradually increases, and the statistical value of the blue-green ratio gradually decreases, the tone warming level increases step by step, so that the analysis calculation module 401 calculates the statistical value of the red-green ratio according to the user interface. The statistical value of the blue-green ratio is obtained as the corresponding cooling and warming level.
- the warm and cold level of the hue may be defined only by one of the statistical values of the blue-green ratio and the statistical value of the red-green ratio, such as the cold and warm level of the hue only by the statistical value of the blue-green ratio.
- the greater the statistic value of the blue-green ratio the lower the corresponding cold and warm level, so that the analysis calculation module 401 obtains the corresponding cold and warm level according to the statistical value of the blue-green ratio in the user interface; or only through the statistical value of the red-green ratio.
- the cooling and warming level of the hue is defined. The larger the statistical value of the red-green ratio is, the higher the corresponding cooling and warming level is, so that the analysis calculation module 401 obtains the corresponding cooling and warming level according to the statistical value of the red-green ratio in the user interface.
- the hue information may also be represented by a hue value, such as the analysis calculation module 401 to red-green ratio
- a hue value such as the analysis calculation module 401 to red-green ratio
- the ratio of the statistical value to the statistical value of the blue-green ratio (the statistical value of the red-green ratio/the statistical value of the blue-green ratio) or the difference (the statistical value of the red-green ratio-the statistical value of the blue-green ratio) as the tonal value, the tonal value The larger the corresponding hue, the smaller the hue value and the cooler the corresponding hue.
- the adjusting module 402 is configured to acquire a color temperature value corresponding to the hue information of the user interface according to the preset correspondence between the hue and the color temperature, and adjust the color temperature of the screen according to the obtained color temperature value.
- the correspondence between the hue and the color temperature may be a one-to-one correspondence between the warm and cold level of the hue and the color temperature value, or may be a one-to-one correspondence between the hue value and the color temperature value.
- the colder the hue displayed by the hue information of the user interface the smaller the corresponding color temperature value. That is, as the color warmth level increases, the corresponding color temperature value also increases. As the color tone warming level decreases, the corresponding color temperature value also decreases. As the tone value increases, the corresponding color temperature value also increases. As the hue value decreases, the corresponding color temperature value also decreases.
- the adjustment module 402 correspondingly lowers the color temperature of the screen to make the color warmer; when the color tone of the user interface is warmer, the adjustment module 402 correspondingly increases the color temperature of the screen. High, let the color be colder. Therefore, by mutual integration and mutual offset, the final display effect of the user interface is more natural and real, avoiding image color distortion, and improving the display effect of the terminal.
- the device for adjusting the color temperature of the screen provided by the embodiment of the invention can dynamically adjust the color temperature of the screen according to the change of the user interface, so that the color temperature of the screen matches the user interface, for example, when the color tone of the user interface is cold, the corresponding Lower the color temperature of the screen to make the color warmer.
- the color temperature of the screen will be raised accordingly, making the color cooler. Therefore, by mutual integration and mutual offset, the final display effect of the user interface is more natural and real, avoiding picture color distortion, improving the display effect, and improving the user experience.
- the user interface described in the embodiment of the present invention may refer to all the screens displayed on the screen.
- the analysis calculation module 401 and the adjustment module 402 can be processed by a central processing unit (CPU) or digital signal processing (DSP, Digital). Signal Processor), or Microprocessor Unit (MPU), or Field Programmable Gate Array (FPGA).
- CPU central processing unit
- DSP digital signal processing
- MPU Microprocessor Unit
- FPGA Field Programmable Gate Array
- the device for adjusting the color temperature of the screen provided by the above embodiment is only illustrated by the division of the above functional modules when adjusting the color temperature of the screen. In actual applications, the functions may be assigned to different functional modules according to needs. carry out.
- the device for adjusting the color temperature of the screen provided by the above embodiment is the same as the method for adjusting the color temperature of the screen. The specific implementation process is described in detail in the method embodiment, and the technical features in the method embodiment are applicable in the device embodiment. , no longer repeat them here.
- the embodiment of the invention further provides a terminal, the terminal at least comprising the device for adjusting the color temperature of the screen as shown in FIG. 4 .
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- the method, the device, the terminal and the computer storage medium for adjusting the color temperature of the screen obtained the color information of the user interface according to the RGB value of the pixel by detecting the RGB value of the pixel in the user interface of the terminal, according to the preset color tone.
- the terminal can dynamically adjust the color temperature of the screen according to the change of the user interface, so as to make the screen
- the color temperature is matched with the user interface, so that the color temperature of the screen can be dynamically adjusted according to the user interface, so that the screen displayed by the user interface is more natural and real, the display effect of the terminal is enhanced, and the user experience is improved.
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)
- Color Image Communication Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
- Processing Of Color Television Signals (AREA)
- Image Processing (AREA)
Abstract
本发明公开了一种调节屏幕色温的方法和装置,所述方法包括:检测终端的用户界面中的像素的RGB值;根据所述RGB值获得所述用户界面的色调信息;根据预设的色调与色温的对应关系,获取与所述用户界面的色调信息相对应的色温值;根据获取的色温值调节屏幕的色温。同时,还公开了一种终端及计算机存储介质。
Description
本发明涉及通信技术领域,尤其是涉及一种调节屏幕色温的方法、装置、终端和计算机存储介质。
屏幕的色温是衡量屏幕色彩显示的质量最为重要的标准之一,用户对屏幕相同色彩的感受随屏幕色温的不同而不同,因此终端设备通常允许用户对屏幕的色温进行手动调节,但随着终端的智能化发展,手动调节屏幕色温显然已不能满足用户的需求。
同时,终端不同的用户界面,其画面所显示的色调各不相同,有的色调偏冷,有的色调偏暖,当屏幕的色温与用户界面的色调不匹配时,会导致画面的颜色失真,影响终端的显示效果。
发明内容
为解决现有存在的技术问题,本发明实施例在于提供一种调节屏幕色温的方法、装置、终端和计算机存储介质,旨在根据用户界面动态调节屏幕的色温,提高显示效果,提升用户体验。
本发明实施例提出一种调节屏幕色温的方法,所述方法包括:
检测终端的用户界面中的像素的RGB值;
根据所述RGB值获得所述用户界面的色调信息;
根据预设的色调与色温的对应关系,获取与所述用户界面的色调信息相对应的色温值;
根据获取的色温值调节屏幕的色温。
上述方案中,所述根据所述RGB值获得所述用户界面的色调信息,包括:
对所述用户界面中所有像素的RGB值进行统计计算,获得所述用户界面中红绿蓝三个基准色的统计值;
根据所述红绿蓝三个基准色的统计值计算所述用户界面中的红绿比值或/和蓝绿比值;
根据所述红绿比值或/和蓝绿比值获得所述用户界面的色调信息。
上述方案中,所述根据所述RGB值获取所述用户界面的色调信息,包括:
根据每一像素的RGB值计算每一像素中的红绿比值或/和蓝绿比值;
对所述用户界面中所有像素的红绿比值或/和蓝绿比值进行统计计算,获得所述红绿比值或/和蓝绿比值的统计值;
根据所述红绿比值或/和蓝绿比值的统计值获得所述用户界面的色调信息。
上述方案中,所述色调信息为色调的冷暖等级或色调值。
上述方案中,所述用户界面的色调信息所显示的色调越冷,则对应的色温值越小。
上述方案中,所述方法还包括:
对用户界面中满足预设条件的像素进行红绿比值或/和蓝绿比值的统计计算。
上述方案中,所述方法还包括:
所述色调值为用户界面中像素的红绿比值的统计值与蓝绿比值的统计值之间的比值,或者,所述色调值为所述红绿比值的统计值与所述蓝绿比值的统计值之间的差值。
上述方案中,所述根据获取的色温值调节屏幕的色温方法,包括:
当所述用户界面的色调冷时,降低屏幕的色温;
当所述用户界面的色调暖时,升高屏幕的色温。
上述方案中,所述获得所述用户界面中红绿蓝三个基准色的统计值,包括:
对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行求和运算,得到每一基准色的统计值;或者,
对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行平均值运算,得到每一基准色的统计值。
本发明实施例提出一种调节屏幕色温的装置,所述装置包括:分析计算模块和调节模块,其中:
分析计算模块,配置为检测终端的用户界面中的像素的RGB值,根据所述RGB值获得所述用户界面的色调信息;
调节模块,配置为根据预设的色调与色温的对应关系,获取与所述用户界面的色调信息相对应的色温值,根据获取的色温值调节屏幕的色温。
上述方案中,所述分析计算模块配置为:
对所述用户界面中所有像素的RGB值进行统计计算,获得所述用户界面中红绿蓝三个基准色的统计值;
根据所述红绿蓝三个基准色的统计值计算所述用户界面中的红绿比值或/和蓝绿比值;
根据所述红绿比值或/和蓝绿比值获得所述用户界面的色调信息。
上述方案中,所述分析计算模块配置为:
根据每一像素的RGB值计算每一像素中的红绿比值或/和蓝绿比值;
对所述用户界面中所有像素的红绿比值或/和蓝绿比值进行统计计算,获得红绿比值或/和蓝绿比值的统计值;
根据所述红绿比值或/和蓝绿比值的统计值获得所述用户界面的色调信息。
上述方案中,所述色调信息为色调的冷暖等级或色调值。
上述方案中,所述用户界面的色调信息所显示的色调越冷,则对应的色温值越小。
上述方案中,所述分析计算模块,还配置为:
对用户界面中满足预设条件的像素进行红绿比值或/和蓝绿比值的统计计算。
上述方案中,所述色调值为用户界面中像素的红绿比值的统计值与蓝绿比值的统计值之间的比值,或者,所述色调值为所述红绿比值的统计值与所述蓝绿比值的统计值之间的差值。
上述方案中,所述调节模块,还配置为:
当所述用户界面的色调冷时,降低屏幕的色温;
当所述用户界面的色调暖时,升高屏幕的色温。
上述方案中,所述分析计算模块,还配置为:
对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行求和运算,得到每一基准色的统计值;或者,
对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行平均值运算,得到每一基准色的统计值。
本发明实施例还提供了一种终端,所述终端至少包括前述的调节屏幕色温的装置。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的调节屏幕色温的方法。
本发明实施例所提供的调节屏幕色温的方法、装置、终端及计算机存储介质,通过检测终端的用户界面中的像素的RGB值,根据像素的RGB值获得用户界面的色调信息,根据预设的色调与色温的对应关系,获取与用户界面的色调信息相对应的色温值,最后根据获取的色温值调节屏幕的
色温,使得终端可以随着用户界面的变化动态的调节屏幕的色温,以使屏幕的色温与用户界面相匹配。如当用户界面的色调较冷时,则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,则相应的将屏幕的色温升高,让颜色偏冷一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免画面颜色失真,提高了终端的显示效果,提升了用户体验。
图1是本发明调节屏幕色温的方法第一实施例的流程图;
图2是本发明调节屏幕色温的方法第二实施例的流程图;
图3是本发明调节屏幕色温的方法第三实施例的流程图;
图4是本发明调节屏幕色温的装置一实施例的模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例提供的调节屏幕色温的方法、装置、终端及计算机存储介质,通过检测终端的用户界面中的像素的RGB值,根据像素的RGB值获得用户界面的色调信息,根据预设的色调与色温的对应关系,获取与用户界面的色调信息相对应的色温值,最后根据获取的色温值调节屏幕的色温,使得终端可以随着用户界面的变化动态的调节屏幕的色温,以使屏幕的色温与用户界面相匹配,从而能够实现根据用户界面动态调节屏幕的色温,使用户界面显示的画面更加自然真实,增强了终端的显示效果,提升了用户体验。
以下通过具体实施例进行详细说明。
参见图1,提出本发明调节屏幕色温的方法第一实施例,所述方法包括以下步骤:
步骤S10:检测终端的用户界面中的像素的RGB值
终端可以实时的或每隔预设时间检测一次终端当前的用户界面中的像素的RGB值,优选地,当终端检测到当前的用户界面改变时,则进行一次检测。
终端可以只对用户界面中满足预设条件的像素的RGB值进行检测,如某一预设区域或用户指定区域的像素。本实施例优选对用户界面中所有像素的RGB值均进行检测。
所述RGB值,是指一个像素中所包含的红(Red)、绿(Green)、蓝(Blue)三个基准色的数值,不同的RGB值对应不同的颜色。例如,某一像素的颜色为黄色,则其对应的RGB值为(R255,G255,B0),即红色值为255,绿色值为255,蓝色值为0。
步骤S11:对用户界面中所有像素的RGB值进行统计计算,获得用户界面中红绿蓝三个基准色的统计值
所述统计计算可以是求和计算或者平均值计算,对应的统计值则为求和值或平均值。例如,假设用户界面中包括N个像素,各像素对应的RGB值为(R1,G1,B1)、(R2,G2,B2)…(Rn,Gn,Bn),对用户界面中所有像素的红绿蓝三个基准色进行求和运算,获得红色统计值为Rs=(R1+R2+…+Rn),绿色统计值为Gs=(G1+G2+…+Gn),蓝色统计值为Bs=(B1+B2+…+Bn)。
在某些实施例中,只对用户界面中满足预设条件的像素的RGB值进行统计计算。例如,去除用户界面中的黑色、白色、纯绿色、纯红色或/和纯蓝色等像素后,剩下的像素则为满足预设条件的像素。
步骤S12:根据红绿蓝三个基准色的统计值计算用户界面中的红绿比值或/和蓝绿比值
用户界面中的红绿比值为Rs/Gs,蓝绿比值为Bs/Gs,用户界面中的红绿比值和蓝绿比值决定用户界面色调的冷暖程度。其中,红绿比值对应暖色调,红绿比值越大,则代表色调越暖;蓝绿比值对应冷色调,蓝绿比值越大,则代表色调越冷。
步骤S13:根据红绿比值或/和蓝绿比值获得用户界面的色调信息
色调信息可以以色调的冷暖等级来表示,如从冷到暖(从低到高)依次定义为1级~n级,将不同范围的红绿比值和蓝绿比值归类到不同的等级,随着红绿比值的逐渐增大、蓝绿比值的逐渐减小,色调冷暖等级逐级升高,从而根据用户界面中的红绿比值和蓝绿比值获得对应的冷暖等级。在某些实施例中,可以仅通过蓝绿比值和红绿比值中的其中一个值来定义色调的冷暖等级,如仅通过蓝绿比值来定义色调的冷暖等级,蓝绿比值越大,则对应的冷暖等级越低,从而根据用户界面中的蓝绿比值获得对应的冷暖等级;或者仅通过红绿比值来定义色调的冷暖等级,红绿比值越大,则对应的冷暖等级越高,从而根据用户界面中的红绿比值获得对应的冷暖等级。
色调信息也可以以色调值来表示,如将红绿比值与蓝绿比值的比值(红绿比值/蓝绿比值)或差值(红绿比值-蓝绿比值)作为色调值,色调值越大,对应的色调越暖,色调值越小,对应的色调越冷。
步骤S14:根据预设的色调与色温的对应关系,获取与用户界面的色调信息相对应的色温值
色调与色温的对应关系,可以是色调的冷暖等级与色温值的一一对应关系,也可以是色调值与色温值的一一对应关系。用户界面的色调信息所显示的色调越冷,则对应的色温值越小。即随着色调冷暖等级的升高,对应的色温值也增大,随着色调冷暖等级的降低,对应的色温值也减小;随
着色调值的增大,对应的色温值也增大,随着色调值的减小,对应的色温值也减小。
步骤S15:根据获取的色温值调节屏幕的色温
本实施例中,当用户界面的色调较冷时,则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,则相应的将屏幕的色温升高,让颜色偏冷一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免图像颜色失真,提高了终端的显示效果。
参见图2,提出本发明调节屏幕色温的方法第二实施例,所述方法包括以下步骤:
步骤S20:检测终端的用户界面中的像素的RGB值
终端可以实时的或每隔预设时间检测一次终端当前的用户界面中的像素的RGB值,优选地,当终端检测到当前的用户界面改变时,则进行一次检测。
终端可以只对用户界面中满足预设条件的像素的RGB值进行检测,如某一区域的像素。本实施例优选对用户界面中所有像素的RGB值均进行检测。
所述RGB值,是指一个像素中所包含的红(Red)、绿(Green)、蓝(Blue)三个基准色的数值,不同的RGB值对应不同的颜色。例如,某一像素的颜色为天蓝色,则其对应的RGB值为(R135,G206,B235),即红色值为135,绿色值为206,蓝色值为235。
步骤S21:根据每一像素的RGB值计算每一像素中的红绿比值或/和蓝绿比值
像素中的红绿比值为R/G,蓝绿比值为B/G,像素中的红绿比值和蓝绿比值决定像素色调的冷暖程度。其中,红绿比值对应暖色调,红绿比值越大,则代表色调越暖;蓝绿比值对应冷色调,蓝绿比值越大,则代表色调
越冷。
步骤S22:对用户界面中所有像素的红绿比值或/和蓝绿比值进行统计计算,获得红绿比值或/和蓝绿比值的统计值
所述统计计算可以是求和计算或者平均值计算,对应的统计值则为求和值或平均值。例如,假设用户界面中包括N个像素,各像素对应的RGB值为(R1,G1,B1)、(R2,G2,B2)…(Rn,Gn,Bn);则各像素对应的红绿比值为R1/G1、R2/G2…Rn/Gn,对用户界面中所有像素的红绿比值进行求和运算,获得红绿比值的统计值为[R/G]=(R1/G1+R2/G2+…+Rn/Gn);各像素对应的蓝绿比值为B1/G1、B2/G2…Bn/Gn,对用户界面中所有像素的蓝绿比值进行求和运算,获得蓝绿比值的统计值为[B/G]=(B1/G1+B2/G2+…+Bn/Gn)。
在某些实施例中,只对用户界面中满足预设条件的像素进行红绿比值或/和蓝绿比值的计算以及统计计算。例如,去除用户界面中的黑色、白色、纯绿色、纯红色或/和纯蓝色等像素后,剩下的像素则为满足预设条件的像素。
步骤S23:根据红绿比值或/和蓝绿比值的统计值获得用户界面的色调信息
色调信息可以以色调的冷暖等级来表示,如从冷到暖(从低到高)依次定义为1级~n级,将不同范围的红绿比值和蓝绿比值的统计值归类到不同的等级,随着红绿比值的统计值的逐渐增大、蓝绿比值的统计值的逐渐减小,色调冷暖等级逐级升高,从而根据用户界面的红绿比值的统计值和蓝绿比值的统计值获得对应的冷暖等级。在某些实施例中,可以仅通过蓝绿比值的统计值和红绿比值的统计值中的其中一个值来定义色调的冷暖等级,如仅通过蓝绿比值的统计值来定义色调的冷暖等级,蓝绿比值的统计值越大,则对应的冷暖等级越低,从而根据用户界面中的蓝绿比值的统计
值获得对应的冷暖等级;或者仅通过红绿比值的统计值来定义色调的冷暖等级,红绿比值的统计值越大,则对应的冷暖等级越高,从而根据用户界面中的红绿比值的统计值获得对应的冷暖等级。
色调信息也可以以色调值来表示,如将红绿比值的统计值与蓝绿比值的统计值的比值(红绿比值的统计值/蓝绿比值的统计值)或差值(红绿比值的统计值-蓝绿比值的统计值)作为色调值,色调值越大,对应的色调越暖,色调值越小,对应的色调越冷。
步骤S24:根据预设的色调与色温的对应关系,获取与用户界面的色调信息相对应的色温值
色调与色温的对应关系,可以是色调的冷暖等级与色温值的一一对应关系,也可以是色调值与色温值的一一对应关系。用户界面的色调信息所显示的色调越冷,则对应的色温值越小。即随着色调冷暖等级的升高,对应的色温值也增大,随着色调冷暖等级的降低,对应的色温值则减小;随着色调值的增大,对应的色温值也增大,随着色调值的减小,对应的色温值则减小。
步骤S25:根据获取的色温值调节屏幕的色温
本实施例中,当用户界面的色调较冷时,则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,则相应的将屏幕的色温升高,让颜色偏冷一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免画面颜色失真,提高了终端的显示效果,提升了用户体验。
从而,本发明实施例提供的调节屏幕色温的方法,终端可以随着用户界面的变化动态的调节屏幕的色温,以使屏幕的色温与用户界面相匹配,如当用户界面的色调较冷时,则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,则相应的将屏幕的色温升高,让颜色偏冷
一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免画面颜色失真,提高了终端的显示效果,提升了用户体验。
参见图3,提出本发明调节屏幕色温的方法第三实施例,所述方法包括以下步骤:
步骤S30:检测终端的用户界面中的像素的RGB值
终端可以实时的或每隔预设时间检测一次终端当前的用户界面中的像素的RGB值,优选地,当终端检测到当前的用户界面改变时,则进行一次检测。
终端可以只对用户界面中满足预设条件的像素的RGB值进行检测,如某一预设区域或用户指定区域的像素。本实施例优选对用户界面中所有像素的RGB值均进行检测。
本步骤,可对用户界面中的所有像素的RGB值进行统计计算,获得红绿蓝三个基准色的统计值;也可以根据每一像素的RGB值计算每个像素中的红绿比值和/或蓝绿比值,在对用户界面中所有像素的红绿比值和/或蓝绿比值进行统计计算,获取红绿比值的统计值和/或蓝绿比值的统计值,具体请参见前述的S11、和S21~S22来实现。
步骤S31:根据所述RGB值获得所述用户界面的色调信息
具体的,像素中的红绿比值为R/G,蓝绿比值为B/G,像素中的红绿比值和蓝绿比值决定像素色调的冷暖程度。其中,红绿比值对应暖色调,红绿比值越大,则代表色调越暖;蓝绿比值对应冷色调,蓝绿比值越大,则代表色调越冷。
步骤S32:根据预设的色调与色温的对应关系,获取与所述用户界面的色调信息相对应的色温值
色调信息可以以色调的冷暖等级来表示,如从冷到暖(从低到高)依
次定义为1级~n级,将不同范围的红绿比值和蓝绿比值的统计值归类到不同的等级,随着红绿比值的统计值的逐渐增大、蓝绿比值的统计值的逐渐减小,色调冷暖等级逐级升高,从而根据用户界面的红绿比值的统计值和蓝绿比值的统计值获得对应的冷暖等级。在某些实施例中,可以仅通过蓝绿比值的统计值和红绿比值的统计值中的其中一个值来定义色调的冷暖等级,如仅通过蓝绿比值的统计值来定义色调的冷暖等级,蓝绿比值的统计值越大,则对应的冷暖等级越低,从而根据用户界面中的蓝绿比值的统计值获得对应的冷暖等级;或者仅通过红绿比值的统计值来定义色调的冷暖等级,红绿比值的统计值越大,则对应的冷暖等级越高,从而根据用户界面中的红绿比值的统计值获得对应的冷暖等级。
色调信息也可以以色调值来表示,如将红绿比值的统计值与蓝绿比值的统计值的比值(红绿比值的统计值/蓝绿比值的统计值)或差值(红绿比值的统计值-蓝绿比值的统计值)作为色调值,色调值越大,对应的色调越暖,色调值越小,对应的色调越冷。
步骤S33:根据获取的色温值调节屏幕的色温
色调与色温的对应关系,可以是色调的冷暖等级与色温值的一一对应关系,也可以是色调值与色温值的一一对应关系。用户界面的色调信息所显示的色调越冷,则对应的色温值越小。即随着色调冷暖等级的升高,对应的色温值也增大,随着色调冷暖等级的降低,对应的色温值也减小;随着色调值的增大,对应的色温值也增大,随着色调值的减小,对应的色温值也减小。
从而,当用户界面的色调较冷时,则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,则相应的将屏幕的色温升高,让颜色偏冷一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免图像颜色失真,提高了终端的显示效果。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的调节屏幕色温的方法。
参见图4,提出本发明调节屏幕色温的装置一实施例,所述装置包括分析计算模块401和调节模块402,其中:
分析计算模块401:用于检测终端的用户界面中的像素的RGB值,根据RGB值获得用户界面的色调信息。
分析计算模块401可以实时的或每隔预设时间检测一次终端当前的用户界面中的像素的RGB值,优选地,当分析计算模块401检测到当前的用户界面改变时,则进行一次检测。分析计算模块401可以只对用户界面中满足预设条件的像素的RGB值进行检测,如某一预设区域或用户指定区域的像素。本实施例优选对用户界面中所有像素的RGB值均进行检测。
在某些实施例中,分析计算模块401对用户界面中所有像素的RGB值进行统计计算,获得用户界面中红绿蓝三个基准色的统计值,根据红绿蓝三个基准色的统计值计算用户界面中的红绿比值或/和蓝绿比值,根据红绿比值或/和蓝绿比值获得用户界面的色调信息。
具体的,所述统计计算可以是求和计算或者平均值计算,对应的统计值则为求和值或平均值。例如,假设用户界面中包括N个像素,各像素对应的RGB值为(R1,G1,B1)、(R2,G2,B2)…(Rn,Gn,Bn),分析计算模块401对用户界面中所有像素的红绿蓝三个基准色进行求和运算,获得红色统计值为Rs=(R1+R2+…+Rn),绿色统计值为Gs=(G1+G2+…+Gn),蓝色统计值为Bs=(B1+B2+…+Bn)。
可选地,分析计算模块401也可以只对用户界面中满足预设条件的像素的RGB值进行统计计算。例如,去除用户界面中的黑色、白色、纯绿色、纯红色或/和纯蓝色等像素后,剩下的像素则为满足预设条件的像素。
用户界面中的红绿比值为Rs/Gs,蓝绿比值为Bs/Gs,用户界面中的红绿比值和蓝绿比值决定用户界面色调的冷暖程度。其中,红绿比值对应暖色调,红绿比值越大,则代表色调越暖;蓝绿比值对应冷色调,蓝绿比值越大,则代表色调越冷。
色调信息可以以色调的冷暖等级来表示,如从冷到暖(从低到高)依次定义为1级~n级,将不同范围的红绿比值和蓝绿比值归类到不同的等级,随着红绿比值的逐渐增大、蓝绿比值的逐渐减小,色调冷暖等级逐级升高,从而分析计算模块401根据用户界面的红绿比值和蓝绿比值获得对应的冷暖等级。在某些实施例中,可以仅通过蓝绿比值和红绿比值中的其中一个值来定义色调的冷暖等级,如仅通过蓝绿比值来定义色调的冷暖等级,蓝绿比值越大,则对应的冷暖等级越低,从而分析计算模块401根据用户界面中的蓝绿比值获得对应的冷暖等级;或者仅通过红绿比值来定义色调的冷暖等级,红绿比值越大,则对应的冷暖等级越高,从而分析计算模块401根据用户界面中的红绿比值获得对应的冷暖等级。
色调信息也可以以色调值来表示,如分析计算模块401将红绿比值与蓝绿比值的比值(红绿比值/蓝绿比值)或差值(红绿比值-蓝绿比值)作为色调值,色调值越大,对应的色调越暖,色调值越小,对应的色调越冷。
在另一些实施例中,分析计算模块401根据每一像素的RGB值计算每一像素中的红绿比值或/和蓝绿比值,对用户界面中所有像素的红绿比值或/和蓝绿比值进行统计计算,获得红绿比值或/和蓝绿比值的统计值,根据红绿比值或/和蓝绿比值的统计值获得用户界面的色调信息。
具体的,像素中的红绿比值为R/G,蓝绿比值为B/G,像素中的红绿比值和蓝绿比值决定像素色调的冷暖程度。其中,红绿比值对应暖色调,红绿比值越大,则代表色调越暖;蓝绿比值对应冷色调,蓝绿比值越大,则代表色调越冷。
所述统计计算可以是求和计算或者平均值计算,对应的统计值则为求和值或平均值。例如,假设用户界面中包括N个像素,各像素对应的RGB值为(R1,G1,B1)、(R2,G2,B2)…(Rn,Gn,Bn);则各像素对应的红绿比值为R1/G1、R2/G2…Rn/Gn,分析计算模块401对用户界面中所有像素的红绿比值进行求和运算,获得红绿比值的统计值为[R/G]=(R1/G1+R2/G2+…+Rn/Gn);各像素对应的蓝绿比值为B1/G1、B2/G2…Bn/Gn,分析计算模块401对用户界面中所有像素的蓝绿比值进行求和运算,获得蓝绿比值的统计值为[B/G]=(B1/G1+B2/G2+…+Bn/Gn)。
可选地,分析计算模块401可以只对用户界面中满足预设条件的像素进行红绿比值或/和蓝绿比值的计算以及统计计算。例如,去除用户界面中的黑色、白色、纯绿色、纯红色或/和纯蓝色等像素后,剩下的像素则为满足预设条件的像素。
色调信息可以以色调的冷暖等级来表示,如从冷到暖(从低到高)依次定义为1级~n级,将不同范围的红绿比值和蓝绿比值的统计值归类到不同的等级,随着红绿比值的统计值的逐渐增大、蓝绿比值的统计值的逐渐减小,色调冷暖等级逐级升高,从而分析计算模块401根据用户界面的红绿比值的统计值和蓝绿比值的统计值获得对应的冷暖等级。在某些实施例中,可以仅通过蓝绿比值的统计值和红绿比值的统计值中的其中一个值来定义色调的冷暖等级,如仅通过蓝绿比值的统计值来定义色调的冷暖等级,蓝绿比值的统计值越大,则对应的冷暖等级越低,从而分析计算模块401根据用户界面中的蓝绿比值的统计值获得对应的冷暖等级;或者仅通过红绿比值的统计值来定义色调的冷暖等级,红绿比值的统计值越大,则对应的冷暖等级越高,从而分析计算模块401根据用户界面中的红绿比值的统计值获得对应的冷暖等级。
色调信息也可以以色调值来表示,如分析计算模块401将红绿比值的
统计值与蓝绿比值的统计值的比值(红绿比值的统计值/蓝绿比值的统计值)或差值(红绿比值的统计值-蓝绿比值的统计值)作为色调值,色调值越大,对应的色调越暖,色调值越小,对应的色调越冷。
调节模块402:用于根据预设的色调与色温的对应关系,获取与用户界面的色调信息相对应的色温值,根据获取的色温值调节屏幕的色温。
色调与色温的对应关系,可以是色调的冷暖等级与色温值的一一对应关系,也可以是色调值与色温值的一一对应关系。用户界面的色调信息所显示的色调越冷,则对应的色温值越小。即随着色调冷暖等级的升高,对应的色温值也增大,随着色调冷暖等级的降低,对应的色温值也减小;随着色调值的增大,对应的色温值也增大,随着色调值的减小,对应的色温值也减小。
从而,当用户界面的色调较冷时,调节模块402则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,调节模块402则相应的将屏幕的色温升高,让颜色偏冷一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免图像颜色失真,提高了终端的显示效果。
本发明实施例提供的调节屏幕色温的装置,可以随着用户界面的变化动态的调节屏幕的色温,以使屏幕的色温与用户界面相匹配,如当用户界面的色调较冷时,则相应的将屏幕的色温降低,让颜色偏暖一些;当用户界面的色调较暖时,则相应的将屏幕的色温升高,让颜色偏冷一些。从而,通过相互综合、相互冲抵,使得用户界面的最终显示效果更加自然真实,避免画面颜色失真,提高了显示效果,提升了用户体验。
本发明实施例所述的用户界面,可以是泛指屏幕上显示的所有画面。
在实际应用中,所述分析计算模块401、所述调节模块402均可由中央处理单元(CPU,Central Processing Unit)、或数字信号处理(DSP,Digital
Signal Processor)、或微处理器(MPU,Micro Processor Unit)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等来实现。
需要说明的是:上述实施例提供的调节屏幕色温的装置在调节屏幕色温时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成。另外,上述实施例提供的调节屏幕色温的装置与调节屏幕色温的方法实施例属于同一构思,其具体实现过程详见方法实施例,且方法实施例中的技术特征在装置实施例中均对应适用,这里不再赘述。
本发明实施例还提供一种终端,该终端至少包括如图4所示的调节屏幕色温的装置。
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤可以通过程序来控制相关的硬件完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质可以是ROM/RAM、磁盘、光盘等。
应当理解的是,以上仅为本发明的优选实施例,不能因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和
/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
本发明实施例提供的调节屏幕色温的方法、装置、终端及计算机存储介质,通过检测终端的用户界面中的像素的RGB值,根据像素的RGB值获得用户界面的色调信息,根据预设的色调与色温的对应关系,获取与用户界面的色调信息相对应的色温值,最后根据获取的色温值调节屏幕的色温,使得终端可以随着用户界面的变化动态的调节屏幕的色温,以使屏幕的色温与用户界面相匹配,从而能够实现根据用户界面动态调节屏幕的色温,使用户界面显示的画面更加自然真实,增强了终端的显示效果,提升了用户体验。
Claims (20)
- 一种调节屏幕色温的方法,所述方法包括:检测终端的用户界面中的像素的RGB值;根据所述RGB值获得所述用户界面的色调信息;根据预设的色调与色温的对应关系,获取与所述用户界面的色调信息相对应的色温值;根据获取的色温值调节屏幕的色温。
- 根据权利要求1所述的调节屏幕色温的方法,其中,所述根据所述RGB值获得所述用户界面的色调信息,包括:对所述用户界面中所有像素的RGB值进行统计计算,获得所述用户界面中红绿蓝三个基准色的统计值;根据所述红绿蓝三个基准色的统计值,计算所述用户界面中的红绿比值或/和蓝绿比值;根据所述红绿比值或/和蓝绿比值获得所述用户界面的色调信息。
- 根据权利要求1所述的调节屏幕色温的方法,其中,所述根据所述RGB值获取所述用户界面的色调信息,包括:根据每一像素的RGB值计算每一像素中的红绿比值或/和蓝绿比值;对所述用户界面中所有像素的红绿比值或/和蓝绿比值进行统计计算,获得所述红绿比值或/和蓝绿比值的统计值;根据所述红绿比值或/和蓝绿比值的统计值获得所述用户界面的色调信息。
- 根据权利要求1至3任一项所述的调节屏幕色温的方法,其中,所述色调信息为色调的冷暖等级或色调值。
- 根据权利要求1至3任一项所述的调节屏幕色温的方法,其中,所述用户界面的色调信息所显示的色调越冷,则对应的色温值越小。
- 根据权利要求2或3所述的调节屏幕色温的方法,其特征在于,所述方法还包括:对用户界面中满足预设条件的像素进行红绿比值或/和蓝绿比值的统计计算。
- 根据权利要求4的调节屏幕色温的方法,其特征在于,所述方法还包括:所述色调值为用户界面中像素的红绿比值的统计值与蓝绿比值的统计值之间的比值,或者,所述色调值为所述红绿比值的统计值与所述蓝绿比值的统计值之间的差值。
- 根据权利要求1所述的调节屏幕色温的方法,其特征在于,所述根据获取的色温值调节屏幕的色温方法,包括:当所述用户界面的色调冷时,降低屏幕的色温;当所述用户界面的色调暖时,升高屏幕的色温。
- 根据权利要求2所述的调节屏幕色温的方法,其特征在于,所述获得所述用户界面中红绿蓝三个基准色的统计值,包括:对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行求和运算,得到每一基准色的统计值;或者,对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行平均值运算,得到每一基准色的统计值。
- 一种调节屏幕色温的装置,所述装置包括:分析计算模块和调节模块,其中:分析计算模块,配置为检测终端的用户界面中的像素的RGB值,根据所述RGB值获得所述用户界面的色调信息;调节模块,配置为根据预设的色调与色温的对应关系,获取与所述用户界面的色调信息相对应的色温值,根据获取的色温值调节屏幕的色温。
- 根据权利要求10所述的调节屏幕色温的装置,其中,所述分析计算模块,配置为:对所述用户界面中所有像素的RGB值进行统计计算,获得所述用户界面中红绿蓝三个基准色的统计值;根据所述红绿蓝三个基准色的统计值计算所述用户界面中的红绿比值或/和蓝绿比值;根据所述红绿比值或/和蓝绿比值获得所述用户界面的色调信息。
- 根据权利要求10所述的调节屏幕色温的装置,其中,所述分析计算模块配置为:根据每一像素的RGB值计算每一像素中的红绿比值或/和蓝绿比值;对所述用户界面中所有像素的红绿比值或/和蓝绿比值进行统计计算,获得红绿比值或/和蓝绿比值的统计值;根据所述红绿比值或/和蓝绿比值的统计值获得所述用户界面的色调信息。
- 根据权利要求10-12任一项所述的调节屏幕色温的装置,其中,所述色调信息为色调的冷暖等级或色调值。
- 根据权利要求10-12任一项所述的调节屏幕色温的装置,其中,所述用户界面的色调信息所显示的色调越冷,则对应的色温值越小。
- 根据权利要求11或12所述的调节屏幕色温的装置,其中,所述分析计算模块,还配置为:对用户界面中满足预设条件的像素进行红绿比值或/和蓝绿比值的统计计算。
- 根据权利要求13所述的调节屏幕色温的装置,其中,所述色调值为用户界面中像素的红绿比值的统计值与蓝绿比值的统计值之间的比值,或者,所述色调值为所述红绿比值的统计值与所述蓝绿比 值的统计值之间的差值。
- 根据权利要求10所述的调节屏幕色温的装置,其中,所述调节模块,还配置为:当所述用户界面的色调冷时,降低屏幕的色温;当所述用户界面的色调暖时,升高屏幕的色温。
- 根据权利要求11所述的调节屏幕色温的装置,其中,所述分析计算模块,还配置为:对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行求和运算,得到每一基准色的统计值;或者,对所述用户界面中所有像素的红绿蓝三个基准色中每一基准色进行平均值运算,得到每一基准色的统计值。
- 一种终端,所述终端至少包括如权利要求10至18任一项所述的调节屏幕色温的装置。
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至9任一项所述的调节屏幕色温的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410623783.9 | 2014-11-07 | ||
CN201410623783.9A CN104360829B (zh) | 2014-11-07 | 2014-11-07 | 调节屏幕色温的方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016070730A1 true WO2016070730A1 (zh) | 2016-05-12 |
Family
ID=52528093
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/089630 WO2016070681A1 (zh) | 2014-11-07 | 2015-09-15 | 调节屏幕色温的方法、装置和计算机存储介质 |
PCT/CN2015/092875 WO2016070730A1 (zh) | 2014-11-07 | 2015-10-26 | 调节屏幕色温的方法、装置、终端和存储介质 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/089630 WO2016070681A1 (zh) | 2014-11-07 | 2015-09-15 | 调节屏幕色温的方法、装置和计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104360829B (zh) |
WO (2) | WO2016070681A1 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104360829B (zh) * | 2014-11-07 | 2017-06-30 | 努比亚技术有限公司 | 调节屏幕色温的方法和装置 |
CN106331344B (zh) * | 2016-08-23 | 2019-10-29 | 维沃移动通信有限公司 | 一种屏幕色温的调节方法及移动终端 |
CN108182658B (zh) * | 2018-01-30 | 2021-10-22 | 北京小米移动软件有限公司 | 图像美化方法及装置 |
CN108391112A (zh) * | 2018-04-02 | 2018-08-10 | 深圳Tcl新技术有限公司 | 一种提升显示画质的方法、系统及存储介质 |
CN110415226A (zh) * | 2019-07-23 | 2019-11-05 | Oppo广东移动通信有限公司 | 杂散光的测定方法、装置、电子设备及存储介质 |
CN110808002A (zh) * | 2019-11-28 | 2020-02-18 | 北京迈格威科技有限公司 | 屏幕的显示补偿方法、装置及电子设备 |
CN111147838B (zh) * | 2020-01-03 | 2022-08-09 | 惠州Tcl移动通信有限公司 | 一种图像处理方法、装置及移动终端 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1627356A (zh) * | 2003-12-12 | 2005-06-15 | 松下电器产业株式会社 | 彩色图像显示装置、色变换装置、色彩模拟装置及方法 |
CN101083774A (zh) * | 2006-05-31 | 2007-12-05 | 深圳Tcl工业研究院有限公司 | 一种色温动态调整方法 |
JP2008070621A (ja) * | 2006-09-14 | 2008-03-27 | Canon Inc | 画像表示装置及びこれを用いた電子機器 |
CN102419947A (zh) * | 2011-11-21 | 2012-04-18 | 四川长虹电器股份有限公司 | 液晶屏幕的色温调试方法 |
CN104360829A (zh) * | 2014-11-07 | 2015-02-18 | 深圳市中兴移动通信有限公司 | 调节屏幕色温的方法和装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3733873B2 (ja) * | 2001-06-07 | 2006-01-11 | ノーリツ鋼機株式会社 | 写真画像処理装置、方法及び写真処理装置 |
KR100651946B1 (ko) * | 2004-09-22 | 2006-12-06 | 엘지전자 주식회사 | 피디피의 색온도 조정방법 |
US8265389B2 (en) * | 2008-07-02 | 2012-09-11 | Qualcomm Icorporated | Color enhancement for digital images |
CN102810306B (zh) * | 2012-07-26 | 2015-01-07 | 广东欧珀移动通信有限公司 | 一种显示屏壁纸亮度的自动控制方法 |
CN103391363B (zh) * | 2013-07-11 | 2015-10-28 | 广东欧珀移动通信有限公司 | 一种拍照预览显示方法、装置及移动终端 |
-
2014
- 2014-11-07 CN CN201410623783.9A patent/CN104360829B/zh active Active
-
2015
- 2015-09-15 WO PCT/CN2015/089630 patent/WO2016070681A1/zh active Application Filing
- 2015-10-26 WO PCT/CN2015/092875 patent/WO2016070730A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1627356A (zh) * | 2003-12-12 | 2005-06-15 | 松下电器产业株式会社 | 彩色图像显示装置、色变换装置、色彩模拟装置及方法 |
CN101083774A (zh) * | 2006-05-31 | 2007-12-05 | 深圳Tcl工业研究院有限公司 | 一种色温动态调整方法 |
JP2008070621A (ja) * | 2006-09-14 | 2008-03-27 | Canon Inc | 画像表示装置及びこれを用いた電子機器 |
CN102419947A (zh) * | 2011-11-21 | 2012-04-18 | 四川长虹电器股份有限公司 | 液晶屏幕的色温调试方法 |
CN104360829A (zh) * | 2014-11-07 | 2015-02-18 | 深圳市中兴移动通信有限公司 | 调节屏幕色温的方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
WO2016070681A1 (zh) | 2016-05-12 |
CN104360829A (zh) | 2015-02-18 |
CN104360829B (zh) | 2017-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016070730A1 (zh) | 调节屏幕色温的方法、装置、终端和存储介质 | |
CN105046646B (zh) | 一种高光谱图像的色彩可视化的方法 | |
US20140267470A1 (en) | Color adjustment device, method for adjusting color, and display | |
US9661187B1 (en) | Color gamut mapping method based on color gamut of source image | |
WO2015109746A1 (zh) | 图像色彩增强的方法和装置 | |
CN104935900B (zh) | 图像感测装置及色彩校正矩阵修正方法与查找表建立方法 | |
WO2017080015A1 (zh) | 控制低灰阶白平衡的方法及装置 | |
TWI532385B (zh) | 白平衡處理方法及其處理裝置 | |
WO2013131311A1 (zh) | 对彩色数字图像进行视觉感知高保真变换的方法及系统 | |
US20140292616A1 (en) | Computer monitor equalization using handheld device | |
CN111899182A (zh) | 颜色增强方法及装置 | |
CN113676712B (zh) | 一种色彩校正方法及其相关装置 | |
US9305519B2 (en) | Image color adjusting method and electronic device using the same | |
WO2019192406A1 (zh) | 一种提升显示画质的方法、系统及存储介质 | |
CN102903343A (zh) | 快速调整色温方法 | |
CN101790101B (zh) | 图像饱和度调整方法与图像饱和度调整装置 | |
TWI485694B (zh) | 影像色彩調整方法與其電子裝置 | |
US20130229430A1 (en) | Method and device for simulation of image at oblique view angle | |
CN111105383B (zh) | 一种面向三色视觉的图像融合颜色增强方法 | |
Lee et al. | Contrast-preserved chroma enhancement technique using YCbCr color space | |
WO2016184153A1 (zh) | 一种防偏色方法、终端及计算机存储介质 | |
EP2672718A1 (en) | Color calibration of an image capture device in a way that is adaptive to the scene to be captured | |
CN104010189B (zh) | 一种基于色度共生矩阵加权的视频质量客观评价方法 | |
Hirakawa et al. | Chromatic adaptation and white-balance problem | |
EP2802139A1 (en) | Image color adjusting method and electronic device using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15857926 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26/09/2017) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15857926 Country of ref document: EP Kind code of ref document: A1 |