CN109377443A - The processing method and processing device of background picture - Google Patents
The processing method and processing device of background picture Download PDFInfo
- Publication number
- CN109377443A CN109377443A CN201811009142.9A CN201811009142A CN109377443A CN 109377443 A CN109377443 A CN 109377443A CN 201811009142 A CN201811009142 A CN 201811009142A CN 109377443 A CN109377443 A CN 109377443A
- Authority
- CN
- China
- Prior art keywords
- icon
- background picture
- similarity
- background
- picture segment
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 22
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000004048 modification Effects 0.000 claims description 14
- 238000012986 modification Methods 0.000 claims description 14
- 230000001052 transient effect Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 239000012634 fragment Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/18—Image warping, e.g. rearranging pixels individually
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of processing method and processing devices of background picture, are related to technical field of image processing, be able to solve in the prior art when icon and ambient background picture and its it is similar when, user is difficult to the problem of quickly searching icon.The method of the embodiment of the present invention specifically includes that the similarity compared between icon background picture segment corresponding with the icon, and the corresponding background picture segment of the icon is the background picture around the icon in preset range;If the similarity is more than or equal to default similarity threshold, modify to the background picture segment, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold.The embodiment of the present invention is primarily adapted for use in the scene handled the background picture of application icon.
Description
Technical field
The present embodiments relate to technical field of image processing, more particularly to the processing method and dress of a kind of background picture
It sets.
Background technique
With the development of science and technology, demand of the people to electronic equipments such as computer, mobile phones is not only in that system, software function
It can itself, also reside in feel demand and visual demand.For example, the desktop wallpaper that system carries has kept user's generation vision tired
Labor, most users can often replace desktop wallpaper, to improve visual enjoyment.
However, inventor is in the specific implementation process, following problems exist in the prior art: when icon and surrounding
Background picture and its it is similar when, can search that icon is more difficult, such as icon and ambient background picture are all large reds to user
, user is difficult to be quickly found out corresponding icon from large stretch of red.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of processing method and processing device of background picture, main purpose is
Solve the problem of in the prior art when icon and ambient background picture and its it is similar when user be difficult to quickly search icon.
To solve the above-mentioned problems, the embodiment of the present invention mainly provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of processing methods of background picture, which comprises
Compare the similarity between icon background picture segment corresponding with the icon, the corresponding Background of the icon
Piece segment is the background picture around the icon in preset range;
If the similarity is more than or equal to default similarity threshold, modify to the background picture segment,
So that modified background picture segment and the similarity of the icon are less than the default similarity threshold.
Optionally, it modifies to the background picture segment, so that modified background picture segment and the figure
Target similarity is less than the default similarity threshold
Obtain the corresponding complete former Background of the background picture segment;
The complete former Background is backed up;
It modifies to the background picture segment in the complete former Background of backup, so that modified Background
Piece segment and the similarity of the icon are less than the default similarity threshold;
Use the complete background figure of modified complete former Background replacement current application.
Optionally, it modifies to the background picture segment, so that modified background picture segment and the figure
Target similarity is less than the default similarity threshold
It modifies to the background picture segment in the complete background figure of current application, so that modified background
Picture fragment and the similarity of the icon are less than the default similarity threshold.
Optionally, the similarity compared between icon background picture segment corresponding with the icon includes:
It is respectively compared the similarity in the icon and the background picture segment between each picture feature parameter;
The picture feature parameter includes any one of following or several combinations:
Color, figure, brightness, transparency, saturation degree and contrast.
Optionally, if the similarity is more than or equal to default similarity threshold, to the background picture segment into
Row modification, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold packet
It includes:
If the similarity between the picture feature parameter currently compared is corresponding more than or equal to current image characteristic parameter
Default similarity threshold, then modify to the current image characteristic parameter in the background picture segment so that
Modified background picture segment is less than corresponding default with the similarity of the current image characteristic parameter in the icon
Similarity threshold.
Optionally, the preset range is in the case where being covered with icon in screen, and each icon occupies the screen
Region in average area in addition to icon self zone.
Second aspect, the embodiment of the present invention also provide a kind of processing unit of background picture, and described device includes:
Comparing unit, for comparing the similarity between icon background picture segment corresponding with the icon, the figure
Marking corresponding background picture segment is the background picture around the icon in preset range;
Unit is modified, is used for when the similarity is more than or equal to default similarity threshold, to the background picture
Segment is modified, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold
Value.
Optionally, the modification unit includes:
Module is obtained, for obtaining the corresponding complete former Background of the background picture segment;
Backup module, for being backed up to the complete former Background;
First modified module is modified for the background picture segment in the complete former Background to backup, with
So that modified background picture segment and the similarity of the icon are less than the default similarity threshold;
Replacement module, for using the complete background figure of modified complete former Background replacement current application.
Optionally, the modification unit includes:
Second modified module is modified for the background picture segment in the complete background figure to current application,
So that modified background picture segment and the similarity of the icon are less than the default similarity threshold.
Optionally, the comparing unit, for being respectively compared each picture in the icon and the background picture segment
Similarity between characteristic parameter;
The picture feature parameter includes any one of following or several combinations:
Color, figure, brightness, transparency, saturation degree and contrast.
Optionally, the modification unit, if the similarity between picture feature parameter for currently comparing be greater than or
Default similarity threshold corresponding equal to current image characteristic parameter, then to the current image in the background picture segment
Characteristic parameter is modified, so that the current image characteristic parameter in modified background picture segment and the icon
Similarity be less than corresponding default similarity threshold.
Optionally, the preset range is in the case where being covered with icon in screen, and each icon occupies the screen
Region in average area in addition to icon self zone.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, and the electronic equipment includes:
At least one processor;
And at least one processor, the bus being connected to the processor;Wherein,
The processor, memory complete mutual communication by the bus;
The processor is used to call the program instruction in the memory, to execute background picture described in first aspect
Processing method.
Fourth aspect, the embodiment of the present invention also provide a kind of non-transient computer readable storage medium, the non-transient meter
Calculation machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute back described in first aspect
The processing method of scape picture.
By above-mentioned technical proposal, technical solution provided in an embodiment of the present invention is at least had the advantage that
It is corresponding with the icon can to compare icon for the processing method and processing device of background picture provided in an embodiment of the present invention
Similarity between background picture segment illustrates the figure when determining that the similarity is more than or equal to default similarity threshold
Mark to background around the icon and its similar, user is difficult to quickly find out icon, at this time can be to the background picture segment
It modifies, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold, thus
Increase difference between the two, so that user can quickly find out icon.
Above description is only the general introduction of technical solution of the embodiment of the present invention, in order to better understand the embodiment of the present invention
Technological means, and can be implemented in accordance with the contents of the specification, and in order to allow above and other mesh of the embodiment of the present invention
, feature and advantage can be more clearly understood, the special specific embodiment for lifting the embodiment of the present invention below.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
The limitation of embodiment.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the processing method of background picture provided in an embodiment of the present invention;
Fig. 2 shows the flow charts of the processing method of another background picture provided in an embodiment of the present invention;
Fig. 3 shows a kind of corresponding background picture fragmentary views of icon provided in an embodiment of the present invention;
Fig. 4 shows a kind of composition block diagram of the processing unit of background picture provided in an embodiment of the present invention;
Fig. 5 shows the composition block diagram of the processing unit of another background picture provided in an embodiment of the present invention;
Fig. 6 shows the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of processing methods of background picture, as shown in Figure 1, the method specifically includes that
101, compare the similarity between icon background picture segment corresponding with the icon.
Wherein, the corresponding background picture segment of the icon is the background picture around the icon in preset range.
, can be according to certain sequence when there are multiple icons in screen, successively more each icon is corresponding with each icon
Background picture segment between similarity, multiple threads can also be opened, while more multiple icons and background picture segment
Between similarity.
It should be noted that the icon in the embodiment of the present invention can be application icon, it is also possible to other icons, as long as
It is that the scene that icon and background picture are constituted may be applicable in the embodiment of the present invention.
If 102, the similarity is more than or equal to default similarity threshold, the background picture segment is repaired
Change, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold.
Wherein, default similarity threshold is to be counted to obtain critical value to a large number of users naked eyes identification picture difference.
It is most of when the similarity of background picture segment corresponding to a certain icon and its is more than or equal to default similarity threshold
User acquires a certain degree of difficulty on distinguishing icon and the background picture segment, in order to increase the difference between picture, to reduce knowledge
Other difficulty can modify to background picture segment corresponding to the icon so that modified background picture segment with
The similarity of the icon is less than the default similarity threshold.
Illustratively, a certain icon is red, and surrounding background picture segment is also red, and both are red
Similarity is greater than default similarity threshold, then can be by the lighter of the color of background picture segment modification, so that the two
Similarity be less than default similarity threshold.
The processing method of background picture provided in an embodiment of the present invention can compare icon Background corresponding with the icon
Similarity between piece segment illustrates the icon and is somebody's turn to do when determining that the similarity is more than or equal to default similarity threshold
Background around icon and its similar, user is difficult to quickly find out icon, can repair at this time to the background picture segment
Change, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold, to increase two
Difference between person, so that user can quickly find out icon.
Further, according to method shown in FIG. 1, another embodiment of the invention additionally provides a kind of background picture
Processing method, as shown in Figure 2, which comprises
201, it is respectively compared in icon background picture segment corresponding with the icon between each picture feature parameter
Similarity.
Wherein, the picture feature parameter includes at least any one of following or several combinations: color, figure, brightness, thoroughly
Lightness, saturation degree and contrast.And different picture feature parameters corresponds to different default similarity thresholds.
That is, in order to determine the similarity between icon background picture segment corresponding with the icon, can from point
It is not compared in terms of the various picture feature parameters of picture, determines the similarity of two pictures in all respects, so as to
It is subsequent targetedly to modify to background picture segment.
In practical applications, when the figure and all relatively large color difference of two pictures, even if brightness, transparency etc.
Difference is smaller, will not influence user to the fast resolution of two pictures.It therefore, can be according to preset preferential when relatively
Grade is compared, can not if the similarity of the picture feature parameter currently compared is less than corresponding default similarity threshold
It is further continued for comparing the picture feature parameter of lower level, and modifies without to background picture segment;If currently comparing
The similarity of picture feature parameter is more than or equal to corresponding default similarity threshold, then can continue to compare lower level
Picture feature parameter, until the similarity of the picture feature parameter currently compared is less than corresponding default similarity threshold,
And for similarity be more than or equal to corresponding default similarity threshold background picture segment picture feature parameter into
Row modification.
In addition, the corresponding background picture segment of icon is the background picture around the icon in preset range.Wherein, it presets
Range is in the case where being covered with icon in screen, and each icon occupies in the average area of the screen except icon self zone
Region in addition.For example, as shown in figure 3, background picture segment corresponding to first icon of first row is the area that ABCD is constituted
Background area portion in domain in addition to first icon, wherein BD is first icon of first row and first row second
Center line between icon, CD are the center lines between first icon of first icon of first row and second row.
If the similarity between the picture feature parameter 202, currently compared is more than or equal to current image characteristic parameter
Corresponding default similarity threshold then modifies to the current image characteristic parameter in the background picture segment, with
So that modified background picture segment is with the similarity of the current image characteristic parameter in the icon less than corresponding
Default similarity threshold.
For each picture feature parameter compared, if for a certain picture feature parameter, the similarity of the two is greater than pair
The default similarity threshold answered then needs to modify to the picture feature parameter in background picture segment, until will own
After the picture feature parameter modification for needing to modify, just user can be allowed quickly to recognize each icon.
The processing method of background picture provided in an embodiment of the present invention can be respectively compared icon back corresponding with the icon
Similarity in scape picture fragment between each picture feature parameter, the phase between the determining picture feature parameter currently compared
When default similarity threshold corresponding more than or equal to current image characteristic parameter like degree, illustrate around the icon and the icon
Background it is in terms of the picture feature parameter and its similar, user is difficult to quickly find out icon, at this time can be to background picture
Current image characteristic parameter in segment is modified, so that the current image in modified background picture segment and icon
The similarity of characteristic parameter is less than corresponding default similarity threshold, to increase difference between the two, so that user
Icon can quickly be found out.
Optionally, the step 102 in above-described embodiment or step 202 are specific in terms of modifying for Background
Implementation includes but is not limited to following two:
Mode one: being compared and modify for former Background every time, and is worked as with the replacement of modified complete background figure
The complete background figure of preceding application.Specifically, the corresponding complete former Background of the background picture segment can first be obtained, and to institute
Complete former Background is stated to be backed up;Then it modifies to the background picture segment in the complete former Background of backup,
So that modified background picture segment and the similarity of the icon are less than the default similarity threshold;Finally using repairing
The complete background figure of complete former Background replacement current application after changing.
Mode two: it only modifies every time to the background picture of current application.Specifically, can be to the complete of current application
The background picture segment in Background is modified, so that modified background picture segment is similar to the icon
Degree is less than the default similarity threshold.
In practical applications, if primary change (including position adjusts and increase new icon) occurs for the icon in screen, just
Once to background picture segment modification high with icon similarity in the background picture of current application, then it is more to modify number, when
The background picture of preceding application thus can allow user visually to have poor experience just further away from original background picture.And if
It modifies every time just for former background picture, then no matter how many times, which occur, for icon changes, modified background picture all right and wrong
Very close to original background picture, without visually giving the poor experience of user.Therefore, mode one is in user's visual experience
On got well than mode two.
Further, as an implementation of the above method, another embodiment of the present invention additionally provides a kind of background picture
Processing unit.The Installation practice is corresponding with preceding method embodiment, and to be easy to read, present apparatus embodiment is no longer to aforementioned
Detail content in embodiment of the method is repeated one by one, it should be understood that before the device in the present embodiment can correspond to realization
State the full content in embodiment of the method.
Specifically, as shown in figure 4, described device includes:
Comparing unit 31, it is described for comparing the similarity between icon background picture segment corresponding with the icon
The corresponding background picture segment of icon is the background picture around the icon in preset range;
Unit 32 is modified, is used for when the similarity is more than or equal to default similarity threshold, to the Background
Piece segment is modified, so that modified background picture segment and the similarity of the icon are less than the default similarity
Threshold value.
Optionally, as shown in figure 5, the modification unit 32 includes:
Module 321 is obtained, for obtaining the corresponding complete former Background of the background picture segment;
Backup module 322, for being backed up to the complete former Background;
First modified module 323 is modified for the background picture segment in the complete former Background to backup,
So that modified background picture segment and the similarity of the icon are less than the default similarity threshold;
Replacement module 324, for using the complete background figure of modified complete former Background replacement current application.
Optionally, as shown in figure 5, the modification unit 32 includes:
Second modified module 325 is repaired for the background picture segment in the complete background figure to current application
Change, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold.
Optionally, the comparing unit 31, for being respectively compared each figure in the icon and the background picture segment
Similarity between piece characteristic parameter;
The picture feature parameter includes any one of following or several combinations:
Color, figure, brightness, transparency, saturation degree and contrast.
Optionally, the modification unit 32, if the similarity between picture feature parameter for currently comparing be greater than or
Person is equal to the corresponding default similarity threshold of current image characteristic parameter, then to the current figure in the background picture segment
Piece characteristic parameter is modified, so that the current image feature in modified background picture segment and the icon is joined
Several similarities is less than corresponding default similarity threshold.
Optionally, the preset range is in the case where being covered with icon in screen, and each icon occupies the screen
Region in average area in addition to icon self zone.
The processing unit of background picture provided in an embodiment of the present invention can compare icon Background corresponding with the icon
Similarity between piece segment illustrates the icon and is somebody's turn to do when determining that the similarity is more than or equal to default similarity threshold
Background around icon and its similar, user is difficult to quickly find out icon, can repair at this time to the background picture segment
Change, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold, to increase two
Difference between person, so that user can quickly find out icon.
The processing unit for the background picture introduced by the present embodiment is the background that can be executed in the embodiment of the present invention
The device of the processing method of picture, so the processing method based on background picture described in the embodiment of the present invention, this field
Those of skill in the art can understand the specific embodiment and its various change of the processing unit of the background picture of the present embodiment
Form, so how to realize the processing of more background pictures in the embodiment of the present invention for the processing unit of the background picture at this
Method is no longer discussed in detail.As long as those skilled in the art implement the processing method institute of background picture in the embodiment of the present invention
The device of use belongs to the range to be protected of the application.
The embodiment of the invention provides a kind of electronic equipment, as shown in Figure 6, comprising: at least one processor
(processor)41;And at least one processor (memory) 42, the bus 43 being connect with the processor 41;Wherein,
The processor 41, memory 42 complete mutual communication by the bus 43;
The processor 41 is used to call the program instruction in the memory 42, to execute in above method embodiment
Step.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
Electronic equipment provided in an embodiment of the present invention can compare between icon background picture segment corresponding with the icon
Similarity illustrate around the icon and the icon when determining that the similarity is more than or equal to default similarity threshold
Background and its similar, user is difficult to quickly find out icon, can modify at this time to the background picture segment, so that repairing
The similarity of background picture segment and the icon after changing is less than the default similarity threshold, to increase difference between the two
It is different, so that user can quickly find out icon.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium
Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment.
The instruction stored in non-transient computer readable storage medium provided in an embodiment of the present invention, can compare icon with
Similarity between the corresponding background picture segment of the icon presets similarity threshold when determining that the similarity is more than or equal to
When, illustrate the icon and background around the icon and its similar, user is difficult to quickly find out icon, at this time can be to the back
Scape picture fragment is modified, so that modified background picture segment and the similarity of the icon are less than the default similarity
Threshold value, to increase difference between the two, so that user can quickly find out icon.
Present invention also provides a kind of computer program products, when executing on an electronic device, are adapted for carrying out initialization
The program code for step that there are as below methods:
Compare the similarity between icon background picture segment corresponding with the icon, the corresponding Background of the icon
Piece segment is the background picture around the icon in preset range;
If the similarity is more than or equal to default similarity threshold, modify to the background picture segment,
So that modified background picture segment and the similarity of the icon are less than the default similarity threshold.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of processing method of background picture, which is characterized in that the described method includes:
Compare the similarity between icon background picture segment corresponding with the icon, the corresponding background picture piece of the icon
Section is the background picture around the icon in preset range;
If the similarity is more than or equal to default similarity threshold, modify to the background picture segment, so that
The similarity for obtaining modified background picture segment and the icon is less than the default similarity threshold.
2. the method according to claim 1, wherein modifying to the background picture segment, so that repairing
The similarity of background picture segment and the icon after changing is less than the default similarity threshold and includes:
Obtain the corresponding complete former Background of the background picture segment;
The complete former Background is backed up;
It modifies to the background picture segment in the complete former Background of backup, so that modified background picture piece
Section and the similarity of the icon are less than the default similarity threshold;
Use the complete background figure of modified complete former Background replacement current application.
3. the method according to claim 1, wherein modifying to the background picture segment, so that repairing
The similarity of background picture segment and the icon after changing is less than the default similarity threshold and includes:
It modifies to the background picture segment in the complete background figure of current application, so that modified background picture
Segment and the similarity of the icon are less than the default similarity threshold.
4. the method according to claim 1, wherein comparing icon background picture segment corresponding with the icon
Between similarity include:
It is respectively compared the similarity in the icon and the background picture segment between each picture feature parameter;
The picture feature parameter includes any one of following or several combinations:
Color, figure, brightness, transparency, saturation degree and contrast.
5. according to the method described in claim 4, it is characterized in that, if the similarity is more than or equal to default similarity threshold
Value, then modify to the background picture segment, so that the similarity of modified background picture segment and the icon
Include: less than the default similarity threshold
If it is corresponding pre- that the similarity between the picture feature parameter currently compared is more than or equal to current image characteristic parameter
If similarity threshold, then modify to the current image characteristic parameter in the background picture segment, so that modification
Background picture segment afterwards and the similarity of the current image characteristic parameter in the icon be less than it is corresponding preset it is similar
Spend threshold value.
6. method according to any one of claims 1-5, which is characterized in that the preset range is covered in screen
In the case where icon, each icon occupies the region in the average area of the screen in addition to icon self zone.
7. a kind of processing unit of background picture, which is characterized in that described device includes:
Comparing unit, for comparing the similarity between icon background picture segment corresponding with the icon, the icon pair
The background picture segment answered is the background picture around the icon in preset range;
Unit is modified, is used for when the similarity is more than or equal to default similarity threshold, to the background picture segment
It modifies, so that modified background picture segment and the similarity of the icon are less than the default similarity threshold.
8. device according to claim 7, which is characterized in that the modification unit includes:
Module is obtained, for obtaining the corresponding complete former Background of the background picture segment;
Backup module, for being backed up to the complete former Background;
First modified module is modified for the background picture segment in the complete former Background to backup, so that
Modified background picture segment and the similarity of the icon are less than the default similarity threshold;
Replacement module, for using the complete background figure of modified complete former Background replacement current application.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
At least one processor;
And at least one processor, the bus being connected to the processor;Wherein,
The processor, memory complete mutual communication by the bus;
The processor is used to call the program instruction in the memory, any into claim 6 with perform claim requirement 1
The processing method of background picture described in.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Store up computer instruction, the computer instruction requires the computer perform claim 1 to described in any one of claim 6
The processing method of background picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811009142.9A CN109377443A (en) | 2018-08-31 | 2018-08-31 | The processing method and processing device of background picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811009142.9A CN109377443A (en) | 2018-08-31 | 2018-08-31 | The processing method and processing device of background picture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109377443A true CN109377443A (en) | 2019-02-22 |
Family
ID=65405027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811009142.9A Pending CN109377443A (en) | 2018-08-31 | 2018-08-31 | The processing method and processing device of background picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109377443A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102800045A (en) * | 2012-07-12 | 2012-11-28 | 北京小米科技有限责任公司 | Image processing method and device |
CN103176761A (en) * | 2011-12-23 | 2013-06-26 | ***通信集团公司 | Screen background setting method and movable terminal |
CN105843625A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and device for setting application icon |
US20160246475A1 (en) * | 2015-02-22 | 2016-08-25 | Microsoft Technology Licensing, Llc | Dynamic icon recoloring to improve contrast |
CN107085521A (en) * | 2017-05-15 | 2017-08-22 | 上海与德科技有限公司 | A kind of icon display method and device |
-
2018
- 2018-08-31 CN CN201811009142.9A patent/CN109377443A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176761A (en) * | 2011-12-23 | 2013-06-26 | ***通信集团公司 | Screen background setting method and movable terminal |
CN102800045A (en) * | 2012-07-12 | 2012-11-28 | 北京小米科技有限责任公司 | Image processing method and device |
US20160246475A1 (en) * | 2015-02-22 | 2016-08-25 | Microsoft Technology Licensing, Llc | Dynamic icon recoloring to improve contrast |
CN105843625A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and device for setting application icon |
CN107085521A (en) * | 2017-05-15 | 2017-08-22 | 上海与德科技有限公司 | A kind of icon display method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109670558B (en) | Digital image completion using deep learning | |
JP6408314B2 (en) | Color video processing system and method, and corresponding computer program | |
TWI697866B (en) | Method and device for implementing color tweening animation | |
US20230237841A1 (en) | Occlusion Detection | |
US20150222814A1 (en) | Image Acquisition Method and Apparatus | |
CN108961303A (en) | A kind of image processing method, device, electronic equipment and computer-readable medium | |
CN105718272B (en) | A kind of method and terminal of terminal factory reset | |
CN108986016A (en) | Image beautification method, device and electronic equipment | |
CN105786784A (en) | PowerPoint template replacing method and device | |
CN105701165B (en) | Browser model switching method and switching device | |
CN104808959B (en) | Information processing method and electronic equipment | |
CN105808218A (en) | User interface UI control effect-oriented drawing method and device | |
EP4322109A1 (en) | Green screen matting method and apparatus, and electronic device | |
CN104867105A (en) | Picture processing method and device | |
CN106610920A (en) | Method and device for displaying data chart | |
CN105551011B (en) | A kind of setting method and device of dominant hue | |
CN110517201A (en) | Circulation protects the method, apparatus and electronic equipment of side smothing filtering | |
CN109753157A (en) | The gestural control method and device of display screen | |
CN106408534B (en) | Image processing method and device and electronic equipment | |
CN109377443A (en) | The processing method and processing device of background picture | |
CN104765599A (en) | Terminal | |
CN107102832B (en) | The display methods and device of figure in chart | |
CN110020298A (en) | Parameter display method and apparatus | |
CN105678688B (en) | Picture processing method and device | |
CN104516696A (en) | Information processing method and electronic device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190222 |
|
RJ01 | Rejection of invention patent application after publication |