CN104965631B - Desktop color matching method and device and intelligent terminal - Google Patents

Desktop color matching method and device and intelligent terminal Download PDF

Info

Publication number
CN104965631B
CN104965631B CN201510275776.9A CN201510275776A CN104965631B CN 104965631 B CN104965631 B CN 104965631B CN 201510275776 A CN201510275776 A CN 201510275776A CN 104965631 B CN104965631 B CN 104965631B
Authority
CN
China
Prior art keywords
color
brightness
background image
main color
colors
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.)
Active
Application number
CN201510275776.9A
Other languages
Chinese (zh)
Other versions
CN104965631A (en
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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201510275776.9A priority Critical patent/CN104965631B/en
Publication of CN104965631A publication Critical patent/CN104965631A/en
Priority to PCT/CN2016/079331 priority patent/WO2016188262A1/en
Application granted granted Critical
Publication of CN104965631B publication Critical patent/CN104965631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Abstract

The invention relates to a desktop color matching method, a desktop color matching device and an intelligent terminal, wherein the method comprises the following steps: analyzing a background image, and selecting at least one main color from the background image; analyzing the main color, and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color; and setting the filling color as the background colors of a plurality of specific areas in sequence. The invention ensures that the desktop color layout is more reasonable, the colors are gradually changed, the icons are highlighted, the efficiency of searching the application by the user is improved, and the visual fatigue of the user is effectively avoided.

Description

Desktop color matching method and device and intelligent terminal
Technical Field
The invention relates to electronic equipment, in particular to a desktop color matching method and device and an intelligent terminal.
Background
At present, the large-scale popularization and application of mobile intelligent devices are realized, screen display modes of intelligent devices such as mobile phones and tablet computers are diversified, if a user can select different pictures as desktop wallpaper according to own preference, patterns of the wallpaper are complex and various in color, icons of various applications on the desktop are also various in color, if the colors of the application icons are mixed or conflicted with the colors of the wallpaper patterns, the vision is greatly influenced, the application icons are not prominent or obvious, the efficiency of searching the application icons by the user is reduced, and the use of the user is influenced; on the other hand, the wallpaper is shielded by various application icons, the visual effect of the wallpaper is influenced, and the color of the wallpaper and the color of the icon are mixed together, so that the visual fatigue of a user after watching is easily caused.
Disclosure of Invention
Based on this, it is necessary to provide a desktop color matching method, device and intelligent terminal, which gradually change colors, highlight icons, improve user efficiency and avoid visual fatigue of a user, aiming at the defects that the desktop wallpaper color of the intelligent device easily conflicts with the application icon color, affects the vision, affects the use of the user and easily causes the visual fatigue of the user.
A desktop color matching method, comprising:
analyzing a background image, and selecting at least one main color from the background image;
analyzing the main color, and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color;
setting the filling color as the background color of a plurality of specific areas in sequence;
the step of analyzing the main color and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color comprises the following steps:
analyzing the main color to obtain the brightness of the main color;
calculating a brightness difference value according to the brightness of the main color, wherein when the brightness of the main color is larger than a certain value, the larger the brightness of the main color is, the smaller the calculated brightness difference value is; when the brightness of the main color is smaller than a certain value, the larger the brightness of the main color is, the larger the brightness difference obtained through calculation is;
and sequentially increasing the brightness difference value by taking the brightness of the main color as a reference to calculate a plurality of filling colors.
In one embodiment, before parsing the background image, selecting at least one dominant color from the background image further comprises:
dividing the desktop into a wallpaper area and an icon placing area;
and determining the background image displayed in the wallpaper area according to user selection or system setting.
In one embodiment, the step of analyzing the background image and selecting at least one main color from the background image specifically includes:
analyzing a background image to obtain a plurality of colors of the background image;
and analyzing the pixel proportion of the plurality of colors in the background image, and selecting at least one color as a main color according to a preset rule based on the pixel proportion.
In one embodiment, the step of analyzing the main color and calculating a plurality of filling colors with gradually changing luminance according to the luminance of the main color specifically includes:
analyzing the main color to obtain the brightness of the main color;
calculating a brightness difference value according to the brightness of the main color;
and taking the brightness of the main color as a reference, and sequentially increasing the brightness difference value to calculate a plurality of filling colors.
A desktop color matching apparatus comprising:
the analysis background image module is used for analyzing a background image and selecting at least one main color from the background image;
the filling color calculation module is used for analyzing the main color and calculating a plurality of filling colors with gradually changed brightness according to the brightness of the main color;
the background color setting module is used for sequentially setting the filling colors as the background colors of a plurality of specific areas;
wherein the calculate fill color module comprises:
the acquiring brightness unit is used for analyzing the main color and acquiring the brightness of the main color;
a brightness difference calculation unit for calculating a brightness difference according to the brightness of the main color, wherein when the brightness of the main color is greater than a certain value, the greater the brightness of the main color is, the smaller the calculated brightness difference is; when the brightness of the main color is smaller than a certain value, the larger the brightness of the main color is, the larger the brightness difference obtained through calculation is;
and the filling color calculating unit is used for sequentially increasing the brightness difference value by taking the brightness of the main color as a reference to calculate a plurality of filling colors.
In one embodiment, further comprising:
the desktop dividing module is used for dividing the desktop into a wallpaper area and an icon placing area;
and the background image selecting module is used for determining the background image displayed in the wallpaper area according to user selection or system setting.
In one embodiment, the parsing background image module comprises:
the analysis background image unit is used for analyzing a background image and acquiring a plurality of colors of the background image:
and a main color selecting unit for analyzing the pixel proportion of the plurality of colors in the background image and selecting at least one color as a main color according to a predetermined rule based on the pixel proportion.
An intelligent terminal comprises the desktop color matching device in any one of the embodiments.
According to the desktop color matching method, the device and the intelligent terminal, the desktop color layout is more reasonable, the colors are gradually changed, the icons are highlighted, the efficiency of searching the application by the user is improved, and the visual fatigue of the user is effectively avoided.
Drawings
FIG. 1 is a flowchart illustrating a desktop color matching method according to an embodiment of the present invention;
FIG. 2 is a functional block diagram of a desktop color matching apparatus according to an embodiment of the present invention;
FIG. 3 is a functional block diagram of a background image parsing module according to an embodiment of the present invention;
FIG. 4 is a functional block diagram of a compute fill color module according to one embodiment of the present invention;
FIG. 5 is a diagram illustrating the luminance of a primary color as a function of a luminance difference according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating the relationship between the saturation of the main color and the saturation of the fill color according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating the functional relationship between the hue of the primary color and the hue difference value according to an embodiment of the present invention;
fig. 8A and 8B are schematic layout views of a mobile phone desktop according to an embodiment of the invention.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It should be noted that the present invention is particularly applicable to various electronic devices, such as a mobile phone, a tablet computer, or other intelligent electronic devices, and only the usage scenario of the mobile phone is described in detail in the following embodiments.
For example, a desktop color matching method includes the following steps: analyzing a background image, and selecting at least one main color from the background image; analyzing the main color, and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color; and setting the filling color as the background colors of a plurality of specific areas in sequence.
For example, as shown in FIG. 1, a desktop color matching method includes the following steps:
step S100, dividing the desktop into a wallpaper area and an icon placement area.
Dividing a desktop display range into a wallpaper area and an icon placing area in the desktop display range, wherein the wallpaper area is used for placing wallpaper, the wallpaper is a background image of the desktop, the icon placing area is used for placing icons of applications installed in electronic equipment, and the icons cannot be placed in the wallpaper area; as shown in fig. 8A, the desktop is divided into a wallpaper area and an icon placement area, the wallpaper area is located above the icon placement area, the wallpaper of the desktop is spread over the wallpaper area, when the number of the applied icons of the desktop is large, the desktop has a plurality of screens or is divided into screens, as shown in fig. 8A and 8B, the wallpaper area is located above the main screen, and the icon placement area is located below the main screen and is divided into other screens.
And step S200, determining the background image displayed in the wallpaper area according to user selection or system setting.
The background image may be understood as a desktop wallpaper or a desktop background of the electronic device, in this embodiment, the background image is a desktop wallpaper, specifically, a desktop wallpaper of a wallpaper area, in this step, the background image may be selected by a user, for example, in a gallery or downloaded from a network, and the user selects a picture as the background image of the wallpaper area; or a picture set by default by the system is used as a background image of the wallpaper area.
Step S300, analyzing the background image and selecting at least one main color from the background image.
Generally, the background image may be complex, include multiple colors, and have large color differences, so that the main color of the background image needs to be extracted to make the desktop display color more uniform.
The primary color selection rule may be, for example, to select one or more primary colors according to the pixel proportion of each color in the background image, the background image has pixels of multiple colors, different colors have different pixel numbers, and the ratio of the number of the pixels of the different colors to the total number of the pixels of the background image is the pixel proportion, in one embodiment, to select one or more primary colors according to the pixel proportion, for example, to select the color with the highest pixel proportion as the primary color; the selection rule of the main colors may be such that one or more main colors are selected according to the purities (saturations) of the respective colors in the background image, and the colors are displayed more vividly as the purities (saturations) of the colors are higher.
In the step, the main color selected according to the pixel proportion has a color which is more similar to that of the background image, and the main color is more harmonious with the background image collocation of the wallpaper area; for another example, the color with the highest purity in the background image is extracted as the main color, or two or three colors with the highest purity in the background image are extracted as the main colors, so that the final background color is more vivid.
For example, before analyzing the background image, the method further comprises the following steps: a background image is acquired.
In one embodiment, step S200 includes:
step S310, analyzing a background image and acquiring a plurality of colors of the background image;
in this step, the background image is analyzed to obtain all colors of the background image.
Step S320, analyzing the pixel ratios of the plurality of colors in the background image, and selecting at least one color as a main color according to a predetermined rule based on the pixel ratios.
The different colors have different pixel ratios in the background image, and the analysis process may be, for example, averagely dividing the background image into a plurality of small blocks as small as possible, such as pixels, counting the number of pixels of different colors, and calculating the ratio of the number of pixels of different colors to the total number of pixels of the background image, i.e., the pixel ratio, of the pixels of different colors to the total number of pixels of the background image.
One or the highest multiple colors with the highest proportion of pixels are selected as the main color.
And step S400, analyzing the main color, and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color.
The colors have the attributes of brightness, hue and saturation, and the brightness, hue and saturation of each color are different, so that different colors can be distinguished by different brightness. In one embodiment, the hue and saturation of the filling color correspond to the main color, or the hue of the filling color is consistent with the main color, and the brightness of the filling color gradually changes according to the brightness of the main color, for example, the brightness of the plurality of filling colors has a fixed brightness difference value, and the brightness of the plurality of filling colors obtained by calculating the brightness difference values is sequentially increased on the basis of the brightness of the main color, so that the brightness change of the filling color is hierarchical.
In one embodiment, step S300 includes:
step S410, analyzing the main color to obtain the brightness of the main color;
step S420, calculating a brightness difference value according to the brightness of the main color;
the method for calculating the brightness difference comprises the following steps:
l=(cos((L*π-π)/2)*cos((L*π-π)/2)*0.01)+0.01
wherein L is the luminance of the dominant color;
the functional relationship between the brightness of the main color and the brightness difference is obtained through calculation, as shown in fig. 5, the brightness L of the main color is a horizontal axis, and the brightness difference 1 is a vertical axis, and when the brightness of the main color is greater than a certain value, the greater the brightness L of the main color is, the smaller the calculated brightness difference 1 is; when the luminance of the main color is less than a certain value, the larger the luminance L of the main color is, the larger the calculated luminance difference value 1 is.
And step S430, taking the brightness of the main color as a reference, and sequentially increasing the brightness difference to calculate a plurality of filling colors.
The brightness difference value calculated according to the above steps is used as the brightness difference value between the filling colors, for example, the brightness difference value is sequentially increased on the basis of the brightness of the main color to obtain the brightness of each filling color, and as can be seen from the above calculation, when the brightness of the main color is greater than a certain value, the greater the brightness L of the main color is, the smaller the calculated brightness difference value 1 is, the brightness difference of each filling color is reduced due to the increase of the brightness of the main color, thereby avoiding the excessive increase of the brightness, causing discomfort to the naked eyes of the user, and the brightness is stable and excessive, which is favorable for the coordination between the filling colors; when the brightness of the main color is smaller than a certain value, the larger the brightness L of the main color is, the larger the calculated brightness difference value 1 is, the lower brightness also causes discomfort for users to watch naked eyes, and when the brightness is lower, the brightness difference among the filling colors is increased, so that the brightness of the filling colors is reasonably increased.
In order to further improve the harmony and softness between the filling colors, the hue and saturation need to be adjusted, for example, the main color is analyzed, and a plurality of filling colors with gradually changing brightness, saturation and hue are calculated according to the hue, saturation and brightness of the main color;
for example, the hue, saturation, and brightness of the dominant color are obtained, and the brightness difference value, saturation, and hue are calculated with the saturation and brightness of the dominant color as references, for example:
the method for calculating the brightness difference comprises the following steps:
l=(cos((L*π-π)/2)*cos((L*π-π)/2)*0.01)+0.01
wherein L is the luminance of the main color, and the calculation result is shown in fig. 5;
the saturation of the filling color is calculated by the following method:
s=sqrt(cos(L*π-(π/2)))*(S-0.1)
wherein L is the brightness of the main color, and S is the saturation of the main color, and the value is 0.5;
from this calculation, as shown in fig. 6, the luminance L of the main color is the horizontal axis, the saturation s of the fill color is the vertical axis, and the curve of the saturation of the fill color is a semicircular curve related to the luminance of the main color;
the calculation method of the hue difference comprises the following steps:
h=0.2-cos((S*π-π)/2)*0.2
as shown in fig. 7, the saturation S of the main color is a horizontal axis, the hue difference is a vertical axis, and the larger the saturation of the main color is, the smaller the hue difference is;
for example, the brightness, saturation and hue of the filling color which gradually changes are calculated by taking the brightness hue, saturation and hue of the main color as a reference, so that the filling colors are well-arranged, the filling colors are more harmonious, and the user feels comfortable with the naked eyes.
In one embodiment, when the main color is one, the filling colors calculated according to the above relation are a series of filling colors, and the colors of the plurality of filling colors gradually change; in another embodiment, when the dominant colors are multiple, the calculated fill colors are multiple series of fill colors corresponding to the multiple dominant colors.
And step S500, setting the filling colors as the background colors of a plurality of specific areas in sequence.
In this embodiment, the area of the main screen of the electronic device (e.g., a mobile phone) excluding the background image, i.e., the aforementioned icon placement area, is pre-divided into a plurality of specific areas (e.g., 3 adjacent rectangular areas below the wallpaper in fig. 8A), the number of filling colors is the same as the number of specific areas, each filling color corresponds to only one specific area, and is set as the background color of the specific area.
In other embodiments, the number of the areas of the electronic device (e.g., mobile phone) excluding the background image, i.e., the aforementioned icon placement areas, divided into specific areas is determined by calculation.
For example, the width of the icon is calculated, and the height or length of the display area, such as the desktop, is divided by the width of the icon, or divided by 1.5-2 times the width of the icon, that is, the number of the specific areas is obtained, the width of the specific area is 1.5-2 times the width of the icon, and the filling color of the specific area is used as the background color.
For example, the number of the specific areas is determined by the height of the desktop and the width of the icon, or by the number of split screens of the desktop and the height of the desktop and the width of the icon, and the number of the filling colors as the background color of the specific areas can be determined according to the number of the specific areas, for example, the filling color closest to the brightness of the main color is used as the background color of the first specific area, and the other filling colors are sequentially used as the background colors of the subsequent specific areas according to the brightness difference with the main color.
For example, according to the width of the icon, the filling color is used as the background color to averagely divide a plurality of horizontal specific areas on the desktop; for another example, according to the width of the icon, the filling color is used as a background color to averagely divide a plurality of vertical specific areas on the desktop; for example, when the desktop has a plurality of split screens, the filling color is used as the background color to divide certain areas of several levels in the plurality of split screens in an average manner.
For example, the fill color between multiple split screens does not change in a correlated manner, i.e., the fill color has a hierarchical change in a single split screen, and the fill color does not change in a correlated manner between split screens; or, the number of the main colors is matched with the number of the split screens, the filling colors of the split screens are based on the plurality of main colors, for example, the first split screen corresponds to the first main color, the first filling color gradually changes based on the first main color and is filled in a specific area of the first split screen, the second split screen corresponds to the second main color, and the second filling color gradually changes based on the second main color and is filled in a specific area of the second split screen.
For another example, the filling colors between the multiple split screens are set in association, and the filling colors between the split screens gradually change according to the split screen sequence, that is, the filling colors of the multiple split screens gradually change based on one main color.
In one embodiment, when the main color in the above step is one, the calculated filling colors are a series of filling colors, and the filling colors are arranged in one-to-one correspondence with the specific regions, and the colors of the filling colors sequentially change along the specific regions; in another embodiment, when the main color in the above step is multiple, according to the number of the split screens of the screen, the multiple series of filling colors corresponding to the multiple main colors are sequentially corresponding to the multiple split screens as the background color of the specific area of the multiple split screens, that is, one split screen corresponds to one series of filling colors, the filling color of the specific area of one split screen gradually changes, and the filling colors between the split screens are different series of filling colors.
Dividing a specific area according to the desktop icon, for example, correspondingly calculating the width of the specific area according to the width of the desktop icon, and correspondingly setting the filling colors in a plurality of specific areas respectively, wherein the brightness of the background color in the specific area is gradually increased.
For example, the desktop is divided into an upper portion and a lower portion, the upper portion is used for reserving the original background image, for example, the background image is modified according to the display range of the upper portion, for example, the background image is cut or deformed; as another example, a cropping instruction is received, and the background image is cropped to be used as the background image for displaying in the upper part of the display range; for example, the display range is a display area in which no application icon is set in the desktop, that is, a remaining display area excluding a specific area in the main page, and for example, the display range is a display area above the specific area in the desktop; the lower part divides specific areas according to icons of the desktop, and filling colors are respectively and correspondingly arranged in a plurality of specific areas; for another example, as shown in fig. 8A, the first split screen of the desktop is averagely divided into an upper portion and a lower portion, the upper portion of the first split screen is used for retaining original wallpaper or setting a background image, the lower portion of the first split screen and other split screens are averagely divided into a plurality of specific areas by using the filling color as a background color, and as shown in fig. 8B, other split screens are averagely divided into a plurality of specific areas by using the filling color as a background color.
By adopting the desktop color matching method described in any of the above embodiments, the present invention further includes desktop color matching devices corresponding to the desktop color matching methods, that is, the desktop color matching method described in each embodiment corresponds to an embodiment of a desktop color matching device. For example, a desktop color matching apparatus includes an analysis background image module, a calculation fill color module, and a background color setting module, wherein the analysis background image module is configured to analyze a background image and select at least one main color from the background image; the filling color calculation module is used for analyzing the main color and calculating a plurality of filling colors with gradually changed brightness according to the brightness of the main color; the background color setting module is used for sequentially setting the filling color as the background color of a plurality of specific areas.
In one embodiment, as shown in fig. 2, a desktop color matching apparatus according to one embodiment of the present invention includes:
an analysis background image module 10, configured to analyze a background image and select at least one dominant color from the background image;
a fill color calculation module 20, configured to analyze the main color, and calculate a plurality of fill colors with gradually changing luminance according to the luminance of the main color;
and a background color setting module 30, configured to set the filling color as a background color of the plurality of specific areas in sequence.
In one embodiment, further comprising:
a desktop dividing module 40 for dividing the desktop into a wallpaper area and an icon placement area;
and a background image selecting module 50 for determining the background image displayed in the wallpaper area according to user selection or system setting.
In one embodiment, as shown in fig. 3, the parsing background image module 10 includes:
an analyzing background image unit 110, configured to analyze a background image and obtain a plurality of colors of the background image;
a main color selecting unit 120 analyzes the pixel proportions of the plurality of colors in the background image, and selects at least one color as a main color according to a predetermined rule based on the pixel proportions.
In one embodiment, as shown in fig. 4, the compute fill color module 20 includes:
an obtaining brightness unit 210, configured to analyze the main color and obtain brightness of the main color;
a luminance difference calculating unit 220 for calculating a luminance difference according to the luminance of the main color;
and a color filling calculation unit 230, configured to calculate a plurality of filling colors by sequentially increasing the luminance difference with the luminance of the main color as a reference.
For another example, in the desktop color matching method according to any one of the related embodiments, the related function modules are correspondingly arranged in the desktop color matching device.
An intelligent terminal according to an embodiment of the present invention includes: a display screen, a background image processor, an input and output device and a desktop color matching device in any of the above embodiments.
It should be noted that, in the above system embodiment, each included module is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it can be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by instructing the relevant hardware through a program, and the corresponding program may be stored in a readable storage medium.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A method for color matching a desktop, comprising:
analyzing a background image, and selecting at least one main color from the background image;
analyzing the main color, and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color;
setting the filling color as the background color of a plurality of specific areas in sequence;
the step of analyzing the main color and calculating a plurality of filling colors with gradually changing brightness according to the brightness of the main color comprises the following steps:
analyzing the main color to obtain the brightness of the main color;
calculating a brightness difference value according to the brightness of the main color, wherein when the brightness of the main color is larger than a certain value, the larger the brightness of the main color is, the smaller the calculated brightness difference value is; when the brightness of the main color is smaller than a certain value, the larger the brightness of the main color is, the larger the brightness difference obtained through calculation is;
and sequentially increasing the brightness difference value by taking the brightness of the main color as a reference to calculate a plurality of filling colors.
2. The desktop color matching method of claim 1, further comprising, prior to parsing the background image, selecting at least one primary color from the background image:
dividing the desktop into a wallpaper area and an icon placing area;
and determining the background image displayed in the wallpaper area according to user selection or system setting.
3. The desktop color matching method according to claim 1, wherein the step of analyzing the background image and selecting at least one main color from the background image is specifically:
analyzing a background image to obtain a plurality of colors of the background image;
and analyzing the pixel proportion of the plurality of colors in the background image, and selecting at least one color as a main color according to a preset rule based on the pixel proportion.
4. A desktop color matching apparatus, comprising:
the analysis background image module is used for analyzing a background image and selecting at least one main color from the background image;
the filling color calculation module is used for analyzing the main color and calculating a plurality of filling colors with gradually changed brightness according to the brightness of the main color;
the background color setting module is used for sequentially setting the filling colors as the background colors of a plurality of specific areas;
wherein the calculate fill color module comprises:
the acquiring brightness unit is used for analyzing the main color and acquiring the brightness of the main color;
a brightness difference calculation unit for calculating a brightness difference according to the brightness of the main color, wherein when the brightness of the main color is greater than a certain value, the greater the brightness of the main color is, the smaller the calculated brightness difference is; when the brightness of the main color is smaller than a certain value, the larger the brightness of the main color is, the larger the brightness difference obtained through calculation is;
and the filling color calculating unit is used for sequentially increasing the brightness difference value by taking the brightness of the main color as a reference to calculate a plurality of filling colors.
5. The desktop color matching apparatus of claim 4, further comprising:
the desktop dividing module is used for dividing the desktop into a wallpaper area and an icon placing area;
and the background image selecting module is used for determining the background image displayed in the wallpaper area according to user selection or system setting.
6. The desktop color matching apparatus of claim 4, wherein the analytical background image module comprises:
the analysis background image unit is used for analyzing a background image and acquiring a plurality of colors of the background image;
and a main color selecting unit for analyzing the pixel proportion of the plurality of colors in the background image and selecting at least one color as a main color according to a predetermined rule based on the pixel proportion.
7. An intelligent terminal, characterized by comprising the desktop color matching apparatus according to any one of claims 4 to 6.
CN201510275776.9A 2015-05-26 2015-05-26 Desktop color matching method and device and intelligent terminal Active CN104965631B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510275776.9A CN104965631B (en) 2015-05-26 2015-05-26 Desktop color matching method and device and intelligent terminal
PCT/CN2016/079331 WO2016188262A1 (en) 2015-05-26 2016-04-14 Method and device for desktop colour matching, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510275776.9A CN104965631B (en) 2015-05-26 2015-05-26 Desktop color matching method and device and intelligent terminal

Publications (2)

Publication Number Publication Date
CN104965631A CN104965631A (en) 2015-10-07
CN104965631B true CN104965631B (en) 2020-05-15

Family

ID=54219666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510275776.9A Active CN104965631B (en) 2015-05-26 2015-05-26 Desktop color matching method and device and intelligent terminal

Country Status (2)

Country Link
CN (1) CN104965631B (en)
WO (1) WO2016188262A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965631B (en) * 2015-05-26 2020-05-15 深圳市万普拉斯科技有限公司 Desktop color matching method and device and intelligent terminal
CN106598374B (en) * 2015-10-14 2022-05-20 腾讯科技(深圳)有限公司 Color transition method and device for interface
CN106708496B (en) * 2015-11-18 2020-03-17 腾讯科技(深圳)有限公司 Processing method and device for label page in graphical interface
CN105677352B (en) * 2016-01-06 2020-03-17 北京小米移动软件有限公司 Method and device for setting application icon color
CN106997265B (en) * 2016-01-26 2020-11-10 腾讯科技(深圳)有限公司 Method and device for setting background excessive color
CN106408632B (en) * 2016-09-08 2019-10-25 广州阿里巴巴文学信息技术有限公司 A kind of tone variations cartoon implementing method and device based on attribute animation
CN106528161B (en) * 2016-11-18 2020-03-13 广州爱九游信息技术有限公司 Terminal device, page display processing device and method
CN107977999B (en) * 2017-12-04 2021-01-08 北京百度网讯科技有限公司 Intelligent color taking method and device
CN108256497A (en) * 2018-02-01 2018-07-06 北京中税网控股股份有限公司 A kind of method of video image processing and device
CN110471524B (en) * 2019-07-31 2021-07-27 维沃移动通信有限公司 Display control method and terminal equipment
CN111191424B (en) * 2019-12-31 2023-03-03 北京华为数字技术有限公司 Page color matching method and device, storage medium and chip
CN111369431A (en) * 2020-03-12 2020-07-03 北京字节跳动网络技术有限公司 Image processing method and device, readable medium and electronic equipment
CN111984164B (en) * 2020-08-31 2023-05-02 Oppo广东移动通信有限公司 Wallpaper generation method, device, terminal and storage medium
CN112069339A (en) * 2020-09-04 2020-12-11 北京字节跳动网络技术有限公司 Background picture processing and search result display method, device, equipment and medium
CN112333519A (en) * 2020-09-23 2021-02-05 深圳Tcl新技术有限公司 Color filling method, system, equipment and storage medium for icon spacing area
CN113763237B (en) * 2021-11-09 2022-04-08 深圳市明源云科技有限公司 Intelligent beautifying method and device for visual report and computer readable storage medium
CN115984488B (en) * 2023-03-16 2023-10-27 深圳市完美显示科技有限公司 AI image intelligent modeling system based on 5G network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440326A (en) * 2013-09-02 2013-12-11 百度在线网络技术(北京)有限公司 Method and apparatus for providing representation information
CN103903587A (en) * 2012-12-27 2014-07-02 腾讯科技(深圳)有限公司 Method and device for processing picture data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176761B (en) * 2011-12-23 2016-08-10 中国移动通信集团公司 A kind of screen background method to set up and mobile terminal
CN104965631B (en) * 2015-05-26 2020-05-15 深圳市万普拉斯科技有限公司 Desktop color matching method and device and intelligent terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903587A (en) * 2012-12-27 2014-07-02 腾讯科技(深圳)有限公司 Method and device for processing picture data
CN103440326A (en) * 2013-09-02 2013-12-11 百度在线网络技术(北京)有限公司 Method and apparatus for providing representation information

Also Published As

Publication number Publication date
CN104965631A (en) 2015-10-07
WO2016188262A1 (en) 2016-12-01

Similar Documents

Publication Publication Date Title
CN104965631B (en) Desktop color matching method and device and intelligent terminal
CN110865862B (en) Page background setting method and device and electronic equipment
US20110305386A1 (en) Color Indication Tool for Colorblindness
CN103941958B (en) A kind of method and terminal device of desktop management
CN104536771B (en) According to the icon sequencing display method and system of Icon Color
CN106780635B (en) Picture adaptation method and system of intelligent terminal
EP2573670B1 (en) Character display method and device
CN104010124A (en) Method and device for displaying filter effect, and mobile terminal
CN109089144A (en) A kind of method, apparatus, electronic equipment and storage medium sending paster present
CN113687753A (en) Split screen style configuration method and device, intelligent terminal and storage medium
CN113808120A (en) Image processing method, image processing device, electronic equipment and storage medium
CN114579223A (en) Interface layout method, electronic equipment and computer readable storage medium
CN107203312B (en) Mobile terminal and picture rendering method and storage device thereof
EP3905672B1 (en) Color space mapping method and device, computer readable storage medium and apparatus
US11036914B2 (en) Automatic layout engine
CN105955754A (en) Method and device for displaying characters of user interface
CN109472874B (en) Display method, display device, VR display device and storage medium
CN109219140A (en) Distribution method, terminal and the computer readable storage medium of frequency domain bandwidth resource
CN105334956A (en) Information processing method and electronic device
CN103631577A (en) Image display adjusting method and device
US20120269437A1 (en) Image processing device, image processing method and image processing program
US10706590B2 (en) Subtitle beat generation method, image processing method, terminal, and server
CN109766530B (en) Method and device for generating chart frame, storage medium and electronic equipment
KR20140121712A (en) A method and an apparatus for self-healing using color therapy in the terminal
JP2014093617A (en) Color video signal processing device, processing method, and processing program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant