[go: up one dir, main page]

CN107025464A - A kind of colour selecting method and terminal - Google Patents

A kind of colour selecting method and terminal Download PDF

Info

Publication number
CN107025464A
CN107025464A CN201710240535.XA CN201710240535A CN107025464A CN 107025464 A CN107025464 A CN 107025464A CN 201710240535 A CN201710240535 A CN 201710240535A CN 107025464 A CN107025464 A CN 107025464A
Authority
CN
China
Prior art keywords
color
value
cluster
theme
default
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.)
Withdrawn
Application number
CN201710240535.XA
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710240535.XA priority Critical patent/CN107025464A/en
Publication of CN107025464A publication Critical patent/CN107025464A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Spectrometry And Color Measurement (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The embodiments of the invention provide a kind of colour selecting method and terminal, methods described includes carrying out all colours in current display interface color cluster to generate cluster color, and it is interval that each described cluster color correspondence has a cluster;Calculate the weighted average color of all colours in the display interface;According to the weighted average color, the type of theme of the display interface is judged, the type of theme includes bright theme and dark theme;Color strategy is tuned according to the cluster color, the type of theme and default mass-tone, the dominant hue of the display interface is calculated;Color strategy is tuned according to the cluster color, the dominant hue and default inverse, the negative tone of the display interface is calculated;Interval according to the cluster, the hue value to the dominant hue or the negative tone carries out numerical value adjustment.Implement the embodiment of the present invention, can effectively strengthen the Selection effect of dominant hue or negative tone, while can be modified to the dominant hue or negative tone.

Description

A kind of colour selecting method and terminal
Technical field
The present invention relates to areas of information technology, more particularly to a kind of colour selecting method and terminal.
Background technology
With the development of electronic technology, the terminal such as mobile phone, iWatch, iPad is more and more intelligent.In the prior art, exist Some terminals extract dominant hue and anti-by the way that color cluster is automatic when display interface shows word from current display interface Tone is used as the primary color element of a user interface.The background color of the display interface is for example first obtained, it is then determined that The tone of the background color, then the color of the word is set to the negative tone corresponding with the tone, so that user sees more Clearly.But prior art is poor to the Selection effect of dominant hue and negative tone, and not to the dominant hue that calculates and Negative tone is modified, and the color for easily causing dominant hue and negative tone is got too close to, and then influences display effect.
The content of the invention
The invention provides a kind of more preferable colour selecting method of Selection effect and terminal.
In a first aspect, the embodiments of the invention provide a kind of colour selecting method, methods described includes:
All colours in current display interface are carried out with color cluster to generate cluster color, each described cluster color It is interval to there is a cluster in correspondence;
Calculate the weighted average color of all colours in the display interface;
According to the weighted average color, the type of theme of the display interface is judged, the type of theme includes bright master Topic and dark theme;
Color strategy is tuned according to the cluster color, the type of theme and default mass-tone, display circle is calculated The dominant hue in face;
Color strategy is tuned according to the cluster color, the dominant hue and default inverse, the display interface is calculated Negative tone;
Interval according to the cluster, the hue value to the dominant hue or the negative tone carries out numerical value adjustment.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Cluster cell, it is each for carrying out color cluster to all colours in current display interface to generate cluster color It is interval to there is a cluster in the individual cluster color correspondence;
Average color computing unit, the weighted average color for calculating all colours in the display interface;
Theme judging unit, it is described for according to the weighted average color, judging the type of theme of the display interface Type of theme includes bright theme and dark theme;
Dominant hue computing unit, for tuning color according to the cluster color, the type of theme and default mass-tone Strategy, calculates the dominant hue of the display interface;
Negative tone computing unit, for tuning color plan according to the cluster color, the dominant hue and default inverse Slightly, the negative tone of the display interface is calculated;
Adjustment unit, for, hue value progress to the dominant hue or the negative tone interval according to the cluster Numerical value is adjusted.
The embodiments of the invention provide a kind of colour selecting method and terminal, according to the cluster color, the type of theme with And default mass-tone tunes color strategy, the dominant hue of the display interface is calculated;According to the cluster color, the dominant hue with And default inverse tunes color strategy, the negative tone of the display interface is calculated;It is interval according to the cluster, to the dominant hue Or the hue value of the negative tone carries out numerical value adjustment.Implement the embodiment of the present invention, can effectively strengthen dominant hue or inverse The Selection effect of tune, while can be modified to the dominant hue or negative tone.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of colour selecting method in present pre-ferred embodiments;
Fig. 2 is the schematic diagram of color cluster in present pre-ferred embodiments;
Fig. 3 is a kind of sub-process schematic diagram of colour selecting method in present pre-ferred embodiments;
Fig. 4 is a kind of sub-process schematic diagram of colour selecting method in present pre-ferred embodiments;
Fig. 5 is a kind of sub-process schematic diagram of colour selecting method in present pre-ferred embodiments;
Fig. 6 is a kind of functional-block diagram of terminal in present pre-ferred embodiments;
Fig. 7 is a kind of functional-block diagram of the theme judging unit in terminal in present pre-ferred embodiments;
Fig. 8 is a kind of functional-block diagram of the dominant hue computing unit in terminal in present pre-ferred embodiments;
Fig. 9 is a kind of functional-block diagram of the adjustment unit in terminal in present pre-ferred embodiments;
Figure 10 is the structural representation of another terminal in present pre-ferred embodiments.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole Body, step, operation, element, component and/or its presence or addition for gathering.
Fig. 1 is refer to, it is a kind of schematic flow sheet of colour selecting method in present pre-ferred embodiments.Side shown in Fig. 1 Method can apply to smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, palm PC and mobile Internet Equipment (Mobile Internet Devices, MID), personal digital assistant (Personal Digital Assistant, PDA), the terminal such as media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet.The colour selecting method include but It is not limited to step S101-S106.
All colours in current display interface are carried out color cluster to generate cluster color, each is described poly- by S101 It is interval to there is a cluster in class color correspondence.
In specific implementation, the color progress color cluster of display interface can be entered based on the clustering algorithm of all kinds of color model Row cluster, the color model includes but is not limited to RGB color model, HSL color model, and the embodiment of the present invention is to the color Model is not defined.
Specifically, in the current display interface all colours include but is not limited to it is common it is red, orange, yellow, yellowish green, green, Some or all of color in the color such as viridescent, indigo plant, royal purple, purple, purplish red, the brightness of each color can 0~1 anaplasia Change, saturation degree can change between 0~1, an each group of brightness pixel corresponding with intensity value, each pixel is presented Go out a kind of new color.For example, the brightness of random color is 0, saturation degree is 0 pixel, and the new color showed is black; The brightness of random color be 1, saturation degree be 1 pixel, the new color showed for white, when brightness and saturation combinations into Other new colors can be presented during other values.
As one preferably, the embodiment of the present invention is chosen the clustering algorithm based on HSL color model and classified, described HSL color model includes three fundamental component parameters and passed through to form and aspect (H), saturation degree (S), three Color Channels of lightness (L) Change and their superpositions each other obtain miscellaneous color, and HSL is to represent form and aspect, saturation degree, lightness three The color of individual passage.In the embodiment of the present invention, the span of the hue value is 0-360, the span of the brightness value For 0-1, the span of the intensity value is 0-1.
According to the HSL color model, the change based on brightness and saturation degree carries out dividing according to default partition strategy It is interval to multiple clusters, pixel corresponding color of the same cluster in interval is classified as same tone.
Fig. 2 specifically is refer to, it is the schematic diagram of color cluster in present pre-ferred embodiments.As shown in Fig. 2 described pre- If partition strategy includes:Brightness is being represented with x-axis, y-axis represents in the rectangular coordinate system of saturation degree, brightness is taken between 0 to 1 Value and saturation degree take the value area defined between 0 to 1 to be chosen for pixel region 100.Pass through formula y=θ * (x-k)4+n The first represented parabola 111, formula y=β * (x-k)2The second parabola 112 represented by+m, is distributed in the first parabola 111 symmetry axis both sides and the first straight line 113 parallel with symmetry axis and second straight line 114, and the first parabola 111 of connection Summit and the line segment 115 on summit of the second parabola 112 pixel region 100 is divided into to be divided into the first cluster interval 211st, the second cluster interval 212, the cluster interval 215 and the 6th of the cluster interval of trimerization class interval the 213, the 4th the 214, the 5th are poly- Class interval 216.
Wherein, two intersection points of the first parabola 111 and pixel region frontside edge respectively fall in first straight line 113 and the On two straight lines 114;X is characterizes the stochastic variable of brightness, and y is the amount for characterizing saturation degree and changing with x, and θ is the fixation more than 0 Value, k and n are the fixed value more than 0 less than 1., the second parabola 112 and the first parabola 111 not phase in pixel region 100 Hand over, β is fixed value more than 0, and θ > β, m is are less than 1 fixed value, and m > n more than 0.
As one preferably, the formula of first parabola 111 is:Y=23.2* (x-0.5)4+0.05;Described second The formula of parabola 112 is:Y=6.5* (x-0.5)2+0.2。
S102, calculates the weighted average color of all colours in the display interface.
S103, according to the weighted average color, judges the type of theme of the display interface, the type of theme includes Bright theme and dark theme.
Fig. 3 specifically is refer to, it is a kind of sub-process schematic diagram of colour selecting method in present pre-ferred embodiments, further Ground, it is described according to the weighted average color, judge that the type of theme of the display interface includes but is not limited to step S1031- S1033。
S1031, obtains the brightness value and intensity value of the weighted average color.
S1032, judges whether the brightness value and the intensity value meet default theme judgment formula.
S1033, if the brightness value and the intensity value meet default theme judgment formula, determines the theme Type is dark theme, if the brightness value and the intensity value are unsatisfactory for default theme judgment formula, determines the master Topic type is bright theme.
The theme judgment formula includes:S<125*|L-0.3|3And L<0.3, wherein S are the weighted average color Intensity value, L is the brightness value of weighted average color, and S and L span are 0 to 1.
S104, color strategy is tuned according to the cluster color, the type of theme and default mass-tone, calculates described aobvious Show the dominant hue at interface.
Fig. 4 specifically is refer to, it is a kind of sub-process schematic diagram of colour selecting method in present pre-ferred embodiments.Further Ground, it is described that color strategy is tuned according to the cluster color, the type of theme and default mass-tone, calculate the display interface Dominant hue include but is not limited to step S1041-S1045.
S1041, obtains the pixel ratio shared by brightness value, intensity value and the cluster color of the cluster color Example.
S1042, by the brightness value of the cluster color, saturation degree weighted value and the pixel ratio respectively with it is default Weight desired value subtracts each other to draw target difference, the target difference include luma target difference, saturation degree target difference and Pixel ratio target difference.
S1043, the pixel ratio according to shared by the brightness value of the cluster color, intensity value and the cluster color Example, judges whether the cluster color meets and default selects color Rule of judgment.
S1044, if the cluster color meet it is described select color Rule of judgment, according to default weight calculation formula to described Cluster color is calculated, and draws the corresponding weighted value of the cluster color.
S1045, the corresponding weighted value of each class cluster color is compared, by the cluster that the weighted value is maximum Color is defined as the dominant hue.
The weight calculation formula is:M=x*A+y*B+z*C, wherein A are the absolute value of the luma target difference, and B is The absolute value of the saturation degree target difference, C is the absolute value of pixel ratio target difference.X, y, z is the target difference Corresponding weight coefficient, the span of x, y, z is 0 to 1, and x+y+z=1.
In specific implementation, the setting of the weight coefficient correspond to it is described select color Rule of judgment, it is described to select color Rule of judgment Quantity be one or more.For example, it is interval based on the cluster that the embodiment of the present invention is provided, it is described to select color Rule of judgment Think whether the brightness value for judging the cluster color and intensity value are located at the described first cluster interval, and the pixel ratio Whether 10/10000ths are more than.If it is interval and described that the brightness value of the cluster color is located at the described first cluster with intensity value Pixel ratio is more than 10/10000ths, then the cluster color is calculated according to default weight calculation formula, draws described The corresponding weighted value of cluster color.Assuming that being adjusted to according to the mass-tone for selecting color Rule of judgment and corresponding weight coefficient to be drawn Null value, then according to default order, selection is next to be selected color Rule of judgment to be judged and selects color Rule of judgment pair according to this The weight coefficient answered is calculated.By that analogy, to obtain meeting the dominant hue for selecting color Rule of judgment to be calculated.
Further, the weight desired value includes the first weight desired value and the second weight desired value,
If the type of theme is bright theme, the brightness value of the cluster color, saturation degree weighted value and pixel are accounted for Subtract each other to draw the first weight target difference with the first weight desired value respectively than weighted value;
If the type of theme is dark theme, the brightness value of the cluster color, saturation degree weighted value and pixel are accounted for Subtract each other to draw the second weight target difference with the second weight desired value respectively than weighted value.
S105, color strategy is tuned according to the cluster color, the dominant hue and default inverse, calculates the display The negative tone at interface.
It is similar with the dominant hue computational methods provided in the embodiment of the present invention in specific implementation.It is described to be gathered according to described Class color, the dominant hue and default inverse tune color strategy, calculate the negative tone of the display interface and include but do not limit In following steps:
Obtain the brightness value of the cluster color, intensity value, hue value, the pixel ratio shared by the cluster color with And the hue value of the dominant hue.
By the brightness value of the cluster color, saturation degree weighted value and the pixel ratio respectively with default negative tone Weight desired value subtracts each other to draw negative tone target difference, the negative tone target difference include negative tone luma target difference, Negative tone saturation degree target difference and negative tone pixel ratio target difference.
The hue value of the hue value of the cluster color and the dominant hue is subtracted each other to draw negative tone form and aspect difference.
According to the brightness value of the cluster color, intensity value, the negative tone form and aspect difference and the cluster color Shared pixel ratio, judges whether the cluster color meets default inverse and tune color Rule of judgment.
If the cluster color meets the inverse and tunes color Rule of judgment, according to default weight calculation formula to described Cluster color is calculated, and draws the corresponding negative tone weighted value of the cluster color.
The corresponding negative tone weighted value of each class cluster color is compared, the negative tone weighted value is maximum Cluster color be defined as the negative tone.
The negative tone weight calculation formula is:M=x*A+y*B+z*C+w*D, wherein A are the negative tone luma target The absolute value of difference, B is the absolute value of the negative tone saturation degree target difference, and C is the negative tone pixel ratio goal discrepancy The absolute value of value, D is the absolute value of the negative tone form and aspect difference.X, y, z, w are that the negative tone target difference is corresponding Weight coefficient, x, y, z, w span are 0 to 1, and x+y+z+w=1.
In other embodiment, if the dominant hue clusters interval or institute positioned at the described 4th simultaneously with the negative tone State that the 5th cluster is interval or the 6th cluster is interval, then the Accent colour choose it is orange and to the form and aspect of the Accent colour not Adjust.
S106, interval according to the cluster, the hue value to the dominant hue or the negative tone carries out numerical value adjustment.
Fig. 5 specifically is refer to, it is a kind of sub-process schematic diagram of colour selecting method in present pre-ferred embodiments.Further Ground, it is described interval according to the cluster, the hue value of the dominant hue or the negative tone is carried out numerical value adjustment include but It is not limited to step S1061-S1063.
S1061, judges whether the dominant hue is located at default cluster with the negative tone interval.
For example, it is interval to judge whether the dominant hue is respectively positioned on first cluster with the negative tone.
S1062, if to be located at default cluster interval for the dominant hue and the negative tone, by the dominant hue with it is described anti- The hue value of tone subtracts each other to draw form and aspect difference.
In specific implementation, the dominant hue and the negative tone are subtracted each other into drawn form and aspect difference for positive number.
S1063, judges whether the form and aspect difference is less than default hue difference threshold value.
S1064, if the form and aspect difference is less than default hue difference threshold value, by the hue value of the dominant hue and the color Disparity threshold is added or subtracted each other.
In specific implementation, it is assumed that the dominant hue hue value is 200, the negative tone form and aspect difference is 180, the form and aspect Poor threshold value is 30.It is computed drawing, corresponding form and aspect difference is 20, it is clear that the form and aspect difference is less than the hue difference threshold Value.Therefore the hue value of the dominant hue is subtracted each other with the hue difference threshold value.Assuming that the dominant hue hue value is 200, institute It is 220 to state negative tone form and aspect difference, and the hue difference threshold value is 30.It is computed drawing, corresponding form and aspect difference is 20, it is clear that The form and aspect difference is less than the hue difference threshold value.Therefore the hue value of the dominant hue is added with the hue difference threshold value.
Fig. 6 is refer to, it is a kind of functional-block diagram of terminal in present pre-ferred embodiments.It is described single including cluster Member, average color computing unit, theme judging unit, dominant hue computing unit, negative tone computing unit and adjustment unit.
Cluster cell, it is each for carrying out color cluster to all colours in current display interface to generate cluster color It is interval to there is a cluster in the individual cluster color correspondence.
In specific implementation, the color progress color cluster of display interface can be entered based on the clustering algorithm of all kinds of color model Row cluster, the color model includes but is not limited to RGB color model, HSL color model, and the embodiment of the present invention is to the color Model is not defined.
Specifically, in the current display interface all colours include but is not limited to it is common it is red, orange, yellow, yellowish green, green, Some or all of color in the color such as viridescent, indigo plant, royal purple, purple, purplish red, the brightness of each color can 0~1 anaplasia Change, saturation degree can change between 0~1, an each group of brightness pixel corresponding with intensity value, each pixel is presented Go out a kind of new color.For example, the brightness of random color is 0, saturation degree is 0 pixel, and the new color showed is black; The brightness of random color be 1, saturation degree be 1 pixel, the new color showed for white, when brightness and saturation combinations into Other new colors can be presented during other values.
As one preferably, the embodiment of the present invention is chosen the clustering algorithm based on HSL color model and classified, described HSL color model includes three fundamental component parameters and passed through to form and aspect (H), saturation degree (S), three Color Channels of lightness (L) Change and their superpositions each other obtain miscellaneous color, and HSL is to represent form and aspect, saturation degree, lightness three The color of individual passage.In the embodiment of the present invention, the span of the hue value is 0-360, the span of the brightness value For 0-1, the span of the intensity value is 0-1.
According to the HSL color model, the change based on brightness and saturation degree carries out dividing according to default partition strategy It is interval to multiple clusters, pixel corresponding color of the same cluster in interval is classified as same tone.
Fig. 2 specifically is refer to, it is the schematic diagram of color cluster in present pre-ferred embodiments.As shown in Fig. 2 described pre- If partition strategy includes:Brightness is being represented with x-axis, y-axis represents in the rectangular coordinate system of saturation degree, brightness is taken between 0 to 1 Value and saturation degree take the value area defined between 0 to 1 to be chosen for pixel region 100.
Pass through formula y=θ * (x-k)4The first parabola 111 represented by+n, formula y=β * (x-k)2Represented by+m Two parabolas 112, are distributed in the symmetry axis both sides of the first parabola 111 and the first straight line 113 and second parallel with symmetry axis Straight line 114, and the first parabola 111 of connection summit and the second parabola 112 summit line segment 115 by the pixel region Domain 100, which is divided into, is divided into the first cluster interval 211, second cluster interval 212, the cluster interval of trimerization class interval the 213, the 4th 214th, the 5th cluster interval 215 and the 6th cluster interval 216.Wherein, the first parabola 111 and pixel region frontside edge Two intersection points are respectively fallen in first straight line 113 and second straight line 114;X is characterizes the stochastic variable of brightness, and y is sign saturation Degree and the amount changed with x, θ are the fixed value more than 0, and k and n are the fixed value more than 0 less than 1., the second parabola 112 and One parabola 111 is non-intersect in pixel region 100, and β is the fixed value more than 0, and θ > β, m are the fixation more than 0 less than 1 Value, and m > n.
As one preferably, the formula of first parabola 111 is:Y=23.2* (x-0.5)4+0.05;Described second The formula of parabola 112 is:Y=6.5* (x-0.5)2+0.2。
Average color computing unit, the weighted average color for calculating all colours in the display interface.
Fig. 7 is refer to, it is a kind of functional-block diagram of the theme judging unit in terminal in present pre-ferred embodiments. Specifically, the theme judging unit is used for according to the weighted average color, judges the type of theme of the display interface, institute Stating type of theme includes bright theme and dark theme.
The theme judging unit includes first acquisition unit, the first judging unit and determining unit.
First acquisition unit, brightness value and intensity value for obtaining the weighted average color.
First judging unit, judges for judging whether the brightness value and the intensity value meet default theme Formula.
Determining unit, if meeting default theme judgment formula for the brightness value and the intensity value, it is determined that The type of theme is dark theme, if the brightness value and the intensity value are unsatisfactory for default theme judgment formula, really The fixed type of theme is bright theme.
The theme judgment formula includes:S<125*|L-0.3|3And L<0.3, wherein S are the weighted average color Intensity value, L is the brightness value of weighted average color, and S and L span are 0 to 1.
Fig. 8 is refer to, it is a kind of principle square frame of the dominant hue computing unit in terminal in present pre-ferred embodiments Figure.The dominant hue computing unit, for tuning color plan according to the cluster color, the type of theme and default mass-tone Slightly, the dominant hue of the display interface is calculated.Specifically, dominant hue computing unit includes second acquisition unit, target difference meter Calculate unit, the second judging unit, weighted value computing unit and comparing unit.
Second acquisition unit, brightness value, intensity value and cluster color institute for obtaining the cluster color The pixel ratio accounted for.
Target difference computing unit, for by the brightness value of the cluster color, saturation degree weighted value and the pixel Ratio is subtracted each other with default weight desired value to draw target difference respectively, and the target difference includes luma target difference, satisfied With degree target difference and pixel ratio target difference.
Second judging unit, for the brightness value according to the cluster color, intensity value and cluster color institute The pixel ratio accounted for, judges whether the cluster color meets and default selects color Rule of judgment.
Weighted value computing unit, if for the cluster color meet it is described select color Rule of judgment, according to default weight Calculation formula is calculated the cluster color, draws the corresponding weighted value of the cluster color.
Comparing unit, the corresponding weighted value of each class cluster color is compared, the weighted value is maximum Cluster color is defined as the dominant hue.
The weight calculation formula is:M=x*A+y*B+z*C, wherein A are the absolute value of the luma target difference, and B is The absolute value of the saturation degree target difference, C is the absolute value of pixel ratio target difference.X, y, z is the target difference Corresponding weight coefficient, the span of x, y, z is 0 to 1, and x+y+z=1.
In specific implementation, the setting of the weight coefficient correspond to it is described select color Rule of judgment, it is described to select color Rule of judgment Quantity be one or more.For example, it is interval based on the cluster that the embodiment of the present invention is provided, it is described to select color Rule of judgment Think whether the brightness value for judging the cluster color and intensity value are located at the described first cluster interval, and the pixel ratio Whether 10/10000ths are more than.If it is interval and described that the brightness value of the cluster color is located at the described first cluster with intensity value Pixel ratio is more than 10/10000ths, then the cluster color is calculated according to default weight calculation formula, draws described The corresponding weighted value of cluster color.Assuming that being adjusted to according to the mass-tone for selecting color Rule of judgment and corresponding weight coefficient to be drawn Null value, then according to default order, selection is next to be selected color Rule of judgment to be judged and selects color Rule of judgment pair according to this The weight coefficient answered is calculated.By that analogy, to obtain meeting the dominant hue for selecting color Rule of judgment to be calculated.
Further, the weight desired value includes the first weight desired value and the second weight desired value,
If the type of theme is bright theme, the brightness value of the cluster color, saturation degree weighted value and pixel are accounted for Subtract each other to draw the first weight target difference with the first weight desired value respectively than weighted value;
If the type of theme is dark theme, the brightness value of the cluster color, saturation degree weighted value and pixel are accounted for Subtract each other to draw the second weight target difference with the second weight desired value respectively than weighted value.
The negative tone computing unit is used to tune color according to the cluster color, the dominant hue and default inverse Strategy, calculates the negative tone of the display interface.Specifically, the negative tone computing unit includes the 5th acquiring unit, inverse Adjust target difference computing unit, negative tone form and aspect difference computational unit, the 5th judging unit, negative tone weighted value computing unit with And negative tone comparing unit.
5th acquiring unit, for obtaining the brightness value of the cluster color, intensity value, hue value, the cluster face The hue value of pixel ratio and the dominant hue shared by color.
Negative tone target difference computing unit, for by the brightness value of the cluster color, saturation degree weighted value and institute Pixel ratio is stated to subtract each other to draw negative tone target difference, the negative tone target respectively with default negative tone weight desired value Difference includes negative tone luma target difference, negative tone saturation degree target difference and negative tone pixel ratio target difference.
Negative tone form and aspect difference computational unit, for by the hue value of the hue value of the cluster color and the dominant hue Subtract each other to draw negative tone form and aspect difference.
5th judging unit, for the brightness value according to the cluster color, intensity value, the negative tone form and aspect difference And the pixel ratio shared by the cluster color, judge whether the cluster color meets default inverse and tune color and judge bar Part.
Negative tone weighted value computing unit, if meeting the inverse for the cluster color tunes color Rule of judgment, root The cluster color is calculated according to default weight calculation formula, the corresponding negative tone weight of the cluster color is drawn Value.
Negative tone comparing unit, will for the corresponding negative tone weighted value of each class cluster color to be compared The maximum cluster color of the negative tone weighted value is defined as the negative tone.
The negative tone weight calculation formula is:M=x*A+y*B+z*C+w*D, wherein A are the negative tone luma target The absolute value of difference, B is the absolute value of the negative tone saturation degree target difference, and C is the negative tone pixel ratio goal discrepancy The absolute value of value, D is the absolute value of the negative tone form and aspect difference.X, y, z, w are that the negative tone target difference is corresponding Weight coefficient, x, y, z, w span are 0 to 1, and x+y+z+w=1.
In other embodiment, if the dominant hue clusters interval or institute positioned at the described 4th simultaneously with the negative tone State that the 5th cluster is interval or the 6th cluster is interval, then the Accent colour choose it is orange and to the form and aspect of the Accent colour not Adjust.
Fig. 9 is refer to, it is a kind of functional-block diagram of the adjustment unit in terminal in present pre-ferred embodiments.Adjustment Unit, for, hue value progress numerical value adjustment to the dominant hue or the negative tone interval according to the cluster.Specifically Ground, it is single that the adjustment unit includes the 3rd judging unit, form and aspect difference computational unit, the 4th judging unit and numerical value adjustment Member.
3rd judging unit, for judging it is interval whether the dominant hue and the negative tone are located at default cluster.Example Such as, judge whether the dominant hue is respectively positioned on first cluster with the negative tone interval.
Form and aspect difference computational unit, if being located at default cluster interval for the dominant hue and the negative tone, by institute The hue value for stating dominant hue and the negative tone subtracts each other to draw form and aspect difference.
4th judging unit, for judging whether the form and aspect difference is less than default hue difference threshold value.In specific implementation, The dominant hue and the negative tone are subtracted each other into drawn form and aspect difference for positive number.
Numerical value adjustment unit, if being less than default hue difference threshold value for the form and aspect difference, by the color of the dominant hue Mutually value is added or subtracted each other with the hue difference threshold value.
In specific implementation, it is assumed that the dominant hue hue value is 200, the negative tone form and aspect difference is 180, the form and aspect Poor threshold value is 30.It is computed drawing, corresponding form and aspect difference is 20, it is clear that the form and aspect difference is less than the hue difference threshold Value.Therefore the hue value of the dominant hue is subtracted each other with the hue difference threshold value.Assuming that the dominant hue hue value is 200, institute It is 220 to state negative tone form and aspect difference, and the hue difference threshold value is 30.It is computed drawing, corresponding form and aspect difference is 20, it is clear that The form and aspect difference is less than the hue difference threshold value.Therefore the hue value of the dominant hue is added with the hue difference threshold value.
Referring to Fig. 10, it is the structural representation of another terminal 900 in present pre-ferred embodiments, it can be used for holding Row colour selecting method provided in an embodiment of the present invention.The terminal 900 can include:At least one processor 901, at least one input Device 903, at least one output device 904, at least one grade component of memory 902.Wherein, these components pass through one or many Bar bus 905 is communicatively coupled.It will be understood by those skilled in the art that the structure of terminal 900 is not constituted to of the invention real The restriction of example is applied, it both can be the shape structure of bus 905 or hub-and-spoke configuration, can also included more more or more than illustrating Few part, either combines some parts or different parts arrangement.
Processor 901 is the control centre of terminal 900, utilizes each of various interfaces and the whole terminal 900 of connection Part, by operation or performs the program and/or module in memory 902 of being stored in, and calls and be stored in memory 902 Data, to perform the various functions and processing data of terminal 900.Processor 901 can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, it can be for example made up of the IC of single encapsulation, can also be by connection many identical functions or not The encapsulation IC of congenerous and constitute.For example, processor 901 can only include the (Central of central processing unit 901 Processing Unit, abbreviation CPU) or CPU, (the digital signal of digital signal processor 901 Processor, abbreviation DSP), graphics processor 901 (Graphic Processing Unit, abbreviation GPU) and various control cores The combination of piece.In embodiments of the present invention, CPU can be single arithmetic core, can also include multioperation core.
Input unit 903 can include keyboard, mouse, photoelectricity input unit 903, acoustic input dephonoprojectoscope 903, touch defeated Enter device, acceleration transducer etc..
Output device 904 can include display screen, loudspeaker etc., can also include wireline interface, wave point etc..
Memory 902 can be used for storage software program and module, and processor 901 and output device 904 are deposited by calling Software program and module in memory 902 are stored up, so as to perform the various functions application of terminal 900 and realize at data Reason.Memory 902 mainly includes program storage area and data storage area, wherein, program storage area can storage program area, at least Application program needed for One function etc.;Data storage area can be stored uses created data etc. according to user terminal 900. In embodiments of the present invention, operating system can be android system, iOS system or Windows operating system etc..
Specifically, processor 901 calls the application program being stored in memory 902, for performing following operation:
All colours in current display interface are carried out with color cluster to generate cluster color, each described cluster color It is interval to there is a cluster in correspondence;
Calculate the weighted average color of all colours in the display interface;
According to the weighted average color, the type of theme of the display interface is judged, the type of theme includes bright master Topic and dark theme;
Color strategy is tuned according to the cluster color, the type of theme and default mass-tone, display circle is calculated The dominant hue in face;
Color strategy is tuned according to the cluster color, the dominant hue and default inverse, the display interface is calculated Negative tone;
Interval according to the cluster, the hue value to the dominant hue or the negative tone carries out numerical value adjustment.
As an alternative embodiment, processor 901 judges display circle according to the weighted average color The application program being stored in memory 902 is may call upon during the type of theme in face, and performs following operate:
Obtain the brightness value and intensity value of the weighted average color;
Judge whether the brightness value and the intensity value meet default theme judgment formula;
If the brightness value and the intensity value meet default theme judgment formula, determine that the type of theme is Dark theme, if the brightness value and the intensity value are unsatisfactory for default theme judgment formula, determines the type of theme For bright theme;
The theme judgment formula includes:S<125*|L-0.3|3And L<0.3, wherein S are the weighted average color Intensity value, L is the brightness value of weighted average color, and S and L span are 0 to 1.
As an alternative embodiment, processor 901 is according to the cluster color, the type of theme and pre- If mass-tone tune color strategy, may call upon during the dominant hue for calculating the display interface be stored in memory 902 should With operation below program, and execution:
Obtain the pixel ratio shared by brightness value, intensity value and the cluster color of the cluster color;
By the brightness value of the cluster color, saturation degree weighted value and the pixel ratio respectively with default weight mesh Scale value subtracts each other to draw target difference, and the target difference includes luma target difference, saturation degree target difference and pixel ratio Example target difference;
Pixel ratio according to shared by the brightness value of the cluster color, intensity value and the cluster color, judges Whether the cluster color, which meets, default is selected color Rule of judgment;
If the cluster color meet it is described select color Rule of judgment, according to default weight calculation formula to the cluster face Color is calculated, and draws the corresponding weighted value of the cluster color;
The corresponding weighted value of each class cluster color is compared, the maximum cluster color of the weighted value is true It is set to the dominant hue;
The weight calculation formula is:M=x*A+y*B+z*C, wherein A are the absolute value of the luma target difference, and B is The absolute value of the saturation degree target difference, C is the absolute value of pixel ratio target difference;X, y, z is the target difference Corresponding weight coefficient, the span of x, y, z is 0 to 1, and x+y+z=1.
Wherein, the weight desired value includes the first weight desired value and the second weight desired value,
If the type of theme is bright theme, the brightness value of the cluster color, saturation degree weighted value and pixel are accounted for Subtract each other to draw the first weight target difference with the first weight desired value respectively than weighted value;
If the type of theme is dark theme, the brightness value of the cluster color, saturation degree weighted value and pixel are accounted for Subtract each other to draw the second weight target difference with the second weight desired value respectively than weighted value.
As an alternative embodiment, processor 901 is clustering interval according to described, to the dominant hue or institute The hue value for stating negative tone carries out may call upon the application program being stored in memory 902 during numerical value adjustment, and perform with Lower operation:
Judge whether the dominant hue is located at default cluster with the negative tone interval;
If the dominant hue is located at default cluster interval with the negative tone, by the dominant hue and the negative tone Hue value subtracts each other to draw form and aspect difference;
Judge whether the form and aspect difference is less than default hue difference threshold value;
If the form and aspect difference is less than default hue difference threshold value, by the hue value of the dominant hue and the hue difference threshold Value is added or subtracted each other.
Module or submodule in all embodiments of the invention, can be by universal integrated circuit, such as CPU, or passes through ASIC (Application Specific Integrated Circuit, application specific integrated circuit) is realized.
It should be noted that for each foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as to one it is The combination of actions of row, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because For according to the application, certain some step can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this Shen Please be necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in some embodiment Part, may refer to the associated description of other embodiment.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

1. a kind of colour selecting method, it is characterised in that methods described includes:
All colours in current display interface are carried out with color cluster to generate cluster color, each described cluster color correspondence It is interval in the presence of a cluster;
Calculate the weighted average color of all colours in the display interface;
According to the weighted average color, judge the type of theme of the display interface, the type of theme include bright theme with And dark theme;
Color strategy is tuned according to the cluster color, the type of theme and default mass-tone, the display interface is calculated Dominant hue;
Color strategy is tuned according to the cluster color, the dominant hue and default inverse, the anti-of the display interface is calculated Tone;
Interval according to the cluster, the hue value to the dominant hue or the negative tone carries out numerical value adjustment.
2. the method as described in claim 1, it is characterised in that described according to the weighted average color, judges the display The type of theme at interface is specifically included:
Obtain the brightness value and intensity value of the weighted average color;
Judge whether the brightness value and the intensity value meet default theme judgment formula;
If the brightness value and the intensity value meet default theme judgment formula, it is dark master to determine the type of theme Topic, if the brightness value and the intensity value are unsatisfactory for default theme judgment formula, it is bright to determine the type of theme Theme;
The theme judgment formula includes:S<125*|L-0.3|3And L<0.3, wherein S are the saturation of the weighted average color Angle value, L is the brightness value of weighted average color, and S and L span are 0 to 1.
3. the method as described in claim 1, it is characterised in that it is described according to the cluster color, the type of theme and Default mass-tone tunes color strategy, and the dominant hue for calculating the display interface is specifically included:
Obtain the pixel ratio shared by brightness value, intensity value and the cluster color of the cluster color;
By the brightness value of the cluster color, saturation degree weighted value and the pixel ratio respectively with default weight desired value Subtract each other to draw target difference, the target difference includes luma target difference, saturation degree target difference and pixel ratio mesh Mark difference;
Pixel ratio according to shared by the brightness value of the cluster color, intensity value and the cluster color, judges described Whether cluster color, which meets, default is selected color Rule of judgment;
If the cluster color meet it is described select color Rule of judgment, the cluster color is entered according to default weight calculation formula Row is calculated, and draws the corresponding weighted value of the cluster color;
The corresponding weighted value of each class cluster color is compared, the maximum cluster color of the weighted value is defined as The dominant hue;
The weight calculation formula is:M=x*A+y*B+z*C, wherein A are the absolute value of the luma target difference, and B is described The absolute value of saturation degree target difference, C is the absolute value of pixel ratio target difference;X, y, z is the target difference correspondence Weight coefficient, the span of x, y, z is 0 to 1, and x+y+z=1.
4. method as claimed in claim 3, it is characterised in that the weight desired value includes the first weight desired value and the Two weight desired values,
If the type of theme is bright theme, the brightness value of the cluster color, saturation degree weighted value and pixel accounting are weighed Weight values subtract each other to draw the first weight target difference respectively with the first weight desired value;
If the type of theme is dark theme, the brightness value of the cluster color, saturation degree weighted value and pixel accounting are weighed Weight values subtract each other to draw the second weight target difference respectively with the second weight desired value.
5. the method as described in claim 1, it is characterised in that described interval according to the cluster, to the dominant hue or The hue value of the negative tone carries out numerical value adjustment and specifically included:
Judge whether the dominant hue is located at default cluster with the negative tone interval;
If the dominant hue is located at default cluster interval with the negative tone, by the form and aspect of the dominant hue and the negative tone Value subtracts each other to draw form and aspect difference;
Judge whether the form and aspect difference is less than default hue difference threshold value;
If the form and aspect difference is less than default hue difference threshold value, by the hue value of the dominant hue and the hue difference threshold value phase Plus or subtract each other.
6. a kind of terminal, it is characterised in that the terminal includes:
Cluster cell, for carrying out color cluster to all colours in current display interface to generate cluster color, each institute State cluster color correspondence and there is a cluster interval;
Average color computing unit, the weighted average color for calculating all colours in the display interface;
Theme judging unit, for according to the weighted average color, judging the type of theme of the display interface, the theme Type includes bright theme and dark theme;
Dominant hue computing unit, for tuning color strategy according to the cluster color, the type of theme and default mass-tone, Calculate the dominant hue of the display interface;
Negative tone computing unit, for tuning color strategy according to the cluster color, the dominant hue and default inverse, meter Calculate the negative tone of the display interface;
Adjustment unit, for interval according to the cluster, to the hue value progress numerical value of the dominant hue or the negative tone Adjustment.
7. terminal as claimed in claim 6, it is characterised in that the theme judging unit includes:
First acquisition unit, brightness value and intensity value for obtaining the weighted average color;
First judging unit, judges public for judging whether the brightness value and the intensity value meet default theme Formula;
Determining unit, if default theme judgment formula is met for the brightness value and the intensity value, it is determined that described Type of theme is dark theme, if the brightness value and the intensity value are unsatisfactory for default theme judgment formula, determines institute Type of theme is stated for bright theme;
The theme judgment formula includes:S<125*|L-0.3|3And L<0.3, wherein S are the saturation of the weighted average color Angle value, L is the brightness value of weighted average color, and S and L span are 0 to 1.
8. terminal as claimed in claim 6, it is characterised in that dominant hue computing unit includes:
Second acquisition unit, for obtaining shared by brightness value, intensity value and the cluster color of the cluster color Pixel ratio;
Target difference computing unit, for by the brightness value of the cluster color, saturation degree weighted value and the pixel ratio Subtract each other respectively with default weight desired value to draw target difference, the target difference includes luma target difference, saturation degree Target difference and pixel ratio target difference;
Second judging unit, for shared by the brightness value according to the cluster color, intensity value and the cluster color Pixel ratio, judges whether the cluster color meets and default selects color Rule of judgment;
Weighted value computing unit, if for the cluster color meet it is described select color Rule of judgment, according to default weight calculation Formula is calculated the cluster color, draws the corresponding weighted value of the cluster color;
Comparing unit, the corresponding weighted value of each class cluster color is compared, by the cluster that the weighted value is maximum Color is defined as the dominant hue;
The weight calculation formula is:M=x*A+y*B+z*C, wherein A are the absolute value of the luma target difference, and B is described The absolute value of saturation degree target difference, C is the absolute value of pixel ratio target difference;X, y, z is the target difference correspondence Weight coefficient, the span of x, y, z is 0 to 1, and x+y+z=1.
9. terminal as claimed in claim 6, it is characterised in that the weight desired value includes the first weight desired value and the Two weight desired values,
If the type of theme is bright theme, the brightness value of the cluster color, saturation degree weighted value and pixel accounting are weighed Weight values subtract each other to draw the first weight target difference respectively with the first weight desired value;
If the type of theme is dark theme, the brightness value of the cluster color, saturation degree weighted value and pixel accounting are weighed Weight values subtract each other to draw the second weight target difference respectively with the second weight desired value.
10. terminal as claimed in claim 6, it is characterised in that the adjustment unit includes:
3rd judging unit, for judging it is interval whether the dominant hue and the negative tone are located at default cluster;
Form and aspect difference computational unit, if being located at default cluster interval for the dominant hue and the negative tone, by the master The hue value of tone and the negative tone subtracts each other to draw form and aspect difference;
4th judging unit, for judging whether the form and aspect difference is less than default hue difference threshold value;
Numerical value adjustment unit, if being less than default hue difference threshold value for the form and aspect difference, by the hue value of the dominant hue It is added or subtracts each other with the hue difference threshold value.
CN201710240535.XA 2017-04-13 2017-04-13 A kind of colour selecting method and terminal Withdrawn CN107025464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710240535.XA CN107025464A (en) 2017-04-13 2017-04-13 A kind of colour selecting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710240535.XA CN107025464A (en) 2017-04-13 2017-04-13 A kind of colour selecting method and terminal

Publications (1)

Publication Number Publication Date
CN107025464A true CN107025464A (en) 2017-08-08

Family

ID=59527957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710240535.XA Withdrawn CN107025464A (en) 2017-04-13 2017-04-13 A kind of colour selecting method and terminal

Country Status (1)

Country Link
CN (1) CN107025464A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448073A (en) * 2018-10-15 2019-03-08 北京搜狐新媒体信息技术有限公司 A kind of picture extracts the method and system of double-colored gradual change
CN109783178A (en) * 2019-01-24 2019-05-21 北京字节跳动网络技术有限公司 A kind of color adjustment method of interface assembly, device, equipment and medium
CN110210532A (en) * 2019-05-15 2019-09-06 北京字节跳动网络技术有限公司 Background colour generation method, device and electronic equipment
CN111488885A (en) * 2020-06-28 2020-08-04 成都四方伟业软件股份有限公司 Intelligent extraction method and device for theme color system of picture
CN112558785A (en) * 2020-12-24 2021-03-26 上海二三四五网络科技有限公司 Control method and device for adjusting character display color
CN113031941A (en) * 2019-12-25 2021-06-25 北京嗨动视觉科技有限公司 Color template generation method and color template generation device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231757A (en) * 2007-12-07 2008-07-30 北京搜狗科技发展有限公司 Apparatus and method for analyzing picture dominant hue as well as application in picture searching thereof
US7783127B1 (en) * 2003-10-03 2010-08-24 Adobe Systems Incorporated Determining parameters for adjusting images
CN102592272A (en) * 2011-01-12 2012-07-18 腾讯科技(深圳)有限公司 Extracting method and device of picture dominant tone
CN103002025A (en) * 2012-11-21 2013-03-27 北京奇虎科技有限公司 Theme replacement method and device
CN105551011A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Method and apparatus for setting dominant tone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7783127B1 (en) * 2003-10-03 2010-08-24 Adobe Systems Incorporated Determining parameters for adjusting images
CN101231757A (en) * 2007-12-07 2008-07-30 北京搜狗科技发展有限公司 Apparatus and method for analyzing picture dominant hue as well as application in picture searching thereof
CN102592272A (en) * 2011-01-12 2012-07-18 腾讯科技(深圳)有限公司 Extracting method and device of picture dominant tone
CN103002025A (en) * 2012-11-21 2013-03-27 北京奇虎科技有限公司 Theme replacement method and device
CN105551011A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Method and apparatus for setting dominant tone

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448073A (en) * 2018-10-15 2019-03-08 北京搜狐新媒体信息技术有限公司 A kind of picture extracts the method and system of double-colored gradual change
CN109783178A (en) * 2019-01-24 2019-05-21 北京字节跳动网络技术有限公司 A kind of color adjustment method of interface assembly, device, equipment and medium
CN110210532A (en) * 2019-05-15 2019-09-06 北京字节跳动网络技术有限公司 Background colour generation method, device and electronic equipment
CN110210532B (en) * 2019-05-15 2022-03-01 北京字节跳动网络技术有限公司 Background color generation method and device and electronic equipment
CN113031941A (en) * 2019-12-25 2021-06-25 北京嗨动视觉科技有限公司 Color template generation method and color template generation device
CN113031941B (en) * 2019-12-25 2023-06-30 北京嗨动视觉科技有限公司 Color template generation method and color template generation device
CN111488885A (en) * 2020-06-28 2020-08-04 成都四方伟业软件股份有限公司 Intelligent extraction method and device for theme color system of picture
CN111488885B (en) * 2020-06-28 2020-09-25 成都四方伟业软件股份有限公司 Intelligent extraction method and device for theme color system of picture
CN112558785A (en) * 2020-12-24 2021-03-26 上海二三四五网络科技有限公司 Control method and device for adjusting character display color

Similar Documents

Publication Publication Date Title
CN107025464A (en) A kind of colour selecting method and terminal
CN109166159B (en) Method and device for acquiring dominant tone of image and terminal
CN106898026B (en) A kind of the dominant hue extracting method and device of picture
CN106855797A (en) The method to set up and device of a kind of interface element color
CN105005461A (en) Icon display method and terminal
CN101360250B (en) Immersion method and system, factor dominating method, content analysis method and parameter prediction method
CN113808120B (en) Image processing method, device, electronic equipment and storage medium
CN104598436B (en) A kind of dynamic creation method and device of three-dimensional chart
CN109978961A (en) A kind of pattern colour side removing method, device and electronic equipment
CN101131401A (en) A digital oscilloscope and its display method
CN109286758A (en) High dynamic range image generation method, mobile terminal and storage medium
CN113301409A (en) Video synthesis method and device, electronic equipment and readable storage medium
CN108694719A (en) image output method and device
CN108024105A (en) Image color adjusting method, device, electronic equipment and storage medium
CN109257507A (en) A kind of method, mobile terminal and storage medium adjusting screen intensity
CN109102468A (en) Image enhancement method and device, terminal equipment and storage medium
CN106528758A (en) Picture selecting method and device
CN108932703A (en) Image processing method, picture processing unit and terminal device
CN113538601B (en) Image processing method, device, computer equipment and storage medium
CN109672829A (en) Method of adjustment, device, storage medium and the terminal of brightness of image
CN109089040A (en) Image processing method, image processing device and terminal equipment
CN117455753B (en) Special effect template generation method, special effect generation device and storage medium
CN107180453A (en) The edit methods and device of character face&#39;s model
CN114707013A (en) Image color matching method and device, terminal and readable storage medium
CN115731320A (en) Color matching method, device and computer 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170808