Embodiment
, in order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
, for technical solutions according to the invention are described, below by specific embodiment, describe.
Embodiment one:
The present embodiment provides a kind of desktop wallpaper method to set up, and the desktop wallpaper that Fig. 1 shows first embodiment of the invention to be provided arranges realization flow, and details are as follows for its process:
Storage one or more picture in picture library in advance, this picture the mode such as can be downloaded from network, obtain from the picture of taking pictures and obtain, and therefore, restriction is not done in the source that obtains of the picture in this picture library., for the form of this picture,, as long as this picture can adopt mobile terminal to open, at this, do not do restriction.
In step S11, by camera, the clothes that the user wears is taken pictures, obtain the clothes tone from the picture of taking pictures.
Need to prove, described camera is the existing camera with camera function, at this, does not do restriction.
In the present embodiment, for the installation site of described camera, do not do restriction, for example: the camera of preposition installation or the rearmounted camera of installing in mobile terminal.
By camera, the clothes that the user wore is at that time taken pictures, image analysis software in the employing mobile terminal analyzes position and the clothes tone of clothes, wherein, according to all colours proportion in the clothes tone, the mode that reduces gradually according to proportion is divided into dominant hue, tone, tone etc. for the second time for the first time with the clothes tone.
In step S12, select to use as wallpaper with the picture of described clothes shade-matched blend from picture library.
Need to prove, image analysis software can adopt RGB tone or the existing tone forms such as HSL tone or CMYK tone, analyzes shades of colour and versicolor proportion that the tone of the picture in described picture library comprises; Thereby realize forming from the color that the habited picture analyzing of taking pictures of user's body goes out described clothes tone.
Need to prove, the matching process from picture library in the step of the picture of selection and described clothes shade-matched blend is specially:
, because the clothes tone is divided into dominant hue, tone, tone etc. for the second time for the first time,, at first according to the dominant hue of clothes, find out the picture identical with the dominant hue of clothes from picture library; Next, then from the identical picture of dominant hue, find out the picture identical with the tone for the first time of clothes; Then from the picture that tone is identical for the first time, find out the picture identical with the tone for the second time of clothes then; By that analogy, until the user stops searching, while stopping searching, in picture library, remaining picture may be only a pictures or for plurality of pictures or there is no picture; After stopping searching, in picture library, remaining picture is as the picture with described clothes shade-matched blend.
Owing at picture library, having stored picture, therefore, can analyze the tone of all pictures that picture library comprises and preserve in image analysis software, be used for comparing coupling with described clothes tone,, to select a pictures that mates most with described clothes tone from described picture library, by wallpaper, this pictures of function is set and is set to wallpaper.
More optimizedly, with described clothes tone respectively with described picture library in the tone of all pictures mate successively, select the picture of multiple tones and the close coupling of described clothes tone from described picture library and select for the user; The user can arrange the function setting wallpaper according to existing wallpaper, for example: after the wallpaper of opening arranges function, the user can select one from multiple pictures close with described clothes tone uses as wallpaper, perhaps, the user can select several pictures from multiple pictures close with described clothes tone, after be set update time, every through update time, wallpaper arranged function and selects successively a pictures to upgrade wallpaper one time from these several pictures.
Preferably, described picture library comprises local picture library and network chart valut.
As one embodiment of the invention, when only the picture of selection and described clothes shade-matched blend was as wallpaper from local picture library, described step S12 can be:
Select to use as wallpaper with the picture of described clothes shade-matched blend from described local picture library.
Need to prove, described local picture library stores one or more picture.
Need to prove, for the image credit in described local picture library, the mode such as can download from network, obtain from the picture of taking pictures is obtained, and at this, does not do restriction.For example: the user can meet the picture of appreciating very much by chance when network browsing, this picture can be downloaded to local picture library, thereby, adopt the source of local picture library as wallpaper, have more appreciating and hommization.
After step S11 gets described clothes tone, and analyze the tone of all pictures that described local picture library comprises until image analysis software after, the tone of all pictures that described clothes tone and described local picture library are comprised carries out comparison match one by one, thereby, from described local picture library, select one or more picture with described clothes shade-matched blend; After getting the user select a most satisfied pictures from one or more picture of described coupling, wallpaper arranges function and should open the most satisfied picture and be set to wallpaper.
As one embodiment of the invention, when mobile terminal is networked, for only the picture of selection and described clothes shade-matched blend is as the situation of wallpaper from the network chart valut, described step S12 can be:
The picture of selection and download and described clothes shade-matched blend is used as wallpaper from described network chart valut.
Need to prove, described network chart valut stores one or more picture.
Need to prove, at each server end that network connects, usually all to have the described network chart valut of the picture of special storage magnanimity; In described network chart valut, store the picture of various tones.
After step S11 gets described clothes tone, adopt the image analysis software on-line analysis to go out the tone of the part picture of described network chart valut, the tone of the part picture of described clothes tone and described network chart valut is carried out comparison match one by one, thereby, select one or more picture with described clothes shade-matched blend from described network chart valut; After getting the user select a most satisfied pictures from one or more picture of described coupling, download this most satisfied picture to local picture library, simultaneously, this most satisfied picture is set to wallpaper.
As one embodiment of the present invention, when mobile terminal is networked, for selecting from local picture library and network chart valut and the picture of the described clothes shade-matched blend situation as wallpaper, described step S12 can be:
S121, select described the first picture with described clothes shade-matched blend from described local picture library;
If S122 gets customer satisfaction system judgement, described the first picture is set to wallpaper,, if get the unsatisfied judgement of user, perform step S121 selects else with described clothes shade-matched blend from the residue picture of described local picture library picture and use as described the first picture;
, if S123 gets the user to all unsatisfied judgements of described the first picture, select the second picture with described clothes shade-matched blend from described network chart valut;
If S124 gets customer satisfaction system judgement, download described second picture to described local picture library and described second picture and be set to wallpaper, if get the unsatisfied judgement of user, alternative is used as described second picture and performs step S124 with the picture of described clothes shade-matched blend from the residue picture of described network chart valut.
Need to prove, the residue picture of described local picture library is: remove remaining picture after the picture that this and front execution step S121 filter out from described local picture library.
The residue picture of described network chart valut is: remove remaining picture after the picture that this and front filter out from the network chart valut from described network chart valut.
Under normal conditions, the picture of local picture library storage is essentially the user and is ready the picture of collecting, appreciate.Therefore, when wallpaper is set, also consider in advance to select picture from local picture library.
Open wallpaper function is set, after step S11 gets described clothes tone, and analyze the tone of all pictures that described local picture library comprises until image analysis software after, the tone of all pictures that described clothes tone and described local picture library are comprised compares coupling, thereby, from described local picture library, filter out with a pictures of described clothes shade-matched blend and use as the first picture; This selection result if the user is satisfied with, the desktop wallpaper setting device receives customer satisfaction system judgement, thereby by wallpaper, described the first picture of function is set, is set to wallpaper; If the user is unsatisfied with this selection result, the desktop wallpaper setting device receives the unsatisfied judgement of user, when repeated execution of steps S121, alternative and the picture of described clothes shade-matched blend from the residue picture of described local picture library, and will be from the picture selected else out as described the first picture.
If the first picture that the user filters out before this is reached is all dissatisfied, be all to receive the unsatisfied judgement of user before the desktop wallpaper setting device reaches for this, the desktop wallpaper setting device turns to from the network chart valut of the server end of network connection and obtains second picture; Particularly, the tone of the part picture of described clothes tone and described network chart valut is compared coupling, thereby, filter out a pictures that mates most with described clothes tone and use as described second picture from described network chart valut; If satisfied this selection result of user, the desktop wallpaper setting device receives customer satisfaction system judgement, downloads described second picture and arrives described local picture library, and by wallpaper, the described second picture of function is set and is set to wallpaper; If the user is unsatisfied with this selection result, the desktop wallpaper setting device receives the unsatisfied judgement of user, repeat from the residue picture of described network chart valut the picture of alternative and described clothes shade-matched blend, and will be from the picture selected else out as described second picture, until get the most satisfied second picture from the network chart valut, download described second picture to described local picture library, and by wallpaper, the described second picture of function is set and is set to wallpaper; In addition, if not when described local picture library finds the first the most satisfied picture and/or from described network chart valut, do not find the most satisfied second picture, by wallpaper, function is set and abandons this wallpaper setting (namely abandoning the first picture or second picture that the desktop wallpaper setting device filters out).
In the present embodiment, by camera, the clothes that the user wears is taken pictures, obtain the clothes tone from the picture of taking pictures; If can from local picture library find customer satisfaction system, with the first picture of described clothes shade-matched blend, trigger wallpaper and this first picture of function is set is set to wallpaper; If dissatisfied the first picture, search the second picture with described clothes shade-matched blend, if find from the network chart valut, triggering wallpaper arranges this second picture of function and is set to wallpaper, in addition, in the process of searching from the network chart valut, can abandon this and search.Thereby the user can be according to the clothes tone of each dress, and the picture of coupling is set to wallpaper, has more aesthetic feeling, also has more hommization.
Embodiment two:
Fig. 2 shows the composition structure of the desktop wallpaper setting device that second embodiment of the invention provides, and for convenience of description, only shows the part relevant to the embodiment of the present invention.
The desktop wallpaper method to set up that the desktop wallpaper setting device that the present embodiment provides and embodiment one provide is mutually applicable; This desktop wallpaper setting device can be to run on the unit that software unit, hardware cell or software and hardware in mobile terminal combine, and also can be used as independently suspension member and is integrated in mobile terminal or runs in the application system of mobile terminal.
The desktop wallpaper setting device that the present embodiment provides, comprise clothes tone acquiring unit 21 and wallpaper setting unit 22, and wherein details are as follows for each functional unit:
Clothes tone acquiring unit 21, be used for by camera, the clothes that the user wears being taken pictures, and obtains the clothes tone from the picture of taking pictures;
Wallpaper setting unit 22, be used for selecting to use as wallpaper with the picture of described clothes shade-matched blend from picture library.
As one embodiment of the invention, described picture library comprises local picture library and network chart valut.
As one embodiment of the invention, for only the picture of selection and described clothes shade-matched blend is as the situation of wallpaper from described local picture library, described wallpaper setting unit 22 can be used for:
Select to use as wallpaper with the picture of described clothes shade-matched blend from described local picture library.
As one embodiment of the invention, when mobile terminal is networked, for only the picture of selection and described clothes shade-matched blend is as the situation of wallpaper from the network chart valut, described wallpaper setting unit 22 can be used for:
The picture of selection and download and described clothes shade-matched blend is used as wallpaper from described network chart valut.
Fig. 3 shows the composition structure of the desktop wallpaper setting device based on local picture library and network chart valut that the embodiment of the present invention two provides, and for convenience of description, only shows the part relevant to the embodiment of the present invention.
As one embodiment of the invention, when mobile terminal is networked, for selecting from local picture library and network chart valut and the picture of the described clothes shade-matched blend situation as wallpaper, described wallpaper setting unit comprises:
Local matching unit 221, be used for from first picture of described local picture library selection with described clothes shade-matched blend;
The first wallpaper setting unit 222, if be used for getting customer satisfaction system judgement, described the first picture is set to wallpaper,, if get the unsatisfied judgement of user, carry out local matching unit selects else with described clothes shade-matched blend from the residue picture of described local picture library picture and use as described the first picture;
Net mate unit 223,, if be used for getting the user to all unsatisfied judgements of described the first picture, select the second picture with described clothes shade-matched blend from described network chart valut;
The second wallpaper setting unit 224, if be used for getting customer satisfaction system judgement, download described second picture to described local picture library and described second picture and be set to wallpaper, if get the unsatisfied judgement of user, alternative is used as described second picture and carries out the second wallpaper setting unit with the picture of described clothes shade-matched blend from the residue picture of described network chart valut.
Another purpose of the present invention is to provide a kind of mobile terminal, and described mobile terminal comprises the described desktop wallpaper setting device of embodiment two.Wherein, described mobile terminal comprises the mobile communication equipments such as smart mobile phone, notebook, dull and stereotyped mobile terminal, POS machine and vehicle mobile terminals.
The embodiment of the present invention provides a kind of desktop wallpaper method to set up and device, by camera, the clothes that the user wears is taken pictures, and obtains the clothes tone from the picture of taking pictures; If can from local picture library find customer satisfaction system, with the picture of described clothes shade-matched blend, trigger wallpaper and this picture of function is set is set to wallpaper; If all dissatisfied to the picture that filters out from local picture library, search the picture with described clothes shade-matched blend from the network chart valut, if find, triggering wallpaper arranges this picture of function and is set to wallpaper, in addition, in the process of searching from the network chart valut, can abandon this and search.Thereby the user can be according to the clothes tone of each dress, and the picture of coupling is set to wallpaper, has more aesthetic feeling, also has more hommization.
It will be appreciated by those skilled in the art that the unit that comprises for above-described embodiment two is to divide according to function logic, but be not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skills it is also understood that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to complete by program, described program can be in being stored in a computer read/write memory medium, described storage medium, comprise ROM/RAM, disk, CD etc.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For the general technical staff of the technical field of the invention; make without departing from the inventive concept of the premise some alternative or obvious modification that are equal to; and performance or purposes identical, all should be considered as belonging to the scope of patent protection that the present invention is determined by claims of submitting to.