CN105321197A - Image processing method and apparatus - Google Patents

Image processing method and apparatus Download PDF

Info

Publication number
CN105321197A
CN105321197A CN201410373410.0A CN201410373410A CN105321197A CN 105321197 A CN105321197 A CN 105321197A CN 201410373410 A CN201410373410 A CN 201410373410A CN 105321197 A CN105321197 A CN 105321197A
Authority
CN
China
Prior art keywords
special effect
effect processing
picture
content
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410373410.0A
Other languages
Chinese (zh)
Inventor
邱璇
任博
杨阳
刘银松
杨之华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410373410.0A priority Critical patent/CN105321197A/en
Publication of CN105321197A publication Critical patent/CN105321197A/en
Pending legal-status Critical Current

Links

Abstract

The present invention discloses an image processing method. The method comprises the steps of: according to a separation operation instruction of a user for an image to be subjected to special effect processing, separating a foreground content from the image; according to a user-specified special effect processing type, carrying out special effect processing of the special effect processing type on the foreground content of the image; and synthesizing the foreground content subjected to special effect processing and a user-specified background content subjected to special effect processing to generate an image subjected to special effect processing, wherein a special effect processing type of the user-specified background content subjected to special effect processing is different from the special effect processing type of the foreground content. According to the image processing method provided by the embodiment of the present invention, the content on the image can be separated, thereby enabling the image subjected to special effect processing to present different special effect processing effects.

Description

A kind of method of picture processing and device
Technical field
The present invention relates to picture technical field, be specifically related to a kind of method and device of picture processing.
Background technology
Along with the development of picture Processing Technique, the terminal with image processing function can carry out special effect processing to picture, as: picture editor is become pseudo-classic effect, freshness effect, enthusiasm effect, impression effect etc., make the picture of often kind of effect have different visual experiences.
Current picture synthetic technology is also tending towards ripe, two or plurality of pictures can be synthesized, so just can the content on different picture be synthesized on a pictures as required.
The present inventor finds, when will carry out special effect processing to picture in prior art, is all do special effect processing to whole pictures, can not carries out separating treatment to picture, causes special effect processing effect that the picture after special effect processing presents single.
Summary of the invention
The embodiment of the present invention provides a kind of method of picture processing, can carry out separating treatment to the content on picture, thus makes the pictures after special effect processing presents different special effect processing effects.The embodiment of the present invention additionally provides corresponding device.
First aspect present invention provides a kind of method of picture processing, comprising:
According to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture;
The special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of described picture;
Background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.
Second aspect present invention provides a kind of device of picture processing, comprising:
Separative element, for according to the lock out operation instruction of user for the picture of special effect processing to be done, isolates the foreground content of described picture from described picture;
Special effect processing unit, for the special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of the described picture that described separative element is separated;
Synthesis unit, synthesizes for the background content after the special effect processing of the foreground content after described special effect processing unit special effect processing and user being specified, and generates the picture after special effect processing.
The embodiment of the present invention adopts according to the lock out operation instruction of user for the picture of special effect processing to be done, the foreground content of described picture is isolated from described picture, the special effect processing type of specifying according to user, the foreground content of described picture is made to the special effect processing of described special effect processing type, background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.Compared with identical with the special effect processing effect that in prior art, is schemed the content of upper each several part, the method of the picture processing that the embodiment of the present invention provides, separating treatment can be carried out to the content on picture, thus make the pictures after special effect processing presents different special effect processing effects.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of the method for picture processing in the embodiment of the present invention;
Fig. 8 is an embodiment schematic diagram of the device of picture processing in the embodiment of the present invention;
Fig. 9 is an embodiment schematic diagram of terminal in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method of picture processing, can carry out separating treatment to the content on picture, thus makes the pictures after special effect processing presents different special effect processing effects.The embodiment of the present invention additionally provides corresponding device.Below be described in detail respectively.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Consult Fig. 1, an embodiment of the method for the picture processing that the embodiment of the present invention provides comprises:
101, according to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, the foreground content of described picture is isolated.
The foreground content isolating picture in the embodiment of the present invention from picture is equivalent to pluck out from picture the content that user wants, such as: pluck out the character image in picture.
Such as: when user will do special effect processing to the picture in mobile phone, a pictures can be chosen as the picture of special effect processing to be done, then personage in described picture is drawn as the foreground content that will be separated, the region that mobile phone can draw according to user, content in this region is plucked out, realizes isolating foreground content from picture.
102, according to the special effect processing type that user specifies, the foreground content of described picture is made to the special effect processing of described special effect processing type.
Special effect processing type can have multiple, such as 3D effect, artistic filter etc.
Background content after the special effect processing of 103, the foreground content after special effect processing and user being specified is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.
As shown in Figure 2, using personage as foreground content, by rape flower content as a setting, 3D processing mode is adopted to carry out special effect processing to foreground content, mullion mode is adopted to carry out special effect processing to background content, foreground content after such special effect processing and background content will show the artistic effect that personage will come into rape flower window frame after synthesizing.
As shown in Figure 3, using strawberry as foreground content, the clip content as a setting of strawberry will be clamped, 3D special effect processing is done to foreground content, mullion special effect processing is done to clip, strawberry will be shown and protrude outside picture, again by artistic effect that the clip in picture is clamped.
The embodiment of the present invention adopts according to the lock out operation instruction of user for the picture of special effect processing to be done, the foreground content of described picture is isolated from described picture, the special effect processing type of specifying according to user, the foreground content of described picture is made to the special effect processing of described special effect processing type, background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.Compared with identical with the special effect processing effect that in prior art, is schemed the content of upper each several part, the method of the picture processing that the embodiment of the present invention provides, separating treatment can be carried out to the content on picture, thus make the pictures after special effect processing presents different special effect processing effects.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 1, in first embodiment of the method for the picture processing that the embodiment of the present invention provides, described special effect processing type of specifying according to user, when making the special effect processing of described special effect processing type to the foreground content of described picture, described method can also comprise:
According to another special effect processing type that user specifies, background content remaining after being separated foreground content is made to the special effect processing of another special effect processing type described in described picture;
Background content after described special effect processing of the foreground content after special effect processing and user being specified is synthesized, and generates the picture after special effect processing, can comprise:
By the foreground content after special effect processing with do the background content after special effect processing according to another special effect processing type and synthesize, generate the picture after special effect processing.
In the embodiment of the present invention, adopt different special effect processing modes to carry out special effect processing respectively for the foreground content of same pictures and background content, after special effect processing, be synthesized together the effect showing different special effect processing in a pictures again.
As shown in Figure 4, personage in picture will pluck out as foreground content by mobile phone by user, then 3D special efficacy is adopted to process to foreground content personage, window frame Special effects mode is adopted to process to the meadow of background, again by the foreground content after special effect processing and background content synthesis, the picture of effect as shown in Figure 5 will be obtained.
3D special efficacy can also be adopted to process to foreground content personage, adopt filter mode to process to the meadow of background, then by the foreground content after special effect processing and background content synthesis, picture as shown in Figure 6 will be obtained.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 1, in second embodiment of the method for the picture processing that the embodiment of the present invention provides, described special effect processing type of specifying according to user, when making the special effect processing of described special effect processing type to the foreground content of described picture, described method can also comprise:
The background content of another picture that user specifies is done to the special effect processing of another special effect processing type;
Background content after described special effect processing of the foreground content after special effect processing and user being specified is synthesized, and generates the picture after special effect processing, can comprise:
Synthesize by the foreground content after special effect processing with according to the background content that another special effect processing type described makees another picture after special effect processing, generate the picture after special effect processing.
In the embodiment of the present invention, user can be met realize thinking to walk all over the world, want that in the eyes of goddess carrys out opening and closing shadow with you, think that experience one is the hope of the sensation of upper journal surface, as long as the prospect plucked out, such as someone photo, by replacing the mode of Original Photo sheet background, can reach the perfect effect merged.But before foreground content and background content are synthesized, can different special effect processing modes be adopted to carry out special effect processing to this two parts content respectively, so in post synthesis a pictures also can embody different special efficacy effects.
As shown in Figure 4, the personage in picture will pluck out as foreground content by mobile phone by user, then synthesizes with the background content on other pictures, as shown in Figure 7, personage is put on the journal surface of a rich multicoloured decoration.
Alternatively, on the basis of corresponding embodiment, first embodiment or second embodiment of above-mentioned Fig. 1, in 3rd embodiment of the method for the picture processing that the embodiment of the present invention provides, described according to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture, can comprise:
Identify that user makes the application area of smearing operation on the picture of special effect processing described to be done;
Using the foreground content of described application area as described picture, from described picture, isolate the foreground content of described picture.
In the embodiment of the present invention, when being separated the foreground content on picture, consulting Fig. 4, can select to smear select tool, then will as the application area of foreground content by smearing that operation smears out in picture.Handset identity goes out application area, then using application area as foreground content, from picture, isolate described foreground content, in Fig. 4, personage is application area, then this personage is foreground content.
Alternatively, on the basis of above-mentioned second embodiment, in the 4th embodiment of the method for the picture processing that the embodiment of the present invention provides, the described foreground content isolating described picture from described picture, can comprise:
By in described picture except foreground content remaining background content be set to transparent.
In the embodiment of the present invention, when foreground content will be synthesized with the background content on other pictures, can directly background content remaining except foreground content be set to transparent, like this will direct display foreground content.
The multiple embodiment of the present invention can carry out separating treatment to the content on picture, thus makes the pictures after special effect processing presents different special effect processing effects.
Consult Fig. 8, an embodiment of the device of the picture processing that the embodiment of the present invention provides comprises:
Separative element 201, for according to the lock out operation instruction of user for the picture of special effect processing to be done, isolates the foreground content of described picture from described picture;
Special effect processing unit 202, for the special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of the described picture that described separative element 201 is separated;
Synthesis unit 203, synthesizes for the background content after the special effect processing of the foreground content after described special effect processing unit 202 special effect processing and user being specified, and generates the picture after special effect processing.
In the embodiment of the present invention, separative element 201 is according to the lock out operation instruction of user for the picture of special effect processing to be done, the foreground content of described picture is isolated from described picture, the special effect processing type that special effect processing unit 202 is specified according to user, the foreground content of the described picture that described separative element 201 is separated is made to the special effect processing of described special effect processing type, background content after the special effect processing that foreground content after described special effect processing unit 202 special effect processing and user are specified by synthesis unit 203 is synthesized, and generates the picture after special effect processing.Compared with identical with the special effect processing effect that in prior art, is schemed the content of upper each several part, the method of the picture processing that the embodiment of the present invention provides, separating treatment can be carried out to the content on picture, thus make the pictures after special effect processing presents different special effect processing effects.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 8, in another embodiment of the device of the picture processing that the embodiment of the present invention provides,
Described special effect processing unit 202, another special effect processing type also for specifying according to user, makes the special effect processing of another special effect processing type described to background content remaining after being separated foreground content in described picture;
Described synthesis unit 203, for by the foreground content after special effect processing with do the background content after special effect processing according to another special effect processing type and synthesize, generates the picture after special effect processing.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 8, in another embodiment of the device of the picture processing that the embodiment of the present invention provides,
Described special effect processing unit 202, also does the special effect processing of another special effect processing type for the background content of another picture of specifying user;
Described synthesis unit 203, for synthesizing by the foreground content after special effect processing with according to the background content that another special effect processing type described makees another picture after special effect processing, generates the picture after special effect processing.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 8 or embodiment, in another embodiment of the device of the picture processing that the embodiment of the present invention provides,
Described separative element 201, for identifying that user makes the application area of smearing operation on the picture of special effect processing described to be done, using the foreground content of described application area as described picture, isolates the foreground content of described picture from described picture.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 8, in another embodiment of the device of the picture processing that the embodiment of the present invention provides,
Described separative element 201, for by described picture except foreground content remaining background content be set to transparent.
Please refer to Fig. 9, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, this terminal may be used for the method implementing the picture processing provided in above-described embodiment.Specifically:
Terminal 1200 can comprise RF (RadioFrequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wirelessfidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 9, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA (LowNoiseAmplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1200.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1200 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig .9, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 1200 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 1200 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 1200 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 1200.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 1200.
WiFi belongs to short range wireless transmission technology, and terminal 1200 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 9 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 1200, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 1200, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 1200, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 1200 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 1200 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor state more than one or one routine package containing the instruction for carrying out following operation:
According to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture;
The special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of described picture;
Background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of described terminal, also comprise the instruction for performing following operation:
According to another special effect processing type that user specifies, background content remaining after being separated foreground content is made to the special effect processing of another special effect processing type described in described picture;
By the foreground content after special effect processing with do the background content after special effect processing according to another special effect processing type and synthesize, generate the picture after special effect processing.
In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of described terminal, also comprise the instruction for performing following operation:
The background content of another picture that user specifies is done to the special effect processing of another special effect processing type;
Synthesize by the foreground content after special effect processing with according to the background content that another special effect processing type described makees another picture after special effect processing, generate the picture after special effect processing.
In the 4th kind of possible embodiment provided, in the storer of described terminal, also comprise the instruction for performing following operation based on first, second or the third possible embodiment:
Identify that user makes the application area of smearing operation on the picture of special effect processing described to be done;
Using the foreground content of described application area as described picture, from described picture, isolate the foreground content of described picture.
In the 5th kind of possible embodiment provided based on the embodiment that the third is possible, in the storer of described terminal, also comprise the instruction for performing following operation:
By in described picture except foreground content remaining background content be set to transparent.
In sum, the terminal that the present embodiment provides, according to the lock out operation instruction of user for the picture of special effect processing to be done, isolates the foreground content of described picture from described picture; The special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of described picture; Background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.Separating treatment can be carried out to the content on picture, thus make the pictures after special effect processing presents different special effect processing effects.
As another aspect, yet another embodiment of the invention additionally provides a kind of computer-readable recording medium, and this computer-readable recording medium can be the computer-readable recording medium comprised in the storer in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.Described computer-readable recording medium stores more than one or one program, and described more than one or one program is used for the method for an execution picture processing by one or more than one processor, described method comprises:
According to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture;
The special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of described picture;
Background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.
Suppose that above-mentioned is the first possible embodiment, in the embodiment that the second then provided based on the embodiment that the first is possible is possible, described special effect processing type of specifying according to user, when making the special effect processing of described special effect processing type to the foreground content of described picture, described method also comprises:
According to another special effect processing type that user specifies, background content remaining after being separated foreground content is made to the special effect processing of another special effect processing type described in described picture;
Background content after described special effect processing of the foreground content after special effect processing and user being specified is synthesized, and generates the picture after special effect processing, comprising:
By the foreground content after special effect processing with do the background content after special effect processing according to another special effect processing type and synthesize, generate the picture after special effect processing.
In the third the possible embodiment provided based on the embodiment that the first is possible, described special effect processing type of specifying according to user, when making the special effect processing of described special effect processing type to the foreground content of described picture, described method also comprises:
The background content of another picture that user specifies is done to the special effect processing of another special effect processing type;
Background content after described special effect processing of the foreground content after special effect processing and user being specified is synthesized, and generates the picture after special effect processing, comprising:
Synthesize by the foreground content after special effect processing with according to the background content that another special effect processing type described makees another picture after special effect processing, generate the picture after special effect processing.
Based on first, second or the third possible embodiment and in the 4th kind of possible embodiment provided, described according to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture, comprising:
Identify that user makes the application area of smearing operation on the picture of special effect processing described to be done;
Using the foreground content of described application area as described picture, from described picture, isolate the foreground content of described picture.
In the 5th kind of possible embodiment provided based on the embodiment that the third is possible, the described foreground content isolating described picture from described picture, comprising:
By in described picture except foreground content remaining background content be set to transparent.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Above the method for the picture processing that the embodiment of the present invention provides and device are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for picture processing, is characterized in that, comprising:
According to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture;
The special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of described picture;
Background content after the special effect processing of specify the foreground content after special effect processing and user is synthesized, generate the picture after special effect processing, and the special effect processing type of background content after the described user special effect processing of specifying is different from the special effect processing type of described foreground content.
2. method according to claim 1, is characterized in that, described special effect processing type of specifying according to user, and when making the special effect processing of described special effect processing type to the foreground content of described picture, described method also comprises:
According to another special effect processing type that user specifies, background content remaining after being separated foreground content is made to the special effect processing of another special effect processing type described in described picture;
Background content after described special effect processing of the foreground content after special effect processing and user being specified is synthesized, and generates the picture after special effect processing, comprising:
By the foreground content after special effect processing with do the background content after special effect processing according to another special effect processing type and synthesize, generate the picture after special effect processing.
3. method according to claim 1, is characterized in that, described special effect processing type of specifying according to user, and when making the special effect processing of described special effect processing type to the foreground content of described picture, described method also comprises:
The background content of another picture that user specifies is done to the special effect processing of another special effect processing type;
Background content after described special effect processing of the foreground content after special effect processing and user being specified is synthesized, and generates the picture after special effect processing, comprising:
Synthesize by the foreground content after special effect processing with according to the background content that another special effect processing type described makees another picture after special effect processing, generate the picture after special effect processing.
4., according to the arbitrary described method of claim 1-3, it is characterized in that, described according to the lock out operation instruction of user for the picture of special effect processing to be done, from described picture, isolate the foreground content of described picture, comprising:
Identify that user makes the application area of smearing operation on the picture of special effect processing described to be done;
Using the foreground content of described application area as described picture, from described picture, isolate the foreground content of described picture.
5. method according to claim 3, is characterized in that, the described foreground content isolating described picture from described picture, comprising:
By in described picture except foreground content remaining background content be set to transparent.
6. a device for picture processing, is characterized in that, comprising:
Separative element, for according to the lock out operation instruction of user for the picture of special effect processing to be done, isolates the foreground content of described picture from described picture;
Special effect processing unit, for the special effect processing type of specifying according to user, makes the special effect processing of described special effect processing type to the foreground content of the described picture that described separative element is separated;
Synthesis unit, synthesizes for the background content after the special effect processing of the foreground content after described special effect processing unit special effect processing and user being specified, and generates the picture after special effect processing.
7. device according to claim 6, is characterized in that,
Described special effect processing unit, another special effect processing type also for specifying according to user, makes the special effect processing of another special effect processing type described to background content remaining after being separated foreground content in described picture;
Described synthesis unit, for by the foreground content after special effect processing with do the background content after special effect processing according to another special effect processing type and synthesize, generates the picture after special effect processing.
8. device according to claim 6, is characterized in that,
Described special effect processing unit, also does the special effect processing of another special effect processing type for the background content of another picture of specifying user;
Described synthesis unit, for synthesizing by the foreground content after special effect processing with according to the background content that another special effect processing type described makees another picture after special effect processing, generates the picture after special effect processing.
9., according to the arbitrary described device of claim 6-8, it is characterized in that,
Described separative element, for identifying that user makes the application area of smearing operation on the picture of special effect processing described to be done, using the foreground content of described application area as described picture, isolates the foreground content of described picture from described picture.
10. device according to claim 8, is characterized in that, described device also comprises:
Described separative element, for by described picture except foreground content remaining background content be set to transparent.
CN201410373410.0A 2014-07-31 2014-07-31 Image processing method and apparatus Pending CN105321197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410373410.0A CN105321197A (en) 2014-07-31 2014-07-31 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410373410.0A CN105321197A (en) 2014-07-31 2014-07-31 Image processing method and apparatus

Publications (1)

Publication Number Publication Date
CN105321197A true CN105321197A (en) 2016-02-10

Family

ID=55248510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410373410.0A Pending CN105321197A (en) 2014-07-31 2014-07-31 Image processing method and apparatus

Country Status (1)

Country Link
CN (1) CN105321197A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578369A (en) * 2017-09-08 2018-01-12 北京奇虎科技有限公司 Video data handling procedure and device, computing device
CN107767391A (en) * 2017-11-02 2018-03-06 北京奇虎科技有限公司 Landscape image processing method, device, computing device and computer-readable storage medium
CN108037872A (en) * 2017-11-29 2018-05-15 上海爱优威软件开发有限公司 A kind of photo editing method and terminal device
CN110012352A (en) * 2019-04-17 2019-07-12 广州华多网络科技有限公司 Image special effect processing method, device and net cast terminal
CN110047057A (en) * 2019-03-05 2019-07-23 惠州Tcl移动通信有限公司 A kind of image processing method, terminal and storage device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100172586A1 (en) * 2009-01-08 2010-07-08 Samsung Electronics Co., Ltd. Real-time image collage method and apparatus
CN102446352A (en) * 2011-09-13 2012-05-09 深圳市万兴软件有限公司 Video image processing method and device
US20120327172A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Modifying video regions using mobile device input
CN103813106A (en) * 2012-11-12 2014-05-21 索尼公司 Image Processing Device, Image Processing Method And Program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100172586A1 (en) * 2009-01-08 2010-07-08 Samsung Electronics Co., Ltd. Real-time image collage method and apparatus
US20120327172A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Modifying video regions using mobile device input
CN102446352A (en) * 2011-09-13 2012-05-09 深圳市万兴软件有限公司 Video image processing method and device
CN103813106A (en) * 2012-11-12 2014-05-21 索尼公司 Image Processing Device, Image Processing Method And Program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578369A (en) * 2017-09-08 2018-01-12 北京奇虎科技有限公司 Video data handling procedure and device, computing device
CN107767391A (en) * 2017-11-02 2018-03-06 北京奇虎科技有限公司 Landscape image processing method, device, computing device and computer-readable storage medium
CN108037872A (en) * 2017-11-29 2018-05-15 上海爱优威软件开发有限公司 A kind of photo editing method and terminal device
CN110047057A (en) * 2019-03-05 2019-07-23 惠州Tcl移动通信有限公司 A kind of image processing method, terminal and storage device
CN110012352A (en) * 2019-04-17 2019-07-12 广州华多网络科技有限公司 Image special effect processing method, device and net cast terminal
CN110012352B (en) * 2019-04-17 2020-07-24 广州华多网络科技有限公司 Image special effect processing method and device and video live broadcast terminal

Similar Documents

Publication Publication Date Title
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN104978115A (en) Content display method and device
CN103530115B (en) Application program display method and device and terminal equipment
CN103399633A (en) Wireless remote control method and mobile terminal
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN104238893A (en) Video preview image displaying method and device
CN104134043B (en) Content is hidden, separates method, device and the terminal hidden
CN104820665A (en) Method, terminal and server for exhibiting recommendation information
CN105183296A (en) Interactive interface display method and device
CN104967790A (en) Photo shooting method, photo shooting apparatus and mobile terminal
CN104679381A (en) Method and device for switching chat box
CN105306802A (en) Photographing mode switching method and device
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN105321197A (en) Image processing method and apparatus
CN104157007A (en) Video processing method and apparatus
CN104036536A (en) Generating method and apparatus of stop motion animation
CN105279186A (en) Image processing method and system
CN104423875A (en) Information display method and device
CN104991699A (en) Video display control method and apparatus
CN104021129A (en) Picture group display method and terminal
CN104820546A (en) Functional information exhibition method and apparatus
CN104571778A (en) Lock screen picture setting method and device
CN103677944B (en) A kind of method for making locking screen interface, device and terminal device
CN105653220A (en) Screen data display method and device in remote control
CN104346028A (en) Address bar display method, device and mobile terminal

Legal Events

Date Code Title Description
C06 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: 20160210

RJ01 Rejection of invention patent application after publication