CN107729099A - Background method of adjustment and its system - Google Patents

Background method of adjustment and its system Download PDF

Info

Publication number
CN107729099A
CN107729099A CN201710878048.6A CN201710878048A CN107729099A CN 107729099 A CN107729099 A CN 107729099A CN 201710878048 A CN201710878048 A CN 201710878048A CN 107729099 A CN107729099 A CN 107729099A
Authority
CN
China
Prior art keywords
background
information
tone
mass
target
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.)
Pending
Application number
CN201710878048.6A
Other languages
Chinese (zh)
Inventor
陈臣
邢光亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710878048.6A priority Critical patent/CN107729099A/en
Publication of CN107729099A publication Critical patent/CN107729099A/en
Pending legal-status Critical Current

Links

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides a kind of background method of adjustment, wherein, this method includes:The characteristics of objects information for the object being shown using target background as background is obtained, wherein, characteristics of objects information is used for the color character of description object;The background characteristics information of target background is obtained, wherein, background characteristics information is used for the color character for describing target background;Judge whether the diversity factor between characteristics of objects information and background characteristics information meets preparatory condition;And if judge that the diversity factor between characteristics of objects information and background characteristics information meets preparatory condition, target background is adjusted or prompted.The disclosure additionally provides a kind of background adjustment system.

Description

Background method of adjustment and its system
Technical field
This disclosure relates to a kind of background method of adjustment and its system.
Background technology
With the development of Internet technology, set the demand of wallpaper more and more common on the desktop of terminal device.
During the embodiment of the present disclosure is realized, inventor has found that correlation technique at least has following defect:Due to table The icon put on face is more, causes icon and wallpaper to influence each other, and does not reach expected presentation effect.
The content of the invention
An aspect of this disclosure provides a kind of background method of adjustment, including:Obtain and carried out by background of target background The characteristics of objects information of the object of displaying, wherein, above-mentioned characteristics of objects information is used for the color character for describing above-mentioned object;Obtain The background characteristics information of above-mentioned target background, wherein, the color that above-mentioned background characteristics information is used to describe above-mentioned target background is special Sign;Judge whether the diversity factor between above-mentioned characteristics of objects information and above-mentioned background characteristics information meets preparatory condition;And if Judge that the above-mentioned diversity factor between above-mentioned characteristics of objects information and above-mentioned background characteristics information meets above-mentioned preparatory condition, then it is right Above-mentioned target background is adjusted or prompted.
Alternatively, obtaining the characteristics of objects information for the object being shown using target background as background includes:Obtain above-mentioned The characteristic information of the mass-tone of object;And the background characteristics information of the above-mentioned target background of acquisition includes:Obtain above-mentioned target background Mass-tone characteristic information.
Alternatively, judge whether the diversity factor between above-mentioned characteristics of objects information and above-mentioned background characteristics information meets to preset Condition includes:The color distance between object mass-tone and background mass-tone is calculated, wherein, above-mentioned object mass-tone includes and above-mentioned object Mass-tone characteristic information corresponding to mass-tone, above-mentioned background mass-tone include it is corresponding with the characteristic information of the mass-tone of above-mentioned target background Mass-tone;Judge whether above-mentioned color distance is less than color distance threshold value;And if judge above-mentioned color distance less than above-mentioned Color distance threshold value, it is determined that the above-mentioned diversity factor between above-mentioned characteristics of objects information and above-mentioned background characteristics information meets above-mentioned Preparatory condition.
Alternatively, obtaining the background characteristics information of above-mentioned target background includes obtaining in above-mentioned target background not by above-mentioned right As the background characteristics information of part sheltered from.
Alternatively, above-mentioned target background is adjusted including one below, masking-out is carried out to whole above-mentioned target background Processing and/or gradual change processing and/or Fuzzy Processing;According to the characteristics of objects information of above-mentioned object, to quilt in above-mentioned target background The part that above-mentioned object shelters from is handled;The part not sheltered from above-mentioned target background by above-mentioned object is carried out above-mentioned Masking-out processing and/or above-mentioned gradual change processing and/or above-mentioned Fuzzy Processing;To not sheltered from above-mentioned target background by above-mentioned object Part in predeterminable area carry out above-mentioned masking-out processing and/or above-mentioned gradual change processing and/or above-mentioned Fuzzy Processing;And according to Above-mentioned characteristics of objects information recommendation substitutes background accordingly, is used as with to replace above-mentioned target background and shows the back of the body of above-mentioned object Scape, wherein, the diversity factor between the background characteristics information of above-mentioned replacement background and above-mentioned characteristics of objects information meets above-mentioned default Condition.
Another aspect of the disclosure provides a kind of background adjustment system, and background adjustment system includes first and obtains mould Block, for obtaining the characteristics of objects information for the object being shown using target background as background, wherein, above-mentioned characteristics of objects information For describing the color character of above-mentioned object;Second acquisition module, for obtaining the background characteristics information of above-mentioned target background, its In, above-mentioned background characteristics information is used for the color character for describing above-mentioned target background;Judge module, for judging that above-mentioned object is special Whether the diversity factor that reference is ceased between above-mentioned background characteristics information meets preparatory condition;And adjusting module, for judging In the case that the above-mentioned diversity factor gone out between above-mentioned characteristics of objects information and above-mentioned background characteristics information meets above-mentioned preparatory condition, Above-mentioned target background is adjusted or prompted.
Alternatively, above-mentioned first acquisition module, it is additionally operable to obtain the characteristic information of the mass-tone of above-mentioned object;And above-mentioned Two acquisition modules, it is additionally operable to obtain the characteristic information of the mass-tone of above-mentioned target background.
Alternatively, above-mentioned judge module includes computing unit, for calculating the color between object mass-tone and background mass-tone Distance, wherein, above-mentioned object mass-tone includes mass-tone corresponding with the characteristic information of the mass-tone of above-mentioned object, above-mentioned background mass-tone bag Include mass-tone corresponding with the characteristic information of the mass-tone of above-mentioned target background;Judging unit, for whether judging above-mentioned color distance Less than color distance threshold value;And determining unit, for judging above-mentioned color distance less than above-mentioned color distance threshold value In the case of, determine that the above-mentioned diversity factor between above-mentioned characteristics of objects information and above-mentioned background characteristics information meets above-mentioned default bar Part.
Alternatively, above-mentioned second acquisition module, it is additionally operable to obtain what is do not sheltered from by above-mentioned object in above-mentioned target background Partial background characteristics information.
Alternatively, above-mentioned adjusting module includes one below, first processing units, for entering to whole above-mentioned target background The processing of row masking-out and/or gradual change processing and/or Fuzzy Processing;Second processing unit, for the characteristics of objects according to above-mentioned object Information, to being handled in above-mentioned target background by the part that above-mentioned object shelters from;3rd processing unit, for above-mentioned mesh The part not sheltered from mark background by above-mentioned object carries out above-mentioned masking-out processing and/or above-mentioned gradual change processing and/or above-mentioned mould Paste processing;Fourth processing unit, for the predeterminable area in the part to not sheltered from above-mentioned target background by above-mentioned object Carry out above-mentioned masking-out processing and/or above-mentioned gradual change processing and/or above-mentioned Fuzzy Processing;And the 5th processing unit, for basis Above-mentioned characteristics of objects information recommendation substitutes background accordingly, is used as with to replace above-mentioned target background and shows the back of the body of above-mentioned object Scape, wherein, the diversity factor between the background characteristics information of above-mentioned replacement background and above-mentioned characteristics of objects information meets above-mentioned default Condition.
Another aspect of the present disclosure provides a kind of non-volatile memory medium, is stored with computer executable instructions, on Instruction is stated to be used to realize background method of adjustment as described above when being executed by processor.
Another aspect of the present disclosure provides a kind of computer program, and above computer program includes the executable finger of computer Order, above-mentioned instruction are used to realize background method of adjustment as described above when being executed by processor.
Another aspect of the present disclosure provides a kind of computer system, including:One or more processor;Memory, Computer executable program is stored with, said procedure is used to realize as above institute when by said one or multiple computing devices The background method of adjustment stated.
Brief description of the drawings
In order to be more fully understood from the disclosure and its advantage, referring now to the following description with reference to accompanying drawing, wherein:
Fig. 1 diagrammatically illustrates is suitable to background method of adjustment and background adjustment systematic difference according to the embodiment of the present disclosure Scene;
Fig. 2 diagrammatically illustrates the flow chart of the background method of adjustment according to the embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrate the flow chart of the background method of adjustment according to another embodiment of the disclosure;
Fig. 3 B are diagrammatically illustrated between judgement characteristics of objects information and background characteristics information according to the embodiment of the present disclosure Diversity factor whether meet the flow chart of preparatory condition;
Fig. 3 C diagrammatically illustrate the schematic diagram of the background method of adjustment according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the block diagram that system is adjusted according to the background of the embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the block diagram of the judge module according to the embodiment of the present disclosure;And
Fig. 6 diagrammatically illustrates the meter that system is adjusted according to achievable the background method of adjustment and background of the embodiment of the present disclosure The block diagram of calculation machine system.
Embodiment
Hereinafter, it will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are simply exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, the description to known features and technology is eliminated, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.Use herein Term " comprising ", "comprising" etc. indicate the presence of the feature, step, operation and/or part, but it is not excluded that in the presence of Or addition one or more other features, step, operation or parts.
All terms (including technology and scientific terminology) as used herein have what those skilled in the art were generally understood Implication, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Implication, without should by idealization or it is excessively mechanical in a manner of explain.
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or its combination can be realized by computer program instructions.These computer program instructions can be supplied to all-purpose computer, The processor of special-purpose computer or other programmable data processing units, so as to which these instructions can be with when by the computing device Create the device for realizing function/operation illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product is available for instruction execution system use or combined command execution system to use.In the context of the disclosure In, computer-readable medium can be the arbitrary medium that can include, store, transmit, propagate or transmit instruction.For example, calculate Machine computer-readable recording medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium. The specific example of computer-readable medium includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Embodiment of the disclosure provides a kind of background method of adjustment and can apply the background adjustment system of this method. This method includes the characteristics of objects information for obtaining the object being shown using target background as background, wherein, characteristics of objects letter Cease the color character for describing the object;The background characteristics information of the target background is obtained, wherein, the background characteristics information is used In the color character for describing the target background;Judge whether is diversity factor between the characteristics of objects information and the background characteristics information Meet preparatory condition;And if judge that the diversity factor between the characteristics of objects information and the background characteristics information meets that this is pre- If condition, then the target background is adjusted or prompted.
Fig. 1 diagrammatically illustrates adjusts systematic difference field according to the background method of adjustment and background of the embodiment of the present disclosure Scape.
As shown in figure 1, in the application scenarios, user can set individual character according to personal like for the desktop of mobile phone 110 The wallpaper of change is as desktop background, and due to having also showed that multiple application programs on the desktop of mobile phone 110 simultaneously, (for example Google is clear Look at device, youku.com's video, have dictionary, etc.) diversiform icon.In this case, icon and wallpaper will mutual shadows Ring, do not reach expected presentation effect, cause the setting of wallpaper to lose meaning, Consumer's Experience is poor.At this point it is possible to use this The open background Adjusted Option provided is adjusted to desktop background.
In addition, the application scenarios for the technical scheme that the disclosure provides can also include the chat back of the body of the clients such as wechat, QQ The adjustment of scape, is not limited herein.
With reference to the application scenarios shown in Fig. 1, described with reference to figure 2, Fig. 3 A~3C according to the exemplary implementation of the disclosure The background method of adjustment of mode.It should be noted that above-mentioned application scenarios, which are for only for ease of, understands the spiritual and former of the disclosure Manage and show, embodiment of the present disclosure is unrestricted in this regard.On the contrary, embodiment of the present disclosure can apply to Applicable any application scenarios.
Fig. 2 diagrammatically illustrates the flow chart of the background method of adjustment according to the embodiment of the present disclosure.
As shown in Fig. 2 the background method of adjustment can include operation S201~S204.Wherein:
S201 is being operated, is obtaining the characteristics of objects information for the object being shown using target background as background, wherein, object Characteristic information is used for the color character of description object.
In embodiment of the disclosure, above-mentioned background can be the various backgrounds of terminal device, including but not limited to desktop Background, background of chat conversations frame, etc..These backgrounds can arbitrarily be set according to user's request, such as, can be by Subgraph The desktop background of piece or photo as terminal device.Herein, terminal device can include but is not limited to mobile phone, flat board etc..On It can be one or multiple to state object, do not limited herein.In addition, the object can include but is not limited to apply journey The icon of sequence, word, picture, numeral, letter, etc..For example by taking desktop background as an example, it can show various apply journey thereon The icon of sequence.
So that object is desktop icons as an example, the characteristics of objects information of object is obtained, can be the energy for obtaining desktop icons Feature, color character, etc..Wherein, characteristics of objects information can include but is not limited to the mass-tone of object characteristic information and/or The characteristic information of the characteristic information of the lightness of object and/or the purity of object.
For example, user has downloaded a variety of application programs, including " application program 1 ", " application program 2 ", " application in mobile phone Program 3 " and " application program 4 ", and select using picture 1 as " target background " be set to mobile phone desktop wallpaper (be also known as Desktop background), so, " target background " can be not only shown on desktop, but also can be background with picture 1, while show " application The icon 1 of program 1 ", " icon 2 of application program 2 ", " icon 3 of application program 3 " and " icon 4 of application program 4 ".By There are the features such as color and the lightness of oneself in desktop wallpaper, each icon also has the features such as oneself color and lightness, because This, if desktop background selection is improper, it is easy to cause desktop background and icon to interact so that desktop seems mixed and disorderly nothing Chapter, it is not attractive in appearance enough, do not reach expected display effect, in this case, it is necessary to according to the icon characteristics and table of each icon Diversity factor between the background characteristics of face background decides whether to adjust current target background or is replaced by other backgrounds, with Overcome drawbacks described above.
S202 is being operated, is obtaining the background characteristics information of target background, wherein, background characteristics information is used to describe the target back of the body The color character of scape.
In embodiment of the disclosure, target background can include but is not limited to the desktop wallpaper of terminal device, chat work Dialog box background of tool etc..Background characteristics information can include the characteristic information of mass-tone and/or the lightness of background of background The characteristic information of the purity of characteristic information and/or background, is not limited herein.
In operation S203, judge whether the diversity factor between characteristics of objects information and background characteristics information meets default bar Part.
Usually, if differing greatly between object and background, show that both features are obvious, put together very Easily distinguish;On the contrary, if the difference between object and background is smaller, shows that both features are not obvious enough, put together very Hardly possible is distinguished.Therefore, in order to when preventing displaying object and background influence each other, can typically wish difference between the two it is more big more It is good, if difference degree is inadequate, needs to adjust current target background or remind user to change other backgrounds, with satisfaction pair As the requirement of the diversity factor between background.
In accordance with an embodiment of the present disclosure, the diversity factor between characteristics of objects information and background characteristics information can be included but not The diversity factor being limited between the characteristic information of the mass-tone of object and the characteristic information of the mass-tone of background, and/or the lightness of object Diversity factor between the characteristic information of the lightness of characteristic information and background, and/or the characteristic information of the purity of object and background Diversity factor between the characteristic information of purity.
For example, preparatory condition is arranged to:Between the characteristic information of the mass-tone of object and the characteristic information of the mass-tone of background Diversity factor A be less than diversity factor 1 set in advance, between the characteristic information of the lightness of object and the characteristic information of the lightness of background Diversity factor B be less than diversity factor 2 set in advance, between the characteristic information of the purity of object and the characteristic information of the purity of background Diversity factor C be less than diversity factor 3 set in advance.Wherein, if the characteristic information of the mass-tone of characteristics of objects information including object and The characteristic information of the lightness of object, background characteristics information include the characteristic information of the mass-tone of background and the feature letter of the lightness of background Cease, then the diversity factor between characteristics of objects information and background characteristics information can include the characteristic information and background of the mass-tone of object Mass-tone characteristic information between diversity factor A and object lightness characteristic information and background lightness characteristic information between Diversity factor B, so, during implementation, it can be determined that whether diversity factor A is less than diversity factor 1 set in advance and judges diversity factor B Whether diversity factor 2 set in advance is less than.
In operation S204, if judging, the diversity factor between characteristics of objects information and background characteristics information meets default bar Part, then target background is adjusted or prompted.
In embodiment of the disclosure, if the diversity factor between characteristics of objects information and background characteristics information meets default bar Part, then the prompt message that can be adjusted to target background directly can be adjusted or shown to target background.
For example, with reference to above-mentioned example, preset that " diversity factor 1 " is 25, and " diversity factor 2 " is 30, is computed, " diversity factor A " is 24, and " diversity factor B " is 27, due to " 24<25 " and " 27<30 ", then show the characteristic information and background of the mass-tone of object Between the characteristic information of mass-tone " diversity factor A " meets preparatory condition, and the characteristic information of the lightness of object and background is bright Between the characteristic information of degree " diversity factor B " meets between preparatory condition, that is, characteristics of objects information and background characteristics information Diversity factor meet preparatory condition.At this point it is possible to directly target background is adjusted, or display reminding information, to remind The current background display effect of user is poor, is preferably replaced with other backgrounds.
It should be noted that if the diversity factor between characteristics of objects information and background characteristics information is unsatisfactory for default bar Part, then target background need not be adjusted or be prompted, that is, keep this target background to become.
By embodiment of the disclosure, the diversity factor between characteristics of objects information and background characteristics information meets default bar During part, target background is adjusted or prompted, target background can be enable to reach the expected purpose that effect is presented.
Below with reference to Fig. 3 A~Fig. 3 C, the method shown in Fig. 2 is described further in conjunction with specific embodiments.
As a kind of optional embodiment, the characteristics of objects information for the object being shown using target background as background is obtained It can include:Obtain the characteristic information of the mass-tone of object;And the background characteristics information of acquisition target background includes:Obtain target The characteristic information of the mass-tone of background.
Fig. 3 A diagrammatically illustrate the flow chart of the background method of adjustment according to another embodiment of the disclosure.
In this embodiment, the background method of adjustment except can include above with reference to Fig. 2 description corresponding operating in addition to, Operation S201 in Fig. 2 can include operation S301, and operation S202 can include operation S302.For description for purpose of brevity, Here the description to corresponding operating in Fig. 2 is omitted.As shown in Figure 3A, wherein:
S301 is being operated, is obtaining the characteristic information of the mass-tone of object.
S302 is being operated, is obtaining the characteristic information of the mass-tone of target background.
For the ease of illustrating, in embodiment of the disclosure, this public affairs is elaborated by taking desktop icons and desktop background as an example Open.
Because the characteristic information of icon and the characteristic information of background can include much information as described above, for the ease of Processing, it is possible to use only one or several kinds of information therein determine diversity factor between the two.It is such as each only with both From mass-tone characteristic information.
By embodiment of the disclosure, using the mass-tone for obtaining object characteristic information and obtain the mass-tone of target background Characteristic information determines both diversity factoies, and then decide whether to adjust or prompt to change background, and then simplified place Reason process, reduce the purpose of the complexity of processing.
Fig. 3 B diagrammatically illustrate the judgement characteristics of objects information and the background characteristics according to the embodiment of the present disclosure Whether the diversity factor between information meets the flow chart of preparatory condition.
In this embodiment, with reference to operation S203 that figure 2 describes (judge characteristics of objects information and background characteristics information it Between diversity factor whether meet preparatory condition) can include operation S401~S403.As shown in Figure 3 B, wherein:
In operation S401, calculate the color distance between object mass-tone and background mass-tone, wherein, object mass-tone include with it is right Mass-tone corresponding to the characteristic information of the mass-tone of elephant, background mass-tone include corresponding with the characteristic information of the mass-tone of target background main Color.
In operation S402, judge whether color distance is less than color distance threshold value.
In operation S403, if judging, color distance is less than color distance threshold value, it is determined that characteristics of objects information and background Diversity factor between characteristic information meets preparatory condition.
In embodiment of the disclosure, calculate color distance mode can include it is a variety of, such as can utilize Euclidean away from From calculating, do not limit herein.
For example, r1 and r2 represents two pixels of " RGB (Red Green Blue, may be simply referred to as RGB) " color space Value, then r1 and r2 color distance can be obtained by calculating r1 and r2 Euclidean distance, can be specifically expressed as:dist(r1, R2)=| | r1-r2 | |.
In accordance with an embodiment of the present disclosure, color distance threshold value can be set by User Defined, not limited herein.Judge Whether the color distance calculated is less than color distance threshold value, that is, judges the color and background master that object mass-tone is showed Whether the color that color is showed is excessively close, causes target background to be unable to reach expected presentation effect.If color distance is small In color distance threshold value, then show that diversity factor meets preparatory condition.Now, as shown in Figure 3 C, masking-out and/or gradual change can be utilized And/or the technology such as fuzzy is handled target background, the defects of to overcome background display effect difference.
By embodiment of the disclosure, whether the diversity factor of object and background in mass-tone dimension is calculated using color distance Meet preparatory condition, and then target background is adjusted or prompted, can simply and rapidly determine object and background in master Diversity factor on color dimension.
As a kind of optional embodiment, obtaining the background characteristics information of target background can include:Obtain target background In the background characteristics information of part that is not sheltered from by object.
In embodiment of the disclosure, because the object shown in target background can shelter from partial target background, therefore The target background part not being blocked is only viewable portion for user, based on this, in background leveling Procedure, in order to subtract Few workload, without obtaining the background characteristics of whole target background, it is only necessary to obtain the back of the body for the target background part not being blocked Scape characteristic information.
By embodiment of the disclosure, obtain the background characteristics information for the part not sheltered from by object, so as to not by The target background part that object shelters from is adjusted or prompted, and reduces the workload of system, improves the work of system Efficiency.
As a kind of optional embodiment, target background, which is adjusted, can include one below:Whole target is carried on the back Scape carries out masking-out processing and/or gradual change processing and/or Fuzzy Processing;According to the characteristics of objects information of object, in target background The part sheltered from by object is handled;The part not sheltered from target background by object is carried out masking-out processing and/or Gradual change processing and/or Fuzzy Processing;Predeterminable area in the part that is not sheltered from target background by object is carried out at masking-out Reason and/or gradual change processing and/or Fuzzy Processing;And background is substituted according to characteristics of objects information recommendation accordingly, to replace mesh Mark background is used as the background of displaying object, wherein, substitute the difference between the background characteristics information of background and characteristics of objects information Different degree meets preparatory condition.
In embodiment of the disclosure, target background is adjusted can include but is not limited to following five kinds of modes it One.Wherein, mode one, in order that the arrangement of icon no longer influences the expression of target background content information, can be to whole target Background is automatically processed using masking-out and/or gradual change and/or the technology such as fuzzy.Mode two, because target background can be by thereon The object of displaying shelters from a part, therefore the part that sheltered from target background by object can be adjusted, so as to real Now weaken the interactional purpose between object and target background.Mode three, its display of the background parts not sheltered from generally Effect is maximum by object influences, therefore the part for not sheltered from target background by object, can by masking-out and/or gradually Become and/or the technological means such as fuzzy is realized to the adjustment for the target background part not being blocked.Mode four, for target background In the part that is not sheltered from by object, may only " influenced each other between region 1 " and object, so can general " region 1 " is set Predeterminable area is set to, and masking-out processing and/or gradual change processing and/or Fuzzy Processing are carried out to predeterminable area.Mode five, in target When diversity factor between the background characteristics information and characteristics of objects information of background is unsatisfactory for preparatory condition, system can be according to acquisition Characteristics of objects information recommendation substitute background accordingly, wherein, object is illustrated in the replacement background, and substitute background background Diversity factor between characteristic information and characteristics of objects information meets preparatory condition.Therefore, embodiment of the disclosure realizes object The purpose that can be clearly shown in target background, improve the experience effect of user.
It should be noted that masking-out treatment technology refers in the case where not damaging material, the part beyond constituency is entered Row processing;Gradual change treatment technology is the effect for instigating material to show gradual change;Fuzzy treatment technology refers to material being blurred.
Fig. 4 diagrammatically illustrates the block diagram that system is adjusted according to the background of the embodiment of the present disclosure.
As shown in figure 4, background adjustment system 400 can include the first acquisition module 410, the second acquisition module 420, judge Module 430 and adjusting module 440.Wherein:
First acquisition module 410 is used for the characteristics of objects information for obtaining the object being shown using target background as background, Wherein, characteristics of objects information is used for the color character of description object.
Second acquisition module 420 is used for the background characteristics information for obtaining target background, wherein, background characteristics information is used to retouch State the color character of target background.
Judge module 430 is used to judge whether the diversity factor between characteristics of objects information and background characteristics information meets to preset Condition.
Adjusting module 440 is used to judge that it is default that the diversity factor between characteristics of objects information and background characteristics information meets In the case of condition, target background is adjusted or prompted.
By embodiment of the disclosure, the diversity factor between characteristics of objects information and background characteristics information meets default bar During part, target background is adjusted or prompted, target background can be enable to reach the expected purpose that effect is presented.
As a kind of optional embodiment, the first acquisition module is additionally operable to obtain the characteristic information of the mass-tone of object;And Second acquisition module is additionally operable to obtain the characteristic information of the mass-tone of target background.
By embodiment of the disclosure, using the mass-tone for obtaining object characteristic information and obtain the mass-tone of target background Characteristic information determines both diversity factoies, and then decide whether to adjust or prompt to change background, and then simplified place Reason process, reduce the purpose of the complexity of processing.
Fig. 5 diagrammatically illustrates the block diagram of the judge module according to the embodiment of the present disclosure.
In this embodiment, computing unit 431, the and of judging unit 432 can be included with reference to the judge module 430 in figure 4 Determining unit 433.As shown in figure 5, wherein:
Computing unit 431 is used to calculate the color distance between object mass-tone and background mass-tone, wherein, object mass-tone includes Mass-tone corresponding with the characteristic information of the mass-tone of object, background mass-tone are corresponding with the characteristic information of the mass-tone of target background main Color.
Judging unit 432 is used to judge whether color distance is less than color distance threshold value.
Determining unit 433 is used to, in the case where judging that color distance is less than color distance threshold value, determine characteristics of objects Diversity factor between information and background characteristics information meets preparatory condition.
By embodiment of the disclosure, whether the diversity factor of object and background in mass-tone dimension is calculated using color distance Meet preparatory condition, and then target background is adjusted or prompted, can simply and rapidly determine object and background in master Diversity factor on color dimension.
As a kind of optional embodiment, the second acquisition module is additionally operable to obtain what is do not sheltered from by object in target background Partial background characteristics information.
By embodiment of the disclosure, obtain the background characteristics information for the part not sheltered from by object, so as to not by The target background part that object shelters from is adjusted or prompted, and reduces the workload of system, improves the work of system Efficiency.
As a kind of optional embodiment, adjusting module includes one below:First processing units, for whole target Background carries out masking-out processing and/or gradual change processing and/or Fuzzy Processing;Second processing unit, it is special for the object according to object Reference is ceased, and the part sheltered from target background by object is handled;3rd processing unit, in target background not The part sheltered from by object carries out masking-out processing and/or gradual change processing and/or Fuzzy Processing;Fourth processing unit, for pair Predeterminable area in the part not sheltered from target background by object carries out masking-out processing and/or gradual change processing and/or obscured Processing;And the 5th processing unit, for substituting background accordingly according to characteristics of objects information recommendation, to replace target background As the background of displaying object, wherein, the diversity factor substituted between the background characteristics information of background and characteristics of objects information meets Preparatory condition.
By embodiment of the disclosure, the purpose that object can clearly be shown in target background is realized, improves use The experience effect at family.
It is understood that the first acquisition module 410, the second acquisition module 420, judge module 430 and adjusting module 440 may be incorporated in a module and realize, or any one module therein can be split into multiple modules.Or At least part function of one or more of these modules module can be combined with least part function phase of other modules, and Realized in a module.According to an embodiment of the invention, the first acquisition module 410, the second acquisition module 420, judge module 430 and adjusting module 440 at least one can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), on-chip system, the system on substrate, the system in encapsulation, special integrated electricity Road (ASIC), or can to carry out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit to realize, Or realized with software, the appropriately combined of hardware and firmware three kinds of implementations.Or first acquisition module 410, second obtain At least one in modulus block 420, judge module 430 and adjusting module 440 can at least be implemented partly as computer Program module, when the program is run by computer, the function of corresponding module can be performed.
As a kind of optional embodiment, another aspect of the present disclosure provides a kind of non-volatile memory medium, storage There are computer executable instructions, above-mentioned instruction is used to realize background method of adjustment as described above when being executed by processor.
As a kind of optional embodiment, another aspect of the present disclosure provides a kind of computer program, above computer Program includes computer executable instructions, and above-mentioned instruction is used to realize background adjustment side as described above when being executed by processor Method.
As a kind of optional embodiment, another aspect of the present disclosure provides a kind of computer system, including:One or The multiple processors of person;Memory, computer executable program is stored with, said procedure is by said one or multiple processors It is used to realize background method of adjustment as described above during execution.
Fig. 6 diagrammatically illustrates the meter that system is adjusted according to achievable the background method of adjustment and background of the embodiment of the present disclosure The block diagram of calculation machine system.
As shown in fig. 6, computer system 500 includes processor 510 and memory 520.The computer system 500 can be held The method that row describes above with reference to Fig. 2, Fig. 3 A~Fig. 3 C.
Specifically, processor 510 can for example include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, application specific integrated circuit (ASIC)), etc..Processor 510 can also include being used to cache using The onboard storage device on way.Processor 510 can be performed for according to the disclosure being implemented with reference to what figure 2, Fig. 3 A~Fig. 3 C were described Single treatment unit either multiple processing units of the different actions of the method flow of example.
Computer-readable recording medium 520, such as can include, store, transmit, propagate or transmit appointing for instruction Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, Device or propagation medium.The specific example of readable storage medium storing program for executing includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage Device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication chain Road.
Computer-readable recording medium 520 can include computer program 521, and the computer program 521 can include generation Code/computer executable instructions, it by processor 510 when being performed so that processor 510 is performed for example above in conjunction with Fig. 2, figure Method flow and its any deformation described by 3A~Fig. 3 C.
Computer program 521 can be configured with such as computer program code including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 521 can include one or more program modules, such as including 521A, module 521B ....It should be noted that the dividing mode and number of module are not fixed, those skilled in the art can To be combined according to actual conditions using suitable program module or program module, when these program modules are combined by processor 510 During execution so that processor 510 can be performed for example above in conjunction with the method flow described by Fig. 2, Fig. 3 A~Fig. 3 C and its appointed What is deformed.
It will be understood by those skilled in the art that the feature described in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Especially, exist In the case of not departing from disclosure spirit or teaching, the feature described in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described in the certain exemplary embodiments with reference to the disclosure Personnel it should be understood that without departing substantially from appended claims and its equivalent restriction spirit and scope of the present disclosure in the case of, A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, But not only should be determined by appended claims, also it is defined by the equivalent of appended claims.

Claims (10)

1. a kind of background method of adjustment, including:
The characteristics of objects information for the object being shown using target background as background is obtained, wherein, the characteristics of objects information is used In the color character for describing the object;
The background characteristics information of the target background is obtained, wherein, the background characteristics information is used to describe the target background Color character;
Judge whether the diversity factor between the characteristics of objects information and the background characteristics information meets preparatory condition;And
If judging, the diversity factor between the characteristics of objects information and the background characteristics information meets the default bar Part, then the target background is adjusted or prompted.
2. the method according to claim 11, wherein:
Obtaining the characteristics of objects information for the object being shown using target background as background includes:Obtain the mass-tone of the object Characteristic information;And
Obtaining the background characteristics information of the target background includes:Obtain the characteristic information of the mass-tone of the target background.
3. according to the method for claim 2, wherein, judge between the characteristics of objects information and the background characteristics information Diversity factor whether meet that preparatory condition includes:
The color distance between object mass-tone and background mass-tone is calculated, wherein, the object mass-tone includes the master with the object Mass-tone corresponding to the characteristic information of color, the background mass-tone include corresponding with the characteristic information of the mass-tone of the target background main Color;
Judge whether the color distance is less than color distance threshold value;And
If judging, the color distance is less than the color distance threshold value, it is determined that the characteristics of objects information and the background The diversity factor between characteristic information meets the preparatory condition.
4. according to the method for claim 1, wherein, obtaining the background characteristics information of the target background includes:
Obtain the background characteristics information for the part not sheltered from the target background by the object.
5. according to the method for claim 1, wherein, the target background is adjusted including one below:
Masking-out processing and/or gradual change processing and/or Fuzzy Processing are carried out to the whole target background;
According to the characteristics of objects information of the object, at the part that is sheltered from the target background by the object Reason;
The masking-out processing is carried out to the part not sheltered from the target background by the object and/or the gradual change is handled And/or the Fuzzy Processing;
Predeterminable area in the part that is not sheltered from the target background by the object is carried out the masking-out processing and/or The gradual change processing and/or the Fuzzy Processing;And
Background is substituted according to the characteristics of objects information recommendation accordingly, with replace the target background be used as displaying it is described right The background of elephant, wherein, the diversity factor between the background characteristics information for substituting background and the characteristics of objects information meets institute State preparatory condition.
6. a kind of background adjusts system, including:
First acquisition module, for obtaining the characteristics of objects information for the object being shown using target background as background, wherein, institute State the color character that characteristics of objects information is used to describe the object;
Second acquisition module, for obtaining the background characteristics information of the target background, wherein, the background characteristics information is used for The color character of the target background is described;
Judge module, for judging it is pre- whether the diversity factor between the characteristics of objects information and the background characteristics information meets If condition;And
Adjusting module, for judging that the diversity factor between the characteristics of objects information and the background characteristics information expires In the case of the foot preparatory condition, the target background is adjusted or prompted.
7. system according to claim 6, wherein:
First acquisition module, it is additionally operable to obtain the characteristic information of the mass-tone of the object;And
Second acquisition module, it is additionally operable to obtain the characteristic information of the mass-tone of the target background.
8. system according to claim 7, wherein, the judge module includes:
Computing unit, for calculating the color distance between object mass-tone and background mass-tone, wherein, the object mass-tone include with Mass-tone corresponding to the characteristic information of the mass-tone of the object, the background mass-tone include the feature with the mass-tone of the target background Mass-tone corresponding to information;
Judging unit, for judging whether the color distance is less than color distance threshold value;And
Determining unit, in the case where judging that the color distance is less than the color distance threshold value, it to be described right to determine As the diversity factor between characteristic information and the background characteristics information meets the preparatory condition.
9. system according to claim 6, wherein,
Second acquisition module, it is additionally operable to obtain the background characteristics letter for the part not sheltered from the target background by the object Breath.
10. system according to claim 6, wherein, the adjusting module includes one below:
First processing units, handle and/or obscure and locate for carrying out masking-out processing and/or gradual change to the whole target background Reason;
Second processing unit, for the characteristics of objects information according to the object, to being hidden in the target background by the object The part blocked is handled;
3rd processing unit, for carrying out the masking-out processing to the part not sheltered from the target background by the object And/or the gradual change processing and/or the Fuzzy Processing;
Fourth processing unit, carried out for the predeterminable area in the part to not sheltered from the target background by the object The masking-out processing and/or gradual change processing and/or the Fuzzy Processing;And
5th processing unit, for substituting background accordingly according to the characteristics of objects information recommendation, carried on the back with replacing the target Scape is used as the background for showing the object, wherein, the background characteristics information for substituting background and the characteristics of objects information Between diversity factor meet the preparatory condition.
CN201710878048.6A 2017-09-25 2017-09-25 Background method of adjustment and its system Pending CN107729099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710878048.6A CN107729099A (en) 2017-09-25 2017-09-25 Background method of adjustment and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710878048.6A CN107729099A (en) 2017-09-25 2017-09-25 Background method of adjustment and its system

Publications (1)

Publication Number Publication Date
CN107729099A true CN107729099A (en) 2018-02-23

Family

ID=61206822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710878048.6A Pending CN107729099A (en) 2017-09-25 2017-09-25 Background method of adjustment and its system

Country Status (1)

Country Link
CN (1) CN107729099A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492246A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of image processing method, device and mobile terminal
CN109471631A (en) * 2018-11-21 2019-03-15 北京京东尚科信息技术有限公司 The generation method and device of masking-out material
CN110866138A (en) * 2018-08-17 2020-03-06 京东数字科技控股有限公司 Background generation method and system, computer system, and computer-readable storage medium
CN110875982A (en) * 2019-11-08 2020-03-10 西安广和通无线软件有限公司 Logo display method and device, computer equipment and storage medium
CN111145194A (en) * 2019-12-31 2020-05-12 联想(北京)有限公司 Processing method, processing device and electronic equipment
WO2020215861A1 (en) * 2019-04-22 2020-10-29 京东方科技集团股份有限公司 Picture display method, picture display apparatus, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176761A (en) * 2011-12-23 2013-06-26 中国移动通信集团公司 Screen background setting method and movable terminal
CN104679380A (en) * 2013-11-30 2015-06-03 富泰华工业(深圳)有限公司 System and method for adjusting background color of user interface
CN104978189A (en) * 2015-06-19 2015-10-14 深圳天珑无线科技有限公司 Method, device and mobile terminal for changing text color of application description
CN105204807A (en) * 2015-09-24 2015-12-30 北京金山安全软件有限公司 Method and device for adjusting color of display content at front end of screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176761A (en) * 2011-12-23 2013-06-26 中国移动通信集团公司 Screen background setting method and movable terminal
CN104679380A (en) * 2013-11-30 2015-06-03 富泰华工业(深圳)有限公司 System and method for adjusting background color of user interface
CN104978189A (en) * 2015-06-19 2015-10-14 深圳天珑无线科技有限公司 Method, device and mobile terminal for changing text color of application description
CN105204807A (en) * 2015-09-24 2015-12-30 北京金山安全软件有限公司 Method and device for adjusting color of display content at front end of screen

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492246A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of image processing method, device and mobile terminal
CN110866138A (en) * 2018-08-17 2020-03-06 京东数字科技控股有限公司 Background generation method and system, computer system, and computer-readable storage medium
CN109471631A (en) * 2018-11-21 2019-03-15 北京京东尚科信息技术有限公司 The generation method and device of masking-out material
WO2020215861A1 (en) * 2019-04-22 2020-10-29 京东方科技集团股份有限公司 Picture display method, picture display apparatus, electronic device and storage medium
CN110875982A (en) * 2019-11-08 2020-03-10 西安广和通无线软件有限公司 Logo display method and device, computer equipment and storage medium
CN111145194A (en) * 2019-12-31 2020-05-12 联想(北京)有限公司 Processing method, processing device and electronic equipment
CN111145194B (en) * 2019-12-31 2024-09-20 联想(北京)有限公司 Processing method, processing device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107729099A (en) Background method of adjustment and its system
US10878537B2 (en) Image splicing method, apparatus, terminal, and storage medium
US10854017B2 (en) Three-dimensional virtual image display method and apparatus, terminal, and storage medium
US10353464B2 (en) Gaze and saccade based graphical manipulation
US10809884B2 (en) Paint color selection and display system and method
US11412159B2 (en) Method and apparatus for generating three-dimensional particle effect, and electronic device
CN107770618B (en) Image processing method, device and storage medium
US20150145883A1 (en) Altering attributes of content that is provided in a portion of a display area based on detected inputs
WO2020063030A1 (en) Theme color adjusting method and apparatus, storage medium, and electronic device
US10593018B2 (en) Picture processing method and apparatus, and storage medium
US10540922B2 (en) Transparent display apparatus and display method thereof
WO2018072270A1 (en) Method and device for enhancing image display
WO2020001022A1 (en) Image expansion method, computing device and computer storage medium
WO2017032233A1 (en) Image generation method and device
CN104539843A (en) Terminal shooting method
US11032528B2 (en) Gamut mapping architecture and processing for color reproduction in images in digital camera environments
WO2020220858A1 (en) Image processing method and apparatus, electronic device, and computer-readable storage medium
TWI567635B (en) Techniques for multiple pass rendering
JP2007047777A (en) Defective pixel management for flat panel display
KR20190134370A (en) Electronic device and method for displaying content of application through display
US10402939B2 (en) Information processing device, information processing method, and program
CN104580890A (en) Terminal
US20190311464A1 (en) Tuning for deep-learning-based color enhancement systems
JP2018132821A (en) Information processing device, information processing system, terminal device, program, and information processing method
US10699384B2 (en) Image processing apparatus and control method thereof

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