CN107357863A - A kind of image processing method, device, storage medium and terminal - Google Patents
A kind of image processing method, device, storage medium and terminal Download PDFInfo
- Publication number
- CN107357863A CN107357863A CN201710526362.8A CN201710526362A CN107357863A CN 107357863 A CN107357863 A CN 107357863A CN 201710526362 A CN201710526362 A CN 201710526362A CN 107357863 A CN107357863 A CN 107357863A
- Authority
- CN
- China
- Prior art keywords
- picture
- watermark
- image content
- server
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Abstract
The embodiment of the invention discloses a kind of image processing method, device, storage medium and terminal;The embodiment of the present invention removes instruction using watermark is received, and the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;Instruction is removed according to watermark and sends picture searching request to server, picture searching request carries the image content of the picture, and the image content is the content in addition to watermark content in the picture;Candidate's picture with the image content is obtained from server;The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo;The program can carry out picture searching by server, to obtain the no-watermark picture that there is identical content with picture, that is artwork, removed without watermark picture is imported into special watermark in application, and watermark is removed to obtain artwork by the algorithm of complexity, the artwork that can lift watermark picture obtains efficiency and lifts the acquisition quality of artwork.
Description
Technical field
The present invention relates to picture Processing Technique field, and in particular to a kind of image processing method, device, storage medium and end
End.
Background technology
With the development of terminal technology, mobile terminal has begun to simply provide verbal system from the past and became one gradually
The platform of individual common software operation.The platform is no longer to provide call management as main purpose, and being to provide one includes call
Running environment including the types of applications programs such as management, Entertainment, office account, mobile payment, is popularized, with substantial amounts of
Every aspect through the deeply life to people, work.
User can be by the application-browsing picture in terminal at present, however, in some scenes, picture can carry water
Print, if user needs to obtain the picture of no-watermark, i.e. the artwork words of watermark picture are answered, it is necessary to download and install specially de-watermarked
With, the picture with watermark is imported into the de-watermarked application, by de-watermarked application by complexity picture processing algorithm make a return journey
Except watermark, the picture of no-watermark, i.e. artwork are obtained.It can be seen that the artwork process for obtaining watermark picture at present is more complicated, cause water
The artwork of impression piece obtains less efficient.
The content of the invention
The embodiment of the present invention provides a kind of image processing method, device, storage medium and terminal, can lift watermark picture
Artwork obtain efficiency.
In a first aspect, the embodiment of the present invention provides a kind of image processing method, including:
Receive watermark and remove instruction, the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;
Picture searching request is sent to server according to watermark removal instruction, the picture searching is asked described in carrying
The image content of picture, the image content are the content in addition to watermark content in the picture;
Candidate's picture with the image content is obtained from the server;
The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.
Second aspect, the embodiment of the present invention additionally provide a kind of picture processing device, including:
Command reception module, instruction is removed for receiving watermark, the watermark, which removes instruction instruction, to be needed to remove watermark
Picture;
Sending module, picture searching request is sent to server for removing instruction according to the watermark, the picture is searched
Rope request carries the image content of the picture, and the image content is the content in addition to watermark content in the picture;
Picture acquisition module, for obtaining candidate's picture with the image content from the server;
Picture chooses module, for choosing the Target Photo not comprising watermark from candidate's picture, and preserves the target
Picture.
The third aspect, the present invention also provide a kind of storage medium, and the storage medium is stored with instruction, and the instruction is located
The step of reason device realizes the image processing method of any offer of the embodiment of the present invention when performing.
Fourth aspect, the embodiment of the present invention also provide a kind of terminal, including memory and processor, the memory storage
There is the step of instruction, the processor loading instruction is to perform the image processing method of any offer of the embodiment of the present invention.
The embodiment of the present invention removes instruction using watermark is received, and the watermark, which removes instruction instruction, to be needed to remove the figure of watermark
Piece;Instruction is removed according to watermark and sends picture searching request to server, picture searching request carries the image content of the picture,
The image content is the content in addition to watermark content in the picture;The candidate with the image content is obtained from server to scheme
Piece;The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.The program can pass through server
Picture searching is carried out, to obtain the no-watermark picture that there is identical content with picture, i.e. artwork, without watermark picture is imported into
Special watermark is removed in application, and removes watermark by the algorithm of complexity to obtain artwork, can lift the original of watermark picture
Figure obtains efficiency and lifts the acquisition quality of artwork.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is the Organization Chart of picture processing system provided in an embodiment of the present invention.
Fig. 2 is a kind of schematic flow sheet of image processing method provided in an embodiment of the present invention.
Fig. 3 is the schematic diagram of picture display interface provided in an embodiment of the present invention.
Fig. 4 is that region picture provided in an embodiment of the present invention chooses schematic diagram.
Fig. 5 is another schematic diagram of picture display interface provided in an embodiment of the present invention.
Fig. 6 is another schematic flow sheet of image processing method provided in an embodiment of the present invention.
Fig. 7 is a kind of structural representation of picture processing device provided in an embodiment of the present invention.
Fig. 8 is another structural representation of picture processing device provided in an embodiment of the present invention.
Fig. 9 is another structural representation of picture processing device provided in an embodiment of the present invention.
Figure 10 is the structural representation of terminal provided in an embodiment of the present invention.
Figure 11 is another structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, and principle of the invention is to implement one
Illustrated in appropriate computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention is by with reference to as the step performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes
The computer of finger, which performs, to be included by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.The data or the opening position being maintained in the memory system of the computer are changed in this operation, and its is reconfigurable
Or change the running of the computer in a manner of known to the tester of this area in addition.The data structure that the data are maintained
For the provider location of the internal memory, it has the particular characteristics as defined in the data format.But the principle of the invention is with above-mentioned text
Word illustrates that it is not represented as a kind of limitation, this area tester will appreciate that plurality of step as described below and behaviour
Also may be implemented among hardware.
The principle of the present invention is grasped using many other wide usages or specific purpose computing, communication environment or configuration
Make.The example of the known arithmetic system for being suitable for the present invention, environment and configuration may include (but not limited to) hold phone,
Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer
Border, which includes any said system or device.
It will be described in detail respectively below.
The present embodiment will be described from the angle of picture processing device, and the picture processing device can specifically be integrated in end
In end, the terminal can be the electronic equipments such as smart mobile phone, tablet personal computer.
The embodiments of the invention provide a kind of picture processing system, the system includes terminal, and the terminal is integrated with the present invention
The picture processing device of any offer of embodiment.In addition, the system can also include other equipment, such as server.
For example, with reference to figure 1, the embodiment of the present invention provides a kind of picture processing system;The picture processing system can include
Terminal 11 and server 12, terminal 11 and server 12 pass through network connection.
Terminal 11 receives watermark and removes instruction, and the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;According to watermark
Removal instruction sends picture searching to server 12 and asked, the image content of the picture searching request carrying picture, in the picture
Hold for the content in the picture in addition to watermark content;Terminal 11 obtains the candidate with the image content from server 11 afterwards
Picture, the Target Photo not comprising watermark is chosen from candidate's picture, and preserve the Target Photo.
It can be, but not limited between terminal 11 and server 12 using any of following host-host protocol:HTTP
(Hypertext transfer protocol, HTTP), FTP (File Transfer Protocol, file
Host-host protocol), P2P (Peer to Peer, peer-to-peer network), P2SP (Peer to Server&Peer, put to server and point)
Deng.
In one embodiment, the embodiments of the invention provide a kind of image processing method, with reference to figure 2, the picture processing side
The idiographic flow of method is as follows:
101st, receive watermark and remove instruction, the watermark, which removes instruction instruction, to be needed to remove the picture of watermark.
Wherein, picture includes watermark, and so-called watermark is that some digital informations are added into picture to reach image true-false mirror
Not, the function such as copyright protection.For example watermark can be the specific character that is added on picture or pattern, to prevent that others is careless
Usurp.
Wherein, watermark removes instruction and can operated by user by removing interface to the watermark on picture display interface
Triggering.
For example for convenience of the watermark removed in picture, watermark can be set to remove interface in picture display interface, so
User can remove instruction to remove interface by the watermark to trigger corresponding watermark.
Wherein, the form of expression of watermark removal interface has a variety of, such as, can be the forms such as input frame, icon, button.
For example, with reference to figure 3, terminal shows the picture for including watermark in picture display interface, shows when user clicks on picture
When showing that watermark in interface tool column removes button, instruction can be removed with triggering generation watermark, now the embodiment of the present invention
Picture processing device will receive to the instruction.
102nd, instruction is removed according to watermark and sends picture searching request to server, picture searching request carries picture
Image content, wherein, the image content is the content in addition to watermark content in picture.
The thought of watermark that the embodiment of the present invention removes is:, can be with the case of the artwork that watermark picture in a network be present
The artwork of watermark picture is searched for from network, reaches the purpose for removing watermark indirectly.
Therefore, the embodiment of the present invention sends picture according to the instruction after receiving watermark and removing instruction to server
Searching request, to obtain the artwork of watermark picture.
In one embodiment, in order to mitigate the pressure of server, raising picture searching speed can be in end side to picture
It is identified, then, the content recognized is sent to server, so that server is based on the corresponding figure of image content search
Piece.Namely step " remove instruction according to the watermark and send picture searching request to server " can include:
Instruction is removed according to the watermark and downloads the picture;
Picture recognition is carried out to the picture, obtains the image content of the picture
Picture searching request is sent to server according to the image content.
For example terminal can remove instruction download pictures according to watermark, then, picture recognition is carried out to the picture, to know
Do not go out the image content in addition to watermark content, the picture searching request for carrying the image content is then sent to server.
In one embodiment, quality is obtained in order to lift artwork, the artwork resolution ratio of watermark picture can also be limited,
Now, picture searching request can also carry the resolution ratio of the picture.For example picture recognition can be carried out to picture and obtain picture
Content, and the resolution ratio of picture is obtained, then, the searching request for carrying image content and resolution ratio is sent to server, so as to
Server can have the picture of equal resolution and identical content with watermark picture.
The address of artwork may be included in general watermark, therefore, in order to quick obtaining artwork, in one embodiment,
Watermark content can also be identified, when watermark content includes picture address information, can be sent to server and carry image content
And the searching request of picture address information, such server can be quickly to be searched based on the image content and picture address information
Rope is to artwork.
103rd, candidate's picture with the image content is obtained from the server.
For example when picture searching request also carries the resolution ratio of watermark picture, can be obtained from server has the figure
Candidate's picture of piece content and the resolution ratio;Namely there is identical content, the time of equal resolution from server acquisition with picture
Select picture.The identical content is the content in addition to watermark content in picture.
Wherein, obtained from server with mode that picture has identical content can have it is a variety of, such as, in an embodiment
In, in order to ensure the comprehensive and integrality of picture searching, image content search similar pictures, then, slave phase can be based on
There is candidate's picture of identical content like selection in picture with watermark picture.Specifically, step " is obtained to have from the server and is somebody's turn to do
Candidate's picture of image content " can include:
The content similar pictures similar to the image content are obtained from server;
Determine to whether there is the picture with the image content in the similar pictures;
If so, then extraction has candidate's picture of the image content from similar pictures.
Wherein, similar pictures are included with the picture with watermark picture identical content, or have and watermark picture
Incomplete same and similar picture.Such as watermark picture as shown in Figure 3, may be obtained from server have and watermark
The picture of the identical cartoon character of picture, it is also possible to which being obtained from server has and animation people similar in cartoon character in watermark picture
Thing picture.
In one embodiment, in order to lift the success rate for the artwork for obtaining watermark picture, can not have in similar pictures
During picture identical with watermark picture, the image content as search key is chosen again.Such as can be from watermark figure
Local picture is chosen in piece to carry out picture searching, to expand hunting zone, the success rate that lifting artwork obtains.That is, step
" obtaining candidate's picture with the image content from the server ", can also include:
When it is determined that the picture with the image content is not present in the similar pictures, corresponding area is chosen from the picture
Domain picture;
To the server sending zone picture searching request, the region picture searching request carries region corresponding to the region
Image content;
The local similar pictures with the region image content are obtained from the server;
Candidate's picture with the image content is obtained from local similar pictures.
For example, with reference to figure 4, it is determined that in the absence of the picture with watermark picture with identical content in similar pictures
When, user can choose corresponding region picture by marquee from watermark picture.After chosen area picture, terminal can
To be asked to server sending zone picture searching, to search for the local similar pictures with the region image content, then, from
The picture that there is identical content with watermark picture is chosen in these similar pictures.
Wherein, the selection of region picture can be chosen by user, can also be chosen by terminal, and speed is obtained in order to lift artwork
Degree, the embodiment of the present invention is preferably by the way of terminal is chosen automatically.The mode of the automatic chosen area picture can have a variety of.
For example in one embodiment, corresponding region picture can be chosen in the region beyond watermark.Specifically, step
" corresponding region picture is chosen from the picture " can include:
Determine target area of the watermark in the picture;
According to the size of the picture and the size of the picture region, the target size of region picture to be selected is determined;
Corresponding region picture is chosen in the picture region beyond the target area according to the target size.
For example size (wide high) 640*960 (unit px) of watermark picture can be obtained, it is determined that the size of watermark region
For (wide high) 100*100, then the target size (wide high) that region picture to be selected is determined based on both sizes is 200*200
(unit px);Then, the region picture that size (wide high) is 200*200 can be chosen with the region beyond watermark region.
In one embodiment, the agent object in watermark picture can also be identified, then, chooses the area for including agent object
Domain picture, accurately to search the artwork of watermark picture.Such as when the agent object in watermark picture is cartoon character
When, the region picture comprising the cartoon character can be chosen.
104th, the Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.
In obtaining and having candidate's picture of identical content with watermark picture, the embodiment of the present invention can be to scheme from the candidate
The picture not comprising watermark is chosen in piece, to reach the purpose for removing watermark indirectly, obtains the artwork of watermark picture.
After Target Photo is chosen, the Target Photo can be preserved, and switches current interface and shows the Target Photo, than
Such as, with reference to figure 3 and Fig. 5, for a user, after user clicks on watermark removal button, terminal will be shown not comprising watermark
Artwork.
From the foregoing, it will be observed that the embodiment of the present invention removes instruction using watermark is received, the watermark, which removes instruction instruction, to be needed to remove
The picture of watermark;Instruction is removed according to watermark and sends picture searching request to server, picture searching request carries the picture
Image content, the image content are the content in addition to watermark content in the picture;Being obtained from server has the image content
Candidate's picture;The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.The program can lead to
Cross server and carry out picture searching, to obtain the no-watermark picture that there is identical content with picture, i.e. artwork, without by watermark figure
Piece imported into special watermark and removed in application, and removes watermark by the algorithm of complexity to obtain artwork, can lift watermark
The artwork of picture obtains efficiency and lifts the acquisition quality of artwork.
In one embodiment, the embodiment of the present invention additionally provides another image processing method, as shown in fig. 6, this implementation
Example introduces the image processing method of the present invention based on the system shown in Fig. 1, and its idiographic flow is as follows:
201st, terminal receives watermark and removes instruction, and the watermark, which removes instruction instruction, to be needed to remove the watermark picture of watermark.
So-called watermark is that some digital informations are added into picture to reach the functions such as image true-false discriminating, copyright protection.
For example watermark can be the specific character that is added on picture or pattern, to prevent others from will usurping.
Wherein, watermark removes instruction and can operated by user by removing interface to the watermark on picture display interface
Triggering.
202nd, terminal-pair watermark picture is identified, and obtains in the Target Photo in watermark picture in addition to watermark content
Hold.
In order to mitigate the pressure of server, picture searching speed is improved, picture can be identified in end side, so
Afterwards, the content recognized is sent to server, corresponding picture is searched for so that server is based on the image content.
203rd, terminal to server sends picture searching request, and picture searching request carries the Target Photo content.
In one embodiment, quality is obtained in order to lift artwork, the artwork resolution ratio of watermark picture can also be limited,
Now, picture searching request can also carry the resolution ratio of the picture.
In one embodiment, watermark content can also be identified, when watermark content includes picture address information, the picture is searched
Rope request can also carry the picture address information, so as to server fast search to the artwork of watermark picture.
204th, server asks the search content similar pictures similar to Target Photo content according to picture searching, and sends
To terminal.
Wherein, similar pictures are included with the picture with watermark picture identical content, or have and watermark picture
Incomplete same and similar picture.Such as watermark picture as shown in Figure 3, may be obtained from server have and watermark
The picture of the identical cartoon character of picture, it is also possible to which being obtained from server has and animation people similar in cartoon character in watermark picture
Thing picture.
205th, terminal determines to whether there is the picture with Target Photo content in similar pictures, if so, performing step
206, if it is not, then performing step 207.
206th, terminal extracts candidate's picture with Target Photo content from similar pictures, goes to step 211.
207th, terminal chooses corresponding region picture from watermark picture.
For example terminal can choose desired region picture based on user's selection operation.
Again for example, terminal can choose corresponding region picture in the region beyond watermark.Specifically, terminal determines the water
The target area being imprinted in the picture, according to the size of the picture and the size of the picture region, determine administrative division map to be selected
The target size of piece, corresponding region picture is chosen in the picture region beyond the target area according to the target size.
For example size (wide high) 960*1080 (unit px) of watermark picture can be obtained, it is determined that the chi of watermark region
Very little is (wide high) 150*100, then the target size (wide high) that region picture to be selected is determined based on both sizes is 250*
200 (unit px);Then, the region picture that size (wide high) is 250*200 can be chosen with the region beyond watermark region.
208th, terminal to server sending zone picture searching is asked, and it is corresponding that the region picture searching request carries the region
Region image content.
For example terminal sends picture searching request etc. by wireless network to server.
209th, server has the local similar pictures of the region image content according to the search of region picture searching request, and
It is sent to terminal.
Server can search for all local similar pictures for including the region image content upon receiving a request.
210th, terminal obtains candidate's picture with Target Photo content from local similar pictures.
211st, terminal chooses the picture not comprising watermark from candidate's picture, and preserves and show the picture.
A pair of the candidate's pictures of terminal 1 carry out watermark detection, and the figure not comprising watermark can be chosen from candidate's picture
Piece, to reach the purpose for removing watermark indirectly, obtain the artwork of watermark picture.
From the foregoing, it will be observed that the embodiment of the present invention removes instruction using watermark is received, the watermark, which removes instruction instruction, to be needed to remove
The picture of watermark;Instruction is removed according to watermark and sends picture searching request to server, picture searching request carries the picture
Image content, the image content are the content in addition to watermark content in the picture;Being obtained from server has the image content
Candidate's picture;The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.The program can lead to
Cross server and carry out picture searching, to obtain the no-watermark picture that there is identical content with picture, i.e. artwork, without by watermark figure
Piece imported into special watermark and removed in application, and removes watermark by the algorithm of complexity to obtain artwork, can lift watermark
The artwork of picture obtains efficiency and lifts the acquisition quality of artwork.
For the ease of preferably implementing image processing method provided in an embodiment of the present invention, additionally provide in one embodiment
A kind of picture processing device.Wherein the implication of noun is identical with above-mentioned image processing method, and specific implementation details may be referred to
Explanation in embodiment of the method.
As shown in fig. 7, picture processing device 30 can include:Command reception module 301, sending module 302, picture obtain
Module 303 and picture choose module 304;
Command reception module 301, instruction is removed for receiving watermark, the watermark, which removes instruction instruction, to be needed to remove watermark
Picture;
Sending module 302, picture searching request, the picture searching are sent to server for removing instruction according to the watermark
Request carries the image content of the picture, and the image content is the content in addition to watermark content in the picture;
Picture acquisition module 303, for obtaining candidate's picture with the image content from the server;
Picture chooses module 304, for choosing the Target Photo not comprising watermark from candidate's picture, and preserves the target
Picture.
In one embodiment, sending module 302 can be used for:
Instruction is removed according to the watermark and downloads the picture;
Picture recognition is carried out to the picture, obtains the image content of the picture
Picture searching request is sent to server according to the image content.
In one embodiment, picture searching request also carries the resolution ratio of the picture;Picture acquisition module 303, is used for
Candidate's picture with the image content, the resolution ratio is obtained from the server.
In one embodiment, with reference to figure 8, wherein, picture acquisition module 303 can include:Similar pictures acquisition submodule
3031st, determination sub-module 3032 and extracting sub-module 3033;
Similar pictures acquisition submodule 3031, for obtaining the content similar diagram similar to the image content from server
Piece;
Determination sub-module 3032, for determining to whether there is the picture with the image content in the similar pictures;
Extracting sub-module 3033, for determination sub-module 3032 determine exist with the image content picture when, from
Candidate picture of the extraction with the image content in similar pictures.
In one embodiment, with reference to figure 9, wherein, picture acquisition module 303 can also include:
Region picture acquisition submodule 3034, for determining to be not present with the image content when determination sub-module 3032
During picture, corresponding region picture is chosen from the picture;
Local similar pictures acquisition submodule 3035, for being asked to the server sending zone picture searching, the region
Picture searching request carries region image content corresponding to the region;The office with the region image content is obtained from the server
Portion's similar pictures;
Candidate's picture chooses submodule 3036, schemes for obtaining the candidate with the image content from local similar pictures
Piece.
In one embodiment, region picture acquisition submodule 3034, can be used for:
Determine target area of the watermark in the picture;
According to the size of the picture and the size of the picture region, the target size of region picture to be selected is determined;
Corresponding region picture is chosen in the picture region beyond the target area according to the target size.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made
Realized for same or several entities, the specific implementation of above modules can be found in embodiment of the method above, herein not
Repeat again.
From the foregoing, it will be observed that picture processing device 30 provided in an embodiment of the present invention can be received by command reception module 301
Watermark removes instruction, and the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;Then, by sending module 302 according to watermark
Remove instruction and send picture searching request to server, picture searching request carries the image content of the picture, the image content
For the content in the picture in addition to watermark content;Obtained by picture acquisition module 303 from server with the image content
Candidate's picture;Module 304 is chosen by picture the Target Photo not comprising watermark is chosen from candidate's picture, and preserve the target figure
Piece.The program can carry out picture searching by server, to obtain the no-watermark picture for having identical content with picture, i.e., former
Figure, removed without watermark picture is imported into special watermark in application, and watermark is removed to obtain original by the algorithm of complexity
Figure, the artwork that can lift watermark picture obtain efficiency and lift the acquisition quality of artwork.
In one embodiment, the present invention also provides a kind of storage medium, and the storage medium is stored with instruction, the instruction
The step of image processing method of any offer of the embodiment of the present invention is provided when being executed by processor.
In one embodiment, one kind is also provided eventually with reference to figure 10, the present invention, 400, including memory 401 and processor
402, the memory 401 is stored with instruction, and the processor 402 loads the instruction, and to perform, the embodiment of the present invention is any to be carried
The step of video broadcasting method of confession.
Figure 11 is referred to, Figure 11 is terminal structure schematic diagram provided in an embodiment of the present invention.The terminal 500 can include penetrating
Frequently (RF, Radio Frequency) circuit 501, include the memories of one or more computer-readable recording mediums
502nd, input block 503, display unit 504, sensor 504, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless
Fidelity) module 507, include the part such as one or the processor 508 of more than one processing core and power supply 509.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Figure 11 not structure paired terminal, can be included than figure
Show more or less parts, either combine some parts or different parts arrangement.
Radio circuit 501 can be used for receive and send messages, or in communication process signal reception and transmission, especially, by base station
Downlink information receive after, transfer to one or more than one processor 508 handled;In addition, sent up data are related to
To base station.
Memory 502 can be used for storage application program and data.Include and can hold in the application program that memory 502 stores
Line code.Application program can form various functions module.Processor 508 is stored in the application journey of memory 502 by operation
Sequence, so as to perform various function application and data processing.Memory 502 can mainly include storing program area and data storage
Area, wherein, storing program area can storage program area, needed at least one function application program (such as sound-playing function,
Image player function etc.) etc.;Storage data field can store uses created data (such as voice data, electricity according to terminal
Script for story-telling etc.) etc..In addition, memory 502 can include high-speed random access memory, nonvolatile memory can also be included,
A for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 is gone back
Memory Controller can be included, to provide the access of processor 508 and input block 503 to memory 502.
Input block 503 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.
Display unit 504 can be used for display by user input information or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display
Unit 504 may include display panel.
Although in fig. 11, touch sensitive surface realizes input and input work with display panel is the part independent as two
Can, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors.
Voicefrequency circuit 506 can provide the COBBAIF between user and terminal by loudspeaker, microphone.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507
User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and accessed.
Processor 508 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to
Cross operation or perform the application program being stored in memory 502, and call the data being stored in memory 502, perform
The various functions and processing data of terminal, so as to carry out integral monitoring to terminal.Optionally, processor 508 may include one or
Multiple processing cores;Preferably, processor 508 can integrate application processor and modem processor, wherein, application processor
Main processing operating system, user interface and application program etc., modem processor mainly handles radio communication.It is appreciated that
, above-mentioned modem processor can not also be integrated into processor 508.
Terminal also includes the power supply 509 (such as battery) to all parts power supply.Although not shown in Figure 11, terminal may be used also
Including camera, bluetooth module etc., will not be repeated here.
Wherein, the instruction in the load store device 502 of processor 508 or program are to realize following steps:
Receive watermark and remove instruction, the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;Removed and referred to according to watermark
Make to server and send picture searching request, picture searching request carries the image content of the picture, and the image content is institute
State the content in addition to watermark content in picture;Candidate's picture with the image content is obtained from server;From candidate's picture
It is middle to choose the Target Photo not comprising watermark, and preserve the Target Photo and receive watermark removal instruction, the watermark removes instruction and referred to
Show the picture for needing to remove watermark;Instruction is removed according to watermark and sends picture searching request to server, picture searching request is taken
Image content with the picture, the image content are the content in addition to watermark content in the picture;Obtained from server
Candidate's picture with the image content;The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the target figure
Piece.
In one embodiment, processor 508 can realize following steps:
Instruction is removed according to the watermark and downloads the picture;
Picture recognition is carried out to the picture, obtains the image content of the picture
Picture searching request is sent to server according to the image content.
In one embodiment, the picture searching request also carries the resolution ratio of the picture;Processor 508 can realize with
Lower step:
Candidate's picture with the image content, the resolution ratio is obtained from the server.
In one embodiment, processor 508 can realize following steps:
The content similar pictures similar to the image content are obtained from server;
Determine to whether there is the picture with the image content in the similar pictures;
If so, then extraction has candidate's picture of the image content from similar pictures.
In one embodiment, processor 508 can also realize following steps:
When it is determined that the picture with the image content is not present in the similar pictures, phase is chosen from the picture
The region picture answered;
Asked to server sending zone picture searching, it is corresponding that the region picture searching request carries the region
Region image content;
The local similar pictures with the region image content are obtained from the server;
Candidate's picture with the image content is obtained from local similar pictures.
In one embodiment, processor 508 can realize following steps:
Determine target area of the watermark in the picture;
According to the size of the picture and the size of the picture region, the target chi of region picture to be selected is determined
It is very little;
Corresponding region picture is chosen in the picture region beyond the target area according to the target size.
Terminal 500 provided in an embodiment of the present invention removes instruction using watermark is received, and the watermark, which removes instruction instruction, to be needed
Remove the picture of watermark;Picture searching request is sent to server according to watermark removal instruction, picture searching is asked described in carrying
The image content of picture, the image content are the content in addition to watermark content in the picture;Obtain to have from server and be somebody's turn to do
Candidate's picture of image content;The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.The party
Case can carry out picture searching by server, to obtain the no-watermark picture that there is identical content with picture, i.e. artwork, without
Watermark picture is imported into special watermark to remove in application, and watermark is removed to obtain artwork by the algorithm of complexity, can be with
The artwork for lifting watermark picture obtains efficiency and lifts the acquisition quality of artwork.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are by program the hardware of correlation can be instructed to complete, and the program can be stored in computer-readable storage medium
In matter, such as it is stored in the memory of terminal, and by least one computing device in the terminal, can wraps in the process of implementation
Include the flow of the embodiment such as information issuing method.Wherein, storage medium can include:Read-only storage (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of image processing method, device, storage medium and terminal provided in an embodiment of the present invention have been carried out in detail above
Thin to introduce, its each functional module can be integrated in a process chip or modules are individually physically present, and also may be used
It is integrated in two or more modules in a module.Above-mentioned integrated module can both be realized in the form of hardware,
It can also be realized in the form of software function module.Principle and embodiment of the specific case used herein to the present invention
It is set forth, the explanation of above example is only intended to help the method and its core concept for understanding the present invention;Meanwhile for
Those skilled in the art, according to the thought of the present invention, there will be changes, comprehensive in specific embodiments and applications
Upper described, this specification content should not be construed as limiting the invention.
Claims (13)
1. a kind of image processing method, it is characterised in that comprise the following steps:
Receive watermark and remove instruction, the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;
Instruction is removed according to the watermark and sends picture searching request to server, the picture searching request carries the picture
Image content, the image content is content in addition to watermark content in the picture;
Candidate's picture with the image content is obtained from the server;
The Target Photo not comprising watermark is chosen from candidate's picture, and preserves the Target Photo.
2. image processing method as claimed in claim 1, it is characterised in that instruction is removed according to the watermark and sent out to server
Picture searching is sent to ask, including:
Instruction is removed according to the watermark and downloads the picture;
Picture recognition is carried out to the picture, obtains the image content of the picture
Picture searching request is sent to server according to the image content.
3. image processing method as claimed in claim 2, it is characterised in that the picture searching request also carries the picture
Resolution ratio;Candidate's picture with the image content is obtained from the server, including:
Candidate's picture with the image content, the resolution ratio is obtained from the server.
4. image processing method as claimed in claim 1, it is characterised in that being obtained from the server has in the picture
Candidate's picture of appearance, including:
The content similar pictures similar to the image content are obtained from server;
Determine to whether there is the picture with the image content in the similar pictures;
If so, then extraction has candidate's picture of the image content from similar pictures.
5. image processing method as claimed in claim 4, it is characterised in that being obtained from the server has in the picture
Candidate's picture of appearance, in addition to
When it is determined that the picture with the image content is not present in the similar pictures, chosen from the picture corresponding
Region picture;
Asked to server sending zone picture searching, the region picture searching request carries area corresponding to the region
Domain image content;
The local similar pictures with the region image content are obtained from the server;
Candidate's picture with the image content is obtained from local similar pictures.
6. image processing method as claimed in claim 5, it is characterised in that corresponding administrative division map is chosen from the picture
Piece, including:
Determine target area of the watermark in the picture;
According to the size of the picture and the size of the picture region, the target size of region picture to be selected is determined;
Corresponding region picture is chosen in the picture region beyond the target area according to the target size.
A kind of 7. picture processing device, it is characterised in that including:
Command reception module, instruction is removed for receiving watermark, the watermark, which removes instruction instruction, to be needed to remove the picture of watermark;
Sending module, picture searching request is sent to server for removing instruction according to the watermark, the picture searching please
The image content for carrying the picture is sought, the image content is the content in addition to watermark content in the picture;
Picture acquisition module, for obtaining candidate's picture with the image content from the server;
Picture chooses module, for choosing the Target Photo not comprising watermark from candidate's picture, and preserves the Target Photo.
8. picture processing device as claimed in claim 7, it is characterised in that the sending module is used for:
Instruction is removed according to the watermark and downloads the picture;
Picture recognition is carried out to the picture, obtains the image content of the picture
Picture searching request is sent to server according to the image content.
9. picture processing device as claimed in claim 7, it is characterised in that the picture acquisition module includes:
Similar pictures acquisition submodule, for obtaining the content similar pictures similar to the image content from server;
Determination sub-module, for determining to whether there is the picture with the image content in the similar pictures;
Extracting sub-module, for determination sub-module determine exist with the image content picture when, from similar pictures
Candidate picture of the extraction with the image content.
10. picture processing device as claimed in claim 9, it is characterised in that the picture acquisition module also includes:
Region picture acquisition submodule, for when determination sub-module determine be not present with the image content picture when, from
Corresponding region picture is chosen in the picture;
Local similar pictures acquisition submodule, for being asked to server sending zone picture searching, the region picture
Searching request carries region image content corresponding to the region;Obtained from the server with the region image content
Local similar pictures;
Candidate's picture chooses submodule, for obtaining candidate's picture with the image content from local similar pictures.
11. picture processing device as claimed in claim 10, it is characterised in that the region picture acquisition submodule, be used for:
Determine target area of the watermark in the picture;
According to the size of the picture and the size of the picture region, the target size of region picture to be selected is determined;
Corresponding region picture is chosen in the picture region beyond the target area according to the target size.
12. a kind of storage medium, it is characterised in that the storage medium is stored with instruction, when the instruction is executed by processor
Realize such as the step of any one of claim 1-6 methods described.
13. a kind of terminal, it is characterised in that including memory and processor, the memory storage has instruction, the processor
The instruction is loaded to perform such as the step of any one of claim 1-6 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710526362.8A CN107357863B (en) | 2017-06-30 | 2017-06-30 | Picture processing method and device, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710526362.8A CN107357863B (en) | 2017-06-30 | 2017-06-30 | Picture processing method and device, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107357863A true CN107357863A (en) | 2017-11-17 |
CN107357863B CN107357863B (en) | 2020-05-12 |
Family
ID=60273299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710526362.8A Active CN107357863B (en) | 2017-06-30 | 2017-06-30 | Picture processing method and device, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357863B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112243018A (en) * | 2019-07-19 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Content processing method and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0651554A1 (en) * | 1993-10-29 | 1995-05-03 | Eastman Kodak Company | Method and apparatus for the addition and removal of digital watermarks in a hierarchical image storage and retrieval system |
CN101458810A (en) * | 2008-12-08 | 2009-06-17 | 哈尔滨工程大学 | Vector map watermark method based on object property characteristic |
US20120136845A1 (en) * | 2010-11-30 | 2012-05-31 | ZOO Digital Limited, a Limited Company | Method and system for safeguarding digital objects consisting of digital assets |
CN102622391A (en) * | 2011-10-18 | 2012-08-01 | 北京小米科技有限责任公司 | Method for processing small pictures |
CN103870597A (en) * | 2014-04-01 | 2014-06-18 | 北京奇虎科技有限公司 | Method and device for searching for watermark-free picture |
CN105989013A (en) * | 2015-01-28 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Method and device for removing character watermarks |
-
2017
- 2017-06-30 CN CN201710526362.8A patent/CN107357863B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0651554A1 (en) * | 1993-10-29 | 1995-05-03 | Eastman Kodak Company | Method and apparatus for the addition and removal of digital watermarks in a hierarchical image storage and retrieval system |
CN101458810A (en) * | 2008-12-08 | 2009-06-17 | 哈尔滨工程大学 | Vector map watermark method based on object property characteristic |
US20120136845A1 (en) * | 2010-11-30 | 2012-05-31 | ZOO Digital Limited, a Limited Company | Method and system for safeguarding digital objects consisting of digital assets |
CN102622391A (en) * | 2011-10-18 | 2012-08-01 | 北京小米科技有限责任公司 | Method for processing small pictures |
CN103870597A (en) * | 2014-04-01 | 2014-06-18 | 北京奇虎科技有限公司 | Method and device for searching for watermark-free picture |
CN105989013A (en) * | 2015-01-28 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Method and device for removing character watermarks |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112243018A (en) * | 2019-07-19 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Content processing method and device and storage medium |
CN112243018B (en) * | 2019-07-19 | 2023-03-10 | 腾讯科技(深圳)有限公司 | Content processing method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107357863B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103677889B (en) | Method for installing application on mobile electronic device | |
CN107402790A (en) | Startup method, apparatus, storage medium and the terminal of application program | |
CN106775637B (en) | Page display method and device for application program | |
US20120289290A1 (en) | Transferring objects between application windows displayed on mobile terminal | |
CN104123316A (en) | Resource collection method, device and facility | |
JP2012522465A (en) | Mobile communication device user interface | |
CN102197703A (en) | Contextual search by a mobile communications device | |
CN102460359A (en) | Lockscreen display | |
CN105740263B (en) | Page display method and device | |
CN102246133A (en) | Improved access to contacts | |
CN107241656A (en) | A kind of call processing method, device, storage medium and terminal | |
CN109062467A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN107241655A (en) | A kind of video broadcasting method, device, storage medium and terminal | |
CN107241511A (en) | A kind of method for playing music, device, storage medium and terminal | |
CN107885826A (en) | Method for broadcasting multimedia file, device, storage medium and electronic equipment | |
EP2884382B1 (en) | Dynamic application association with hand-written pattern | |
CN109062468A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN108769234A (en) | Using method for down loading, device, storage medium and electronic equipment | |
CN107277031A (en) | A kind of Internet video method for down loading, device, storage medium and terminal | |
CN107291327A (en) | Application control method and related product | |
CN106202422B (en) | The treating method and apparatus of Web page icon | |
CN109189243B (en) | Input method switching method and device and user terminal | |
CN105450867B (en) | Communication means and device based on pictorial information | |
CN106657254A (en) | Synchronization method, device and system for contact information | |
CN107357863A (en) | A kind of image processing method, device, storage medium and terminal |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |