CN105160695A - Picture processing method and mobile terminal - Google Patents

Picture processing method and mobile terminal Download PDF

Info

Publication number
CN105160695A
CN105160695A CN201510383167.5A CN201510383167A CN105160695A CN 105160695 A CN105160695 A CN 105160695A CN 201510383167 A CN201510383167 A CN 201510383167A CN 105160695 A CN105160695 A CN 105160695A
Authority
CN
China
Prior art keywords
sound
target picture
virtualization
air blowing
intensity
Prior art date
Application number
CN201510383167.5A
Other languages
Chinese (zh)
Other versions
CN105160695B (en
Inventor
韦怡
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201510383167.5A priority Critical patent/CN105160695B/en
Publication of CN105160695A publication Critical patent/CN105160695A/en
Application granted granted Critical
Publication of CN105160695B publication Critical patent/CN105160695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a picture processing method and a mobile terminal. The method comprises the steps: starting a microphone to collect control sound generated by a user when an editing instruction generated for a target picture is detected; judging whether the control sound is prestored air-blowing sound or not; and carrying out the virtual processing of the target picture according to the air-blowing sound if the control sound is prestored air-blowing sound. The method can improve the operation efficiency of picture processing, improves the processing interestingness of pictures, and improves the user experience.

Description

A kind of photo processing method and mobile terminal
Technical field
The present invention relates to image processing field, particularly relate to a kind of photo processing method and mobile terminal.
Background technology
Along with the development of the communication technology, the function of mobile terminal is increasingly abundant, wherein, camera function on mobile terminal, make user additionally need not carry camera also can take pictures whenever and wherever possible, record and share the animation of oneself and beautiful scenery at one's side, dark liking by users.
At present, picture library application in terminal usually can be supplied to user and check photo, the function such as editing photo and share photos, background blurring process can be carried out by comparison film in editing photo, then the photo normally opening needs operation enters photo editing function, then background blurring function choosing-item is clicked, now whole photo is carried out virtualization process by terminal, and then carry out sharpening process according to user's request by needing the part of sharpening, this processing procedure needs a hand to grip terminal, another hand carries out operating and just can complete, and complex operation step and dull.
Summary of the invention
Embodiments provide a kind of photo processing method and mobile terminal, the operating efficiency of photo disposal process can be improved, increase the interest of photo virtualization process, improve Consumer's Experience.
Embodiments provide a kind of photo processing method, described method comprises:
When the edit instruction generated for target picture being detected, start the control sound that microphone collection user sends;
Judge whether described control sound is the air blowing sound prestored;
If so, according to described air blowing sound, virtualization process is carried out to described target picture.
Accordingly, embodiments provide a kind of mobile terminal, described mobile terminal comprises:
Sound collection unit, during for the edit instruction generated for target picture being detected, starts the control sound that microphone collection user sends;
Sound judging unit, for judging whether described control sound is the air blowing sound prestored;
Graphics processing unit, during for the judged result of described sound judging unit for being, carries out virtualization process according to described air blowing sound to described target picture.
The embodiment of the present invention, when the edit instruction generated for target picture being detected, can start the control sound that microphone collection user sends; Also when to determine described control sound be the air blowing sound prestored, according to described air blowing sound, virtualization process can be carried out to described target picture, the operating efficiency of photo virtualization process can be improved, increase the interest of photo virtualization, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of photo processing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 is the another kind of photo processing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is another photo processing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 4 is a kind of mobile terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of graphics processing unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of graphics processing unit that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, mobile terminal mentioned in the embodiment of the present invention includes but not limited to: the electronic equipment such as smart mobile phone (as Android phone, IOS mobile phone), panel computer, notebook computer, palm PC, wearable intelligent equipment.
A kind of photo processing method provided the embodiment of the present invention below in conjunction with Fig. 1 to Fig. 6 and mobile terminal are specifically described.
See Fig. 1, be a kind of photo processing method schematic flow sheet that the embodiment of the present invention provides, photo processing method as shown in the figure can comprise the following steps:
S101, when the edit instruction generated for target picture being detected, starts the control sound that microphone collection user sends.
In specific implementation, the photograph album that user can open mobile terminal to be provided is applied and enters in picture library, or directly open the file of storage picture file thus enter picture library, when checking the photo in picture library, user can choose target picture for target picture input editing instruction, enter the editing mode for target picture, user just can carry out rotating for target picture, add word, background blurring, regulate the editing operation such as brightness and cutting.
Mobile terminal can be supplied to the function of user voice identification Generation Edit steering order, therefore after entering photo editing state, mobile terminal can start the control sound that microphone collection user sends, and corresponding editor control instruction can be mobile terminal identification user the keyword controlled in sound generates, generate after also can identifying control sound type.Such as, pre-set voice keyword " to anticlockwise ", after target picture enters editing mode, mobile terminal opens the sound that microphone collection user sends, identified when wherein comprising " to anticlockwise " this keyword by speech recognition technology, the editor control instruction generated to anticlockwise makes target picture to anticlockwise; Again such as, arrange user send cough sound time photo to right rotation, can pre-stored user to cough the sound characteristic information of sound, judge whether it is the cough sound of user according to the characteristic information of this sound collect the sound sent of user at microphone after, make target picture to right rotation if then generate dextrorotary editor control instruction.Optionally, when mobile terminal detect for target picture generate edit instruction time, first can preserve the copy of this target picture, with prevent user carry out mistake editor after can not recover this target picture.
S102, judges whether described control sound is the air blowing sound prestored.
In specific implementation, can gather the air blowing sound that user carries out facing to mobile terminal blowing in advance, the characteristic information being carried out quantizing then to extract this air blowing sound by the voice signal of air blowing sound stores.Collect and quantize equally with after the voice signal of the control sound sent, then the characteristic information of this control sound is extracted, by the matching ratio of sound to drawing the similarity controlling sound and the air blowing sound prestored, when similarity reaches certain threshold value, (such as similarity reaches 90%) then thinks that controlling sound is air blowing sound, now perform step S103, virtualization process is carried out to target picture.
S103, if so, carries out virtualization process according to described air blowing sound to described target picture.
The embodiment of the present invention is imitated in actual life to blow to mirror and is made minute surface be covered with fog and the phenomenon that fogs, when realizing in the terminal facing to mobile terminal air blowing (microphone especially facing to mobile terminal is blown), virtualization process is carried out to the target picture edited in current mobile terminal, target picture to be fogged the effect presenting and be atomized after blowing facing to mobile terminal, manual operation can be reduced, improve operating efficiency, and interest when increasing editing photo.The essence of target picture being carried out to virtualization process is exactly to target picture just Fuzzy processing (pixel of each pixel namely in virtualization region gets the weighted mean value of its surrounding pixel point pixel).
Further, this air blowing intensity of sound (i.e. decibel) can be obtained, and according to the intensity of air blowing sound preset and the mapping relations list of virtualization intensity, obtain the virtualization intensity corresponding with described air blowing sound, then according to this virtualization intensity, virtualization process is carried out to target picture.The air blowing sound that usual air blowing is more retransmitted out is larger, and minute surface is fuzzyyer, therefore simulates this effect and arranges the intensity of intensity larger (namely sound the is larger) virtualization of air blowing sound also large (i.e. virtualization degree is larger).
In another embodiment, after performing step S103, described method also comprises: obtain the sliding trace that user inputs at the image-region of described target picture; By the image-region sharpening of described sliding trace process.
In specific implementation, the background scenery in comparison film is only needed to carry out virtualization process time user is more, and the personage's (especially facial image) in comparison film needs to keep clear, therefore mobile terminal can be supplied to user the part fogged in target picture is become function clearly.Make after minute surface fogs blowing to mirror, user is with pointing in the enterprising line slip of minute surface, wherein the fog of the mirror sections of sliding trace process is erased, minute surface is made again to become clear, therefore can simulate this performance user and input sliding trace on the image-region of target picture carrying out virtualization process, the region of sliding trace process is that user wants to keep region clearly.If be Gaussian Blur algorithm by what adopt during target picture virtualization, by the region of sliding trace process become the clear method of Gauss's contrast that can adopt this region is just clear.
The embodiment of the present invention, when the edit instruction generated for target picture being detected, can start the control sound that microphone collection user sends; Also when to determine described control sound be the air blowing sound prestored, according to described air blowing sound, virtualization process can be carried out to described target picture, the operating efficiency of photo virtualization process can be improved, increase the interest of photo virtualization, improve Consumer's Experience.
See Fig. 2, be the another kind of photo processing method schematic flow sheet that the embodiment of the present invention provides, photo processing method as shown in the figure can comprise the following steps:
S201, when the edit instruction generated for target picture being detected, starts the control sound that microphone collection user sends.
In specific implementation, the photograph album that user can open mobile terminal to be provided is applied and enters in picture library, or directly open the file of storage picture file thus enter picture library, when checking the photo in picture library, user can choose target picture for target picture input editing instruction, enter the editing mode for target picture, user just can carry out rotating for target picture, add word, background blurring, regulate the editing operation such as brightness and cutting.
Mobile terminal can be supplied to the function of user voice identification Generation Edit steering order, therefore after entering photo editing state, mobile terminal can start the control sound that microphone collection user sends, and corresponding editor control instruction can be mobile terminal identification user the keyword controlled in sound generates, generate after also can identifying control sound type.Such as, pre-set voice keyword " to anticlockwise ", after target picture enters editing mode, mobile terminal opens the sound that microphone collection user sends, identified when wherein comprising " to anticlockwise " this keyword by speech recognition technology, the editor control instruction generated to anticlockwise makes target picture to anticlockwise; Again such as, arrange user send cough sound time photo to right rotation, can pre-stored user to cough the sound characteristic information of sound, judge whether it is the cough sound of user according to the characteristic information of this sound collect the sound sent of user at microphone after, make target picture to right rotation if then generate dextrorotary editor control instruction.
S202, judges whether described control sound is the air blowing sound prestored.
In specific implementation, can gather the air blowing sound that user carries out facing to mobile terminal blowing in advance, the characteristic information being carried out quantizing then to extract this air blowing sound by the voice signal of air blowing sound stores.Collect and quantize equally with after the voice signal of the control sound sent, then the characteristic information of this control sound is extracted, by the matching ratio of sound to drawing the similarity controlling sound and the air blowing sound prestored, when similarity reaches certain threshold value, (such as similarity reaches 90%) then thinks that controlling sound is air blowing sound, now performs step S203.
S203, if so, according to the intensity of air blowing sound prestored and the relation mapping table of virtualization intensity, obtains the virtualization intensity corresponding with described air blowing sound.
In specific implementation, the intensity of air blowing sound that can prestore in the terminal and the mapping relations list of virtualization intensity, the air blowing sound that when usually blowing to mirror, air blowing is more retransmitted out is larger, minute surface is fuzzyyer, therefore can simulate this effect and arrange the intensity of intensity larger (namely sound the is larger) virtualization of air blowing sound also large (i.e. virtualization degree is larger).When determining the control sound that user sends during air blowing sound, this air blowing intensity of sound (i.e. decibel) can be obtained, and according to the intensity of air blowing sound preset and the mapping relations list of virtualization intensity, obtain the virtualization intensity corresponding with described air blowing sound, then perform step S204, according to this virtualization intensity, virtualization process is carried out to target picture.
S204, according to the virtualization intensity of described correspondence, carries out virtualization process to described target picture.
The embodiment of the present invention is imitated in actual life to blow to mirror and is made minute surface be covered with fog and the phenomenon that fogs, when realizing in the terminal facing to mobile terminal air blowing (microphone especially facing to mobile terminal is blown), virtualization process is carried out to the target picture edited in current mobile terminal, target picture to be fogged the effect presenting and be atomized after blowing facing to mobile terminal, manual operation can be reduced, improve operating efficiency, and interest when increasing editing photo.The essence of target picture being carried out to virtualization process is exactly to target picture just Fuzzy processing (pixel of each pixel namely in virtualization region gets the weighted mean value of its surrounding pixel point pixel).
The embodiment of the present invention, can when the edit instruction generated for target picture being detected, start the control sound that microphone collection user sends, also can when judging that described control sound is the air blowing sound prestored, according to the intensity of the air blowing sound prestored and the relation mapping table of virtualization intensity, obtain the virtualization intensity corresponding with described air blowing sound, then according to the virtualization intensity of described correspondence, virtualization process is carried out to described target picture, the operating efficiency of photo virtualization process can be improved, increase the interest of photo virtualization, improve Consumer's Experience.
See Fig. 3, be another photo processing method schematic flow sheet that the embodiment of the present invention provides, photo processing method as shown in the figure can comprise the following steps:
S301, when the edit instruction generated for target picture being detected, starts the control sound that microphone collection user sends.
In specific implementation, the photograph album that user can open mobile terminal to be provided is applied and enters in picture library, or directly open the file of storage picture file thus enter picture library, when checking the photo in picture library, user can choose target picture for target picture input editing instruction, enter the editing mode for target picture, user just can carry out rotating for target picture, add word, background blurring, regulate the editing operation such as brightness and cutting.
Mobile terminal can be supplied to the function of user voice identification Generation Edit steering order, therefore after entering photo editing state, mobile terminal can start the control sound that microphone collection user sends, and corresponding editor control instruction can be mobile terminal identification user the keyword controlled in sound generates, generate after also can identifying control sound type.Such as, pre-set voice keyword " to anticlockwise ", after target picture enters editing mode, mobile terminal opens the sound that microphone collection user sends, identified when wherein comprising " to anticlockwise " this keyword by speech recognition technology, the editor control instruction generated to anticlockwise makes target picture to anticlockwise; Again such as, arrange user send cough sound time photo to right rotation, can pre-stored user to cough the sound characteristic information of sound, judge whether it is the cough sound of user according to the characteristic information of this sound collect the sound sent of user at microphone after, make target picture to right rotation if then generate dextrorotary editor control instruction.
S302, judges whether described control sound is the air blowing sound prestored.
In specific implementation, can gather the air blowing sound that user carries out facing to mobile terminal blowing in advance, the characteristic information being carried out quantizing then to extract this air blowing sound by the voice signal of air blowing sound stores.Collect and quantize equally with after the voice signal of the control sound sent, then the characteristic information of this control sound is extracted, by the matching ratio of sound to drawing the similarity controlling sound and the air blowing sound prestored, when similarity reaches certain threshold value, (such as similarity reaches 90%) then thinks that controlling sound is air blowing sound, now performs step S303.
S303, if so, according to the intensity of air blowing sound prestored and the relation mapping table of virtualization intensity, obtains the virtualization intensity corresponding with described air blowing sound.
In specific implementation, the intensity of air blowing sound that can prestore in the terminal and the mapping relations list of virtualization intensity, the air blowing sound that when usually blowing to mirror, air blowing is more retransmitted out is larger, minute surface is fuzzyyer, therefore can simulate this effect and arrange the intensity of intensity larger (namely sound the is larger) virtualization of air blowing sound also large (i.e. virtualization degree is larger).When determining the control sound that user sends during air blowing sound, this air blowing intensity of sound (i.e. decibel) can be obtained, and according to the intensity of air blowing sound preset and the mapping relations list of virtualization intensity, obtain the virtualization intensity corresponding with described air blowing sound, then perform step S304, according to this virtualization intensity, virtualization process is carried out to target picture.
S304, according to the virtualization intensity of described correspondence, carries out virtualization process to described target picture.
The embodiment of the present invention is imitated in actual life to blow to mirror and is made minute surface be covered with fog and the phenomenon that fogs, when realizing in the terminal facing to mobile terminal air blowing (microphone especially facing to mobile terminal is blown), virtualization process is carried out to the target picture edited in current mobile terminal, target picture to be fogged the effect presenting and be atomized after blowing facing to mobile terminal, manual operation can be reduced, improve operating efficiency, and interest when increasing editing photo.The essence of target picture being carried out to virtualization process is exactly to target picture just Fuzzy processing (pixel of each pixel namely in virtualization region gets the weighted mean value of its surrounding pixel point pixel).
S305, when the first key assignments for object region input in described target picture being detected, obtains the duration of described first key assignments of input.
In specific implementation, realize making mobile terminal air blowing after target picture carries out virtualization imitating the effect that makes minute surface fog of blowing to mirror, also can imitate further in actual life the effect that mirror when extruding energetically for minute surface point can crack centered by this point, realize for when object region inputs the first key assignments in target picture, centered by this object region, on target picture, add the crackle as mirror.Diversity and the interest of editing photo can be increased.Wherein the first key assignments comprises: long according to target image-region and double-click object region etc.When the first key assignments is for long according to target image-region, user can be obtained and input the duration (time of long according to target image-region) of the first key assignments and then perform step S306 to step S307; When the first key assignments is for double-clicking object region, at random centered by object region on target picture pattern can be cracked.
S306, according to the length of the duration prestored and the mapping relations table of Crack Strength effect, obtains the crack effect intensity corresponding with the duration of described first key assignments.
S307, according to described crack effect intensity, described target picture generates crack pattern centered by described object region.
In specific implementation, can preset the length of the duration of input first key assignments and the mapping relations table of Crack Strength effect in the terminal, the predeterminable duration is long crack effect intensity larger (namely crackle is more much longer and wider) more.When mobile terminal detects the first key assignments of object region input in for target picture, obtain the duration of input first key assignments, then obtain the crack effect intensity corresponding with this duration according to above-mentioned mapping relations table, on target picture, centered by object region, generate crack pattern by this crack effect intensity.
The embodiment of the present invention, when the edit instruction generated for target picture being detected, can start the control sound that microphone collection user sends; Also when judging that described control sound is the air blowing sound prestored, according to the intensity of the air blowing sound prestored and the relation mapping table of virtualization intensity, the virtualization intensity corresponding with described air blowing sound can be obtained, then according to the virtualization intensity of described correspondence; Also can after virtualization process be carried out to described target picture, when the first key assignments for object region input in described target picture being detected, obtain the duration of described first key assignments of input, and according to the length of the duration prestored and the mapping relations table of Crack Strength effect, obtain the crack effect intensity corresponding with the duration of described first key assignments; And then according to described crack effect intensity, described target picture generates crack pattern centered by described object region, the operating efficiency of photo virtualization process can be improved, increase the interest of photo virtualization, improve Consumer's Experience.
See Fig. 4, a kind of mobile terminal structure schematic diagram that the embodiment of the present invention provides, mobile terminal at least can comprise as shown in the figure: sound collection unit 401, sound judging unit 402 and graphics processing unit 403.
Sound collection unit 401, during for the edit instruction generated for target picture being detected, starts the control sound that microphone collection user sends.
In specific implementation, the photograph album that user can open mobile terminal to be provided is applied and enters in picture library, or directly open the file of storage picture file thus enter picture library, when checking the photo in picture library, user can choose target picture for target picture input editing instruction, enter the editing mode for target picture, user just can carry out rotating for target picture, add word, background blurring, regulate the editing operation such as brightness and cutting.
Mobile terminal can be supplied to the function of user voice identification Generation Edit steering order, therefore after entering photo editing state, mobile terminal can start sound collection unit 401 (specifically can be microphone) and gather the control sound that user sends, and corresponding editor control instruction can be mobile terminal identification user the keyword controlled in sound generates, generate after also can identifying control sound type.Such as, pre-set voice keyword " to anticlockwise ", after target picture enters editing mode, mobile terminal opens the sound that microphone collection user sends, identified when wherein comprising " to anticlockwise " this keyword by speech recognition technology, the editor control instruction generated to anticlockwise makes target picture to anticlockwise; Again such as, arrange user send cough sound time photo to right rotation, can pre-stored user to cough the sound characteristic information of sound, judge whether it is the cough sound of user according to the characteristic information of this sound collect the sound sent of user in sound collection unit 401 after, make target picture to right rotation if then generate dextrorotary editor control instruction.
Sound judging unit 402, for judging whether described control sound is the air blowing sound prestored.
In specific implementation, can gather the air blowing sound that user carries out facing to mobile terminal blowing in advance, the characteristic information being carried out quantizing then to extract this air blowing sound by the voice signal of air blowing sound stores.Sound collection unit 401 collects and quantizes equally with after the voice signal of the control sound sent, then sound judging unit 402 extracts the characteristic information of this control sound, by the matching ratio of sound to drawing the similarity controlling sound and the air blowing sound prestored, when similarity reaches certain threshold value (such as similarity reaches 90%), sound judging unit 402 thinks that controlling sound is air blowing sound.
Graphics processing unit 403, during for the judged result of described sound judging unit for being, carries out virtualization process according to described air blowing sound to described target picture.
The embodiment of the present invention is imitated in actual life to blow to mirror and is made minute surface be covered with fog and the phenomenon that fogs, when realizing in the terminal facing to mobile terminal air blowing (microphone especially facing to mobile terminal is blown), the target picture edited in graphics processing unit 403 pairs of current mobile terminal carries out virtualization process, target picture to be fogged the effect presenting and be atomized after blowing facing to mobile terminal, manual operation can be reduced, improve operating efficiency, and interest when increasing editing photo.The essence that graphics processing unit 403 pairs of target picture carry out virtualization process is exactly to target picture just Fuzzy processing (pixel of each pixel namely in virtualization region gets the weighted mean value of its surrounding pixel point pixel).
Further, see Fig. 5, the structural representation of a kind of graphics processing unit that the embodiment of the present invention provides, the graphics processing unit 403 in the present embodiment as shown in the figure can comprise: virtualization intensity obtains subelement 4301 and image virtualization process subelement 4302.
Virtualization intensity obtains subelement 4301, for according to the intensity of air blowing sound prestored and the relation mapping table of virtualization intensity, obtains the virtualization intensity corresponding with described air blowing sound;
Image virtualization process subelement 4302, for the virtualization intensity according to described correspondence, carries out virtualization process to described target picture.
In specific implementation, the intensity of air blowing sound that can prestore in the terminal and the mapping relations list of virtualization intensity, the air blowing sound that when usually blowing to mirror, air blowing is more retransmitted out is larger, minute surface is fuzzyyer, therefore can simulate this effect and arrange the intensity of intensity larger (namely sound the is larger) virtualization of air blowing sound also large (i.e. virtualization degree is larger).When determining the control sound that user sends during air blowing sound, virtualization intensity obtains subelement 4301 can obtain this air blowing intensity of sound (i.e. decibel), and according to the intensity of air blowing sound preset and the mapping relations list of virtualization intensity, obtain the virtualization intensity corresponding with described air blowing sound, then image virtualization process subelement 4302 carries out virtualization process according to this virtualization intensity to target picture.
In another embodiment, described mobile terminal also comprises: track acquiring unit 404, for obtaining the sliding trace that user inputs at the image-region of described target picture;
Accordingly, described graphics processing unit 403, also for the image-region sharpening by described sliding trace process.
In specific implementation, the background scenery in comparison film is only needed to carry out virtualization process time user is more, and the personage's (especially facial image) in comparison film needs to keep clear, therefore mobile terminal can be supplied to user the part fogged in target picture is become function clearly.Make after minute surface fogs blowing to mirror, user is with finger in the enterprising line slip of minute surface, and wherein the fog of the mirror sections of sliding trace process is erased, and makes minute surface again become clear.Therefore can simulate this performance user and input sliding trace on the image-region of target picture carrying out virtualization process, the region of sliding trace process is that user wants to keep region clearly.If be Gaussian Blur algorithm by what adopt during target picture virtualization, by the region of sliding trace process become the clear method of Gauss's contrast that can adopt this region is just clear.
In another embodiment, described graphics processing unit also for: detect in described target picture object region input the first key assignments time, centered by described object region, on described target picture, generate crack pattern.
Further, see Fig. 6, the structural representation of the another kind of graphics processing unit that the embodiment of the present invention provides, the graphics processing unit 403 in the present embodiment as shown in the figure can comprise: Crack Strength obtains subelement 4311 and crack image generates subelement 4312.
Crack Strength obtains subelement 4311, for according to the length of duration prestored and the mapping relations table of Crack Strength effect, obtains the crack effect intensity corresponding with the duration of described first key assignments;
Crack image generates subelement 4312, for according to described crack effect intensity, described target picture generates crack pattern centered by described object region.
In specific implementation, realize making mobile terminal air blowing after target picture carries out virtualization imitating the effect that makes minute surface fog of blowing to mirror, also can imitate further in actual life the effect that mirror when extruding energetically for minute surface point can crack centered by this point, realize for when object region inputs the first key assignments in target picture, centered by this object region, on target picture, add the crackle as mirror.Diversity and the interest of editing photo can be increased.Wherein the first key assignments comprises: long according to target image-region and double-click object region etc.When the first key assignments is for long according to target image-region, user can be obtained input the duration time of image-region (long according to target) of the first key assignments and then obtain the mapping relations table of subelement 4311 according to the length of the duration prestored and Crack Strength effect by Crack Strength, obtain the crack effect intensity corresponding with the duration of described first key assignments; When the first key assignments is for double-clicking object region, at random centered by object region on target picture pattern can be cracked.
The embodiment of the present invention, by sound collection unit 401 when the edit instruction generated for target picture being detected, starting microphone collection user and sending control sound; Also can when sound judging unit 402 judges that described control sound is the air blowing sound prestored, according to described air blowing sound, virtualization process is carried out to described target picture by graphics processing unit 403, the operating efficiency of photo virtualization process can be improved, increase the interest of photo virtualization, improve Consumer's Experience.
Above a kind of photo processing method disclosed in the embodiment of the present invention and mobile terminal are described in detail, above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, therefore according to the equivalent variations that the claims in the present invention are done, the scope that the present invention is contained still is belonged to.

Claims (10)

1. a photo processing method, is characterized in that, comprising:
When the edit instruction generated for target picture being detected, start microphone collection user and send control sound;
Judge whether described control sound is the air blowing sound prestored;
If so, according to described air blowing sound, virtualization process is carried out to described target picture.
2. method according to claim 1, is characterized in that, describedly carries out virtualization process according to described air blowing sound to described target picture and comprises:
According to the intensity of the air blowing sound prestored and the relation mapping table of virtualization intensity, obtain the virtualization intensity corresponding with described air blowing sound;
According to the virtualization intensity of described correspondence, virtualization process is carried out to described target picture.
3. method according to claim 1, is characterized in that, described according to described air blowing sound virtualization process is carried out to described target picture after, described method also comprises:
Obtain the sliding trace that user inputs at the image-region of described target picture;
By the image-region sharpening of described sliding trace process.
4. method according to claim 1, is characterized in that, described according to described air blowing sound virtualization process is carried out to described target picture after, described method also comprises:
When the first key assignments for object region input in described target picture being detected, centered by described object region, on described target picture, generate crack pattern.
5. method according to claim 4, is characterized in that, describedly centered by described object region, generates crack pattern on described target picture comprise:
Obtain the duration of described first key assignments of input;
According to the length of the duration prestored and the mapping relations table of Crack Strength effect, obtain the crack effect intensity corresponding with the duration of described first key assignments;
According to described crack effect intensity, described target picture generates crack pattern centered by described object region.
6. a mobile terminal, is characterized in that, comprising:
Sound collection unit, during for the edit instruction generated for target picture being detected, starts the control sound that microphone collection user sends;
Sound judging unit, for judging whether described control sound is the air blowing sound prestored;
Graphics processing unit, during for the judged result of described sound judging unit for being, carries out virtualization process according to described air blowing sound to described target picture.
7. mobile terminal according to claim 6, is characterized in that, described graphics processing unit comprises:
Virtualization intensity obtains subelement, for according to the intensity of air blowing sound prestored and the relation mapping table of virtualization intensity, obtains the virtualization intensity corresponding with described air blowing sound;
Image virtualization process subelement, for the virtualization intensity according to described correspondence, carries out virtualization process to described target picture.
8. mobile terminal according to claim 6, is characterized in that, described mobile terminal also comprises:
Track acquiring unit, for obtaining the sliding trace that user inputs at the image-region of described target picture;
Described graphics processing unit, also for the image-region sharpening by described sliding trace process.
9. mobile terminal according to claim 6, it is characterized in that, described graphics processing unit also for: detect in described target picture object region input the first key assignments time, centered by described object region, on described target picture, generate crack pattern.
10. mobile terminal according to claim 9, is characterized in that, described graphics processing unit comprises: the duration obtains subelement, for obtaining the duration inputting described first key assignments;
Crack Strength obtains subelement, for according to the length of duration prestored and the mapping relations table of Crack Strength effect, obtains the crack effect intensity corresponding with the duration of described first key assignments;
Crack image generates subelement, for according to described crack effect intensity, described target picture generates crack pattern centered by described object region.
CN201510383167.5A 2015-06-30 2015-06-30 A kind of photo processing method and mobile terminal Active CN105160695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510383167.5A CN105160695B (en) 2015-06-30 2015-06-30 A kind of photo processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510383167.5A CN105160695B (en) 2015-06-30 2015-06-30 A kind of photo processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105160695A true CN105160695A (en) 2015-12-16
CN105160695B CN105160695B (en) 2019-02-01

Family

ID=54801537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510383167.5A Active CN105160695B (en) 2015-06-30 2015-06-30 A kind of photo processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105160695B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021614A (en) * 2016-06-30 2016-10-12 深圳市金立通信设备有限公司 File processing method and device
CN106327448A (en) * 2016-08-31 2017-01-11 上海交通大学 Picture stylization processing method based on deep learning
CN106706647A (en) * 2016-12-28 2017-05-24 西北工业大学 Road crack size estimation method based on mobile phone photographing
CN108095465A (en) * 2018-01-19 2018-06-01 京东方科技集团股份有限公司 A kind of image processing method and device
CN110855875A (en) * 2018-08-20 2020-02-28 珠海格力电器股份有限公司 Method and device for acquiring background information of image

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656502A (en) * 2001-12-06 2005-08-17 皇家飞利浦电子股份有限公司 Method and apparatus for automatic face blurring
CN102668391A (en) * 2009-12-18 2012-09-12 三星电子株式会社 Method and system for controlling external output of a mobile device
US20130194437A1 (en) * 2010-07-13 2013-08-01 Sony Computer Entertainment Inc. Overlay non-video content on a mobile device
CN103685905A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Photographing method and electronic equipment
CN103780738A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal image processing method and mobile terminal
CN103973891A (en) * 2014-05-09 2014-08-06 平安付智能技术有限公司 Data security processing method for software interface
CN104104869A (en) * 2014-06-25 2014-10-15 华为技术有限公司 Photographing method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656502A (en) * 2001-12-06 2005-08-17 皇家飞利浦电子股份有限公司 Method and apparatus for automatic face blurring
CN102668391A (en) * 2009-12-18 2012-09-12 三星电子株式会社 Method and system for controlling external output of a mobile device
US20130194437A1 (en) * 2010-07-13 2013-08-01 Sony Computer Entertainment Inc. Overlay non-video content on a mobile device
CN103685905A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Photographing method and electronic equipment
CN103780738A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal image processing method and mobile terminal
CN103973891A (en) * 2014-05-09 2014-08-06 平安付智能技术有限公司 Data security processing method for software interface
CN104104869A (en) * 2014-06-25 2014-10-15 华为技术有限公司 Photographing method and device and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021614A (en) * 2016-06-30 2016-10-12 深圳市金立通信设备有限公司 File processing method and device
CN106327448A (en) * 2016-08-31 2017-01-11 上海交通大学 Picture stylization processing method based on deep learning
CN106706647A (en) * 2016-12-28 2017-05-24 西北工业大学 Road crack size estimation method based on mobile phone photographing
CN108095465A (en) * 2018-01-19 2018-06-01 京东方科技集团股份有限公司 A kind of image processing method and device
CN110855875A (en) * 2018-08-20 2020-02-28 珠海格力电器股份有限公司 Method and device for acquiring background information of image

Also Published As

Publication number Publication date
CN105160695B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
KR102222325B1 (en) Routing messages by message parameter
CN105278745B (en) Mobile terminal and its control method
WO2016165615A1 (en) Expression specific animation loading method in real-time video and electronic device
US20160050169A1 (en) Method and System for Providing Personal Emoticons
CN104049721B (en) Information processing method and electronic equipment
KR102196671B1 (en) Electronic Device And Method Of Controlling The Same
CN103488528B (en) A kind of Quick Response Code processing method and processing device based on mobile terminal
KR101821358B1 (en) Method and system for providing multi-user messenger service
KR20200145861A (en) Content collection navigation and autoforwarding
CN107820138B (en) Video broadcasting method, device, terminal and storage medium
CN105069075B (en) Photo be shared method and apparatus
CN104091276B (en) The method of on-line analysis clickstream data and relevant apparatus and system
US10230731B2 (en) Automatically sharing a document with user access permissions
JP5837627B2 (en) Electronic device and control method of electronic device
CN103207728B (en) The method of augmented reality is provided and the terminal of this method is supported
US9641471B2 (en) Electronic device, and method and computer-readable recording medium for displaying message in electronic device
WO2017054309A1 (en) Interactive control method and device for voice and video communications
KR101771071B1 (en) Communication method, client, and terminal
CN110164437B (en) Voice recognition method and terminal for instant messaging
TW201346654A (en) Stylus computing environment
CN105301971B (en) A kind of method and its system controlling smart machine based on image recognition
TW201733346A (en) Communication using interactive avatars
CN103136746A (en) Image processing device and image processing method
CN104967900A (en) Video generating method and video generating device
CN109039857A (en) For providing the method and its electronic device of message function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant