CN109993711A - A kind of image processing method and terminal device - Google Patents

A kind of image processing method and terminal device Download PDF

Info

Publication number
CN109993711A
CN109993711A CN201910228154.9A CN201910228154A CN109993711A CN 109993711 A CN109993711 A CN 109993711A CN 201910228154 A CN201910228154 A CN 201910228154A CN 109993711 A CN109993711 A CN 109993711A
Authority
CN
China
Prior art keywords
image
area
input
terminal
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910228154.9A
Other languages
Chinese (zh)
Inventor
齐双成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910228154.9A priority Critical patent/CN109993711A/en
Publication of CN109993711A publication Critical patent/CN109993711A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/007Dynamic range modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Abstract

The embodiment of the invention provides a kind of image processing method and terminal devices, are related to field of communication technology, poor with the flexibility for solving the problems, such as that existing terminal device carries out filter processing to picture.This method comprises: display the first image and the second image, which is using the first filter processing mode to the image after first object image procossing, which is using the second filter processing mode to the second target image treated image;The first input of user is received, which is that the input of first area is chosen on third image;In response to first input, using the image of the first area, update the image of second area, the second area be in the 4th image with the associated region of the first input;Wherein, which is the first image, and the 4th image is the second image;Alternatively, the third image is the second image, the 4th image is the first image.This method can be applied in the image procossing scene of terminal device.

Description

A kind of image processing method and terminal device
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of image processing methods and terminal device.
Background technique
With will be used wider and wider for terminal device, user can carry out landscaping treatment to picture by terminal device (such as filter processing).
Currently, if user chooses a kind of filter style for a picture, terminal device can in picture treatment process Handled picture using the filter style in response to the input, so that picture presentation is corresponding with the filter style Filtering effects.
However, in above-mentioned picture treatment process, since filter style is limited and a picture is only limited using a kind of filter wind Lattice, therefore the flexibility for carrying out filter processing to picture is poor, causes the effect to picture processing poor.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method and terminal device, with solve existing terminal device to picture into The flexibility of row filter processing is poor, leads to the problem poor to the effect of picture processing.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal device, this method packet the embodiment of the invention provides a kind of image processing method Include: the first image of display and the second image, first image are using the first filter processing mode to first object image procossing Image afterwards, second image are using the second filter processing mode to the second target image treated image;Receive user The first input, which is that the input of first area is chosen on third image;In response to first input, using this The image of first area updates the image of second area, the second area be in the 4th image with the associated area of the first input Domain;Wherein, which is the first image, and the 4th image is the second image;Alternatively, the third image is the second image, 4th image is the first image.
Second aspect, the embodiment of the invention provides a kind of terminal device, which includes display module and reception Module.For display module for showing the first image and the second image, which is using the first filter processing mode to the One target image treated image, second image are that the second target image, treated using the second filter processing mode Image.Receiving module is used to receive the first input of user, which is that the defeated of first area is chosen on third image Enter.Display module is also used to update second using the image of the first area in response to received first input of receiving module The image in region, the second area be in the 4th image with the associated region of the first input.Wherein, which is first Image, the 4th image are the second image;Alternatively, the third image is the second image, the 4th image is the first image.
The third aspect, the embodiment of the invention provides a kind of terminal device, the terminal device include processor, memory and The computer program that can be run on a memory and on a processor is stored, is realized when which is executed by processor The step of stating the image processing method in first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, which realizes the image processing method in above-mentioned first aspect when being executed by processor The step of.
In embodiments of the present invention, the first image and the second image can be shown, which is using the first filter Processing mode is using the second filter processing mode to the second target to the image after first object image procossing, second image Image after image procossing;The first input of user is received, which is that the defeated of first area is chosen on third image Enter;In response to first input, using the image of the first area, the image of second area is updated, which is the 4th In image with the associated region of the first input;Wherein, which is the first image, and the 4th image is the second image; Alternatively, the third image is the second image, the 4th image is the first image.With this solution, since terminal device is shown simultaneously Show the first image and the second image with different filtering effects, therefore user can compare the filter of the first image and the second image Mirror effect, an image chooses a region wherein, and then terminal device can be according to the input, by the figure of selected areas As and the image of specific region executes image replacement or superposition processing in another image, allow the image to be partly or wholly in Existing a variety of filtering effects.In this way, since demand can be actually used according to user, using a variety of filter processing modes to image Filter processing is partly or wholly carried out, so that the embodiment of the present invention can promote the spirit that terminal device carries out filter processing to picture Activity.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is one of the schematic diagram of image processing method provided in an embodiment of the present invention;
Fig. 3 is the two of the schematic diagram of image processing method provided in an embodiment of the present invention;
Fig. 4 is one of the interface schematic diagram of image processing method provided in an embodiment of the present invention application;
Fig. 5 is the two of the interface schematic diagram of image processing method provided in an embodiment of the present invention application;
Fig. 6 is the three of the interface schematic diagram of image processing method provided in an embodiment of the present invention application;
Fig. 7 is the four of the interface schematic diagram of image processing method provided in an embodiment of the present invention application;
Fig. 8 is the five of the interface schematic diagram of image processing method provided in an embodiment of the present invention application;
Fig. 9 is the three of the schematic diagram of image processing method provided in an embodiment of the present invention;
Figure 10 is one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 11 is the second structural representation of terminal device provided in an embodiment of the present invention;
Figure 12 is the hardware schematic of terminal device provided in an embodiment of 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.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein "/" indicates that affiliated partner is relationship such as A/B expression A or B perhaps.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than it is used for the particular order of description object.For example, first area and second area etc. are for distinguishing different areas Domain, rather than the particular order for describing region.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple processing units refer to two or more processing unit etc..
The embodiment of the present invention provides a kind of image processing method and terminal device, can show the first image and the second figure Picture, first image are using the first filter processing mode to the image after first object image procossing, which is to adopt With the second filter processing mode to the second target image treated image;The first input of user is received, which is The input of first area is chosen on third image;Second is updated using the image of the first area in response to first input The image in region, the second area be in the 4th image with the associated region of the first input;Wherein, which is first Image, the 4th image are the second image;Alternatively, the third image is the second image, the 4th image is the first image.Pass through The program, since terminal device shows first image and the second image with different filtering effects simultaneously, user can be with The filtering effects of the first image and the second image are compared, an image chooses a region wherein, and then terminal device can be with According to the input, the image of selected areas is executed into image replacement with the image of specific region in another image or is superimposed place Reason, allows image that a variety of filtering effects are partly or wholly presented.In this way, since demand can be actually used according to user, Partly or wholly carry out filter processing using a variety of filter processing modes to image, so that the embodiment of the present invention can promote end End equipment carries out the flexibility of filter processing to picture.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, and the present invention is implemented Example is not especially limited.
Below by taking Android operation system as an example, introduce applied by image processing method provided in an embodiment of the present invention Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of image processing method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that The image processing method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can lead to It crosses and runs software program realization image processing method provided in an embodiment of the present invention in Android operation system.
Terminal device in the embodiment of the present invention can be mobile terminal, or immobile terminal.Illustratively, it moves Dynamic terminal can be mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, super movement People's computer (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal Digital assistant, PDA) etc., immobile terminal can be personal computer (personal computer, PC), electricity Depending on machine (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention is not especially limited.
The executing subject of image processing method provided in an embodiment of the present invention can be above-mentioned terminal device, or The functional module and/or functional entity that can be realized the image processing method in the terminal device, specifically can be according to reality Use demand determines that the embodiment of the present invention is not construed as limiting.Below by taking terminal device as an example, to image provided in an embodiment of the present invention Processing method is illustratively illustrated.
As shown in Fig. 2, the embodiment of the present invention provides a kind of image processing method, which may include following S200-S202.
S200, terminal device show the first image and the second image, which is using the first filter processing mode To the image after first object image procossing, which is to be handled using the second filter processing mode the second target image Image afterwards.
In the embodiment of the present invention, if user needs using terminal equipment to the first object image (example in terminal device Such as photo or picture) filter processing is carried out, then at this point, user can be with the display the simultaneously on a display screen of triggering terminal equipment One target image and the second target image (being used as referring to image).Then, user can use the first filter with triggering terminal equipment Processing mode handles first object image, obtains the first image, and show the first image;And triggering terminal equipment is adopted The second target image is handled with the second filter processing mode, obtains the second image, and show the second image.In this way, eventually End equipment shows the first image and the second image, further to carry out a variety of filter processing to first object image.
In the embodiment of the present invention, the display effect of the first image handled using the first filter processing mode (can letter Referred to as the first filtering effects), the display effect of the second image different from being handled using the second filter processing mode (can letter Referred to as the second filtering effects).Wherein, the first filter processing mode can correspond to the first filter style, the second filter processing mode The second filter style can be corresponded to, wherein the first filter style and the second filter style are filtered for the difference in a variety of filter styles Mirror style.
Illustratively, above-mentioned a variety of filter styles may include black and white filter style, filter style of missing old times or old friends, illusory filter wind Lattice, watercolor filter style etc..It is appreciated that above-mentioned various filter styles are exemplary and enumerate, i.e. the embodiment of the present invention The including but not limited to above-mentioned various filter styles enumerated.In actual implementation, above-mentioned a variety of filter styles can also include other Any possible filter style can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
It should be noted that above-mentioned a variety of filter styles can also include original image filter style, that is, use original image filter wind The display effect for the image that lattice are handled is constant (showing according to original image).Specifically, in the first image and the second image Any one can be the image handled using original image filter style.Illustratively, the first image can be to be filtered using original image The image that mirror style is handled, i.e. the first image are identical with first object image (i.e. the first image is shown according to original image).
Optionally, in one possible implementation, terminal device can be shown on the same display screen of terminal device Show the first image and the second image.Specifically, terminal device can be in a manner of split screen display available by the first image and the second image It is shown on same display screen, so that the first image and the second image are shown in the different zones on same display screen.Specifically, The display position and display size etc. of first image and the second image on same display screen, specifically can be according to actual use need Ask determining, the embodiment of the present invention is not construed as limiting.
Optionally, in one possible implementation, terminal device can be shown on the different display screens of terminal device Show the first image and the second image.Specifically, terminal device can be at end in the case where terminal device includes at least two screen The first image of any two screen display of end equipment and the second image.Illustratively, by taking double-sided screen terminal device as an example, it is assumed that Terminal device includes the first screen and the second screen, then terminal device can be in first the first image of screen display, and second The second image of screen display.
Illustratively, by taking double folded screen formula terminal device as an example, it is assumed that terminal device includes the first screen and the second screen.? In the case that first screen shows first object image, first object image can be dragged to the second screen by copy mode by user It has been shown that, so that showing the second target image in the second screen.
Then, if user, which clicks, chooses first object image, then the first filter processing mode (such as the first filter wind is clicked Lattice) option, then terminal device can carry out filter processing to first object image using the first filter processing mode, obtain the One image, and first image is shown in the first screen.First image can be used as base image, and the first filter style can be made For basic filter style.
Then, if user, which clicks, chooses the second target image, then the second filter processing mode (such as the second filter wind is clicked Lattice) option, then terminal device can using the second filter style to the second target image carry out filter processing, obtain the second figure Picture, and second image is shown in the second screen.Second image can be used as contrast images, and the second filter style can be used as pair Than filter style.
Further, the figure having there are two types of different filtering effects is shown in the first screen and the second screen due to terminal device respectively Picture, therefore user finds customer satisfaction system element in different filtering effects, then by an image by intuitively comparing In choose a region, image procossing is carried out with triggering terminal equipment, by specific region in the image in the region and another image Image carry out element replacement or superposition, the embodiment of the present invention can actually use demand according to user by this method, to whole The different zones of image carry out filter processing using a variety of filter processing modes, so as to promoted terminal device to picture into The flexibility of row filter processing.
It is appreciated that image processing method provided in an embodiment of the present invention can be applicable not only to double folded screen, it can also To be suitable for multi-panel Folding screen, single screen (split screen display available first area and second area) can be applicable to, or can be applicable in In other any display screens in the cards, can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting. It should be noted that for ease of description, hereinafter by taking double folded screen as an example, illustratively illustrating that the embodiment of the present invention provides Image processing method specific implementation.
Optionally, in the embodiment of the present invention, above-mentioned first object image and the second target image can be same image, It can be different images, can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.Illustrate separately below First object image and the second target image are the specific implementation of same image or different images.
In the case where first object image and the second target image are same image, the first image and the second image difference Use the image that handles identical image of different filter processing modes for terminal device, i.e. the first image and the second image Content is identical, and display effect is different.In this way, user is referred to the filtering effects of the second image, triggering terminal equipment is to One image carries out filter processing, it can the multiple different filters processing to first object image is realized, so as to be promoted pair The flexibility of image progress filter processing.
In the case where first object image and the second target image can be different images, the first image and the second image Respectively terminal device uses the image that handles different images of different filter processing modes, i.e. the first image and the second figure The content of picture is different and display effect is different.In this way, user is referred to the display effect of the second image, triggering terminal equipment pair First image carries out filter processing, it can the multiple different filter processing to first object image is realized, so as to be promoted The flexibility of filter processing is carried out to image.
It should be noted that for ease of description, hereinafter with first object image and the second target image for identical figure As for, illustratively illustrate image processing method provided in an embodiment of the present invention.
S201, terminal device receive the first input of user, and the first input is to choose first area on third image Input.
In the embodiment of the present invention, above-mentioned third image is above-mentioned first image, or is above-mentioned second image, i.e. user can To input the first image to choose first area, or the second image can be inputted to choose first area, it specifically can be with Determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Illustratively, in one possible implementation, user can be on the first image (i.e. above-mentioned third image) First area is chosen, with triggering terminal equipment using the topography of the first area in the first image, is updated in the second image Specific region topography.
Illustratively, in alternatively possible implementation, user can be at the second image (i.e. above-mentioned third image) On choose first area, with triggering terminal equipment using the topography of the first area in the second image, update the first image In specific region topography.
Optionally, in the embodiment of the present invention, above-mentioned user first input can for click input (such as click input or Double-click input), or dragging input can also be the input of other any possible forms, specifically can be according to actually making It is determined with demand, the embodiment of the present invention is not construed as limiting.
Illustratively, above-mentioned first input can choose the input of first area using regular figure for user, can also be with The input of first area is chosen using paintbrush for user, can also be to choose the defeated of first area using other any possible modes Enter, can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, the shape of above-mentioned first area can be rectangle, or it is round, may be used also Think irregular shape, or can be other any possible shapes.The size of above-mentioned first area can be less than or equal to The size of first image.Specifically, the parameters such as the shape of above-mentioned first area, size and position can be according to actual use demand It determines, the embodiment of the present invention is not construed as limiting.
S202, terminal device, using the image of first area, update the image of second area in response to the first input, should Second area be in the 4th image with the associated region of the first input.
Wherein, which is the first image, and the 4th image is the second image.Alternatively, the third image is second Image, the 4th image are the first image.
Illustratively, it is assumed that third image is the second image and the 4th image is the first image, then terminal device can First to choose first area on the second image in response to user inputs, and using the image of first area, updates the secondth area The image in domain, the second area be in the first image with the associated region of the first input.
In the embodiment of the present invention, second area is can be according to following feelings with the first associated region of input in the 4th image Condition (1) and situation (2) understand.It should be noted that the embodiment of the present invention includes but be not limited to the both of these case enumerated, specifically It can be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
(1) by taking the first input is clicks input as an example, second area can in the 4th image with first area (i.e. first Input the region in third image) region with position mapping relations, i.e., there are positions to reflect for first area and second area Penetrate relationship.
(2) by taking the first input includes clicking son input and dragging son input as an example, second area can be in the 4th image In first input final position where region.
Based on this, terminal device can determine second area according to the first input.It illustratively illustrates how separately below The possibility implementation for determining second area is inputted according to first.
In one possible implementation, it is assumed that the first input is chooses the click of first area to input, then above-mentioned Second area can be the region in the 4th image with first area with position mapping relations.
In alternatively possible implementation, it is assumed that the first input includes the point for choosing first area on third image It hits sub- input and inputs the image in first area from dragging that third image drags on the 4th image, then on Stating second area can be the corresponding region of final position of the dragging input in the 4th image.
In another possible implementation, it is assumed that the first input includes the point for choosing first area on third image It hits sub- input and click of second area is chosen to input on the 4th image, then above-mentioned second area can be for the Son is clicked in four images inputs corresponding region.
It is appreciated that above-mentioned first input is illustratively enumerates, i.e., the embodiment of the present invention includes but be not limited to above-mentioned The first input enumerated.In actual implementation, above-mentioned first input can also be other any possible inputs, correspondingly, according to First mode for inputting determining second area can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Optionally, in the embodiment of the present invention, above-mentioned S202 can specifically be realized by following S202a.
The image replacement of second area is shown as the image of first area by S202a, terminal device.
In the embodiment of the present invention, it is assumed that the first filtering effects are presented in the first image and the second filter effect is presented in the second image Fruit, and third image is the second image and the 4th image is the first image.So, if user chooses first in the second image Region (the second filtering effects are presented in the image of first area), then terminal device can be in response to the input, by second area Image, which is replaced, is shown as the image of first area, it can the first filtering effects replacement of the image of second area is shown as the Two filtering effects.In this way, the second filtering effects are presented in the image of second area in the first image, and the secondth area is removed in the first image The first filtering effects are presented in the image in the region except domain.With this solution, due to that can be presented in subregional in the first image Two kinds of filtering effects, therefore the embodiment of the present invention can promote the flexibility that filter processing is carried out to image.
Optionally, in the embodiment of the present invention, above-mentioned S202 can specifically be realized by following S202b.
The image superposition of first area is shown on the image of second area by S202b, terminal device.
In the embodiment of the present invention, it is also assumed that the first filtering effects are presented in the first image and the second filter is presented in the second image Mirror effect, and third image is the second image and the 4th image is the first image.So, if user chooses in the second image First area (the second filtering effects are presented in the image of first area), then terminal device can be in response to the input, by the firstth area The image superposition in domain is shown to the image of second area, i.e. the first filtering effects and the second filter can be presented in the image of second area The Overlay of mirror effect.In this way, the Overlay is presented in the image of second area in the first image, and except the in the first image The first filtering effects are presented in the image in the region except two regions.With this solution, due to can be in subregional in the first image Two kinds of filtering effects are presented, therefore the embodiment of the present invention can promote the flexibility that filter processing is carried out to image.
It is appreciated that in the case where the first area that user chooses is the whole region of the second image, if terminal device The image superposition of first area is shown on the image of second area, then the first filtering effects can be integrally presented in the first image With the Overlay of the second filtering effects, the flexibility that filter processing is carried out to image can be so promoted.
Image processing method provided in an embodiment of the present invention can show the first image and the second image, first image For using the first filter processing mode, to the image after first object image procossing, which is to be handled using the second filter Mode is to the second target image treated image;The first input of user is received, which is to select on third image The input of middle first area;In response to first input, using the image of the first area, the image of second area is updated, it should Second area be in the 4th image with the associated region of the first input;Wherein, which is the first image, the 4th figure As being the second image;Alternatively, the third image is the second image, the 4th image is the first image.With this solution, due to end End equipment simultaneously show have different filtering effects the first image and the second image, therefore user can compare the first image and The filtering effects of second image, an image chooses a region wherein, and then terminal device can be according to the input, will The image of specific region executes image replacement or superposition processing in the image of selected areas and another image, so that image can be with A variety of filtering effects are partly or wholly presented.In this way, being handled since demand can be actually used according to user using a variety of filters Partly or wholly carry out filter processing of the mode to image carries out picture so that the embodiment of the present invention can promote terminal device The flexibility of filter processing.
Optionally, in conjunction with Fig. 2, as shown in figure 3, after above-mentioned S201, and before above-mentioned S202, the present invention The image processing method that embodiment provides can also include following S203 and S204.
By in third image, region corresponding with the first input is determined as first area for S203, terminal device.
In the embodiment of the present invention, the input that first area is chosen in third image due to above-mentioned first input, The region that region corresponding with the first input can use regular figure institute frame to select for user, or user uses paintbrush The region sketched out, the region that can also be chosen for user using other any possible modes specifically can be according to actually making It is determined with demand, the embodiment of the present invention is not construed as limiting.
S204, terminal device determine second area in the 4th image according to the first element of first area, this second Second element in region is identical as the first element.
Where it is assumed that third image is the first image and the 4th image is the second image, then the first element can wrap It includes at least one of following: the position letter of the content of first area, first area in first object image in first object image Breath.Second element may include at least one of following: the content of second area, second area are in the second mesh in the second target image Location information in logo image.
Specifically, the first element may include the content of first area in first object image, it also may include the firstth area Location information of the domain in first object image can also include the content of first area and the firstth area in first object image Location information of the domain in first object image can specifically determine that the embodiment of the present invention is not limited according to actual use demand It is fixed.Similarly, the associated description to the first element specifically may refer to for the description of the second element, details are not described herein again.
In the embodiment of the present invention, the content of first area be can be understood as in the first image in above-mentioned first object image The content without filtering effects in one region.The content of second area can be understood as the second image in above-mentioned second target image The content without filtering effects of middle second area.
It should be noted that be with third image in the embodiment of the present invention being the first image and the 4th image is the second figure Described in as.It is appreciated that in actual implementation, the embodiment of the present invention is not limited to above-mentioned implementation.For example, it is assumed that third Image is the second image and the 4th image is the first image, then the first element may include at least one of following: the second mesh The location information of the content of first area, first area in the second target image in logo image.Second element may include with It is at least one of lower: the location information of the content of second area, second area in first object image in first object image.Its In, in the second target image the content of first area can be understood as first area in the second image without in filtering effects Hold, in first object image the content of second area can be understood as second area in the first image without in filtering effects Hold.
It is appreciated that above-mentioned each element is exemplary and enumerates, i.e., the embodiment of the present invention includes but be not limited to State each element enumerated.In actual implementation, the above-mentioned first element and the second element can also arbitrarily can satisfy including other The element of actual use demand can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
In the embodiment of the present invention, terminal device can be in response to the first input, will be corresponding with the first input in third image Region be determined as first area, and obtain the element of first area, then terminal device can according to the element of first area, Determine the second area in the 4th image, the element of the second area and the element of first area are identical.Wherein, second area Size and shape can be equal to the size and shape of first area, and second area and first area have position mapping relations.
Optionally, in the embodiment of the present invention, terminal device can know diagram technology using wisdom, utilize the content of first area Element determines second area.Specifically, terminal device can know diagram technology using wisdom, first area in third image is identified Picture material, and second area will be determined as with the region of same picture material in the 4th image.
Optionally, in the embodiment of the present invention, terminal device can use position mapping mode, utilize the position of first area Information element determines second area.Specifically, terminal device can detecte position of the first input of user in third image Region in 4th image with same position information is determined as second area by information (such as trajectory coordinates point).
It is appreciated that the embodiment of the present invention includes but be not limited to above-mentioned wisdom and know diagram technology and position mapping mode, it is practical When realization, the embodiment of the present invention can also determine second area using other any modes in the cards, specifically can basis Actual use demand determines that the embodiment of the present invention is not construed as limiting.
Below with reference to Fig. 4, Fig. 5 and Fig. 6, in conjunction with above-mentioned S203 and S204, illustratively illustrate that the embodiment of the present invention mentions The specific implementation of the image processing method of confession.
As shown in figure 4, terminal device 30 includes the first screen 31 and the second screen by taking double folded screen formula terminal device as an example 32.Terminal device 30 shows first image 33 in the first screen 31, and shows second image 34 in the second screen 32.Wherein, One image 33 and the second image 34 are respectively what terminal device 30 was handled identical image using different filter processing modes Image, i.e. the first image 33 are identical with the content of the second image 34 and filtering effects are different, for example, the first image 33 is using the One filter style is using the second filter style to the second target figure to the image after first object image procossing, the second image 34 As treated image.
In conjunction with Fig. 4, as shown in figure 5, user can by comparing the filtering effects of the first image 33 and the second image 34, First area E1 and E2 are chosen using regular figure or paintbrush in second image 34.Terminal device can in response to the input, In the first image 33, second area E3 and E4 are determined.Wherein, second area E3 determines (second area according to first area E1 E3 and first area E1 have position mapping relations) and second area E4 determined according to first area E2 (second area E4 with First area E2 has position mapping relations).
In conjunction with Fig. 4 and Fig. 5, as shown in fig. 6, terminal device is after determining second area E3 and E4, using first area The image of E1 updates the image of second area E3, and using the image of first area E2, updates the image of second area E4. In this way, in the filtering effects replacement (or superposition) to second area E3 that the image of first area E1 can be presented, realize this The filtering effects of two region E3 update;And the filtering effects that the image of first area E2 is presented replace (or superposition) to second On the E4 of region, realize that the filtering effects of second area E4 update.
It should be noted that it is above-mentioned first area E1 and E2 are chosen in the second image by user for illustratively say It is bright, it will be understood that the embodiment of the present invention does not limit the quantity that user chooses first area, specifically can be according to actual use demand It determines, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, Folding screen feature can use, two kinds of differences are applied to same picture on two screens The filtering effects of style, user can find customer satisfaction system element in different filtering effects, then eventually by intuitively comparing End equipment can carry out element replacement or superposition to image by image procossing, be may be implemented by this method to a variety of of image Filter landscaping effect.
Illustratively, in alternatively possible implementation, it is assumed that above-mentioned first input includes the first son input and the Two son inputs, which is that the input of above-mentioned first area is chosen in third image, which is should The image of first area is dragged to the input of second area.In the case, above-mentioned S202 specifically can be by following S202c and S202d is realized.
S202c, terminal device are inputted in response to the first son, true with the first corresponding region of sub- input by third image It is set to first area.
S202d, terminal device are inputted in response to the second son, true with the second corresponding region of sub- input by the 4th image It is set to second area, and using the image of the first area, updates the image of second area.
In the embodiment of the present invention, it is assumed that third image is the second image and the 4th image is the first image, then if with Family chooses first area in the second image and the image of the first area is dragged to second area, then terminal device can be rung Selection of first area should be chosen to input and (sketch out a target area for example, by using paintbrush) in the second image in user, Target area corresponding with sub- input is selected in second image is determined as first area.
Also, terminal device can be inputted in response to the image of the first area to be dragged to dragging of second area, Region corresponding with the final position of dragging son input in first image is determined as second area, and using the first area Image updates the image of second area.
In this way, the image replacement of second area in the first image can be shown as the firstth area in the second image by terminal device The image in domain, or by the image superposition of first area in the second image into the first image on the image of second area.It is this From an image selected part image come can be understood as the case where updating another image scratch figure combined treatment.
Below with reference to Fig. 4, illustratively illustrate of the invention real with reference to Fig. 7 and Fig. 8 in conjunction with above-mentioned S202c and S202d The specific implementation of the image processing method of example offer is provided.
As shown in fig. 7, if user sketches out a target area E5 using paintbrush in the second image 34, and by the region The image of E5 is dragged to second area, then terminal device 30 can choose first area E5 in the second image 34 in response to user The input of selection, target area E5 corresponding with sub- input is selected in the second image 34 is determined as first area E5.Also, Terminal device 30 can be inputted in response to the image of first area E5 to be dragged to dragging of second area, by the first image Region E6 corresponding with the final position of dragging son input is determined as second area E6 in 33.
As shown in figure 8, terminal device can use the image of first area E5, the image of second area E6 is updated.Such as This, in the filtering effects replacement (or superposition) to second area E6 that the image of first area E5 can be presented, realize this second The filtering effects of region E6 update.
In the embodiment of the present invention, the image that different filtering effects can be presented to two carries out scratching figure combined treatment, thus It may be implemented to execute filter processing to image using a variety of filter processing modes, can so promote terminal device and image is carried out The flexibility of filter processing.
Optionally, in conjunction with Fig. 2, as shown in figure 9, after above-mentioned S202, image procossing provided in an embodiment of the present invention Method can also include following S205 and S206.
S205, terminal device receive the second input of user, which is the input for the second image.
Optionally, in the embodiment of the present invention, above-mentioned user first input can for click input (such as click input or Double-click input), or it slidably inputs, can also be the input of other any possible forms, it specifically can be according to actually making It is determined with demand, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, in terminal device using the image of the first area, after the image for updating second area, User can input for the second image, such as click the second image, and click third filter processing mode (such as third filter Style) option, the 5th image is obtained using other filter styles to the first image for choosing of input with triggering terminal equipment, And by the second image update be the 5th image.
Second image update is the 5th image, the 5th image is to use in response to the second input by S206, terminal device Third filter processing mode is to the second target image treated image.
In the embodiment of the present invention, terminal device can be directed to the input of the second image in response to user, select the first input In image apply other filter styles, the second target image handle for example, by using third filter processing mode, acquisition the 5th Image, and be the 5th image by the second image update.In this way, terminal device currently shows two figures with different filtering effects Picture.
Further, the filtering effects that user can be respectively presented by the first image of comparison and the 5th image, the 5th Third region is chosen in image, and the image in third region is used with triggering terminal equipment, updates the image of the fourth region.Accordingly Ground, the image processing method that terminal device can illustrate in embodiment according to the method described above, in response to the input, using the second figure The image in third region as in, updates the image of the fourth region in the first image, the fourth region be in the first image with this The one associated region of input.
In this way, the image processing method that terminal device can illustrate in embodiment according to the method described above, in response to user's Input, parts of images or general image to first object image execute above-mentioned filter processing again, so as to promote terminal Equipment carries out the flexibility of filter processing to picture.
As shown in Figure 10, the embodiment of the present invention provides a kind of terminal device 700, which may include display Module 701 and receiving module 702.For display module 701 for showing the first image and the second image, which is using the For one filter processing mode to the image after first object image procossing, which is using the second filter processing mode to the Two target images treated image.Receiving module 702 is used to receive the first input of user, and first input is in display mould The input of first area is chosen on the third image that block 701 is shown.Display module 701 is also used to connect in response to receiving module 702 Receive first input, using the image of the first area, update the image of second area, the second area be the 4th image in The associated region of first input.Wherein, which is the first image, and the 4th image is the second image;Alternatively, this Three images are the second image, and the 4th image is the first image.
Optionally, in the embodiment of the present invention, display module 701 is specifically used on the same display screen of terminal device 700 Show the first image and the second image.Alternatively, display module 701 is specifically used for showing on the different display screens of terminal device 700 Show the first image and the second image.
Optionally, in conjunction with Figure 10, as shown in figure 11, terminal device 700 provided in an embodiment of the present invention can also include true Cover half block 703.Determining module 703 be used for display module 701 using first area image, update second area image it Before, by above-mentioned third image, region corresponding with the first input is determined as first area.Determining module 703 is also used to basis The first element of first area determines second area in the 4th image, the second element and the first element of the second area It is identical.Wherein, the first element may include at least one of following: the content of first area, first area in first object image Location information in first object image.Second element may include at least one of following: the secondth area in the second target image Location information of the content, second area in domain in the second target image.
Optionally, in the embodiment of the present invention, above-mentioned first input may include the first son input and the second son input, this One sub- input is that the input of above-mentioned first area is chosen in third image, which is by the image of the first area It is dragged to the input of above-mentioned second area.Display module 701 is specifically used for inputting in response to first son, by third image, Region corresponding with the first son input is determined as first area.Display module 701 is specifically also used to defeated in response to second son Enter, by the 4th image, region corresponding with the second son input is determined as second area, and using the figure of the first area Picture updates the image of the second area.
Optionally, in the embodiment of the present invention, display module 701 is specifically also used to the image replacement of above-mentioned second area is aobvious It is shown as the image of above-mentioned first area.Alternatively, display module 701 specifically is also used to show the image superposition of above-mentioned first area Onto the image of above-mentioned second area.
Optionally, in the embodiment of the present invention, receiving module 702 is also used to update second in the image using first area After the image in region, the second input of user is received, which is the input for the second image.Display module 701 It is also used to input in response to receiving module 702 received second, is the 5th image by second image update, the 5th image is Using third filter processing mode to above-mentioned second target image treated image.
Terminal device provided in an embodiment of the present invention can be realized terminal device in above method embodiment realize it is each Process, to avoid repeating, which is not described herein again.
Terminal device provided in an embodiment of the present invention can show the first image and the second image, which is to adopt With the first filter processing mode to the image after first object image procossing, which is using the second filter processing mode To the second target image treated image;The first input of user is received, first input is chooses the on third image The input in one region;In response to first input, using the image of the first area, the image of second area is updated, this second Region be in the 4th image with the associated region of the first input;Wherein, which is the first image, and the 4th image is Second image;Alternatively, the third image is the second image, the 4th image is the first image.With this solution, since terminal is set Standby display simultaneously has the first image and the second image of different filtering effects, therefore user can compare the first image and second The filtering effects of image, an image chooses a region wherein, and then terminal device can will have been chosen according to the input The image of specific region executes image replacement or superposition processing in the image in region and another image, allows image local Or the whole a variety of filtering effects of presentation.In this way, since demand can be actually used according to user, using a variety of filter processing modes Partly or wholly carry out filter processing to image, so that the embodiment of the present invention, which can promote terminal device, carries out filter to picture The flexibility of processing.
A kind of hardware structural diagram of Figure 12 terminal device of each embodiment to realize the present invention.As shown in figure 12, The terminal device 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, with And the equal components of power supply 811.It will be understood by those skilled in the art that the not structure paired terminal of terminal device structure shown in Figure 12 The restriction of equipment, terminal device may include perhaps combining certain components or different than illustrating more or fewer components Component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm electricity Brain, car-mounted terminal, wearable device and pedometer etc..
Wherein, display unit 806, for showing that the first image and the second image, first image are using the first filter Processing mode is using the second filter processing mode to the second target to the image after first object image procossing, second image Image after image procossing;User input unit 807, for receiving the first input of user, first input is in third figure The input of first area is chosen on picture;Display unit 806 is used in response to received first input of user input unit 807, Using the image of the first area, the image of second area is updated, which is to close in the 4th image with first input The region of connection;Wherein, which is the first image, and the 4th image is the second image;Alternatively, the third image is second Image, the 4th image are the first image.
The embodiment of the present invention provides a kind of terminal device, which can show the first image and the second image, should First image is using the first filter processing mode to the image after first object image procossing, which is using second Filter processing mode is to the second target image treated image;The first input of user is received, first input is in third The input of first area is chosen on image;In response to first input, using the image of the first area, second area is updated Image, the second area be in the 4th image with the associated region of the first input;Wherein, which is the first image, 4th image is the second image;Alternatively, the third image is the second image, the 4th image is the first image.Pass through the party Case, since terminal device shows first image and the second image with different filtering effects simultaneously, user can be compared The filtering effects of first image and the second image, an image chooses a region wherein, and then terminal device can basis The image of specific region in the image of selected areas and another image is executed image replacement or superposition processing by the input, Allow image that a variety of filtering effects are partly or wholly presented.In this way, being used since demand can be actually used according to user Partly or wholly carry out filter processing of a variety of filter processing modes to image, sets so that the embodiment of the present invention can promote terminal The standby flexibility that filter processing is carried out to picture.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 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 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Terminal device 800 provides wireless broadband internet by network module 802 for user and accesses, and such as helps user It sends and receive e-mail, browse webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end The relevant audio output of specific function that end equipment 800 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (graphics processing unit, GPU) 8041 and microphone 8042, graphics processor 8041 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 806.Through graphics processor 8041, treated that picture frame can be deposited Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike Wind 8042 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 801 is converted in the case where telephone calling model.
Terminal device 800 further includes at least one sensor 805, 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 8061, and proximity sensor can close when terminal device 800 is moved in one's ear Display panel 8061 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 terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 805 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 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 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 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and Other input equipments 8072.Touch panel 8071, 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 8071 or in touch panel 8071 Neighbouring operation).Touch panel 8071 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 810, receiving area It manages the order that device 810 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 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 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 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 8061.Although in Figure 12, touch panel 8071 and aobvious Show that panel 8061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with terminal device 800.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 808 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 terminal device 800 or can be used in 800 He of terminal device Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 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 809 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 810 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage Data in device 809 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 810 may include one or more processing units;Optionally, processor 810 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 810.
Terminal device 800 can also include the power supply 811 (such as battery) powered to all parts, optionally, power supply 811 Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 800 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal device, including processor 810 as shown in figure 12, storage Device 809 is stored in the computer program that can be run on memory 809 and on processor 810, and the computer program is by processor 810 realize each process of above-mentioned image processing method embodiment when executing, and can reach identical technical effect, to avoid weight Multiple, which is not described herein again.
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, which may include Read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic Dish or CD 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 a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of 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 device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method disclosed 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 (14)

1. a kind of image processing method is applied to terminal device, which is characterized in that the described method includes:
Show the first image and the second image, the first image be using the first filter processing mode to first object image at Image after reason, second image are using the second filter processing mode to the second target image treated image;
The first input of user is received, first input is that the input of first area is chosen on third image;
In response to first input, using the image of the first area, the image of second area, the second area are updated To input associated region with described first in the 4th image;
Wherein, the third image is the first image, and the 4th image is second image;Alternatively, the third Image is second image, and the 4th image is the first image.
2. the method according to claim 1, wherein the first image of the display and the second image, comprising:
Same display screen display the first image and second image in the terminal device;
Alternatively,
In the different display screen display the first images of the terminal device and second image.
3. the method according to claim 1, wherein updating second area in the image using first area Before image, the method also includes:
According to the first element of the first area, in the 4th image, the second area, the second area are determined The second element it is identical as the first element;
Wherein, the first element includes at least one of the following: the content of first area described in the first object image, institute State location information of the first area in the first object image;Second element includes at least one of the following: described The location information of the content of second area described in two target images, the second area in second target image.
4. the method according to claim 1, wherein first input includes that the first son input and the second son are defeated Enter, the described first sub- input is that the input of the first area is chosen in the third image, and the second son input is will The image of the first area is dragged to the input of the second area;
It is described to be inputted in response to described first, using the image of first area, update the image of second area, comprising:
In response to the first son input, by the third image, region corresponding with the first son input is determined as institute State first area;
In response to the second son input, by the 4th image, region corresponding with the second son input is determined as institute Second area is stated, and using the image of the first area, updates the image of the second area.
5. method according to claim 1 to 4, which is characterized in that the image using first area, more The image of new second area, comprising:
The image replacement of the second area is shown as to the image of the first area;
Alternatively,
The image superposition of the first area is shown on the image of the second area.
6. according to the method described in claim 5, it is characterized in that, updating second area in the image using first area After image, the method also includes:
The second input of user is received, second input is the input for second image;
It is the 5th image by second image update in response to second input, the 5th image is to be filtered using third Mirror processing mode is to second target image treated image.
7. a kind of terminal device, which is characterized in that the terminal device includes display module and receiving module;
The display module, for showing the first image and the second image, the first image is using the first filter processing side Formula is using the second filter processing mode to the second target image to the image after first object image procossing, second image Treated image;
The receiving module, for receiving the first input of user, first input for shown in the display module the The input of first area is chosen on three images;
The display module is also used in response to received first input of the receiving module, using the first area Image, update the image of second area, the second area be in the 4th image with the associated region of first input;
Wherein, the third image is the first image, and the 4th image is second image;Alternatively, the third Image is second image, and the 4th image is the first image.
8. terminal device according to claim 7, which is characterized in that the display module is specifically used in the terminal The same display screen display the first image of equipment and second image;Alternatively,
The display module, specifically in the different display screen display the first images of the terminal device and described the Two images.
9. terminal device according to claim 7, which is characterized in that the terminal device further includes determining module;
The determining module, for the image in the display module using first area, before the image for updating second area, By in the third image, region corresponding with first input is determined as the first area;
The determining module is also used to the first element according to the first area, in the 4th image, determines described Second element in two regions, the second area is identical as the first element;
Wherein, the first element includes at least one of the following: the content of first area described in the first object image, institute State location information of the first area in the first object image;Second element includes at least one of the following: described The location information of the content of second area described in two target images, the second area in second target image.
10. terminal device according to claim 7, which is characterized in that first input includes the first son input and the Two son inputs, the first son input are that the input of the first area is chosen in the third image, and second son is defeated Enter for the image of the first area to be dragged to the input of the second area;
The display module is specifically used for inputting in response to first son, defeated with first son by the third image Enter corresponding region and is determined as the first area;
The display module is specifically also used in response to the second son input, will be sub with described second in the 4th image It inputs corresponding region and is determined as the second area, and using the image of the first area, update the second area Image.
11. terminal device according to any one of claims 7 to 10, which is characterized in that the display module, it is specific to go back The image of the first area is shown as the image replacement by the second area;Alternatively,
The display module is specifically also used to for the image superposition of the first area being shown to the image of the second area On.
12. terminal device according to claim 11, which is characterized in that the receiving module is also used to using first The image in region after the image for updating second area, receives the second input of user, and second input is for described the The input of two images;
The display module is also used in response to received second input of the receiving module, more by second image Newly be the 5th image, the 5th image be using third filter processing mode to second target image treated figure Picture.
13. a kind of terminal device, 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 6 is realized when the computer program is executed by the processor Any one of described in image processing method the step of.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence is realized when the computer program is executed by processor such as image processing method described in any one of claims 1 to 6 Step.
CN201910228154.9A 2019-03-25 2019-03-25 A kind of image processing method and terminal device Pending CN109993711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910228154.9A CN109993711A (en) 2019-03-25 2019-03-25 A kind of image processing method and terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910228154.9A CN109993711A (en) 2019-03-25 2019-03-25 A kind of image processing method and terminal device
PCT/CN2020/075377 WO2020192298A1 (en) 2019-03-25 2020-02-14 Image processing method and terminal device

Publications (1)

Publication Number Publication Date
CN109993711A true CN109993711A (en) 2019-07-09

Family

ID=67131367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910228154.9A Pending CN109993711A (en) 2019-03-25 2019-03-25 A kind of image processing method and terminal device

Country Status (2)

Country Link
CN (1) CN109993711A (en)
WO (1) WO2020192298A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070497A (en) * 2019-03-08 2019-07-30 维沃移动通信(深圳)有限公司 A kind of image processing method and terminal device
WO2020192298A1 (en) * 2019-03-25 2020-10-01 维沃移动通信有限公司 Image processing method and terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049704A (en) * 2015-06-17 2015-11-11 青岛海信移动通信技术股份有限公司 Shooting method and equipment
CN105049703A (en) * 2015-06-17 2015-11-11 青岛海信移动通信技术股份有限公司 Shooting method for mobile communication terminal and mobile communication terminal
CN105163041A (en) * 2015-10-08 2015-12-16 广东欧珀移动通信有限公司 Realization method and apparatus for local double exposure, and mobile terminal
CN106530222A (en) * 2016-11-25 2017-03-22 维沃移动通信有限公司 Picture saving method and mobile terminal
CN106875452A (en) * 2016-12-30 2017-06-20 深圳天珑无线科技有限公司 Image processing method and terminal
CN108109100A (en) * 2017-12-19 2018-06-01 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN108259756A (en) * 2018-03-14 2018-07-06 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN109002243A (en) * 2018-06-28 2018-12-14 维沃移动通信有限公司 A kind of image parameter adjusting method and terminal device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980791A (en) * 2014-04-08 2015-10-14 腾讯科技(北京)有限公司 Method and device for performing filter processing on video
US9658702B2 (en) * 2015-08-12 2017-05-23 Smart Technologies Ulc System and method of object recognition for an interactive input system
CN105631803B (en) * 2015-12-17 2019-05-28 小米科技有限责任公司 The method and apparatus of filter processing
CN109144361A (en) * 2018-07-09 2019-01-04 维沃移动通信有限公司 A kind of image processing method and terminal device
CN108898555A (en) * 2018-07-27 2018-11-27 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109993711A (en) * 2019-03-25 2019-07-09 维沃移动通信有限公司 A kind of image processing method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049704A (en) * 2015-06-17 2015-11-11 青岛海信移动通信技术股份有限公司 Shooting method and equipment
CN105049703A (en) * 2015-06-17 2015-11-11 青岛海信移动通信技术股份有限公司 Shooting method for mobile communication terminal and mobile communication terminal
CN105163041A (en) * 2015-10-08 2015-12-16 广东欧珀移动通信有限公司 Realization method and apparatus for local double exposure, and mobile terminal
CN106530222A (en) * 2016-11-25 2017-03-22 维沃移动通信有限公司 Picture saving method and mobile terminal
CN106875452A (en) * 2016-12-30 2017-06-20 深圳天珑无线科技有限公司 Image processing method and terminal
CN108109100A (en) * 2017-12-19 2018-06-01 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN108259756A (en) * 2018-03-14 2018-07-06 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN109002243A (en) * 2018-06-28 2018-12-14 维沃移动通信有限公司 A kind of image parameter adjusting method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070497A (en) * 2019-03-08 2019-07-30 维沃移动通信(深圳)有限公司 A kind of image processing method and terminal device
WO2020192298A1 (en) * 2019-03-25 2020-10-01 维沃移动通信有限公司 Image processing method and terminal device

Also Published As

Publication number Publication date
WO2020192298A1 (en) 2020-10-01

Similar Documents

Publication Publication Date Title
CN109460177A (en) A kind of image processing method and terminal device
CN110231897A (en) A kind of object processing method and terminal device
CN109857291A (en) A kind of icon display method and terminal device
CN109993711A (en) A kind of image processing method and terminal device
CN108763317A (en) A kind of auxiliary chooses the method and terminal device of picture
CN109542282A (en) A kind of interface display method and terminal device
CN110007822A (en) A kind of interface display method and terminal device
CN110489029A (en) A kind of icon display method and terminal device
CN109634494A (en) A kind of image processing method and terminal device
CN110058649A (en) A kind of interface display method and terminal device
CN109857289A (en) Display control method and terminal device
CN109917995A (en) A kind of object processing method and terminal device
CN108762634A (en) A kind of control method and terminal
CN109117037A (en) A kind of method and terminal device of image procossing
CN109085963A (en) A kind of interface display method and terminal device
CN110502878A (en) A kind of application permission setting method and terminal device
CN110489385A (en) A kind of information processing method and terminal device
CN109240783A (en) A kind of interface display method and terminal device
CN110502293A (en) A kind of screenshotss method and terminal device
CN109597551A (en) A kind of display control method and terminal device
CN110049187A (en) A kind of display methods and terminal device
CN110245246A (en) A kind of image display method and terminal device
CN110231972A (en) A kind of message display method and terminal device
CN110213438A (en) A kind of processing method and terminal device of application program
CN110046013A (en) A kind of interface display method and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination