CN108320312A - Color matching method and device, the terminal of picture - Google Patents

Color matching method and device, the terminal of picture Download PDF

Info

Publication number
CN108320312A
CN108320312A CN201710034737.9A CN201710034737A CN108320312A CN 108320312 A CN108320312 A CN 108320312A CN 201710034737 A CN201710034737 A CN 201710034737A CN 108320312 A CN108320312 A CN 108320312A
Authority
CN
China
Prior art keywords
color value
rgb color
picture
value
rgb
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.)
Granted
Application number
CN201710034737.9A
Other languages
Chinese (zh)
Other versions
CN108320312B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710034737.9A priority Critical patent/CN108320312B/en
Publication of CN108320312A publication Critical patent/CN108320312A/en
Application granted granted Critical
Publication of CN108320312B publication Critical patent/CN108320312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour

Abstract

This application discloses a kind of color matching method of picture and device, terminals.Wherein, this method includes:Multiple background colour templates are provided, the background colour template is associated with default combi program;Obtain the dominant hue of picture to be matched colors;The default combi program with the Dominant Color Matching is determined according to the dominant hue;It is matched colors to the picture to be matched colors using background colour template corresponding with the matched default combi program.

Description

Color matching method and device, the terminal of picture
Technical field
This application involves color matching field, color matching method and device, terminal in particular to a kind of picture.
Background technology
In the related technology, when handling picture, picture and background colour template (such as intention are often related to Banner templates) collocation problem commodity picture is being uploaded to website for example, when designing the advertising pictures of a commodity Afterwards, the intention banner templates being pre-designed that website provides can be called to arrange in pairs or groups, in this way, can be no graphical design The trade company of experience provides facility, and still, this scheme has the following disadvantages:Since the background colour template that website provides is often solid Fixed, it is not associated between the color matching of the background colour template of the color for the commodity picture that user uploads and website offer, makes in this way It is poor at the dispensing effect of background colour template, influence user experience.
For above-mentioned problem, currently no effective solution has been proposed.
Invention content
The embodiment of the present application provides a kind of color matching method and device, terminal of picture, at least solve due to Background colour template is fixed, cannot be carried out with the color of picture to be matched colors it is reasonably combined caused by influence the skill of whole bandwagon effect Art problem.
According to the one side of the embodiment of the present application, a kind of color matching method of picture is provided, including:Multiple backgrounds are provided Color template, the background colour template are associated with default combi program;Obtain the dominant hue of picture to be matched colors;According to the dominant hue Determine the default combi program with the Dominant Color Matching;Use background colour mould corresponding with the matched default combi program Plate matches colors to the picture to be matched colors.
According to the another aspect of the embodiment of the present application, a kind of color matching device of picture is additionally provided, including:Module is provided, For providing multiple background colour templates, the background colour template is associated with default combi program;Acquisition module waits matching for obtaining The dominant hue of chromatic graph piece;Determining module, for determining the default combi program with the Dominant Color Matching according to the dominant hue; It matches colors module, for using background colour template corresponding with the matched default combi program to picture progress match colors Color matching.
According to the another aspect of the embodiment of the present application, a kind of terminal is additionally provided, is interacted with user for providing Interactive interface, which is characterized in that the interactive interface includes:First control, for showing multiple background colour templates, the back of the body Scenery template is associated with default combi program;Second control, the dominant hue for showing picture to be matched colors;Third control, is used for Show the default combi program with the Dominant Color Matching determined according to the dominant hue;4th control is used for showing Background colour template corresponding with the matched default combi program is to the figure after color matching picture is matched colors.
In the embodiment of the present application, corresponding combi program is flexibly called using the dominant hue according to picture to be matched colors Scheme (i.e. background colour template) calls corresponding background colour template since the dominant hue based on picture may be implemented, to The scheme of colour of picture and reasonably combined, the technique effect of the whole bandwagon effect of promotion of background colour template are realized, and then is solved Determined since background colour template is fixed, cannot be carried out with the color of picture to be matched colors it is reasonably combined caused by influence whole displaying The technical issues of effect.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please do not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
Fig. 1 is the overall flow schematic diagram according to a kind of picture scheme of colour of the embodiment of the present application;
Fig. 2 is shown according to a kind of structure of the terminal of color matching method for realizing picture of the embodiment of the present application It is intended to;
Fig. 3 is the flow chart according to a kind of color matching method of picture of the embodiment of the present application;
Fig. 4 is the structure diagram according to a kind of color matching device of picture of the embodiment of the present application;
Fig. 5 is the structure diagram according to a kind of terminal of the embodiment of the present application.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to embodiments herein described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
First, the part noun or term occurred during the embodiment of the present application is described is suitable for following solution It releases:
Dominant hue:In multiple tones, the tone based on a kind of tone, wherein tone is in the light of object reflection Which kind of determined with wavelength dominance.
Similar colour (color of same kind:It is identical to refer to form and aspect property, but coloration is divided into the depth.(it is in hue circle Color in 15 ° of angles) as it is dark red with it is pale red
Adjacent colour:The adjoining color on colour band, such as green and blue, red and yellow just adjacent colour each other.
(i.e. You are among us and we are among you) often cross one another between adjacent colour.Such as:It is bright red with it is orange, it is bright red Based on red, the inside slightly has a small amount of yellow;Orange there is a little red in the inside based on Huang, although they have very greatly in form and aspect Difference, but visually relatively.In the colour wheel, all colors within the scope of 60 degree all belong to the range of adjacent colour.
Complementary colours:In three primary colors, any type color is the complementary color of other two kinds of primary colors mixed in equal amounts.In hue circle In, the dichromatism complementary color each other in diametrical position.There are three types of primary colors, i.e., red, yellow, blue, they are the color lists that cannot be decomposed again Position.Every two groups of matchings in three primary colors and the color that generates is referred to as secondary color, it is such as red plus it is yellow be orange, Huang plus blue for green, Lan Jia Red is purple, and orange, green, violet shift is secondary color.Red and green, orange and blue, Huang Yuzi is exactly the relationship of complementary color each other.Since complementary color has by force Strong separation property, therefore in the performance of color drawing, complementary color is properly used in position, can not only reinforce pair of color Than space out sense, and can show special visual contrast and counterbalance effect.
Contrastive colours:The color on each color opposite (180 degree is diagonal) in hue circle, referred to as " contrastive colours are (complementary Color) " puts contrastive colours together, if can be mixed to the strong rejection feeling of people, can recall muddy color such as:It is red With green, Lan Yucheng, Huang Yuzi contrastive colours each other.
It is also possible that defining contrastive colours:Two kinds of colors that can obviously distinguish, are contrastive colours.Including hue contrast, bright Degree comparison, saturation degree comparison, changes in temperature comparison, complementary color comparison, the comparison etc. of color and colour killing.It is the weight for constituting apparent color effect Means are wanted, are also to confer to color with the important method of expressive force.Its form of expression is excellent while comparison and successive comparison divide.Such as Yellow and blue, purple and green, red and green, any color and black, white, grey, dark color and light, cool colour and warm colour, light tone and dead color are all Contrastive colours relationship.
Adjacent color:Color adjacent in an angle of 90 degrees is referred to as Adjacent color on colour wheel.
Embodiment 1
In the related technology, it after commodity picture is uploaded to website by trade company, needs to select designer's designed template Advertising pictures are designed, are difficult often to find relatively to take with commodity picture since most trade company itself appreciates horizontal limited still The combi program (background colour template) matched, in this way, the advertising pictures effect that final design goes out can be caused not to be fine.For in solution Problem is stated, a kind of intelligent scheme of colour is present embodiments provided, with the commodity picture for solving user's upload and entire background colour mould The collocation problem of the design colours of plate.It is described further below.
Based on mentioned above principle, an application scenarios of the present embodiment are as shown in Figure 1:
Picture is uploaded to e-commerce platform (such as e-commerce such as Jingdone district store by step S102, trade company by terminal Website) server;After being uploaded to the server of e-commerce platform, the extraction of dominant hue is proceeded by, referring specifically under The description in face.
Picture scheme of colour provided in this embodiment is roughly divided into two parts:The extraction of picture dominant tone and picture and background The collocation of color template.Detailed process is as shown in Figure 1, include following processing step:
The extraction of picture dominant tone
Step S104, compressed picture:
Picture is zoomed into a fixed small size, such as 150x150 using existing tool, accounting is larger retaining Color simultaneously, improves the speed that following cycle pixel reads color.
Step S106 reads color value, such as RGB color value, it should be noted that color value herein includes RGB face The color value (i.e. channel color value) in each channel in color value.
After picture scaling, the color value of each pixel, storage a to array are recorded.By taking above-mentioned 150x150 as an example, this Step will store in 150x150=22500 color value a to array, be denoted as C1.
Step S108 merges advancing colour, including:Step S108-1 tentatively merges advancing colour and step S108-2 is further closed And advancing colour two parts:
Step S108-1, tentatively merges advancing colour:
It, can be by the color approximate merging of previous step record since human eye is limited to the recognition capability of color.To in C1 Each color executes following procedure, wherein following each channel color values of R, G, B are the integer between 0-255:
Step a selects a threshold value Δ, such as 17;
Step b calculates the half of threshold value, i.e. Δ/2, this example 17/2=8.5;
Step c indicates the color value in each channel R, G, B with v, using formulaHereIt indicates Downward rounding.If obtaining end value is more than 255,255 are taken.Such as R, G, B value of color #e4eeb1 is respectively 228,238,177. This example Δ=17, it is respectively 221,238,170, i.e. #ddeeaa that new R, G, B value, which is calculated,;
Step d counts the number that each color occurs, and is recorded one using color value as key, occurrence number is the word of value In allusion quotation, it is denoted as D1.Such as { " ffffff ":2962,"eeeeee":7782,"dddddd":5111,…}.
Step S108-2, further merges advancing colour:
D1 is obtained using a upper section, from more to less according to the number of color appearance, corresponding color value storage a to number Group is denoted as C2.For the above nodule fruit, C2 is similar [" eeeeee ", " dddddd ", " ffffff " ...].
It was determined that if color in C2 indicates that other than 255, each is logical with R, G of 0-255, channel B value The color value in road can be divided exactly by the upper selected threshold value Δ of a section.Before further merging color, an empty dictionary, note are first created For D2, for storing the result subsequently changed.
Since index 0, successively to each color in C2, following procedure is executed:
Step 1, note current color value is k;
Step 2, if D2 is included using k as the key-value pair of key, remember that the value in D2 corresponding to the key is that v (needs to illustrate , what v was indicated herein is also a kind of color value, i.e., the key-value pair stored in current D2 is:Color value:Color value);
Step 3, if step 2 condition is invalid, current color value k, threshold value Δ and dictionary D2 is used to calculate one closely Like color v, specific method is described later on.Wherein, the key-value pair in D2 can be " 20a020:301020”“30a020:30a020” Etc. forms.Dictionary D2 is updated, D2 [k]=v is made;
Step 4, if step 2 or 3 obtained v with k values are different, update dictionary D1, make D1 [v]=D1 [v]+D1 [k] and D1 [k]=0.That is, the numbers occurred of color k in D1 are merged into the occurrence number of color v.
The flow that advancing colour is calculated in above-mentioned steps 3 is set forth below:
1) tri- channel values of R, G, B corresponding to color value k are respectively r, g, b;
It is respectively that 16 new system color value k ' are calculated in r- Δs, g, b with tri- channel values of R, G, B if 2) r > Δs. If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color value k ' are calculated in r, g- Δ, b with tri- channel values of R, G, B if 3) g > Δs. If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color value k ' are calculated in r, g, b- Δ with tri- channel values of R, G, B if 4) b > Δs. If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color values are calculated in r+ Δs, g, b with tri- channel values of R, G, B if 5) r < 255- Δs k′.If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color values are calculated in r, g+ Δ, b with tri- channel values of R, G, B if 6) g < 255- Δs k′.If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color values are calculated in r, g, b+ Δ with tri- channel values of R, G, B if 7) b < 255- Δs k′.If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
If step 2) -7) it is performed without any one, the advancing colour that can merge is not found, is directly returned original Color value k, flow terminate.It should be noted that step 2) -7)
Step S110 determines the weight of color corresponding to color value in D1:
By front three save color merge after, in D1 dictionaries by have many keys to value be 0.It is 0 these values Key-value pair is left out from D1 dictionaries.Traverse each single item of D1 dictionaries.The key of currentitem is 16 system color values, is denoted as k;Currentitem Value be merge color after, the color occur number, be denoted as v.Following changes are applied to each single item.
Tri- channel values of R, G, B corresponding to 1, color value k are respectively r, g, b;
2, calculate color weightWherein, a is constant, such as 50, and v indicates face The number that color occurs;
3, dictionary D1 is updated, D1 [k]=w is made.
The value of the former each key of D1 dictionaries indicates the number that the key meaning color occurs.After the completion of this section, each key of D1 dictionaries Value indicate the color in result set weight (if the weight of each color value in the D1 that removal value is 0 is promoted, that Whether can ensure that the corresponding weight of each color is promoted, because all elements weight in D1 can also be promoted).
Step S112 weakens the weight of skin-color:
For model's picture, using following methods, to weaken the weight of skin-color.The each single item of D1 dictionaries is traversed, currently The key of item is 16 system color values, is denoted as k;The value of currentitem is the weight of the color, is denoted as p.
Following processing procedure is executed to each single item:
Tri- channel values of R, G, B corresponding to color value k are respectively r, g, b;
If r > b and r-b < 70 andDictionary D1 is updated, is made
Step S114, determines dominant hue:
It is descending according to color weight using dictionary D1, corresponding color value is stored to an array, C3 is denoted as.From Index 0 starts, and checks each color in C3.Current color is described in a manner of HSV, remembers that the form and aspect of current color are h, saturation Degree is s, lightness v.Here saturation degree and lightness are indicated with the floating number between 0-1.If current color meets s > 0.1 and v > 0.4 then takes current color as the mass-tone of picture.Otherwise, the color of next index is checked.If all colours have traversed At, be the color for finding and meeting the requirements, take index for 0 color as picture dominant tone.
Step S116 calls corresponding background colour template according to dominant hue:
Colour circle is divided into 27 colors, and to this 27 color Similar colour, adjacent colour, complementary colours, contrastive colours, class It takes chromogen then to remove the dominant hue found out of arranging in pairs or groups like color, that is, the scheme of colour with Dominant Color Matching is determined, to form template Intelligent scheme of colour.
Step S118 is returned to terminal using the picture after the color matching of background colour template.
Embodiment 2
According to the embodiment of the present application, a kind of embodiment of the method for the color matching method of picture is additionally provided, it should be noted that Step shown in the flowchart of the accompanying drawings can execute in the computer system of such as a group of computer-executable instructions, and It, in some cases, can be to execute institute different from sequence herein and although logical order is shown in flow charts The step of showing or describing.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.Fig. 2 shows a kind of the hard of the terminal (or mobile device) of color matching method for realizing picture Part structure diagram.As shown in Fig. 2, terminal 20 (or mobile device 20) may include one or more (used in figure 202a, 202b ... ..., 202n are shown) (processor 202 can include but is not limited to Micro-processor MCV or can processor 202 The processing unit of programmed logic device FPGA etc.), memory 204 for storing data and the transmission for communication function Module 206.In addition to this, can also include:Display, input/output interface (I/O interfaces), universal serial bus (USB) end Mouthful (can as a port in the port of I/O interfaces by including), network interface, power supply and/or camera.This field is common Technical staff is appreciated that structure shown in Fig. 2 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.Example Such as, terminal 20 may also include than shown in Fig. 2 more either less components or with different from shown in Fig. 2 Configuration.
It is to be noted that said one or multiple processors 202 and/or other data processing circuits lead to herein Can often it be referred to as " data processing circuit ".The data processing circuit all or part of can be presented as software, hardware, firmware Or any other combination.In addition, data processing circuit can be single independent processing module or all or part of be attached to meter In any one in other elements in calculation machine terminal 20 (or mobile device).As involved in the embodiment of the present application, The data processing circuit controls (such as the selection for the variable resistance end path being connect with interface) as a kind of processor.
Memory 204 can be used for storing the software program and module of application software, such as the picture in the embodiment of the present application The corresponding program instruction/data storage device of color matching method, processor 202 by operation be stored in it is soft in memory 204 Part program and module are realized above-mentioned to perform various functions application and data processing.Memory 204 may include High speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or its His non-volatile solid state memory.In some instances, memory 204 can further comprise remotely setting relative to processor 202 The memory set, these remote memories can pass through network connection to terminal 20.The example of above-mentioned network include but It is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 206 is used to receive via a network or transmission data.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 20 provide.In an example, transmitting device 206 includes that a network is suitable Orchestration (Network Interface Controller, NIC), can be connected with other network equipments by base station so as to Internet is communicated.In an example, transmitting device 206 can be radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), which may make that user can be with The user interface of terminal 20 (or mobile device) interacts.
Under above-mentioned running environment, this application provides the color matching methods of picture as shown in Figure 3.Fig. 3 is according to this Shen Please embodiment a kind of picture color matching method flow chart.As shown in figure 3, this method includes following processing step:
Step S302 provides multiple background colour templates, which is associated with default combi program;
Step S304 obtains the dominant hue of picture to be matched colors;
Optionally, which can be realized by following procedure, but not limited to this:It obtains each in above-mentioned picture to be matched colors The priming color quantity that RGB RGB color value and above-mentioned picture to be matched colors corresponding to the color of pixel have, wherein Above-mentioned RGB color value includes the channel color value in tri- channels R, G, B;For the RGB of each pixel in above-mentioned picture to be matched colors Color value is filtered above-mentioned RGB color value according to the first preset rules, obtains first set, wherein above-mentioned first set In the number of colors of color corresponding to above-mentioned RGB color value be less than above-mentioned priming color quantity;It is determined according to the second preset rules The weight of above-mentioned RGB color value in above-mentioned first set;Weight according to above-mentioned RGB color value in above-mentioned first set determines State the dominant hue of picture to be matched colors.
Wherein, for " being filtered to above-mentioned RGB color value according to the first preset rules ", in an alternative embodiment In, following implemented process can be shown as, but not limited to this:
To the channel color value in each channel in the RGB color value of each pixel in above-mentioned picture to be matched colors, according to first Operation rule performs mathematical calculations, and obtains the second operation result;It filters out in above-mentioned second operation result in each RGB color value The channel color value in each channel is satisfied by the RGB color value of the first preset condition, and using the RGB color value filtered out as Element in two set;
The RGB color value in above-mentioned second set is traversed, to each RGB color value in above-mentioned second set according to second Operation rule performs mathematical calculations, and obtains the second operation result;Judge RGB color value in above-mentioned second operation result whether In third set, the RGB color value in above-mentioned second set is merged according to judging result.
Wherein, in one alternate embodiment, above-mentioned first preset condition includes:Each channel of RGB color value leads to Road color value is the multiple of predetermined value and respectively less than 255.
Wherein, in one alternate embodiment, the RGB color value in above-mentioned second set is closed according to judging result And following form can be shown as, but not limited to this:If above-mentioned judging result indicates the RGB face in above-mentioned second operation result Color value is in above-mentioned third set, then using the RGB color value in above-mentioned second operation result as approximate color value, and store to In above-mentioned second set;If above-mentioned judging result indicates the RGB color value in above-mentioned second operation result not in above-mentioned third In set, then the RGB color value in above-mentioned second set before performing mathematical calculations according to the second operation rule remains unchanged.
Wherein, in one alternate embodiment, for " using the RGB color value in above-mentioned second operation result as approximation Color value, and store into above-mentioned second set ", it can be accomplished by the following way, but not limited to this:For each RGB face Color value, after judging that any one channel color value changes according to third preset rules in each RGB color value successively Obtained RGB color value whether or RGB color value difference identical as RGB color value in the second set it is different be less than predetermined threshold value, If it is, one of RGB color value is excluded, only retain one of RGB color value;And by described two RGB face The corresponding occurrence number of RGB color value excluded in color value is incorporated into the occurrence number of RGB color value of reservation.In this way, by In eliminating advancing colour, it is thereby achieved that the reduction of pending number of colors, improves the efficiency of dominant hue extraction.
It should be noted that above-mentioned third preset rules can be based on a threshold value to any one in RGB color value The channel color value in channel plus or minus a threshold value.For example, following implemented process can be showed:
1) tri- channel values of R, G, B corresponding to color value k are respectively r, g, b, and Δ is customized one value;
It is respectively that 16 new system color value k ' are calculated in r- Δs, g, b with tri- channel values of R, G, B if 2) r > Δs. If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color value k ' are calculated in r, g- Δ, b with tri- channel values of R, G, B if 3) g > Δs. If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color value k ' are calculated in r, g, b- Δ with tri- channel values of R, G, B if 4) b > Δs. If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively that 16 new system color values are calculated in r+ Δs, g, b with tri- channel values of R, G, B if 5) r < 255- Δs k′.If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively r, g+ Δ, b with tri- channel values of R, G, B if 6) g < 255- Δs, 16 new system colors is calculated Value k '.If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates;
It is respectively r, g, b+ Δ with tri- channel values of R, G, B if 7) b < 255- Δs, 16 new system colors is calculated Value k '.If it is the key-value pair of key that D2, which includes with k ', it is D2 [k '] to return to advancing colour, and flow terminates.
As the alternative embodiment of the application, above-mentioned second preset rules include:The weight of above-mentioned RGB color value is big It is small proportional at least one of of above-mentioned RGB color value:Saturation degree S, lightness V and above-mentioned RGB color value are above-mentioned second Occurrence number in set.
Optionally, in order to keep merchandise display better, the weight of above-mentioned RGB color value is selected from above-mentioned first set Before maximum RGB color value, the power that the RGB color value corresponding to types of colors is specified in above-mentioned first set can also be reduced Weight.For example, color identical with the color value of the skin-color of human body can be reduced.
Optionally, the weight according to above-mentioned RGB color value in above-mentioned first set determines the mass-tone of above-mentioned picture to be matched colors It adjusts, can be realized by following procedure, but not limited to this:The weight of above-mentioned RGB color value is selected from above-mentioned first set most Big RGB color value (the RGB color value can be the color value of 16 systems) is right by the maximum RGB color value institute of above-mentioned weight Dominant hue of the color answered as above-mentioned picture to be matched colors;Alternatively, according to the weight of above-mentioned RGB color value in above-mentioned first set From being ranked up to small sequence to the RGB color value in above-mentioned first set greatly, a RGB in the top of preset quantity is selected Dominant hue of the color as above-mentioned picture to be matched colors corresponding to color value.
Wherein it is possible to which the color corresponding to selection preset quantity RGB color value in the top is made in the following manner For the dominant hue of above-mentioned picture to be matched colors:RGB color value in above-mentioned first set is converted into HSV value, obtains the 4th set; The HSV value in above-mentioned 4th set is traversed, using the color of saturation degree and lightness the second preset condition of satisfaction in HSV value as upper State the dominant hue of picture to be matched colors.
Optionally, after traversing the HSV value in above-mentioned 4th set, the HSV value in above-mentioned 4th set is unsatisfactory for When stating preset condition, using the maximum RGB color value of weight as the dominant hue of above-mentioned picture to be matched colors.
Step S306 determines the default combi program with above-mentioned Dominant Color Matching according to above-mentioned dominant hue;
Step S308, using background colour template corresponding with above-mentioned matched default combi program to above-mentioned picture to be matched colors It matches colors.
In the alternative embodiment of the application, obtain in above-mentioned picture to be matched colors before the color value of each pixel, The size of above-mentioned picture to be matched colors can also be compressed, to improve the speed that following cycle reads color.
It should be noted that the preferred embodiment mode in the present embodiment may refer to the associated description in embodiment 1, this Place repeats no more.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, the technical solution of the application is substantially in other words to existing The part that technology contributes can be expressed in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) execute each embodiment of the application described in method.
Embodiment 3
According to the embodiment of the present application, a kind of device for implementing the color matching method of above-mentioned picture is additionally provided, such as Fig. 4 institutes Show, which includes:
Module 40 is provided, for providing multiple background colour templates, above-mentioned background colour template is associated with default combi program;
Acquisition module 42, the dominant hue for obtaining picture to be matched colors;
Determining module 44, for determining the default combi program with above-mentioned Dominant Color Matching according to above-mentioned dominant hue;
It matches colors module 46, for using background colour template corresponding with above-mentioned matched default combi program to wait matching to above-mentioned Chromatic graph piece is matched colors.
It should be noted that modules involved in the embodiment of the present application be can by software or example, in hardware come It realizes, for the latter, can be accomplished by the following way, but not limited to this:Above-mentioned modules are located in same processor, Alternatively, above-mentioned modules are located in different processors.
It should be noted that the preferred embodiment mode in the present embodiment may refer to the associated description in embodiment 1-2, Details are not described herein again.
Embodiment 4
Embodiments herein can provide a kind of terminal, which can be in terminal group Any one computer terminal.Optionally, in the present embodiment, above computer terminal can also replace with mobile whole The terminal devices such as end.
Optionally, in the present embodiment, above computer terminal can be located in multiple network equipments of computer network At least one network equipment.
In the present embodiment, the program code of following steps during above computer terminal can execute:Obtain chromatic graph to be matched The dominant hue of piece;Background colour template corresponding with the dominant hue is called according to the dominant hue, and uses the background colour mould Plate matches colors to the picture to be matched colors.
Optionally, the structure of the present embodiment terminal may refer to the structure of terminal shown in Fig. 2, but unlimited Terminal in this, such as in the present embodiment can have more than terminal shown in Fig. 2 or few structure feature.
Wherein, memory can be used for storing software program and module, such as the method and apparatus pair in the embodiment of the present application Program instruction/the module answered, processor is stored in software program and module in memory by operation, various to execute The detection method of above-mentioned system vulnerability attack is realized in application of function and data processing.Memory may include that high speed is random Memory, can also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory can further comprise the memory remotely located relative to processor, this A little remote memories can pass through network connection to terminal A.The example of above-mentioned network includes but not limited to internet, enterprises Net, LAN, mobile radio communication and combinations thereof.
Processor can call the information and application program of memory storage by transmitting device, to execute following step: Obtain the dominant hue of picture to be matched colors;
Background colour template corresponding with the dominant hue is called according to the dominant hue, and uses the background colour template pair The picture to be matched colors is matched colors.
Optionally, the program code of following steps can also be performed in above-mentioned processor:It is every in picture to be matched colors described in acquisition The color value of a pixel;For the color of each pixel in the picture to be matched colors, according to the first preset rules to the color Corresponding RGB RGB color value is filtered, and obtains first set, wherein RGB color value described in the first set The number of colors of corresponding color is less than the number of colors that the picture to be matched colors initially has;It is determined according to the second preset rules The weight of RGB color value described in the first set;Weight according to RGB color value described in the first set determines institute State the dominant hue of picture to be matched colors.
Optionally, the program code of following steps can also be performed in above-mentioned processor:To each in the picture to be matched colors A pixel performs mathematical calculations to the color value in each channel in the RGB of each pixel according to the first operation rule, obtains operation As a result;Color value by each channel of RGB in the operation result is the multiple of predetermined value and respectively less than 255 operation knot Color corresponding to fruit is as the color in second set;The color in the second set is traversed, in the second set The RGB color value of each color perform mathematical calculations according to the second operation rule, obtain the second operation result, judge described RGB color value in two operation results whether in third set, if in the third set, by second operation As a result approximate color value of the RGB color value as current color in;If not in the third set, described in judgement In RGB color value the color value in next channel whether as according to preset rules to described second is collected in the second set A color during RGB color value is identical in conjunction or different two colors less than predetermined threshold value of RGB color value difference excludes, and only retains One of color;And the corresponding occurrence number of the color excluded in described two colors is incorporated into the appearance of the color of reservation On number.
Optionally, the program code of following steps can also be performed in above-mentioned processor:Described in the first set Number that color value occurs and for embodying described in the parameter value of the color value corresponding saturation degree S and lightness V determines The weight of color value described in first set, wherein the weight of color value described in the first set and the number and institute It states saturation degree S and lightness V is directly proportional.
It using the embodiment of the present application, solves since background colour template is fixed, cannot be carried out with the color of picture to be matched colors The technical issues of whole bandwagon effect is influenced caused by reasonably combined.
It will appreciated by the skilled person that terminal can also be smart mobile phone (such as Android phone, IOS mobile phones etc.), tablet computer, applause computer and mobile internet device (Mobile Internet Devices, MID), The terminal devices such as PAD, but the structure of above-mentioned electronic device is not caused to limit.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed come command terminal device-dependent hardware by program, which can be stored in a computer readable storage medium In, storage medium may include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 5
The present embodiment provides a kind of terminals, for providing the interactive interface 50 interacted with user, as shown in figure 5, The interactive interface includes:
First control 500, for showing that multiple background colour templates, above-mentioned background colour template are associated with default combi program;
Second control 502, the dominant hue for showing picture to be matched colors;
Third control 504, for showing that is determined according to above-mentioned dominant hue matches colour cell with the default of above-mentioned Dominant Color Matching It closes;
4th control 506, for show use background colour template corresponding with above-mentioned matched default combi program to State the figure after color matching picture is matched colors.
It should be noted that the preferred embodiment mode in the present embodiment may refer to the associated description in embodiment 1-2, Details are not described herein again.
Embodiment 6
Embodiments herein additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can For preserving the program code performed by the color matching method for the picture that above-described embodiment 2 is provided.
Optionally, in the present embodiment, above-mentioned storage medium can be located in computer network Computer terminal group In any one terminal, or in any one mobile terminal in mobile terminal group.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:It obtains Take the dominant hue of picture to be matched colors;Background colour template corresponding with the dominant hue is called according to the dominant hue, and uses institute Background colour template is stated to match colors to the picture to be matched colors.
Above-mentioned the embodiment of the present application serial number is for illustration only, can not represent the quality of embodiment.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, only A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the application whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection domain of the application.

Claims (15)

1. a kind of color matching method of picture, which is characterized in that including:
Multiple background colour templates are provided, the background colour template is associated with default combi program;
Obtain the dominant hue of picture to be matched colors;
The default combi program with the Dominant Color Matching is determined according to the dominant hue;
It is matched colors to the picture to be matched colors using background colour template corresponding with the matched default combi program.
2. according to the method described in claim 1, it is characterized in that, the dominant hue for obtaining picture to be matched colors includes:
It RGB RGB color value in picture to be matched colors described in acquisition corresponding to the color of each pixel and described waits matching colors The priming color quantity that picture has, wherein the RGB color value includes the channel color value in tri- channels R, G, B;
For the RGB color value of each pixel in the picture to be matched colors, according to the first preset rules to the RGB color value into Row filtering, obtains first set, wherein the number of colors of color corresponding to RGB color value described in the first set is less than The priming color quantity;
The weight of RGB color value described in the first set is determined according to the second preset rules;
The dominant hue of picture to be matched colors described in weight determination according to RGB color value described in the first set.
3. according to the method described in claim 2, it is characterized in that, RGB face for each pixel in the picture to be matched colors Color value is filtered the RGB color value according to the first preset rules, including:
To the channel color value in each channel in the RGB color value of each pixel in the picture to be matched colors, according to the first operation Rule performs mathematical calculations, and obtains the second operation result;It filters out each in each RGB color value in second operation result The channel color value in channel is satisfied by the RGB color value of the first preset condition, and using the RGB color value filtered out as the second collection Element in conjunction;
The RGB color value in the second set is traversed, to each RGB color value in the second set according to the second operation Rule performs mathematical calculations, and obtains the second operation result;Judge the RGB color value in second operation result whether in third In set, the RGB color value in the second set is merged according to judging result.
4. according to the method described in claim 3, it is characterized in that, first preset condition includes:Each of RGB color value The channel color value in channel is the multiple of predetermined value and respectively less than 255.
5. according to the method described in claim 3, it is characterized in that, according to judging result to the RGB face in the second set Color value merges, including:
If the judging result indicates the RGB color value in second operation result in the third set, by institute The RGB color value in the second operation result is stated as approximate color value, and is stored into the second set;If the judgement As a result indicate the RGB color value in second operation result not in the third set, then according to the second operation rule into The RGB color value in the second set before row mathematical operation remains unchanged.
6. according to the method described in claim 5, it is characterized in that, using the RGB color value in second operation result as Approximate color value, and store into the second set, including:
For each RGB color value, judge that any one channel color value is pre- according to third in each RGB color value successively After if rule changes obtained RGB color value whether or RGB color value difference identical as RGB color value in the second set It is different to be less than predetermined threshold value, if it is, one of RGB color value is excluded, only retain one of RGB color value;And The corresponding occurrence number of RGB color value excluded in described two RGB color values is incorporated into the appearance of the RGB color value of reservation On number.
7. according to the method described in claim 6, it is characterized in that, second preset rules include:The RGB color value Weight size and at least one of of the RGB color value are proportional:Saturation degree S, lightness V and the RGB color value are in institute State the occurrence number in second set.
8. according to the method described in claim 2, it is characterized in that, power according to RGB color value described in the first set The dominant hue of picture to be matched colors determine again described in, including:
The maximum RGB color value of the weight of the RGB color value is selected from the first set, the weight is maximum The dominant hue of color corresponding to the RGB color value picture to be matched colors as described in;Alternatively,
According to the weight of RGB color value described in the first set from greatly to small sequence to the RGB in the first set Color value is ranked up, the color chromatic graph to be matched as described in corresponding to RGB color value for selecting preset quantity in the top The dominant hue of piece.
9. according to the method described in claim 8, it is characterized in that, a RGB color value institute in the top of selection preset quantity The dominant hue of corresponding color picture to be matched colors as described in, including:
RGB color value in the first set is converted into HSV value, obtains the 4th set;
The HSV value in the 4th set is traversed, the color of saturation degree and lightness the second preset condition of satisfaction in HSV value is made For the dominant hue of the picture to be matched colors.
10. according to the method described in claim 9, it is characterized in that, traversal it is described 4th set in HSV value after, it is described Method further includes:
HSV value in 4th set is when being unsatisfactory for second preset condition, using the maximum RGB color value of weight as The dominant hue of the picture to be matched colors.
11. according to the method described in claim 8, it is characterized in that, selecting the RGB color value from the first set Before the maximum color value of weight, the method further includes:
Reduce the weight that the RGB color value corresponding to types of colors is specified in the first set.
12. according to the method for claim 11, which is characterized in that the specified type color includes:With the skin of human body The identical color of RGB color value of color.
13. method according to any one of claim 1 to 12, which is characterized in that every in picture to be matched colors described in acquisition Before RGB color value corresponding to the color of a pixel, the method further includes:The size of the picture to be matched colors is pressed Contracting.
14. a kind of color matching device of picture, which is characterized in that including:
Module is provided, for providing multiple background colour templates, the background colour template is associated with default combi program;
Acquisition module, the dominant hue for obtaining picture to be matched colors;
Determining module, for determining the default combi program with the Dominant Color Matching according to the dominant hue;
It matches colors module, for using background colour template corresponding with the matched default combi program to the picture to be matched colors It matches colors.
15. a kind of terminal, for providing the interactive interface interacted with user, which is characterized in that the interactive interface packet It includes:
First control, for showing that multiple background colour templates, the background colour template are associated with default combi program;
Second control, the dominant hue for showing picture to be matched colors;
Third control determining with the Dominant Color Matching default combi program for showing according to the dominant hue;
4th control, for showing that use background colour template corresponding with the matched default combi program waits matching colors to described Picture matched colors after figure.
CN201710034737.9A 2017-01-18 2017-01-18 Image color matching method and device and computer terminal Active CN108320312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710034737.9A CN108320312B (en) 2017-01-18 2017-01-18 Image color matching method and device and computer terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710034737.9A CN108320312B (en) 2017-01-18 2017-01-18 Image color matching method and device and computer terminal

Publications (2)

Publication Number Publication Date
CN108320312A true CN108320312A (en) 2018-07-24
CN108320312B CN108320312B (en) 2022-01-11

Family

ID=62892155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710034737.9A Active CN108320312B (en) 2017-01-18 2017-01-18 Image color matching method and device and computer terminal

Country Status (1)

Country Link
CN (1) CN108320312B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410295A (en) * 2018-09-14 2019-03-01 广州视源电子科技股份有限公司 Color setting method, device, equipment and computer readable storage medium
CN109448073A (en) * 2018-10-15 2019-03-08 北京搜狐新媒体信息技术有限公司 A kind of picture extracts the method and system of double-colored gradual change
CN109859283A (en) * 2018-12-22 2019-06-07 Oppo广东移动通信有限公司 One kind taking color method, takes color device, electronic equipment and can storage medium
CN111050202A (en) * 2019-11-22 2020-04-21 北京达佳互联信息技术有限公司 Video processing method, video processing device, electronic equipment and medium
CN111178013A (en) * 2019-12-31 2020-05-19 福建天泉教育科技有限公司 Method and terminal for restoring custom coloring effect of picture in PPT
CN111369431A (en) * 2020-03-12 2020-07-03 北京字节跳动网络技术有限公司 Image processing method and device, readable medium and electronic equipment
CN113379595A (en) * 2020-03-09 2021-09-10 北京沃东天骏信息技术有限公司 Page picture synthesis method and device
CN113707275A (en) * 2021-08-27 2021-11-26 郑州铁路职业技术学院 Mental health estimation method and system based on big data analysis
CN113763237A (en) * 2021-11-09 2021-12-07 深圳市明源云科技有限公司 Intelligent beautifying method and device for visual report and computer readable storage medium
CN113865709A (en) * 2021-08-16 2021-12-31 杭州博联智能科技股份有限公司 Intelligent lamp color testing device and method based on prism color separation
CN117315172A (en) * 2023-09-22 2023-12-29 鲸数科技(北京)有限公司 Map page configuration method, map page configuration device, electronic equipment and computer readable medium
CN113379595B (en) * 2020-03-09 2024-04-09 北京沃东天骏信息技术有限公司 Page picture synthesis method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060215906A1 (en) * 2001-01-18 2006-09-28 Lg Electronics Inc. Method for setting dominant color using spatial coherency
CN102360490A (en) * 2011-09-30 2012-02-22 北京航空航天大学 Color conversion and editing propagation-based method for enhancing seasonal feature of image
CN102508861A (en) * 2011-09-30 2012-06-20 华为技术有限公司 Webpage color setting method, webpage browser and webpage server
CN102568010A (en) * 2010-12-14 2012-07-11 上海三旗通信科技股份有限公司 Method for extracting color and changing theme coloring by utilizing traditional camera
WO2013049736A1 (en) * 2011-09-30 2013-04-04 Bhardwaj Anurag Image feature data extraction and use
CN103513946A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Display control method and device
CN103677640A (en) * 2013-12-16 2014-03-26 安徽科大讯飞信息科技股份有限公司 Virtual keyboard self-adaptation application theme method and system
US20160180148A1 (en) * 2009-12-18 2016-06-23 Tandent Vision Science, Inc. Method and system for generating intrinsic images using a single reflectance technique
CN105761283A (en) * 2016-02-14 2016-07-13 广州神马移动信息科技有限公司 Picture dominant color extraction method and device
CN105786896A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Color rendering method and device of page sidebar
CN105988660A (en) * 2015-03-02 2016-10-05 北大方正集团有限公司 Interface hue adjustment method, interface hue adjustment system, input system and terminal
CN106204690A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 A kind of image processing method and device
CN106202086A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 A kind of picture processing, acquisition methods, Apparatus and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060215906A1 (en) * 2001-01-18 2006-09-28 Lg Electronics Inc. Method for setting dominant color using spatial coherency
US20160180148A1 (en) * 2009-12-18 2016-06-23 Tandent Vision Science, Inc. Method and system for generating intrinsic images using a single reflectance technique
CN102568010A (en) * 2010-12-14 2012-07-11 上海三旗通信科技股份有限公司 Method for extracting color and changing theme coloring by utilizing traditional camera
CN102360490A (en) * 2011-09-30 2012-02-22 北京航空航天大学 Color conversion and editing propagation-based method for enhancing seasonal feature of image
CN102508861A (en) * 2011-09-30 2012-06-20 华为技术有限公司 Webpage color setting method, webpage browser and webpage server
WO2013049736A1 (en) * 2011-09-30 2013-04-04 Bhardwaj Anurag Image feature data extraction and use
CN103513946A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Display control method and device
CN103677640A (en) * 2013-12-16 2014-03-26 安徽科大讯飞信息科技股份有限公司 Virtual keyboard self-adaptation application theme method and system
CN105786896A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Color rendering method and device of page sidebar
CN105988660A (en) * 2015-03-02 2016-10-05 北大方正集团有限公司 Interface hue adjustment method, interface hue adjustment system, input system and terminal
CN106204690A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 A kind of image processing method and device
CN106202086A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 A kind of picture processing, acquisition methods, Apparatus and system
CN105761283A (en) * 2016-02-14 2016-07-13 广州神马移动信息科技有限公司 Picture dominant color extraction method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410295B (en) * 2018-09-14 2023-09-15 广州视源电子科技股份有限公司 Color setting method, device, equipment and computer readable storage medium
CN109410295A (en) * 2018-09-14 2019-03-01 广州视源电子科技股份有限公司 Color setting method, device, equipment and computer readable storage medium
CN109448073A (en) * 2018-10-15 2019-03-08 北京搜狐新媒体信息技术有限公司 A kind of picture extracts the method and system of double-colored gradual change
CN109859283A (en) * 2018-12-22 2019-06-07 Oppo广东移动通信有限公司 One kind taking color method, takes color device, electronic equipment and can storage medium
CN109859283B (en) * 2018-12-22 2024-01-09 Oppo广东移动通信有限公司 Color taking method, color taking device, electronic equipment and storable medium
CN111050202A (en) * 2019-11-22 2020-04-21 北京达佳互联信息技术有限公司 Video processing method, video processing device, electronic equipment and medium
CN111178013A (en) * 2019-12-31 2020-05-19 福建天泉教育科技有限公司 Method and terminal for restoring custom coloring effect of picture in PPT
CN111178013B (en) * 2019-12-31 2022-10-18 福建天泉教育科技有限公司 Method and terminal for restoring custom coloring effect of picture in PPT
CN113379595A (en) * 2020-03-09 2021-09-10 北京沃东天骏信息技术有限公司 Page picture synthesis method and device
CN113379595B (en) * 2020-03-09 2024-04-09 北京沃东天骏信息技术有限公司 Page picture synthesis method and device
CN111369431A (en) * 2020-03-12 2020-07-03 北京字节跳动网络技术有限公司 Image processing method and device, readable medium and electronic equipment
CN113865709A (en) * 2021-08-16 2021-12-31 杭州博联智能科技股份有限公司 Intelligent lamp color testing device and method based on prism color separation
CN113707275A (en) * 2021-08-27 2021-11-26 郑州铁路职业技术学院 Mental health estimation method and system based on big data analysis
CN113707275B (en) * 2021-08-27 2023-06-23 郑州铁路职业技术学院 Mental health estimation method and system based on big data analysis
CN113763237A (en) * 2021-11-09 2021-12-07 深圳市明源云科技有限公司 Intelligent beautifying method and device for visual report and computer readable storage medium
CN117315172A (en) * 2023-09-22 2023-12-29 鲸数科技(北京)有限公司 Map page configuration method, map page configuration device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN108320312B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN108320312A (en) Color matching method and device, the terminal of picture
CN110198437B (en) Image processing method and device, storage medium and electronic device
CN108206917B (en) Image processing method and device, storage medium and electronic device
CN103973977B (en) Virtualization processing method, device and the electronic equipment of a kind of preview interface
CN104239336B (en) A kind of method for screening images, device and terminal
CN108564526A (en) Image processing method and device, electronic equipment and medium
CN104636759B (en) A kind of method and picture filter information recommendation system for obtaining picture and recommending filter information
JP5409910B2 (en) Non-product image identification
CN104574358B (en) From the method and apparatus for focusing heap image progress scene cut
CN110599554A (en) Method and device for identifying face skin color, storage medium and electronic device
WO2015167975A1 (en) Rating photos for tasks based on content and adjacent signals
CN108416066A (en) Image searching method, user equipment, storage medium and picture searching device
CN104076928A (en) Method for adjusting color tone of text display area
EP2284800A1 (en) Method and system for creating an image
CN106815803A (en) The processing method and processing device of picture
CN109410295A (en) Color setting method, device, equipment and computer readable storage medium
CN104915971A (en) Method and terminal for obtaining color values
CN110444181A (en) Display methods, device, terminal and computer readable storage medium
CN107122103A (en) A kind of image processing method and terminal
CN106228165A (en) A kind of method of photo classification and mobile terminal
CN112381737A (en) Image processing method, image processing device, electronic equipment and storage medium
CN109194942A (en) A kind of naked eye 3D video broadcasting method, terminal and server
CN114257730A (en) Image data processing method and device, storage medium and computer equipment
CN111860629A (en) Jewelry classification system, method, device and storage medium
CN113658287A (en) User interface color matching processing method, device and equipment

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
GR01 Patent grant
GR01 Patent grant