Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
A kind of processing method of image information is disclosed in the embodiment of the present invention, as shown in connection with fig. 1, comprising:
Step 101: the picture material in Target Photo being identified, multiple images component part is obtained.
Wherein, which is the initial picture of pending content recognition, which can be through user's
Upload operation obtains, or according to user's operation, downloads and obtain from network.
Identifying to the picture material in the Target Photo can be by obtaining color change, brightness of image in image
The information such as light and shade variation carry out picture material identification, if in Target Photo including face, the rainbow of acquisition can be passed through
The information such as film, white of the eye texture carry out picture material identification.
If the display main body in Target Photo is a pet, it can identify the head of pet, identify in head
The images component part such as eyes, tooth, ear;If the display main body in Target Photo is that can equally know comprising portrait
The images component part such as hair, ear, eyes, nose, cheek, tooth is identified on the head of others' picture;If in Target Photo
Display main body be a plant, then can identify the images component parts such as flower, leaf and soil according to information such as colors.
Step 102: obtaining the target image component part that user selects in the multiple images component part of Target Photo.
The acquisition of the target image component part can be the selection operation by obtaining user, true according to selection operation
Determining target site selected by user is which, after determination obtains the selected target image component part of user, based on this
Target image component part obtains corresponding paster.
Step 103: according to the corresponding relationship of preset each image component part and paster type, obtaining and the target image
The matched target paster type of component part.
Specifically, an image component part corresponds to a kind of target paster type, needs pre-set image group in systems
At the corresponding relationship of part and paster type, for example, eyes can correspond to the paster of glasses class, mouth position can correspond to beard
The paster of class.Those corresponding relationships can be divided specifically according to actual needs, in the target image composition for obtaining user's selection
After part, the corresponding paster type of corresponding site can be got according to the corresponding relationship.Each image component part and patch
The corresponding relationship of sheet type can also be customized by the user setting for what is defined in advance inside system.
Step 104: showing paster picture corresponding to the target paster type.
At least one, which is corresponding with, in one paster type puts up paper picture.Obtain it is matched with the target image component part
After target paster type, it can be shown, in order to view the display effect of paster.For example, when clicking eyes,
The paster of glasses is only shown in the paster of current interface, reduction user must choose the paster of needs from various types of pasters
Troublesome operations show convenient for choosing convenient for effect.
The processing method of image information in the embodiment of the present invention is obtained by the picture material in identification Target Photo
Multiple images component part obtains the target image component part that user selects in multiple image component part, according to pre-
If each image component part and paster type corresponding relationship, obtain and the matched target paster of the target image component part
Type, and show paster picture corresponding to the target paster type;The process first identifies each position, user in picture
When clicking corresponding position in photo, by the corresponding relationship of preset image component part and paster, directly acquires and be somebody's turn to do
The matched paster in position shows the paster type that paster is needed by user, exclude other unwanted paster types and
Interference of the paster picture to picture treatment process facilitates user to search corresponding paster, and use process is convenient and efficient, improves and uses
Efficiency, it is more humanized.
Second embodiment
A kind of processing method of image information is disclosed in the embodiment of the present invention, as shown in connection with fig. 2, comprising:
Step 201: obtaining the object region in Target Photo.
The object region is a part in Target Photo, which is, for example, human face region, or
The image display area of one default or user click the image display area that picture is chosen, with target
The identification object that a part of region in picture is used as carries out the identification of component part, increases the specific aim of operation and the standard of identification
Exactness.
Step 202: picture material of the Target Photo in object region being identified, multiple images group is obtained
At part.
Picture material in the object region is identified, it can be by obtaining the color change in image, figure
The information such as the light and shade variation of image brightness obtain image component part, if object region is human face region, can pass through
The information such as iris, the white of the eye texture of acquisition cooperate the information such as color change, the variation of the light and shade of brightness of image to carry out picture material knowledge
It Huo Qu not the image component part such as eyes, hair, mouth in face.
Step 203: recording the coordinate range of each image component part identified, establish coordinate range and image forms
Partial corresponding relationship.
Coordinate can be established on a display screen, it, can be by seat locating for each position when identifying multiple images component part
Mark range is recorded, and coordinate range is mapped from different image component parts, in order to which know user's selection is
Which component part, to carry out subsequent operation.
By taking portrait as an example, hair can be identified, ear, glasses, nose, cheek, the positions such as tooth after identifying, are remembered
The coordinate range at each position is recorded, and establishes the corresponding relationship at coordinate range and position.
Step 204: obtaining the position coordinates of user's clicking operation in the Target Photo.
When user by clicking operation to choose target site when, in the clicking operation for receiving user, you can learn that
Corresponding position coordinates.
Step 205: according to the position coordinates of the clicking operation, from the corresponding relationship of the coordinate range and image component part
In, obtain the target image component part that user chooses.
In the step, after the position coordinates for getting user's clicking operation, that is, seat locating for the position coordinates can determine
Range is marked, according to the corresponding relationship of the coordinate range and image component part established in abovementioned steps, obtains the position coordinates
Corresponding target image component part.
As a specific embodiment, wherein the position coordinates according to clicking operation, from coordinate range and image group
At the step of in the corresponding relationship of part, obtaining the target image component part that user chooses, comprising:
If the position coordinates of the clicking operation are in the first coordinate range, it is determined that the corresponding image of the first coordinate range
Component part is the target image component part;If the position coordinates of the clicking operation are not at the first coordinate range, and with
Relative offset between two coordinate ranges is in setting range, it is determined that the corresponding image component part of second coordinate range
For the target image component part.
On the one hand, operation is in coordinate range corresponding to any image component part identified when the user clicks, i.e.,
The corresponding image component part of the coordinate range can be determined as to the target image component part of user's selection;On the other hand, when
When user clicks selection target component part, due to the limitation of image component part display size, it is possible that click location
It is not in coordinate range corresponding to any image component part identified, click location and the part for wanting selection originally
Position between generate positional shift, as long as at this point, click location and relative position interregional defined by coordinate range
Offset is in setting range, then it is assumed that image component part corresponding to the coordinate range is the target image component part.
As a specific embodiment, wherein the position coordinates according to clicking operation, from coordinate range and image group
At the step of in the corresponding relationship of part, obtaining the target image component part that user chooses, comprising:
If the position coordinates of the clicking operation are not at the first coordinate range, and the relative position between the second coordinate range
It is shifted out setting range, it is determined that other regions on Target Photo in addition to each image component part recognized are should
Target image component part.
When choosing target component part when the user clicks, if the position coordinates clicked are not at any and image that is identifying
In coordinate range corresponding to component part, also the relative offset between any coordinate range is not in setting range, then
It is believed that the target area of the clicked selection of user is its in addition to each image component part recognized on Target Photo
His region, which is the target image component part that user wants to choose.
Step 206: according to the corresponding relationship of preset each image component part and paster type, obtaining and target image group
At the matched target paster type in part.
Specifically, an image component part corresponds to a kind of target paster type, needs pre-set image group in systems
At the corresponding relationship of part and paster type, those corresponding relationships can be divided specifically according to actual needs.Obtaining user
After the target image component part of selection, the corresponding paster type of corresponding site can be got according to the corresponding relationship.
As a specific embodiment, wherein when the position coordinates of clicking operation are not at the first coordinate range, and with
Relative offset between second coordinate range exceeds setting range, it is determined that except each image group recognized on Target Photo
At other regions except part be the target image component part when, this is according to preset each image component part and paster class
The corresponding relationship of type, the step of obtaining target paster type matched with target image component part, comprising:
According to the corresponding relationship of preset each image component part and paster type, obtain and target image composition portion
Divide matched at least one target paster type;Wherein, the paster type to match with each position recognized is especially to paste
Sheet type, at least one target paster type include: other patches in all paster types in addition to the special paster type
Sheet type.
When the region that user chooses is other regions on Target Photo in addition to each image component part recognized
When, setting will be all in addition to paster type corresponding with each image component part recognized in all paster types
Other paster types, which are all shown, to be come, so that user selects.For different regions provide different paster types for
User's selection, improves the convenience of user's operation.
By taking portrait as an example, such as four positions of eyes, hair, ear, nose in face are had identified at present, this four
There is corresponding paster type at position;If position that user clicks simultaneously is not belonging to this four positions and opposite with four positions
Positional shift exceeds setting range, then shows other type pasters, for example, if click location is on image side
Edge can directly match frame paster type, add frame to picture.
Step 207: whole paster pictures corresponding to displaying target paster type outside Target Photo.
It, then can will be corresponding to target paster type when obtaining target paster type matched with target image component part
Whole paster pictures shown that being particularly shown position is in region on display interface outside Target Photo, to facilitate user's base
Selection collocation is carried out in those whole paster pictures.
Step 208: the target image component part in Target Photo shows the default paster figure in whole paster pictures
Piece.
It, will be complete corresponding to target paster type when obtaining target paster type matched with target image component part
While portion's paster picture is shown, target image group that the default paster picture in whole paster pictures is selected in user
At partially being shown, and default and choose one, which can be pre-set to carry out according to statistical data
Picture is specifically as follows the highest picture of user's frequency of usage in statistical data.
Specifically, the default paster figure being somebody's turn to do in the whole paster pictures of target image component part display in Target Photo
The display process of piece can be the surface that default paster picture is covered on to target image component part automatically.Such as glasses, by
In the coordinate range for having been obtained for eyes, the size of glasses can also be modified as meeting eyes size, and be covered on eye automatically
On eyeball, the trouble that user manually adjusts the size and location of glasses is eliminated.
As a specific embodiment, wherein if the target image component part that user chooses includes: first object figure
As component part and the second target image component part, wrapped respectively with the matched target paster type of the target image component part
It includes: first object paster type and the second target paster type;Then the target image component part in Target Photo shows institute
The step of stating the default paster picture in whole paster pictures, comprising:
It is shown on first object image component part in whole paster pictures corresponding to first object paster type
First default paster picture;Whole pasters corresponding to the second target paster type are shown on the second target image component part
The second default paster picture in picture;Wherein, the described second default paster picture and the first default paster picture be according to
Data carry out one group of picture of association setting in advance according to statistics.
Wherein, which matches with first object image component part, the second target paster class
Type matches with the second target image component part.When user selected in the multiple images component part of Target Photo include
When at least two part including first object image component part and the second target image component part, according to preset each figure
As the corresponding relationship of component part and paster type, obtain including first object paster type and the second target paster type
At least two paster types, whole pasters corresponding to those paster types are shown in the display interface respectively, will
It presets paster picture in the paster picture of each type to show in target image component part, at this point, will match respectively the
One default paster picture and the second paster picture show in corresponding position, so that when user clicks multiple component parts, it can
Preferred arranging effect is provided the user with, user experience is promoted.The foundation statistical data carries out a group picture of association setting in advance
Piece, user's collocation highest one group of picture of frequency of usage specially in statistical data.
The process can specifically correspond to user and continuously click selection to image component part.For example, adopting consecutive click chemical reaction eyes and
Ear can then show the corresponding glasses of eyes, and the paster of the corresponding earrings of ear is so that it is convenient to which user carries out arranging effect pair
Than.The case where for adopting consecutive click chemical reaction, it can recorde the selecting object of user, and by the content uploading of user's selection to cloud service
Device, by the selection of the multiple users of server analysis, statistics obtains the recommendation combination for arranging in pairs or groups most.Such as glasses one and earrings third is that
Most user's selections, then it is preferential to show.
The processing method of image information in the embodiment of the present invention is obtained by the picture material in identification Target Photo
Multiple images component part establishes the corresponding relationship of coordinate range Yu image component part, according to the corresponding relationship, obtains user
The target image component part selected in multiple image component part, according to preset each image component part and paster class
The corresponding relationship of type, obtain with the matched target paster type of the target image component part, and show the target paster type
Corresponding paster picture;The process first identifies each position in picture, when user clicks corresponding position in photo,
By the corresponding relationship of preset image component part and paster, directly acquire with the matched paster in the position, by paster by use
The paster type that family needs is shown, and excludes other unwanted paster types and paster picture does picture treatment process
It disturbs, user is facilitated to search corresponding paster, use process is convenient and efficient, improves service efficiency, more humanized.
3rd embodiment
The embodiment of the present invention discloses a kind of mobile terminal, is able to achieve image information of the first embodiment into second embodiment
Processing method details, and reach identical effect.In conjunction with shown in Fig. 3, Fig. 4, comprising: identification module 301 obtains module
302, module 303 and display module 304 are obtained.
Identification module 301 obtains multiple images component part for identifying to the picture material in Target Photo.
Obtain module 302, the target selected in the multiple images component part of the Target Photo for obtaining user
Image component part.
Module 303 is obtained, for the corresponding relationship according to preset each image component part and paster type, is obtained and institute
State the matched target paster type of target image component part.
Display module 304, for showing paster picture corresponding to the target paster type.
Wherein, which includes: acquisition submodule 3011 and identification submodule 3012.
Acquisition submodule 3011, for obtaining the object region in the Target Photo.
Submodule 3012 is identified, for knowing to picture material of the Target Photo in the object region
Not, multiple images component part is obtained.
Wherein, obtaining module 302 includes: relationship setting up submodule 3021, the first acquisition submodule 3022 and the second acquisition
Submodule 3023.
Relationship setting up submodule 3021 is established and is sat for recording the coordinate range of each image component part identified
Mark the corresponding relationship of range and image component part.
First acquisition submodule 3022, for obtaining the position coordinates of user's clicking operation in the Target Photo.
Second acquisition submodule 3023, for the position coordinates according to the clicking operation, from the coordinate range and figure
As component part corresponding relationship in, obtain the target image component part that the user chooses.
Wherein, the second acquisition submodule 3023 includes: the first determination unit 30231 and the second determination unit 30232.
First determination unit 30231, if the position coordinates for the clicking operation are in the first coordinate range, it is determined that
The corresponding image component part of first coordinate range is the target image component part.
Second determination unit 30232, if the position coordinates for the clicking operation are not at the first coordinate range, and with
Relative offset between second coordinate range is in setting range, it is determined that the corresponding image composition of second coordinate range
Part is the target image component part.
Wherein, the second acquisition submodule 3023 includes: third determination unit 30233.
Third determination unit 30233, if the position coordinates for the clicking operation are not at the first coordinate range, and with
Relative offset between second coordinate range exceeds setting range, it is determined that except each figure recognized on the Target Photo
As other regions except component part are the target image component part.
Wherein, it includes: to obtain submodule 3031 that this, which obtains module 303,.
Submodule 3031 is obtained, for the corresponding relationship according to preset each image component part and paster type, is obtained
With the matched at least one target paster type of the target image component part;Wherein, with each position phase for recognizing
The paster type matched is special paster type, and at least one target paster type includes: in all paster types except described
Other paster types outside special paster type.
Wherein, which includes: the first display sub-module 3041 and the second display sub-module 3042.
First display sub-module 3041 is complete corresponding to the target paster type for showing outside the Target Photo
Portion's paster picture.
Second display sub-module 3042, show for the target image component part in the Target Photo described in
Default paster picture in whole paster pictures.
Wherein, the target image component part that the user chooses includes: first object image component part and the
Two target image component parts, with the matched target paster type of the target image component part respectively include: first object
Paster type and the second target paster type;Second display sub-module 3042 includes: that the first display unit 30421 and second is aobvious
Show unit 30422.
First display unit 30421, for showing first object paster type institute on first object image component part
The first default paster picture in corresponding whole paster picture.
Second display unit 30422, for showing the second target paster type institute on the second target image component part
The second default paster picture in corresponding whole paster picture.
Wherein, the described second default paster picture and the first default paster picture are to carry out in advance according to statistical data
It is associated with one group of picture of setting.
Mobile terminal in the embodiment of the present invention obtains multiple images group by the picture material in identification Target Photo
At part, the target image component part that user selects in multiple image component part is obtained, according to preset each image
The corresponding relationship of component part and paster type, obtain with the matched target paster type of the target image component part, and show
Show paster picture corresponding to the target paster type;The process, first identifies each position in picture, and user clicks in photo
When corresponding position, by the corresponding relationship of preset image component part and paster, directly acquire matched with the position
Paster shows the paster type that paster is needed by user, excludes other unwanted paster types and paster picture pair
The interference of picture treatment process facilitates user to search corresponding paster, and use process is convenient and efficient, improves service efficiency, more
Hommization.
Fourth embodiment
As shown in figure 5, the mobile terminal 600 includes: at least one processor 601, memory 602, at least one network
Interface 604 and user interface 603 and camera (not shown).Various components in mobile terminal 600 pass through bus system 605
It is coupled.It is understood that bus system 605 is for realizing the connection communication between these components.Bus system 605 is removed
It further include power bus, control bus and status signal bus in addition except data/address bus.But for the sake of clear explanation, in Fig. 5
It is middle that various buses are all designated as bus system 605.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application
The program or instruction stored in program 6022, processor 601 obtain more for identifying to the picture material in Target Photo
A image component part;Obtain the target image composition portion that user selects in the multiple images component part of the Target Photo
Point;According to the corresponding relationship of preset each image component part and paster type, obtain and the target image component part
The target paster type matched;Show paster picture corresponding to the target paster type.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 601 is also used to: obtaining the object region in the Target Photo;To the target figure
Picture material of the piece in the object region is identified, multiple images component part is obtained.
As another embodiment, processor 601 is also used to: recording the coordinate model of each image component part identified
It encloses, establishes the corresponding relationship of coordinate range Yu image component part;Obtain the position of user's clicking operation in the Target Photo
Set coordinate;It is obtained according to the position coordinates of the clicking operation from the corresponding relationship of the coordinate range and image component part
The target image component part for taking the user to choose.
Optionally, as another embodiment, processor 601 is also used to: if the position coordinates of the clicking operation are in
First coordinate range, it is determined that the corresponding image component part of first coordinate range is the target image component part;
If the position coordinates of the clicking operation are not at the first coordinate range, and at the relative offset between the second coordinate range
In setting range, it is determined that the corresponding image component part of second coordinate range is the target image component part.
Optionally, as another embodiment, processor 601 is also used to: if the position coordinates of the clicking operation are not located
In the first coordinate range, and the relative offset between the second coordinate range exceeds setting range, it is determined that the target figure
Other regions of on piece in addition to each image component part recognized are the target image component part.
Optionally, as another embodiment, processor 601 is also used to: according to preset each image component part and patch
The corresponding relationship of sheet type obtains and the matched at least one target paster type of the target image component part;Wherein, with
The paster type that each position recognized matches is special paster type, and at least one target paster type includes:
Other paster types in all paster types in addition to the special paster type.
Optionally, as another embodiment, processor 601 is also used to: the target is shown outside the Target Photo
Whole paster pictures corresponding to paster type;The target image component part in the Target Photo shows described complete
Default paster picture in portion's paster picture.
Optionally, as another embodiment, the target image component part that the user chooses includes: the first mesh
Logo image component part and the second target image component part, with the matched target paster type of the target image component part
Respectively include: first object paster type and the second target paster type;Processor 601 is also used to: in first object image group
At the first default paster picture shown on part in whole paster pictures corresponding to first object paster type;In the second mesh
The second default paster picture in whole paster pictures corresponding to the second target paster type is shown on logo image component part;
Wherein, the described second default paster picture and the first default paster picture are that association setting in advance is carried out according to statistical data
One group of picture.
The mobile terminal can be realized each process that terminal is realized in previous embodiment, to avoid repeating, here no longer
It repeats.
Mobile terminal in the embodiment of the present invention obtains multiple images group by the picture material in identification Target Photo
At part, the target image component part that user selects in multiple image component part is obtained, according to preset each image
The corresponding relationship of component part and paster type, obtain with the matched target paster type of the target image component part, and show
Show paster picture corresponding to the target paster type;The process, first identifies each position in picture, and user clicks in photo
When corresponding position, by the corresponding relationship of preset image component part and paster, directly acquire matched with the position
Paster shows the paster type that paster is needed by user, excludes other unwanted paster types and paster picture pair
The interference of picture treatment process facilitates user to search corresponding paster, and use process is convenient and efficient, improves service efficiency, more
Hommization.
5th embodiment
As shown in fig. 6, the mobile terminal 700 can be mobile phone, tablet computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 700 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 710, memory 720, input
Unit 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) module 780 and electricity
Source 790 and camera (not shown).
Wherein, input unit 730 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 700 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 731.Touch panel 731, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 731 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 731 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 760 is given again, and can be received order that processor 760 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input unit
730 can also include other input equipments 732, other input equipments 732 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 740 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 700.Display unit 740 may include display panel 741, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 741.
It should be noted that touch panel 731 can cover display panel 741, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 760 is sent to determine the type of touch event, is followed by subsequent processing device
760 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 760 is the control centre of mobile terminal 700, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 721, and calling storage
Data in second memory 722 execute the various functions and processing data of mobile terminal 700, thus to mobile terminal 700
Carry out integral monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/
Or the data in the second memory 722, processor 760 obtain more for identifying to the picture material in Target Photo
A image component part;Obtain the target image composition portion that user selects in the multiple images component part of the Target Photo
Point;According to the corresponding relationship of preset each image component part and paster type, obtain and the target image component part
The target paster type matched;Show paster picture corresponding to the target paster type.
Optionally, as another embodiment, processor 760 is also used to obtain the object-image region in the Target Photo
Domain;Picture material of the Target Photo in the object region is identified, multiple images component part is obtained.
Optionally, as another embodiment, processor 760 is also used to record the seat of each image component part identified
Range is marked, the corresponding relationship of coordinate range Yu image component part is established;Obtain user's clicking operation in the Target Photo
Position coordinates;According to the position coordinates of the clicking operation, from the corresponding relationship of the coordinate range and image component part
In, obtain the target image component part that the user chooses.
Optionally, as another embodiment, if the position coordinates that processor 760 is also used to the clicking operation are in first
Coordinate range, it is determined that the corresponding image component part of first coordinate range is the target image component part;If institute
The position coordinates for stating clicking operation are not at the first coordinate range, and the relative offset between the second coordinate range is in and sets
Determine range, it is determined that the corresponding image component part of second coordinate range is the target image component part.
Optionally, as another embodiment, if the position coordinates that processor 760 is also used to the clicking operation are not at
One coordinate range, and the relative offset between the second coordinate range exceeds setting range, it is determined that on the Target Photo
Other regions in addition to each image component part recognized are the target image component part.
Optionally, as another embodiment, processor 760 is also used to according to preset each image component part and paster
The corresponding relationship of type obtains and the matched at least one target paster type of the target image component part;Wherein, with knowledge
The paster type that each position being clipped to matches is special paster type, and at least one target paster type includes: institute
There are other paster types in paster type in addition to the special paster type.
Optionally, as another embodiment, processor 760 is also used to show the target patch outside the Target Photo
Whole paster pictures corresponding to sheet type;The target image component part in the Target Photo shows the whole
Default paster picture in paster picture.
Optionally, as another embodiment, the target image component part that the user chooses includes: the first mesh
Logo image component part and the second target image component part, with the matched target paster type of the target image component part
Respectively include: first object paster type and the second target paster type;Processor 760 is also used to form in first object image
The first default paster picture in whole paster pictures corresponding to first object paster type is shown on part;In the second target
The second default paster picture in whole paster pictures corresponding to the second target paster type is shown on image component part;Its
In, the second default paster picture and the first default paster picture are that association setting in advance is carried out according to statistical data
One group of picture.
The mobile terminal can be realized each process that terminal is realized in previous embodiment, to avoid repeating, here no longer
It repeats.
Mobile terminal in the embodiment of the present invention obtains multiple images group by the picture material in identification Target Photo
At part, the target image component part that user selects in multiple image component part is obtained, according to preset each image
The corresponding relationship of component part and paster type, obtain with the matched target paster type of the target image component part, and show
Show paster picture corresponding to the target paster type;The process, first identifies each position in picture, and user clicks in photo
When corresponding position, by the corresponding relationship of preset image component part and paster, directly acquire matched with the position
Paster shows the paster type that paster is needed by user, excludes other unwanted paster types and paster picture pair
The interference of picture treatment process facilitates user to search corresponding paster, and use process is convenient and efficient, improves service efficiency, more
Hommization.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, in embodiments of the present invention, relational terms such as first and second and the like are only
Only it is used to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying these realities
There are any actual relationship or orders between body or operation.Moreover, the terms "include", "comprise" or its it is any its
He is intended to non-exclusive inclusion by variant, so that process, method, article or terminal including a series of elements are set
Standby includes not only those elements, but also including other elements that are not explicitly listed, or further includes for this process, side
Method, article or the intrinsic element of terminal device.In the absence of more restrictions, being limited by sentence "including a ..."
Fixed element, it is not excluded that including that there is also other identical in the process, method of the element, article or terminal device
Element.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.