CN109361861A - A kind of image processing method and mobile terminal - Google Patents
A kind of image processing method and mobile terminal Download PDFInfo
- Publication number
- CN109361861A CN109361861A CN201811354647.9A CN201811354647A CN109361861A CN 109361861 A CN109361861 A CN 109361861A CN 201811354647 A CN201811354647 A CN 201811354647A CN 109361861 A CN109361861 A CN 109361861A
- Authority
- CN
- China
- Prior art keywords
- clothes
- attribute
- option
- mobile terminal
- preview image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of image processing method and mobile terminals, belong to technical field of mobile terminals.Wherein, the available preview image of mobile terminal, then the corresponding clothes adjustment option of different garment attribute is shown, then, user can be received to the selection operation of clothes adjustment option, it is adjusted according to clothes attribute of the selection operation to clothes region in preview image, finally, in the confirmation instruction for receiving user's transmission, preview image adjusted can be determined as target image, in this way, by being adjusted to clothes region, largely change the whole style of image, and then improve the landscaping effect of image, improves user experience.
Description
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of image processing method and mobile terminal.
Background technique
It is universal with mobile terminal, mobile terminal using more and more extensive, user is in the process using mobile terminal
In, often image is shot using mobile terminal.In order to improve user to the satisfaction of captured image, how to improve and clapped
Take the photograph image effect become people's extensive concern between inscribe.
In the prior art, U.S. face often carried out to the human face region in image, the operation such as makeups improves whole with this
The aesthetic feeling and texture of image, and then improve the effect of image.
But also there is large effect in other regions in image for the overall effect of image, for example, the clothes in image
Region is filled, the whole style of image can be significantly influenced, only human face region be beautified in the prior art, not to clothes
The various details of dress are beautified, and are caused the effect of image procossing poor, are influenced user experience.
Summary of the invention
The present invention provides a kind of image processing method and mobile terminal, poor to solve image processing effect, influences to use
The problem of family is experienced.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of image processing method, it is applied to mobile terminal, this method can be with
Include:
Obtain preview image;
Show that the corresponding clothes of different garment attribute adjust option;
User is received to the selection operation of clothes adjustment option, and according to the selection operation to the preview image
The clothes attribute in middle clothes region is adjusted, the preview image after being adjusted;
The confirmation instruction that user sends is received, and is determined as the preview image adjusted based on confirmation instruction
Target image.
Second aspect, the embodiment of the invention provides a kind of mobile terminal, which may include:
Module is obtained, for obtaining preview image;
Display module, for showing the corresponding clothes adjustment option of different garment attribute;
Module is adjusted, for receiving user to the selection operation of clothes adjustment option, and according to the selection operation
The clothes attribute in clothes region in the preview image is adjusted, the preview image after being adjusted;
Determining module, for receiving the confirmation instruction of user's transmission, and will be described adjusted based on confirmation instruction
Preview image is determined as target image.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
Now the step of image processing method as described in relation to the first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, and image procossing as described in relation to the first aspect is realized when the computer program is executed by processor
The step of method.
In embodiments of the present invention, mobile terminal can acquire preview image, then show the corresponding clothes of different garment attribute
The whole option of adjustment then can be based on user to the selection operation of clothes adjustment option, to the clothes in clothes region in preview image
Attribute is adjusted, finally, preview image adjusted can be determined as target in the confirmation instruction for receiving user's transmission
Image, in this way, largely changing the whole style of image, and then improve image by being adjusted to clothes region
Landscaping effect improves user experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart for image processing method that the embodiment of the present invention one provides;
Fig. 2-1 is a kind of step flow chart of image processing method provided by Embodiment 2 of the present invention;
Fig. 2-2 is a kind of schematic diagram of starting clothes adjustment option provided by Embodiment 2 of the present invention;
Fig. 2-3 is a kind of schematic diagram of clothes adjustment option provided by Embodiment 2 of the present invention;
Fig. 2-4 is the schematic diagram of the sub- option of an attribute provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of block diagram for mobile terminal that the embodiment of the present invention three provides;
Fig. 4 is a kind of block diagram for mobile terminal that the embodiment of the present invention four provides;
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
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.
Embodiment one
Fig. 1 is a kind of step flow chart for image processing method that the embodiment of the present invention one provides, and this method can be applied
In mobile terminal, as shown in Figure 1, this method may include:
Step 101, acquisition for mobile terminal preview image.
In embodiments of the present invention, can be in the preview image include portrait image, mobile terminal can connect
When receiving camera enabled instruction, camera is started according to the camera enabled instruction and acquires preview image, wherein the camera shooting
Head enabled instruction can be user by the shooting function of triggering mobile terminal, for example, it is mobile eventually by click to can be user
The camera applications at end are sent to mobile terminal, and certainly, which is also possible to be stored in advance figure in the terminal
Picture, or the image downloaded from network, the embodiment of the present invention are not construed as limiting this.
Step 102, mobile terminal show that the corresponding clothes of different garment attribute adjust option.
In the embodiment of the present invention, clothes attribute can for clothes material, clothing color, each building block of clothes money
One of formula, clothes type are a variety of, can correspond to etc., every kind of clothes attribute and adjust option, correspondingly, this step with clothes
In, it can show the corresponding clothes adjustment option of every kind of clothes attribute, be selected in order to which user can be adjusted based on the clothes of display
Item is adjusted the clothes region in preview image.
Step 103, mobile terminal receive user and grasp to the selection operation of clothes adjustment option, and according to the selection
The clothes attribute in clothes region in the preview image of opposing is adjusted, the preview image after being adjusted.
In the embodiment of the present invention, image district shared by the clothes that clothes region can be worn by portrait in preview image
Domain, further, user can be determined according to the effect that preview image is currently presented and the hobby of oneself in preview image
Clothes region clothes attribute regulatory demand, be then based on itself regulatory demand selection correspondingly clothes adjustment option,
Correspondingly, mobile terminal can receive the selected clothes adjustment option of user, then be operated according to the user's choice to preview
The clothes attribute in clothes region is adjusted in image.For example, user is discontented to the clothing color in clothes region in preview image
Meaning, needs the clothing color to clothes region to be adjusted, then user can choose the corresponding clothes adjustment choosing of clothing color
, correspondingly, mobile terminal can be adjusted the clothing color in clothes region in preview image.
Step 104, mobile terminal receive the confirmation instruction that user sends, and will be after the adjustment based on confirmation instruction
Preview image be determined as target image.
In the embodiment of the present invention, confirmation instruction can be user and adjust the triggering of confirmation function by the clothes of mobile terminal
, exemplary, clothes adjustment confirmation function, which can be, adjusts ACK button triggering by clothes, wherein clothes adjustment
ACK button can be entity button, be also possible to virtual push button, and the embodiment of the present invention is not construed as limiting this.Further, it moves
Dynamic terminal can receive confirmation instruction, if receiving the confirmation instruction it may be considered that customer acceptance preview image adjusted
Effect, at this point it is possible to using preview image adjusted as target image.
In conclusion the image processing method that the embodiment of the present invention one provides, mobile terminal can obtain preview image, then
It shows that the corresponding clothes of different garment attribute adjust option, then, user can be received to the selection operation of clothes adjustment option, and
It is adjusted according to clothes attribute of the selection operation to clothes region in preview image, finally, receiving user's transmission
When confirmation instruction, preview image adjusted can be determined as target image, in this way, by being adjusted to clothes region, compared with
The whole style of the change image of big degree, and then the landscaping effect of image is improved, improve user experience.
Fig. 2-1 is a kind of step flow chart of image processing method provided by Embodiment 2 of the present invention, and this method can answer
For mobile terminal, as shown in Fig. 2-1, this method may include:
Step 201, acquisition for mobile terminal preview image.
Specifically, the implementation of this step can refer to above-mentioned steps 101, the embodiment of the present invention is not construed as limiting this.
If step 202, mobile terminal are detected to the selection operation of starting clothes adjustment option, different garment category is shown
Property corresponding clothes adjust option.
In this step, starting clothes adjustment option can be it is preset, it is different for controlling mobile terminal display
The option of the corresponding clothes adjustment option of clothes attribute, specifically, starting clothes adjustment option can be a button.Into one
Step ground, mobile terminal can be when detecting selection operation of the user to starting clothes adjustment option, then shows different garment
The corresponding clothes of attribute adjust option, in this way, in this step, can keep away compared to the mode for directly displaying clothes adjustment option
Exempt from the operation for executing unnecessary display clothes adjustment option when user does not need to carry out clothes adjustment, and then can save
The operating resource of mobile terminal avoids causing to block to current interface, influences the normal use of user.
Further, starting clothes adjustment option may be displayed in taskbar, also may be displayed on preview image circle
In face, wherein the preview image interface can be the interface for showing preview image.It is exemplary, it is assumed that mobile terminal is to pass through
Start camera to acquire preview image, then preview image can be shown in the current shooting interface of camera, correspondingly,
The starting clothes can be adjusted option and shown in current shooting interface by mobile terminal.Fig. 2-2 is that the embodiment of the present invention two mentions
A kind of schematic diagram of the starting clothes adjustment option supplied shows the current shooting interface of preview image 01 as shown in Fig. 2-2
The lower right corner shows starting clothes adjustment option 02.If user needs to be adjusted the clothes region in preview image, that
User can click starting clothes adjustment option 02, and correspondingly, mobile terminal can show the corresponding clothes of different garment attribute
The whole option of adjustment.Exemplary, Fig. 2-3 is a kind of schematic diagram of clothes adjustment option provided by Embodiment 2 of the present invention, and Fig. 2-3 can
Be user click in Fig. 2-2 starting clothes adjustment option 02 after, the interface that mobile terminal is shown, as Figure 2-3, with
Clothes attribute includes clothes material, clothing color, the style of each building block of clothes and clothes type, wherein clothes are each
It include the corresponding clothes adjustment choosing of clothes material for a building block specifically includes clothing collar, clothes trouser legs, in the interface
The corresponding clothes adjustment option 04 of item 03, clothing color, the corresponding clothes of clothes type adjust the style of option 05, clothing collar
The corresponding clothes of style of corresponding clothes adjustment option 06 and clothes trouser legs adjust option 07.
Step 203, mobile terminal receive user and grasp to the selection operation of clothes adjustment option, and according to the selection
The clothes attribute in clothes region in the preview image of opposing is adjusted, the preview image after being adjusted.
Specifically, mobile terminal can be realized according to selection operation by following sub-steps (1)~sub-step (2) to preview
The clothes attribute in clothes region is adjusted in image:
Sub-step (1): it is based on preset image recognition algorithm, determines the clothes region in the preview image.
In this step, which can be the image recognition algorithm based on convolutional neural networks, tool
Body, the extraction of Edge Feature Points can be carried out to image first with the edge detection operator in convolutional neural networks, and then really
The region in preview image where portrait is made, it is of course also possible to be determined in preview image by other means where portrait
Region, for example, determining portrait region in preview image by Face Detection, the embodiment of the present invention is not construed as limiting this.It connects
, the clothes in image can be positioned according to the certain positional relationship of human body and clothes, be partitioned into clothes region.Its
In, the clothes region for including in preview image can be different, and it is exemplary, when in preview image including entire portrait, Ke Yifen
Upper body clothes region and lower body garment region are cut out, when including part portrait in preview image, upper body clothes can be partitioned into
Fill region or lower body garment region.
Sub-step (2): being the adjustment choosing of selected clothes by the clothes Attribute tuning in clothes region in the preview image
The corresponding clothes attribute of item.
In the embodiment of the present invention, the corresponding clothes adjustment option of clothes attribute may include the sub- option of at least two attributes,
Wherein, the sub- option of different attribute can indicate garment feature different under the clothes attribute, wherein different garment features can be with
Different models is indicated, specifically, the corresponding clothes of the clothes attribute adjust option when clothes attribute is clothes type
In the sub- option of different attributes can indicate the clothes of different styles, for example, in the corresponding clothes adjustment option of clothes attribute
The sub- option of different attributes can indicate movement cotta, lie fallow cotta, move long sleeves, lie fallow long sleeves commercial affairs Western-style clothes, leisure west
Dress, Jean short trousers, gym shorts, casual shorts, cowboy's trousers move trousers, leisure trousers, etc..It is clothes in clothes attribute
When filling color, the sub- option of different attributes in the corresponding clothes adjustment option of the clothes attribute indicates different clothing colors,
For example, red, yellow, blue, black, pink colour, etc..When clothes attribute is clothes material, the corresponding clothes of clothes attribute
The sub- option of different attributes in the whole option of adjustment indicates different clothes materials, for example, silk, wool, cashmere, chiffon, etc.
Deng.
When clothes attribute is the style of each building block of clothes, in the corresponding clothes adjustment option of the clothes attribute
The sub- option of different attributes can indicate the building block of the different styles of the building block, it is assumed that clothes building block is clothes
When the style of the style of collar, the style of another garment sleeve and clothes trouser legs, then the corresponding clothes tune of the style of clothing collar
The sub- option of different attributes in whole option can indicate the collar of different styles, for example, V-type collar, round collar, high type clothing
Neck, the corresponding clothes of the style of another garment sleeve, which adjust the sub- option of different attributes in option, can indicate the sleeve of different styles
Son, the corresponding clothes of the style of clothes trouser legs, which adjust the sub- option of different attributes in option, can indicate the sleeve of different trouser legs
Son.
Correspondingly, in this step, mobile terminal can first show the corresponding attribute choosing of selected clothes adjustment option
?.Assuming that selected clothes adjustment option is clothing color, then mobile terminal can show the corresponding clothes of clothing color
Adjust the corresponding sub- option of attribute of option.Exemplary, Fig. 2-4 is showing for the sub- option of an attribute provided by Embodiment 2 of the present invention
It is intended to, as in Figure 2-4, the corresponding clothes adjustment 04 sub- option of corresponding attribute of option of clothing color may include red son choosing
Item 041, the sub- option 042 of yellow, the sub- option 043 of blue, the sub- option 044 of black, the sub- option 045 of pink colour, etc..Assuming that selected
Clothes adjustment option be clothes type, then mobile terminal can show that clothes type corresponding clothes adjustment option is corresponding
The sub- option of attribute.
Specifically, mobile terminal can be first in the corresponding attribute of the selected clothes adjustment option of display sub- option
History selection frequency of the sub- option of each attribute in preset duration is determined, then according to history selection frequency from high to low suitable
Sequence successively shows the corresponding each sub- option of attribute of the selected clothes adjustment option.Wherein, which can be
It sets according to actual needs, exemplary, which can be one month or a week, etc., the embodiment of the present invention
This is not construed as limiting.Further, mobile terminal can record of attribute selected by user after user completes adjustment every time
Option, the history for then counting each sub- option quilt of attribute in preset duration selects frequency, and is stored, such in determination
When history of each sub- option of attribute in preset duration selects frequency, mobile terminal can be directly from pre-stored data
History selection frequency of the sub- option of each attribute in preset duration is read, certainly, mobile terminal can also be according to historical operation
Data determine that history selection frequency of the sub- option of each attribute in preset duration, the embodiment of the present invention are not construed as limiting this.So
Afterwards, the sequence that mobile terminal can select frequency descending according to history successively shows selected clothes adjustment option pair
The sub- option of each attribute answered, in this way, the display order of the sub- option of attribute can be made to be more in line with the use habit of user, in turn
User is improved to the convenient degree of the operation of the sub- option of attribute.
Then, the selection operation of the sub- option of any attribute is adjusted the garment feature in clothes region if receiving user
The whole garment feature indicated for the sub- option of selected attribute.Specifically, mobile terminal can be to selected with this in clothes region
The region that the adjustment scope of application of the sub- option of the attribute selected matches is adjusted, wherein the adjustment of the sub- option of attribute is applicable in model
Enclosing can be related to the garment feature that the sub- option of the attribute indicates, exemplary, it is assumed that the selected sub- option of attribute is clothes clothing
In the style of neck corresponding clothes adjustment option, the sub- option of the attribute of round collar is indicated, then can be to taking in preview image
The collar area in dress region is adjusted, that is, the collar area in the clothes region is adjusted to round collar.It needs to illustrate
It is that mobile terminal can also show preview image adjusted after completing to the adjustment of preview image, so that user can be with
Intuitively confirm current adjustment effect, and then easily determine whether to need to do further adjustment, in order to be able to timely
It adjusts.
Step 204, mobile terminal receive the confirmation instruction that user sends, and will be after the adjustment based on confirmation instruction
Preview image be determined as target image.
Specifically, the implementation of this step can refer to above-mentioned steps 104, the embodiment of the present invention is not construed as limiting this.
In conclusion image processing method provided by Embodiment 2 of the present invention, mobile terminal can obtain preview image, then
If detecting the selection operation to starting clothes adjustment option, mobile terminal can show the corresponding clothes tune of different garment attribute
Whole option, and then the operation that unnecessary display clothes adjustment option is executed when user does not need to carry out clothes adjustment is avoided,
And then the operating resource of mobile terminal is saved, and it avoids that current interface is caused to block, influences the normal use of user, it then, can
To receive user to the selection operation of clothes adjustment option, and according to selection operation to the clothes category in clothes region in preview image
Property be adjusted, finally, receive user transmission confirmation instruction when, preview image adjusted can be determined as target figure
Picture, in this way, largely changing the whole style of image, and then improve the beauty of image by being adjusted to clothes region
Change effect, improves user experience.
Embodiment three
Fig. 3 is a kind of block diagram for mobile terminal that the embodiment of the present invention three provides, as shown in figure 3, the mobile terminal 30 can
To include:
Module 301 is obtained, for obtaining preview image.
Display module 302, for showing the corresponding clothes adjustment option of different garment attribute.
Module 303 is adjusted, is grasped for receiving user to the selection operation of clothes adjustment option, and according to the selection
The clothes attribute in clothes region in the preview image of opposing is adjusted, the preview image after being adjusted.
Determining module 304, for receiving the confirmation instruction of user's transmission, and will be after the adjustment based on confirmation instruction
Preview image be determined as target image.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 realize it is each
Process, to avoid repeating, which is not described herein again.Mobile terminal provided in an embodiment of the present invention, preview graph can be obtained by obtaining module
Picture, then display module can show the corresponding clothes adjustment option of different garment attribute, and then, adjustment module can receive user
To the selection operation of clothes adjustment option, and adjusted according to clothes attribute of the selection operation to clothes region in preview image
It is whole, finally, preview image adjusted can be determined as target figure in the confirmation instruction for receiving user's transmission by determining module
Picture, in this way, largely changing the whole style of image, and then improve the beauty of image by being adjusted to clothes region
Change effect, improves user experience.
Example IV
Fig. 4 is a kind of block diagram for mobile terminal that the embodiment of the present invention four provides, as shown in figure 4, the mobile terminal 40 can
To include:
Module 401 is obtained, for obtaining preview image.
Display module 402, for showing the corresponding clothes adjustment option of different garment attribute.
Module 403 is adjusted, is grasped for receiving user to the selection operation of clothes adjustment option, and according to the selection
The clothes attribute in clothes region in the preview image of opposing is adjusted, the preview image after being adjusted.
Determining module 404, for receiving the confirmation instruction of user's transmission, and will be after the adjustment based on confirmation instruction
Preview image be determined as target image.
Optionally, the mobile terminal 40 further include:
Execution module 405, if executing the display not for detecting to the selection operation of starting clothes adjustment option
With clothes attribute the step of corresponding clothes adjustment option.
Optionally, the clothes attribute include clothes material, clothing color, each building block of clothes style, clothes
One or more of type.
The adjustment module 403, comprising:
It determines submodule, for being based on preset image recognition algorithm, determines the clothes region in the preview image.
Adjusting submodule, for being selected clothes tune by the clothes Attribute tuning in clothes region in the preview image
The corresponding clothes attribute of whole option.
Optionally, the corresponding clothes adjustment option of the clothes attribute includes the sub- option of at least two attributes, different attribute
Sub- option indicates garment feature different under the clothes attribute.
The adjusting submodule, comprising:
Display unit, for showing the corresponding sub- option of attribute of selected clothes adjustment option.
Adjustment unit, if for receiving user to the selection operation of the sub- option of any attribute, by the clothes region
Garment feature, be adjusted to the garment feature that the sub- option of selected attribute indicates.
Optionally, the display unit, is used for:
Determine history selection frequency of the sub- option of each attribute in preset duration.
According to the sequence of history selection frequency from high to low, successively show that the selected clothes adjustment option is corresponding
Each sub- option of attribute.
Optionally, the mobile terminal 40 further include:
Second display module, for showing preview image adjusted.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 2-1 realize it is each
A process, to avoid repeating, which is not described herein again.Mobile terminal provided in an embodiment of the present invention, preview can be obtained by obtaining module
Image, then display module can show the corresponding clothes adjustment option of different garment attribute, and then, adjustment module can receive
User to the selection operation of clothes adjustment option, and according to the selection operation to the clothes attribute in clothes region in preview image into
Row adjustment, the second display module can show preview image adjusted, so that user can intuitively confirm current adjustment effect
Fruit, and then easily determine whether to need to do further adjustment, finally, adjustment module can be sent really receiving user
When recognizing instruction, preview image adjusted is determined as target image, in this way, by being adjusted to clothes region, larger journey
The whole style of the change image of degree, and then the landscaping effect of image is improved, improve user experience.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for obtaining preview image;
Processor 510, for showing the corresponding clothes adjustment option of different garment attribute;
Processor 510, for receiving user to the selection operation of clothes adjustment option, and according to selection operation to institute
The clothes attribute for stating clothes region in preview image is adjusted, the preview image after being adjusted;
Processor 510, for receiving the confirmation instruction of user's transmission, and will be described adjusted based on confirmation instruction
Preview image is determined as target image.
In the embodiment of the present invention, mobile terminal can obtain preview image, then show the corresponding clothes of different garment attribute
Option is adjusted, then, user can be received to the selection operation of clothes adjustment option, and according to the selection operation to preview image
The clothes attribute in middle clothes region is adjusted, finally, in the confirmation instruction for receiving user's transmission, it can will be adjusted pre-
Image of looking at is determined as target image, in this way, largely changing the whole wind of image by being adjusted to clothes region
Lattice, and then the landscaping effect of image is improved, improve user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510
Each process of the above-mentioned image processing method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned image processing method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including
There is also other identical elements in the process, method of the element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (11)
1. a kind of image processing method is applied to mobile terminal, which is characterized in that the described method includes:
Obtain preview image;
Show that the corresponding clothes of different garment attribute adjust option;
User is received to the selection operation of clothes adjustment option, and according to the selection operation to taking in the preview image
The clothes attribute in dress region is adjusted, the preview image after being adjusted;
The confirmation instruction that user sends is received, and is instructed based on the confirmation and the preview image adjusted is determined as target
Image.
2. the method according to claim 1, wherein the corresponding clothes adjustment choosing of the display different garment attribute
Before, the method also includes:
If detecting to the selection operation of starting clothes adjustment option, the corresponding clothes of the display different garment attribute are executed
The step of adjusting option.
3. the method according to claim 1, wherein the clothes attribute includes clothes material, clothing color, clothes
Fill one or more of style, the clothes type of each building block;
It is described to be adjusted according to clothes attribute of the selection operation to clothes region in the preview image, comprising:
Based on preset image recognition algorithm, the clothes region in the preview image is determined;
It is that selected clothes adjust the corresponding clothes category of option by the clothes Attribute tuning in clothes region in the preview image
Property.
4. according to the method described in claim 3, it is characterized in that, the corresponding clothes adjustment option of the clothes attribute includes extremely
Few two sub- options of attribute, the sub- option of different attribute indicate garment feature different under the clothes attribute;
The clothes Attribute tuning by clothes region in the preview image is that selected clothes adjust the corresponding clothes of option
Fill attribute, comprising:
Show the corresponding sub- option of attribute of selected clothes adjustment option;
The garment feature in the clothes region is adjusted to by the selection operation of the sub- option of any attribute if receiving user
The garment feature that the selected sub- option of attribute indicates.
5. according to the method described in claim 4, it is characterized in that, the corresponding category of the selected clothes adjustment option of the display
Temper option, comprising:
Determine history selection frequency of the sub- option of each attribute in preset duration;
According to the sequence of history selection frequency from high to low, successively show that the selected clothes adjustment option is corresponding each
The sub- option of attribute.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Module is obtained, for obtaining preview image;
Display module, for showing the corresponding clothes adjustment option of different garment attribute;
Module is adjusted, for receiving user to the selection operation of clothes adjustment option, and according to the selection operation to institute
The clothes attribute for stating clothes region in preview image is adjusted, the preview image after being adjusted;
Determining module for receiving the confirmation instruction of user's transmission, and is instructed based on the confirmation by the preview adjusted
Image is determined as target image.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Execution module, if executing the display different garment for detecting to the selection operation of starting clothes adjustment option
The step of corresponding clothes of attribute adjust option.
8. mobile terminal according to claim 6, which is characterized in that the clothes attribute includes clothes material, clothes face
One or more of the style of each building block of color, clothes, clothes type;
The adjustment module, comprising:
It determines submodule, for being based on preset image recognition algorithm, determines the clothes region in the preview image;
Adjusting submodule, for being the adjustment choosing of selected clothes by the clothes Attribute tuning in clothes region in the preview image
The corresponding clothes attribute of item.
9. mobile terminal according to claim 8, which is characterized in that the corresponding clothes of the clothes attribute adjust option packet
The sub- option of at least two attributes is included, the sub- option of different attribute indicates garment feature different under the clothes attribute;
The adjusting submodule, comprising:
Display unit, for showing the corresponding sub- option of attribute of selected clothes adjustment option;
Adjustment unit, if for receiving user to the selection operation of the sub- option of any attribute, by the clothes in the clothes region
Feature is filled, the garment feature that the sub- option of selected attribute indicates is adjusted to.
10. mobile terminal according to claim 9, which is characterized in that the display unit is used for:
Determine history selection frequency of the sub- option of each attribute in preset duration;
According to the sequence of history selection frequency from high to low, successively show that the selected clothes adjustment option is corresponding each
The sub- option of attribute.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in image processing method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811354647.9A CN109361861A (en) | 2018-11-14 | 2018-11-14 | A kind of image processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811354647.9A CN109361861A (en) | 2018-11-14 | 2018-11-14 | A kind of image processing method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109361861A true CN109361861A (en) | 2019-02-19 |
Family
ID=65345218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811354647.9A Pending CN109361861A (en) | 2018-11-14 | 2018-11-14 | A kind of image processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361861A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084154A (en) * | 2019-04-12 | 2019-08-02 | 北京字节跳动网络技术有限公司 | Render method, apparatus, electronic equipment and the computer readable storage medium of image |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088514A (en) * | 2010-12-29 | 2011-06-08 | 上海华勤通讯技术有限公司 | Virtually photographing method of mobile phone |
CN102325238A (en) * | 2011-10-26 | 2012-01-18 | 天津三星光电子有限公司 | Digital camera with clothes changing function |
CN102750399A (en) * | 2011-04-22 | 2012-10-24 | 广东小猪班纳服饰股份有限公司 | Clothing Design System Based on Network and Apparel Design Method Using the System |
US20160248981A1 (en) * | 2015-02-20 | 2016-08-25 | Linda Pauls | Display Assembly |
CN107959789A (en) * | 2017-11-10 | 2018-04-24 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
-
2018
- 2018-11-14 CN CN201811354647.9A patent/CN109361861A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088514A (en) * | 2010-12-29 | 2011-06-08 | 上海华勤通讯技术有限公司 | Virtually photographing method of mobile phone |
CN102750399A (en) * | 2011-04-22 | 2012-10-24 | 广东小猪班纳服饰股份有限公司 | Clothing Design System Based on Network and Apparel Design Method Using the System |
CN102325238A (en) * | 2011-10-26 | 2012-01-18 | 天津三星光电子有限公司 | Digital camera with clothes changing function |
US20160248981A1 (en) * | 2015-02-20 | 2016-08-25 | Linda Pauls | Display Assembly |
CN107959789A (en) * | 2017-11-10 | 2018-04-24 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084154A (en) * | 2019-04-12 | 2019-08-02 | 北京字节跳动网络技术有限公司 | Render method, apparatus, electronic equipment and the computer readable storage medium of image |
CN110084154B (en) * | 2019-04-12 | 2021-09-17 | 北京字节跳动网络技术有限公司 | Method and device for rendering image, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107943374A (en) | The startup method and collapsible terminal of application program in collapsible terminal | |
CN109218648A (en) | A kind of display control method and terminal device | |
CN109388304A (en) | A kind of screenshotss method and terminal device | |
CN109078319A (en) | A kind of interface display methods and terminal | |
CN108287650A (en) | One-handed performance method based on mobile terminal and mobile terminal | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN109712090A (en) | A kind of image processing method, device and mobile terminal | |
CN109062411A (en) | A kind of screen luminance adjustment method and mobile terminal | |
CN109639569A (en) | A kind of social communication method and terminal | |
CN108881782A (en) | A kind of video call method and terminal device | |
CN109167914A (en) | A kind of image processing method and mobile terminal | |
CN109669611A (en) | Fitting method and terminal | |
CN109413264A (en) | A kind of background picture method of adjustment and terminal device | |
CN109814777A (en) | The setting method to show topics and a kind of mobile terminal | |
CN110324497A (en) | A kind of method of controlling operation thereof and terminal | |
CN108196757A (en) | The setting method and mobile terminal of a kind of icon | |
CN108459788A (en) | A kind of image display method and terminal | |
CN109448069A (en) | A kind of template generation method and mobile terminal | |
CN109544445A (en) | A kind of image processing method, device and mobile terminal | |
CN109286720A (en) | A kind of the main screen selection method and device of multi-screen mobile terminal | |
CN107908983A (en) | A kind of method and mobile terminal for controlling mobile terminal screen | |
CN107729100A (en) | A kind of interface display control method and mobile terminal | |
CN110290263A (en) | A kind of image display method and mobile terminal | |
CN110531903A (en) | Screen display method, terminal device and storage medium | |
CN110312035A (en) | A kind of control method of terminal, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |
|
RJ01 | Rejection of invention patent application after publication |