CN108600614A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN108600614A
CN108600614A CN201810284263.8A CN201810284263A CN108600614A CN 108600614 A CN108600614 A CN 108600614A CN 201810284263 A CN201810284263 A CN 201810284263A CN 108600614 A CN108600614 A CN 108600614A
Authority
CN
China
Prior art keywords
image
filter
additional
processing apparatus
operational order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810284263.8A
Other languages
Chinese (zh)
Other versions
CN108600614B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810284263.8A priority Critical patent/CN108600614B/en
Publication of CN108600614A publication Critical patent/CN108600614A/en
Application granted granted Critical
Publication of CN108600614B publication Critical patent/CN108600614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to an image processing method and device, which are used for solving the problem of how to process a shot image. The method comprises the following steps: receiving an operation instruction aiming at a first image, wherein the operation instruction is used for indicating to replace the first image; and stopping displaying the first image and displaying a second image, wherein the first image is generated according to the second image and an additional image.

Description

A kind of image processing method and device
Technical field
This application involves technical field of image processing, and in particular to a kind of image processing method and device.
Background technology
Currently, taking pictures demand to meet the entertaining of people, terminal device or application provider can provide some filters Beautify picture for user, filter is mainly used for realizing that some special-effects of image, such as expression filter are just favored by masses deeply. The content of expression filter increases to expression filter such as including cat beard or rabbit ears in the image of shooting, can be with So that the image of shooting is more lovely.
In general, user can choose filter when shooting face, shot later, to obtain the face figure with filter Picture.By taking expression filter as an example, the facial image normally with espressiove filter usually meets following two points:One, expression filter with Mutually coordinate in face direction;Two, it is strong that sense is merged between expression filter and face.However shooting sometimes obtain with espressiove filter Facial image can may also have some flaws, for example, the content of expression filter is rabbit ears, but shoot in obtained image Rabbit ears are crooked, lead to have distance between uncoordinated between rabbit ears and face direction or rabbit ears and face, lead Cause image co-registration sense poor.And in the prior art, if dissatisfied for the image after shooting, it can only re-shoot, not have temporarily There are other settling modes.
Invention content
A kind of image processing method of the embodiment of the present application offer and device, are handled the image after shooting with realizing.
In a first aspect, a kind of image processing method is provided, including:
The operational order for the first image is received, the operational order is used to indicate replacement described first image;
Stop showing described first image, and show the second image, wherein described first image is according to second figure What picture and additional image generated.
In a possible design, stop showing described first image, and show the second image, including:
Described first image is covered with second image.
In a possible design, after stopping showing described first image, described first image is deleted.
In a possible design, the additional image includes expression filter image or coloring filter image or U.S. face Filter image or special screne filter image.
In a possible design, before showing the second image, further include:Described second is obtained from local or high in the clouds Image.
Second aspect provides a kind of image device, including:
The operational order for the first image is received, the operational order is used to indicate editor's described first image, wherein Described first image is to be generated according to the second image and additional image;
The additional image in described first image is edited, second image is obtained.
In a possible design, before the additional image in editing described first image, further include:
By image recognition processes, the additional image in described first image is identified.
In a possible design, before the additional image in editing described first image, further include:
Determine the first figure layer included by described first image, first figure layer is for carrying the additional image;
First figure layer is removed from described first image.
In a possible design, the additional image includes expression filter image or coloring filter image or U.S. face Filter image or special screne filter image.
The third aspect provides a kind of image processing apparatus, including:
Transceiver module, for receiving the operational order for the first image, the operational order is used to indicate described in replacement First image;
Processing module shows described first image for stopping, and shows the second image, wherein described first image is It is generated according to second image and additional image.
In a possible design, the processing module is specifically used for:First figure is covered with second image Picture.
In a possible design, the processing module is additionally operable to:After stopping showing described first image, institute is deleted State the first image.
In a possible design, the additional image includes expression filter image or coloring filter image or U.S. face Filter image or special screne filter image.
In a possible design, the processing module is additionally operable to:Before showing the second image, from local or high in the clouds Obtain second image.
Fourth aspect provides a kind of image processing apparatus, including:
Transceiver module, for receiving the operational order for the first image, the operational order is used to indicate described in editor First image, wherein described first image is to be generated according to the second image and additional image;
Processing module obtains second image for editing the additional image in described first image.
In a possible design, the processing module is additionally operable to:
Before the additional image in editing described first image, pass through image recognition processes, identification described first The additional image in image.
In a possible design, the processing module is specifically used for:
Determine the first figure layer included by described first image, first figure layer is for carrying the additional image; First figure layer is removed from described first image.
In a possible design, the additional image includes expression filter image or coloring filter image or U.S. face Filter image or special screne filter image.
5th aspect, provides a kind of image processing apparatus, including:
At least one processor, and
The memory being connect at least one processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one processor, at least one place It manages device and realizes such as the embodiment of the present application first aspect or any possible design by executing the instruction of the memory storage Described in method or the method described in the embodiment of the present application second aspect or any possible design.
6th aspect, provides a kind of computer readable storage medium, the computer-readable recording medium storage has calculating Machine instruct, when the computer instruction is run on computers so that computer execute the embodiment of the present application first aspect or Described in method or the embodiment of the present application second aspect or any possible design described in any possible design Method.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
In the embodiment of the present application, such as user chooses filter when shooting face, which can be considered additional image, then The facial image with filter is obtained according to face and filter, should can be considered the first image with the facial image of filter, without The facial image of filter can be considered the second image.When user is dissatisfied to the facial image with filter, it can send out and be directed to The operational order of first image, then image processing apparatus can stop facial image of the display with filter, and show without filter Facial image, thereby realize the processing to the first image, user can directly carry out when dissatisfied to the first image Operation, image processing apparatus are readily modified as the second image of display and reduce the power consumption of device without shooting again, also simplify use The operation at family improves user experience.
Description of the drawings
Fig. 1 is a kind of flow chart of image processing method provided by the embodiments of the present application;
Fig. 2 is a kind of example of the first image provided by the embodiments of the present application;
Fig. 3 is a kind of example of the second image provided by the embodiments of the present application;
Fig. 4 be it is provided by the embodiments of the present application according to fig. 3 in one kind of the first new image for generating of the second image show Example;
Fig. 5 is the flow chart of another image processing method provided by the embodiments of the present application;
Fig. 6 is a kind of example of the first image provided by the embodiments of the present application;
Fig. 7 is according to image processing method provided by the embodiments of the present application to the result after the first image procossing in Fig. 8 Schematic diagram;
Fig. 8 is a kind of structural schematic diagram of image processing apparatus provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of image processing apparatus provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of image processing apparatus provided by the embodiments of the present application.
Specific implementation mode
In order to keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in the embodiment of the present application Technical solution be clearly and completely described.
Currently, when user shoots image by terminal device, expression filter may be borrowed, to which shooting obtains carrying table The image of feelings filter, to increase the aesthetic feeling and interest of image.But the image with espressiove filter that shooting sometimes obtains may User is dissatisfied, but current solution can only be re-shoot, and this method is obviously more troublesome.
In view of this, a kind of image processing method of the embodiment of the present application offer and device, for being carried out to image after shooting Processing.
Technical solution provided by the embodiments of the present application is introduced with reference to the accompanying drawings of the specification.
Fig. 1 is referred to, the embodiment of the present application provides a kind of image processing method, and this method can be held by image processing apparatus Row.The flow of this method is described as follows.
Step 101 receives the operational order for being directed to the first image, and the operational order, which is used to indicate, replaces first figure Picture;
Step 102 stops showing described first image, and shows the second image, wherein described first image is according to institute State what the second image and additional image generated.
In the embodiment of the present application, image processing apparatus is, for example, terminal device, and terminal device is for example including camera, mobile phone Or tablet computer (PAD) etc., it is also possible to including other equipment for carrying shooting function.
For example, user wants to take pictures, the taking pictures application opened on image processing apparatus is found a view, and application of taking pictures may be image Other applications of taking pictures of processing unit included take pictures application or image processing apparatus download.In order to increase interest, use Family is image selection filter to be captured, and user for example selects in the filter that image processing apparatus carries, or is scheming As being selected in filter that the application installed in processing unit is provided.The filter of user's selection is, for example, to colour filter, table Feelings filter, U.S. face filter or special screne filter etc., wherein coloring filter can provide a variety of colors figure layer so that image discoloration, Expression filter includes some gadgets or cartoon expression, can be added in image, and U.S. face filter image can make face skin Whiter etc., special screne filter can provide special screne effect, such as the scenes such as dusk or seabeach.User select filter with And after completion of finding a view, user, which can click the completion of the shooting button on image processing apparatus shooting or user, can pass through language Sound operates or the modes such as gesture operation are completed to shoot, and specific style of shooting is not restricted.After completing to shoot, it can be shot Image afterwards.Image after shooting namely above the step of described in the first image.In this case, user is shooting When, actually filter is increased on the basis of the original image found a view and obtained the first image, then, image procossing Device other than available first image, can also obtain the original image for being not added with filter, which is exactly by shooting Second image.
For example, user intends to take pictures, in order to keep photo more lovely, user is first in the application of taking pictures of image processing apparatus It is rabbit ear shown in Fig. 2 to have chosen the content for taking pictures the expression filter chosen using provided expression filter, user Piece, that is, content that dotted ellipse in Fig. 2 is irised out.Then, the image and the table found a view in conjunction with image processing apparatus Feelings filter completes shooting, wherein the image that image processing apparatus is found a view is facial image, then what shooting obtained is to carry rabbit The facial image of ear should can be considered the first image, as shown in Figure 2 with the facial image of rabbit ears.For example, another Outside, image processing apparatus can also obtain the people without rabbit ears other than obtaining the facial image with rabbit ears Face image should may be considered the second image, as shown in Figure 3 without the facial image of rabbit ears.
Alternatively, user can recall existing image, filter is added on the existing image, obtains the first image, it should Existing image can be considered as the second image, and the filter of addition is exactly additional image, such as in Fig. 2, and rabbit ears can be with It is considered as additional image.In this case, the second image can be stored in image processing apparatus local, and user can directly adjust It can obtain that either the second image can be received from other devices or the second image can be with from high in the clouds with either the second image Downloaded by network etc..
After obtaining the first image, user can watch the first image.Such as user can after shooting the first image Direct viewing, specifically, image processing apparatus is by after the completion of the first image taking, it generally can be in the display screen of image processing apparatus The first image of upper display, then user can with direct viewing, alternatively, user can also be after shooting the first image one section when Between after review the first image, during this period of time, image processing apparatus may always show the first image, then user is at this Or can be with direct viewing after the section time, or within this period, the display screen of image processing apparatus may be shown again Other content, such as user have taken other images or user but also have invoked other application etc. not only, then in this period Later, user wants to watch the first image, the first image can be recalled from the memory space of image processing apparatus to watch, certainly The premise done so is that image processing apparatus stores the first image.
User watches after the first image, may be dissatisfied to the first image, for example, added in shooting figure 2 Filter is expression filter, and the content of the expression filter is rabbit ears, but the people shown in Fig. 2 with rabbit ears that shooting obtains Rabbit ears are crooked in face image, cause uncoordinated between rabbit ears and face direction, may result in the discontented of user in this way Meaning.
In this case, user, which can wish to retrieve, can enable customer satisfaction system image.So implement in the application In example, user can directly be handled the first image without re-shooting, to retrieve satisfied image.Example Such as, user can operate the first image, which is, for example, edit operation or delete operation, or is also likely to be special It is used to indicate the operation for replacing the first image, the purpose of the operation is the first image of replacement in a word, for example, image processing apparatus Display screen is touch display screen, then user can directly by being clicked to the first image shown by the touch display screen or Sliding etc. realizes that the operation or user can also be by pressing physical button or virtual key realization on image processing apparatus The operation or user can also realize the operation by gesture operation or voice operating etc..The first image of user couple is somebody's turn to do After operation, also it is equivalent to have input operational order to image processing apparatus, then image processing apparatus receives the operational order, really The fixed operational order, which is used to indicate, replaces the first image.For example, user is discontented to the facial image shown in Fig. 2 with rabbit ears Meaning, then user realizes the operation of replacement the first image shown in Fig. 2, user by touching the virtual key of image processing apparatus It after carrying out the operation, is equivalent to and operational order is had input to image processing apparatus, then image processing apparatus receives the operation and refers to It enables, determines that the first image shown in Fig. 2 is replaced in operational order instruction.
Image processing apparatus executes the operational order, to replace the first image.In the embodiment of the present application, the first figure is replaced Picture, it will be appreciated that stop showing the first image, and show the second image.Wherein, the first image is according to the second image and volume What outer image generated, for popular, the second image can be regarded as original image, and the first image is construed as carrying out original image The image obtained after processing.In conjunction with the embodiment of the present application technical problem to be solved it is understood that the second image is to be not added with The image of filter, the first image are that the image obtained after filter is added in the second image.That is, because user is to adding Added the image of filter dissatisfied, then image processing apparatus depending on the user's operation, can show the original image for being not added with filter, No longer display is added to the image of filter, and original image can be obtained by being re-shoot without user, for example, image processing apparatus The operational order for receiving user, then execute the operational order, to stop showing the facial image shown in Fig. 2 with rabbit ears, Stop showing the first image, and be changed to show the facial image shown in Fig. 3 without rabbit ears, that is, shows the second image.
After image processing apparatus shows the second image, user can carry out respective handling to the second image again.For example, user The second image as shown in Figure 3 can be preserved, alternatively, after image processing apparatus shows the second image, user can also be Filter is added again on two images, for example, user has reselected new filter, new filter content is, for example, five-pointed star, figure As processing unit combines the filter that the second image and user reselect, the first image of renewable Cheng Xin, the first new image Such as it is known as third image, it can refer to Fig. 4.As it can be seen that user can carry out a variety of different operations to the second image according to demand, give User provides a variety of further modes of operation, can effectively improve user experience.
It describes above, the second image may be that user is added to filter to the original image found a view when shooting It obtains afterwards, then image processing apparatus can also obtain the second image, image by shooting other than it can obtain the first image Processing unit can preserve the second image.Alternatively, the second image can also be the image preserved in image processing apparatus.This two In the case of kind, when image processing apparatus need to show the second image, directly the second image is recalled from local.
Alternatively, the second image is also likely to be to be obtained from high in the clouds, or received from other devices, or pass through net Network download etc., then being divided into two kinds of situations:A kind of situation is that image processing apparatus can be according to the second figure after obtaining the second image As obtaining the first image, image processing apparatus deletes the second image after obtaining the first image, then, in image processing apparatus It when needing to show the second image again, can regain, such as second image is originally and is obtained from high in the clouds, be filled in image procossing Before setting the second image of display, again from high in the clouds obtains the second image or the second image is originally and is received from other devices, Before image processing apparatus shows the second image, second image, etc. is received from other devices again, because user is not necessarily It can be dissatisfied to the first image, that is to say, that image processing apparatus is not necessarily required to show the second image again, in this way The memory space of image processing apparatus can be saved to a certain extent;Another situation is, image processing apparatus is obtaining the After two images, in addition to can obtain the first image according to the second image other than, can also store the second image, then image processing apparatus again When needing to show the second image, the second image directly is recalled from local, image procossing dress can be saved in this way It sets and the interaction between other devices.
In the embodiment of the present application, image processing apparatus stops showing the first image, and shows the second image, can be different Realization method.
For example, image processing apparatus closes the first image or minimizes the first image, stop showing the first figure to realize Picture, and open the second image or maximize the second image opened before, to realize the second image of display.In this feelings Under condition, stopping showing the first image, and after the second image of display, the first image and the second image are in image processing apparatus It may still remain.
Such as image processing apparatus replaces the first image using the second image, in this case, is stopping showing First image, and after the second image of display, the second image still remains in image processing apparatus, but the first image is in image It may continue to exist in processing unit, at this point, " replacement " simply means that image processing apparatus by showing that the first image is changed to show Show the second image, but be not meant to that image processing apparatus deletes the first image, or stopping showing the first image, and is aobvious After showing the second image, the first image may also no longer exist, at this point, image processing apparatus replaces first using the second image Image can be regarded as image processing apparatus using the second image cover the first image, that is, replace while, the first image by It deletes.
Such as image processing apparatus covers the first image using the second image, in this case, is stopping showing First image, and after the second image of display, the second image still remains in image processing apparatus, but the first image is in image No longer exist in processing unit, it will be appreciated that be that the first image has been deleted.Certainly as above several realization methods are only illustrated, and are closed Stop showing the first image in image processing apparatus, and show the realization method of the second image, the embodiment of the present application is not restricted.
For the embodiment of the present application, the first image is actually the less satisfied image of user, then the first image It can delete, to save the memory space of image processing apparatus.Display the is stopped for image processing apparatus according to before such as One image, and show the introduction of several realization methods of the second image, if image processing apparatus is using the second image covering the One image can then be considered as the first image and be deleted, and if image processing apparatus closes the first image or minimizes the first figure Picture stops showing that the first image or image processing apparatus replace the first image using the second image, then first to realize Image may be still existing.In these cases, in order to save memory space, image processing apparatus can close first The first image is directly deleted after replacing the first image after image or using the second image, is manually operated without user, user is simplified Operating process.Alternatively, if it is considered that the demand of user, image processing apparatus can not also delete the first image, if with Family is wanted to delete the first image, then can be operated, such as user can carry out delete operation to the first image, then at image After reason device receives the instruction of delete operation input by user, then delete the first image so that image processing apparatus processes Cheng Gengwei meets the demand of user.Herein, in order to be previously described for instruction replace described first image operation Instruction is mutually distinguished, and can will be used to indicate the operational order for replacing described first image and is known as the first operational order, and will use The operational order for deleting the first image of family input is known as the second operational order.It should be noted that herein " the One ", the descriptions such as " second " are intended merely to distinguish different technical characteristics, be not for technical characteristic order of occurrence and The limitation of substantive content.
In order to solve same technical problem, that is, the image after shooting can not be handled at present, refer to Fig. 5, the application is real It applies example and another image processing method is also provided, this method can be executed by image processing apparatus.The flow description of this method is such as Under.
Step 501, the operational order for the first image is received, operational order is used to indicate the first image of editor, wherein First image is to be generated according to the second image and additional image;
Step 502, the additional image in the first image is edited, the second image is obtained.
About the first image, the second image, additional image, operational order source, how to send out operational order and How user watches the features such as the first image, can refer to the related introduction in embodiment shown in FIG. 1, seldom repeats.
By taking the first image is obtained by shooting as an example.For example, user is shot to obtain the first image, the first image Fig. 6 is can refer to, frame portion shown in dotted lines in Figure 6 can be considered as the additional image that the first image includes.User watches After first image, the frame in the obtained Fig. 6 of shooting and unsightly may be felt, then user can grasp the first image Make, the operation of the first image of user couple is the equal of having sent operational order to image processing apparatus, then image processing apparatus connects The operational order is received, about the mode of operation of user, can refer to the related introduction in embodiment shown in FIG. 1.Image procossing fills It sets after receiving the operational order, determines that the first image shown in fig. 6 is replaced in operational order instruction, then image processing apparatus executes The operational order, to edit the first image.
Image processing apparatus will edit the additional image in the first image, it is necessary to determine which specific portion in the first image Point it is additional image.The side of the additional image in two kinds of additional images of determination, and the first image of editor is described below Formula.
Mode one can identify first before the additional image in editing the first image by image recognition processes Additional image in image, then edit the additional image in the first image.
Wherein, there are many image-recognizing methods.A kind of image-recognizing method such as feature recognition method, specifically, at image Reason device first obtains characteristic information, and characteristic information is extracted from sample image, and image processing apparatus can extract the first image Corresponding characteristic information, the characteristic information of the first image of extraction is matched with the characteristic information of sample image, first With the part of the characteristic information successful match of sample image in the characteristic information of image, then it is identified as the part of additional image, The additional image that image processing apparatus editor identifies.Wherein, sample image is for example including that can be added in image Filter, the characteristic information of sample image, it may for example comprise the beard of mew miaow, the ear of rabbit or frame etc..The feature of sample image Information can be obtained by image processing apparatus, and be stored in image processing apparatus, or can also pass through other devices It obtains, image processing apparatus can be obtained by high in the clouds, or directly be obtained from other devices.
Specific example explanation is carried out for feature recognition method, by taking image texture characteristic as an example, image processing apparatus is deposited in advance The characteristic information of sample storage this frame image, image processing apparatus extract the characteristic information of the first image as shown in FIG. 6 again, then The characteristic information of the first image of Fig. 6 is matched with the characteristic information of sample frame image, the spy of the frame portion in Fig. 6 Reference ceases the characteristic information successful match with sample frame image, then identifies that the frame portion in Fig. 6 is additional image, so The additional image of image processing apparatus editor afterwards.This method is suitble to have the case where additional image is newly-increased object, for example, with cat The expression filter of miaow ear, special screne filter of starry sky with the moon etc., and be poorly suitable for without increasing the additional of object newly Image, such as coloring filter or U.S. face filter etc..
Such as similar fuzzy knowledge method, sample image is described according to description algorithm, obtains the phase of sample image It answers semantic information, identical description the first image of algorithm pair is recycled to be described to obtain the semantic information of the first image, by the The semantic information of one image semantic information corresponding to sample image is matched, in the first image with sample image successful match Part, then be identified as additional image, then image processing apparatus will identify that the additional image come into edlin again.It retouches Algorithm is stated for example, natural language, flow chart and pseudocode etc..Wherein, sample image includes filter, such as expression filter or special Scene filter etc..This method is suitble to the additional image of newly-increased object, for example, the expression filter of frame, the indoor field with furniture Special screne filter of scape etc., and be not suitable for without the additional image for increasing object newly, for example, coloring filter, U.S. face filter etc..
Above-mentioned method mainly identifies the additional image in the first image by the existing image recognition processes of combination, The additional image in the first image is edited again, and then obtains the second image.
Mode two determines the first figure layer included by the first image, and the first figure layer is for carrying additional image, from first The first figure layer is removed in image.
For example, the first image includes at least two figure layers, directly two figure layers are not merged when storing the first image Storage.Wherein, additional image is carried at least one figure layer therein.Can be that carrying is additional when storing the first image Image figure layer setting flag, the figure where additional image can be directly gone out according to marker recognition to image processing apparatus Layer, to edit additional image by editing the figure layer.For example, by carry additional image figure layer be labeled as 1, and The figure layer for carrying other information is labeled as 2, or does not give the figure layer setting flag of carrying other information, then image processing apparatus The figure layer labeled as 1 can be edited.
Above-mentioned method carries additional image using the first figure layer, to carry additional image the first figure layer into Line flag, to identify the additional image in the first image.This method may be implemented to all types of additional figures The delete processing of picture, including coloring filter, expression filter, U.S. face filter or special screne filter etc..
Such as when generating the first image, arrange the first image each figure for including according to the Cahn-Ingold-Prelog sequence rule of acquiescence The position of layer, directly identifies the position of the first figure layer, then to the first figure layer editor according to the Cahn-Ingold-Prelog sequence rule of acquiescence.For example, logical Crossing the Cahn-Ingold-Prelog sequence rule that image processing apparatus is given tacit consent to is:The first figure layer for carrying additional image is 0, the second of the second image of carrying Figure layer is 1.Generate the first image it can be understood that for the first figure layer and the second figure layer the result arranged successively.Figure The first layer position in the first image can be identified according to the Cahn-Ingold-Prelog sequence rule of acquiescence as processing unit, then deletes the first figure Layer obtains the second image to realize to the editor of additional image.
Above-mentioned method is arranged the first figure layer and the second figure layer by image processing apparatus according to the Cahn-Ingold-Prelog sequence rule of acquiescence Position directly judges the position of the first figure layer according to the Cahn-Ingold-Prelog sequence rule arrangement of acquiescence after image processing apparatus receives operational order It sets, the first figure layer is deleted, to obtain the second image.This method may be implemented to all types of additional images Delete processing, including coloring filter, expression filter, U.S. face filter or special screne filter etc..
After the additional image in the first image of image processing apparatus pair is into edlin, editor can be deleted, and delete Image except for an additional is equivalent to obtain the second image, for example, the facial image shown in fig. 6 with frame, that is, the One image has just obtained the second image as shown in Figure 7, also after deleting image additional shown in the first image It is the facial image without frame.After deletion, user can carry out other operations again on the basis of Fig. 7, for example, adding it His filter directly preserves Fig. 7 etc..
In the embodiment of the present application, for example, user chooses filter when shooting face, which can be considered additional image, The facial image with filter is obtained further according to face and filter, should can be considered the first image with the facial image of filter, no Facial image with filter can be considered that the second image, filter can be considered additional image.When user is to the face figure with filter When as being unsatisfied with, the operational order for the first image can be sent out, then image processing apparatus can compile additional image Volume, for example, additional image is deleted, to obtain the second image, to realize the processing to the image after shooting.It is thus real The processing to the first image is showed, user can directly operate when dissatisfied to the first image, and image processing apparatus can To reduce the power consumption of device without shooting again into edlin to additional image, also simplify the operation of user, improve and use It experiences at family.
On the basis of the embodiment of above-mentioned image processing method, the embodiment of the present application also provides a kind of image procossing dress It sets, refers to Fig. 8, which can be used for realizing the image processing method that embodiment shown in FIG. 1 provides.
The image processing apparatus includes transceiver module 801 and processing module 802:
Transceiver module 801, for receiving the operational order for the first image, the operational order, which is used to indicate, replaces institute State the first image;
Processing module 802 shows described first image for stopping, and shows the second image, wherein described first image For what is generated according to second image and additional image.
Optionally, processing module 802 is specifically used for:Described first image is covered with second image.
Optionally, processing module 802 is additionally operable to:After showing the first image, described first image is deleted.
Optionally, the additional image includes expression filter image or coloring filter image.
Optionally, processing module 802 is additionally operable to:Before showing the second image, second image is obtained from high in the clouds.
On the basis of the embodiment of above-mentioned image processing method, the embodiment of the present application also provides a kind of image procossings Device refers to Fig. 9, which can be used for realizing the image processing method that embodiment shown in fig. 5 provides.
The image processing apparatus includes transceiver module 901 and processing module 902.
Transceiver module 901 receives the operational order for the first image, and the operational order, which is used to indicate, replaces described the One image, wherein described first image is to be generated according to the second image and additional image;
Processing module 902 deletes the additional image in described first image, obtains second image.
Optionally, processing module 902 are additionally operable to, and before the additional image in deleting described first image, are passed through Image recognition processes identify the additional image in described first image.
Optionally, processing module 902 are specifically used for, and delete the additional image in described first image, including: Determine the first figure layer included by described first image, first figure layer is for carrying the additional image;From described First figure layer is removed in one image.
Optionally, the additional image includes expression filter image or coloring filter image or U.S. face filter image or spy Different scene filter image.
On the basis of the embodiment of above-mentioned image processing method, the embodiment of the present application also provides a kind of image procossings Device refers to Figure 10, including:
Processor 1001, and
The memory 1002 communicated to connect with processor 1001;
Wherein, memory 1002 is stored with the instruction that can be executed by processor 1001, and processor 1001 is by executing storage The instruction that device 1002 stores is realized in image processing method or another application embodiment in a kind of above-mentioned application embodiment Image processing method.
For example, the processing module 802 in image processing apparatus shown in Fig. 8 can pass through image processing apparatus shown in Fig. 10 In processor 1001 realize.
Alternatively, the processing module 902 in image processing apparatus shown in Fig. 9 can pass through image processing apparatus shown in Fig. 10 In processor 1001 realize.
It is noted that in Fig. 10, by taking image processing apparatus includes a processor 1001 as an example, in practical applications It is not intended to limit the quantity for the processor 1001 that image processing apparatus includes.
On the basis of the embodiment of above-mentioned image processing method, the embodiment of the present application also provides a kind of computer-readable Storage medium, the computer-readable recording medium storage have computer instruction, when the computer instruction is transported on computers When row so that computer executes the image processing method or embodiment shown in fig. 5 institute that above-mentioned embodiment shown in FIG. 1 provides The image processing method of offer.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to according to the method for the embodiment of the present application, equipment (system), device and computer program product Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of flow and/or box in one flow and/or box and flowchart and/or the block diagram.These computers can be provided Processor of the program instruction to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine so that the instruction executed by computer or the processor of other programmable data processing devices generates use In the dress for realizing the function of being specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes It sets.
The above, above example are only described in detail to the technical solution to the application, but the above implementation The method that the explanation of example is merely used to help understand the embodiment of the present application, should not be construed as the limitation to the embodiment of the present application.This The change or replacement that those skilled in the art can readily occur in, should all cover the embodiment of the present application protection domain it It is interior.

Claims (20)

1. a kind of image processing method, which is characterized in that including:
The operational order for the first image is received, the operational order is used to indicate replacement described first image;
Stop show described first image, and show the second image, wherein described first image be according to second image with And additional image generation.
2. the method as described in claim 1, which is characterized in that stop showing described first image, and shows the second image, packet It includes:
Described first image is covered with second image.
3. the method as described in claim 1, which is characterized in that after stopping showing described first image, further include:
Delete described first image.
4. method as described in any one of claims 1-3, which is characterized in that the additional image include expression filter image or Colour filter image or special screne filter image or U.S. face filter image.
5. the method as described in claim 1, which is characterized in that before showing the second image, further include:
Second image is obtained from local or high in the clouds.
6. a kind of image processing method, which is characterized in that including:
The operational order for the first image is received, the operational order is used to indicate editor's described first image, wherein described First image is to be generated according to the second image and additional image;
The additional image in described first image is edited, second image is obtained.
7. method as claimed in claim 6, which is characterized in that the additional image in editing described first image Before, further include:
By image recognition processes, the additional image in described first image is identified.
8. method as claimed in claim 6, which is characterized in that the additional image in editor's described first image, packet It includes:
Determine the first figure layer included by described first image, first figure layer is for carrying the additional image;
First figure layer is removed from described first image.
9. the method as described in claim 6-8 is any, which is characterized in that the additional image include expression filter image or Colour filter image or U.S. face filter image or special screne filter image.
10. a kind of image processing apparatus, which is characterized in that including:
Transceiver module, for receiving the operational order for the first image, the operational order is used to indicate replacement described first Image;
Processing module shows described first image for stopping, and shows the second image, wherein according to described first image What second image and additional image generated.
11. device as claimed in claim 10, which is characterized in that the processing module is specifically used for:
Described first image is covered with second image.
12. device as claimed in claim 10, which is characterized in that the processing module is additionally operable to:
After stopping showing described first image, described first image is deleted.
13. the device as described in claim 10-12 is any, which is characterized in that the additional image includes expression filter figure Picture or coloring filter image or U.S. face filter image or special screne filter image.
14. device as claimed in claim 10, which is characterized in that the processing module is additionally operable to:
Before showing the second image, second image is obtained from local or high in the clouds.
15. a kind of image processing apparatus, which is characterized in that including:
Transceiver module, for receiving the operational order for the first image, the operational order is used to indicate editor described first Image, wherein described first image is to be generated according to the second image and additional image;
Processing module obtains second image for editing the additional image in described first image.
16. device as claimed in claim 15, which is characterized in that the processing module is additionally operable to:
Before the additional image in editing described first image, by image recognition processes, described first image is identified In the additional image.
17. device as claimed in claim 15, which is characterized in that the processing module is specifically used for:
Determine the first figure layer included by described first image, first figure layer is for carrying the additional image;
First figure layer is removed from described first image.
18. the device as described in claim 15-17 is any, which is characterized in that the additional image includes expression filter figure Picture or coloring filter image or U.S. face filter image or special screne filter image.
19. a kind of image processing apparatus, which is characterized in that including:
At least one processor, and
The memory being connect at least one processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one processor, at least one processor Method or such as claim 6- as described in any one of claim 1-5 are realized in instruction by executing the memory storage 9 any one of them methods.
20. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, when the computer instruction is run on computers so that computer is executed as described in any one of claim 1-5 Method or such as claim 6-9 any one of them methods.
CN201810284263.8A 2018-04-02 2018-04-02 Image processing method and device Active CN108600614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810284263.8A CN108600614B (en) 2018-04-02 2018-04-02 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810284263.8A CN108600614B (en) 2018-04-02 2018-04-02 Image processing method and device

Publications (2)

Publication Number Publication Date
CN108600614A true CN108600614A (en) 2018-09-28
CN108600614B CN108600614B (en) 2022-03-08

Family

ID=63624145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810284263.8A Active CN108600614B (en) 2018-04-02 2018-04-02 Image processing method and device

Country Status (1)

Country Link
CN (1) CN108600614B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264544A (en) * 2019-05-30 2019-09-20 腾讯科技(深圳)有限公司 Image processing method and device, storage medium and electronic device
CN113596566A (en) * 2021-07-08 2021-11-02 深圳爱特天翔科技有限公司 Method, device and system for downloading picture by image processing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120075503A1 (en) * 2010-09-28 2012-03-29 Nintendo Co., Ltd. Computer-readable storage medium having stored thereon image generation program, capturing apparatus, capturing system, and image generation method
US20120223956A1 (en) * 2011-03-01 2012-09-06 Mari Saito Information processing apparatus, information processing method, and computer-readable storage medium
CN104322050A (en) * 2012-05-22 2015-01-28 株式会社尼康 Electronic camera, image display device, and image display program
CN105279161A (en) * 2014-06-10 2016-01-27 腾讯科技(深圳)有限公司 Filter sequencing method and filter sequencing device for picture processing application
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device
CN107368603A (en) * 2017-07-28 2017-11-21 上海鋆创信息技术有限公司 A kind of method and device, storage medium and the terminal of the processing of picture filter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120075503A1 (en) * 2010-09-28 2012-03-29 Nintendo Co., Ltd. Computer-readable storage medium having stored thereon image generation program, capturing apparatus, capturing system, and image generation method
US20120223956A1 (en) * 2011-03-01 2012-09-06 Mari Saito Information processing apparatus, information processing method, and computer-readable storage medium
CN104322050A (en) * 2012-05-22 2015-01-28 株式会社尼康 Electronic camera, image display device, and image display program
CN105279161A (en) * 2014-06-10 2016-01-27 腾讯科技(深圳)有限公司 Filter sequencing method and filter sequencing device for picture processing application
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device
CN107368603A (en) * 2017-07-28 2017-11-21 上海鋆创信息技术有限公司 A kind of method and device, storage medium and the terminal of the processing of picture filter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264544A (en) * 2019-05-30 2019-09-20 腾讯科技(深圳)有限公司 Image processing method and device, storage medium and electronic device
CN110264544B (en) * 2019-05-30 2023-08-25 腾讯科技(深圳)有限公司 Picture processing method and device, storage medium and electronic device
CN113596566A (en) * 2021-07-08 2021-11-02 深圳爱特天翔科技有限公司 Method, device and system for downloading picture by image processing device

Also Published As

Publication number Publication date
CN108600614B (en) 2022-03-08

Similar Documents

Publication Publication Date Title
US11488355B2 (en) Virtual world generation engine
CN109819313B (en) Video processing method, device and storage medium
CN109120866B (en) Dynamic expression generation method and device, computer readable storage medium and computer equipment
CN108566519B (en) Video production method, device, terminal and storage medium
JP7518189B2 (en) Video processing method, device, electronic device and non-transitory computer-readable storage medium
US10359927B2 (en) Methods and systems for photo, page, and spread arrangement on space-constrained user devices
CN112073649B (en) Multimedia data processing method, multimedia data generating method and related equipment
US11438510B2 (en) System and method for editing video contents automatically technical field
CN109547841B (en) Short video data processing method and device and electronic equipment
CN112087652A (en) Video production method, video sharing device, electronic equipment and storage medium
WO2020042786A1 (en) Interactive method and device based on augmented reality
CN111050222A (en) Virtual article issuing method, device and storage medium
US10504264B1 (en) Method and system for combining images
CN109089043A (en) Shoot image pre-processing method, device, storage medium and mobile terminal
CN105025378A (en) Subtitle inserting system and method
CN107111437A (en) Digital media message generation
EP4300431A1 (en) Action processing method and apparatus for virtual object, and storage medium
CN108737903B (en) Multimedia processing system and multimedia processing method
CN112417180A (en) Method, apparatus, device and medium for generating album video
CN113918522A (en) File generation method and device and electronic equipment
CN114979785B (en) Video processing method, electronic device and storage medium
CN112118397A (en) Video synthesis method, related device, equipment and storage medium
CN110704377B (en) Multimedia file processing method and device, processor and electronic device
CN108600614A (en) Image processing method and device
US20140013193A1 (en) Methods and systems for capturing information-enhanced images

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
GR01 Patent grant
GR01 Patent grant