CN106937043A - The method and apparatus of mobile terminal and its image procossing - Google Patents

The method and apparatus of mobile terminal and its image procossing Download PDF

Info

Publication number
CN106937043A
CN106937043A CN201710084293.XA CN201710084293A CN106937043A CN 106937043 A CN106937043 A CN 106937043A CN 201710084293 A CN201710084293 A CN 201710084293A CN 106937043 A CN106937043 A CN 106937043A
Authority
CN
China
Prior art keywords
image
special
camera module
effect information
preview
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710084293.XA
Other languages
Chinese (zh)
Inventor
梅加勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201710084293.XA priority Critical patent/CN106937043A/en
Publication of CN106937043A publication Critical patent/CN106937043A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a kind of mobile terminal and its method and apparatus of image procossing, including:Application call camera module is detected, the first image gathered in the camera module is intercepted;The first special-effect information of addition is loaded in described first image, is shown as synthesizing preview image;Synthetic instruction is received, the second image is synthesized by first special-effect information is corresponding with described first image, and return to the application program.Mobile terminal and its method and apparatus of image procossing that the present invention is provided, when application call camera module gathers image, the first image of interception camera module collection simultaneously adds special efficacy and is synthesized, and enhancing is interesting, and it is simple to operate, lift Consumer's Experience.

Description

The method and apparatus of mobile terminal and its image procossing
Technical field
The present invention relates to field of terminal technology, the method and apparatus of more particularly to a kind of mobile terminal and its image procossing.
Background technology
When using mobile terminal shooting images such as mobile phones, in order to increase, amusement is interesting, often wants in shooting for user Special-effect information is added on image.But it is desirable to when adding special-effect information on image again, it is necessary to first obtain image and be stored in hand In machine, then the corresponding special effect processing software of pull-up (elegant show of U.S.'s figure etc.) is processed image accordingly, after finally processing again Image shared etc. by social software;This kind of implementation operation is more bothered, and Consumer's Experience is bad.
The content of the invention
The main object of the present invention is the method and apparatus for providing a kind of mobile terminal and its image procossing, in application program When calling camera module to gather image, the first image of interception camera module collection simultaneously adds special efficacy and is synthesized, and strengthens Interest, it is simple to operate, lift Consumer's Experience.
The present invention proposes a kind of method of image procossing, including:
Application call camera module is detected, the first image gathered in the camera module is intercepted;
The first special-effect information of addition is loaded in described first image, is shown as synthesizing preview image;
Synthetic instruction is received, the second image is synthesized by first special-effect information is corresponding with described first image, and Return to the application program.
Further, it is described to detect application call camera module, gathered in the interception camera module The step of first image, includes:
Application call camera module is detected, starts camera module, and call open (int cameraId) Function intercepts the first image gathered in the camera module from system bottom.
Further, the first image of the camera module collection of the interception is gathered including the camera module The first preview image or the camera module shoot image.
Further, described first image includes photo and/or video image.
Further, the first image for being gathered in the interception camera module includes:
Intercept the first preview image of the camera module collection;
It is described to receive synthetic instruction, the second image is synthesized by first special-effect information is corresponding with described first image The step of include:
When receiving synthetic instruction, shoot first preview image and obtain the first shooting image, and it is special by described first Effect information is blended into and second image is obtained in first shooting image.
Further, the first image for being gathered in the interception camera module includes:
Intercept the image that the camera module shoots;
It is described to receive synthetic instruction, the second image is synthesized by first special-effect information is corresponding with described first image The step of include:
When receiving synthetic instruction, first special-effect information is blended on the image that the camera module shoots and is obtained To second image.
Further, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview image The step of include:
The first special-effect information of addition is loaded in described first image, and it is described to call startPreview () function to show The synthesis preview image of the first image and first special-effect information.
Further, first special-effect information includes audio-frequency information and/or special effect graph picture.
Further, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview image The step of include:
Resolution ratio is corresponded to according to being matched in the special-effect information that described first image resolution sizes are stored in database Special effect graph picture, and by special effect graph picture loading added in described first image, being shown as synthesizing preview image.
Further, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview image The step of include:
The first special efficacy is corresponded to according to being matched in the special-effect information that described first image content information is stored in database Information, and first special-effect information loading is added in described first image, it is shown as synthesizing preview image.
Further, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview image The step of include:
Location information and/or temporal information according to described first image match corresponding first special efficacy in database Information, and first special-effect information loading is added in described first image, it is shown as synthesizing preview image;The matching The first special-effect information for going out is updated according to time and/or place or is pushed by Cloud Server.
Further, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview image The step of include:
Face characteristic identification is carried out to described first image, corresponding face special efficacy is matched according to the face characteristic, and Face special efficacy loading is added in described first image, is shown as synthesizing preview image.
Further, the audio-frequency information includes voice data or music text of the mobile terminal by microphone records Part.
Further, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview image The step of include:
Judge to gather in the camera module camera classification of the first image, and according to the camera categorical match Corresponding first special-effect information, and first special-effect information loading is added in described first image, it is shown as synthesis pre- Look at image.
Further, it is described to receive synthetic instruction, by first special-effect information synthesis corresponding with described first image Be the second image, and the step of return to the application program after include:
Second image is stored in the local data base of mobile terminal.
Further, it is described to receive synthetic instruction, by first special-effect information synthesis corresponding with described first image Be the second image, and the step of return to the application program after include:
The sharing interface of mobile terminal is called, second image is shared.
Present invention also offers a kind of device of image procossing, including:
Interception unit, for detecting application call camera module, gathers in the interception camera module First image;
Loading unit, for loading the first special-effect information of addition in described first image, is shown as synthesizing preview image;
Synthesis unit, for receiving synthetic instruction, by first special-effect information synthesis corresponding with described first image It is the second image, and returns to the application program.
Further, the interception unit specifically for:
Application call camera module is detected, starts camera module, and call open (int cameraId) Function intercepts the first image gathered in the camera module from system bottom.
Further, the first image of the camera module collection of the interception unit interception includes the camera The image that first preview image or the camera module of module collection shoot.
Further, described first image includes photo and/or video image.
Further, the interception unit is used to intercept the first preview image of the camera module collection;
The synthesis unit is used for:
When receiving synthetic instruction, shoot first preview image and obtain the first shooting image, and it is special by described first Effect information is blended into and second image is obtained in first shooting image.
Further, the interception unit is used to intercept the image that the camera module shoots;
The synthesis unit is used for:
When receiving synthetic instruction, first special-effect information is blended on the image that the camera module shoots and is obtained To second image.
Further, the loading unit specifically for:
The first special-effect information of addition is loaded in described first image, and it is described to call startPreview () function to show The synthesis preview image of the first image and first special-effect information.
Further, first special-effect information includes audio-frequency information and/or special effect graph picture.
Further, the loading unit includes:
First loading subelement, for the special-effect information stored in database according to described first image resolution sizes In match the special effect graph picture of correspondence resolution ratio, and special effect graph picture loading is shown as added in described first image Synthesis preview image.
Further, the loading unit includes:
Second loading subelement, in the special-effect information that is stored in the database according to described first image content information The first special-effect information of correspondence is matched, and first special-effect information loading is added in described first image, be shown as closing Into preview image.
Further, the loading unit includes:
3rd loading subelement, for according to the location information and/or temporal information of described first image in database Corresponding first special-effect information is matched, and first special-effect information loading is added in described first image, be shown as Synthesis preview image;First special-effect information for matching is updated or by Cloud Server according to time and/or place Pushed.
Further, the loading unit includes:
4th loading subelement, for carrying out face characteristic identification to described first image, according to the face characteristic With corresponding face special efficacy, and face special efficacy loading is added in described first image, is shown as synthesizing preview image.
Further, the audio-frequency information includes voice data or music text of the mobile terminal by microphone records Part.
Further, the loading unit includes:
Slender acanthopanax subelements, the camera classification for judging to gather in the camera module the first image, and root According to corresponding first special-effect information of the camera categorical match, and first special-effect information loading is added to described first On image, it is shown as synthesizing preview image.
Further, the device of described image treatment also includes:
Feedback memory cell, the local data base for second image to be stored in mobile terminal.
Further, the device of described image treatment also includes:
Shares unit, the sharing interface for calling mobile terminal is shared to second image.
Present invention also offers a kind of mobile terminal, including processor and memory;
The memory is used to store supports that the device of described image treatment is performed at the image as described in above-mentioned any one The program of the method for reason;
The processor is configurable for performing the program stored in the memory.
The invention provides a kind of computer-readable storage medium, for saving as the calculating used by the device of above-mentioned image procossing Machine software instruction, it is included for performing the program designed by the device that above-mentioned aspect is image procossing.
The mobile terminal and its method and apparatus of image procossing provided in the present invention, specific following beneficial effect:
The mobile terminal and its method and apparatus of image procossing provided in the present invention, detect application call shooting Head mould group;Intercept the first image gathered in the camera module;Addition the first special efficacy letter is loaded in described first image Breath, is shown as synthesizing preview image;Synthetic instruction is received, by first special-effect information synthesis corresponding with described first image It is the second image.When application call camera module gathers image, the first image of interception camera module collection is simultaneously Addition special efficacy is synthesized, and enhancing is interesting, and simple to operate, lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is the method and step schematic diagram of image procossing in one embodiment of the invention;
Fig. 2 is the method and step schematic diagram of image procossing in another embodiment of the present invention;
Fig. 3 is the apparatus structure schematic diagram of image procossing in one embodiment of the invention;
Fig. 4 is loading unit structural representation in one embodiment of the invention;
Fig. 5 is the apparatus structure schematic diagram of image procossing in another embodiment of the present invention;
Fig. 6 is the apparatus structure schematic diagram of image procossing in further embodiment of this invention;
Fig. 7 is mobile terminal structure block diagram in one embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " one It is individual ", " described " " above-mentioned " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that making in specification of the invention Wording " including " refer to the presence of the feature, integer, step, operation, element, unit, module and/or component, but simultaneously Do not preclude the presence or addition of one or more other features, integer, step, operation, element, unit, module, component and/or it Group.It should be understood that when we claim element to be " connected " or during " coupled " to another element, it can be directly connected to or couple To other elements, or can also there is intermediary element.Additionally, " connection " used herein or " coupling " can include wirelessly connecting Connect or wirelessly couple.Wording "and/or" used herein includes one or more associated listing the whole or any of item Unit and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions as here, will not otherwise use idealization or excessively formal implication To explain.
Those skilled in the art of the present technique be appreciated that " terminal " used herein above, " intelligent terminal ", " mobile terminal ", " terminal device " both equipment including wireless signal receiver, its wireless signal receiver for only possessing non-emissive ability sets It is standby, but including receive and launch hardware equipment, its have can on bidirectional communication link, perform two-way communication reception and The equipment for launching hardware.This equipment can include:Honeycomb or other communication equipments, it has single line display or multi-line Display or the honeycomb without multi-line display or other communication equipments;PCS(Personal Communications Service, PCS Personal Communications System), it can be with combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, personal digital assistant), its can include radio frequency receiver, pager, internet/ Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System, global location System) receiver;Conventional laptop and/or palmtop computer or other equipment, it has and/or including radio frequency receiver Conventional laptop and/or palmtop computer or other equipment." terminal " used herein above, " terminal device " can be portable Formula, can transport, in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured to local Operation, and/or with distribution form, operate in any other position operation in the earth and/or space.It is used herein above " whole End ", " intelligent terminal ", " terminal device " can also be communication terminal, access terminals, music/video playback terminal, for example can be with It is PDA, MID (Mobile Internet Device, mobile internet device) and/or with music/video playing function The equipment such as mobile phone, or intelligent television, Set Top Box.
It is desirable to when adding special-effect information on image again, it is necessary to first obtain image and be stored in mobile phone, then pull-up is corresponding Special effect processing software (U.S. figure elegant show etc.) image is processed accordingly, finally again by the image after treatment by social soft Part is shared etc.;This kind of implementation operation is more bothered, and Consumer's Experience is bad.Therefore, provided in the embodiment of the present invention A kind of method and apparatus of mobile terminal and its image procossing, when application call camera module gathers image, interception First image of camera module collection simultaneously adds special efficacy and is synthesized, and enhancing is interesting, simple to operate, lifts Consumer's Experience.
Reference picture 1, is the method and step schematic diagram of image procossing in one embodiment of the invention.
A kind of method of image procossing is proposed in one embodiment of the invention, mobile terminal is applied to, comprised the following steps:
Step S1, detects application call camera module;Intercept the first figure gathered in the camera module Picture;
Step S2, loads the first special-effect information of addition in described first image, is shown as synthesizing preview image;
Step S3, receives synthetic instruction, synthesizes second by first special-effect information is corresponding with described first image Image, and return to the application program.
Above-mentioned mobile terminal includes the intelligent terminal such as mobile phone, panel computer, is illustrated by taking mobile phone as an example in the present embodiment; Above-mentioned camera module includes the preposition and rear camera of mobile phone.With the fast development of internet, hand being passed through user more Social software on machine etc. application linked up and information interaction.For example when working, user is generally by the transmission such as wechat, QQ Working document, photo, video etc. meet work requirements;In rest, user is transmitted by social softwares such as microblogging, wechats to be shone Piece, video carry out interaction.User often wants to add special efficacy letter on photo, video when photo, video is sent by application Breath, to increase the interest with other users when interactive.
In the present embodiment, user by application program (this application for arbitrarily can with the third party of pull-up camera applications should With) triggering starts the order of camera module, such as user starts taking the photograph for mobile phone by the button of taking pictures clicked in wechat application As head mould group, cell phone system process detection to application call camera module is gathered in the interception camera module First image, will the first picture material for collecting of the camera module all intercept;Described first image includes photo And/or video image.
After the first image is truncated to, user touches the first special-effect information that addition is wanted by screen selection, mobile phone termination Corresponding selection instruction is received, and the first special-effect information of selection is added in loading in described first image, and then it is shown as synthesis Preview image;First special-effect information be pre-stored in it is in mobile phone local data base, or from network data base under Carry;First special-effect information includes audio-frequency information and/or special effect graph picture.User checks above-mentioned synthesis preview on mobile phone screen Image, if satisfied, can trigger corresponding synthetic instruction, the triggering synthetic instruction can be touch by the confirming button on screen or Person's shooting push button etc..When mobile phone terminal receives above-mentioned synthetic instruction, then by the of the first special-effect information and camera module collection One image correspondence is synthetically generated the second image.Second image then for addition special efficacy image, user then can by this second Image is sent to other users by application.
The method of the image procossing provided in the present embodiment, mobile terminal detects application call camera module, Intercept the first image of the camera module collection;The first special-effect information of addition is loaded in described first image, is shown as Synthesis preview image;Synthetic instruction is received, the second figure is synthesized by first special-effect information is corresponding with described first image Picture.When any application call camera module gathers image, the first image of interception camera module collection simultaneously adds special efficacy Synthesized, enhancing is interesting, and simple to operate, lifted Consumer's Experience.
In the present embodiment, it is described to detect application call camera module;Intercept and adopt in the camera module The step of first image of collection, S1 included:
When detecting the order of application call camera module, start camera module, and call open (int CameraId) function intercepts the first image of the camera module collection from system bottom.
User starts the camera module of mobile phone, cell phone system process by clicking on the button of taking pictures in application programs Application call camera module is detected, starts the camera module of mobile phone, and call open (int cameraId) letter Number intercepts the first images of camera module collection from system bottom, will the first figure for collecting of the camera module As content is all intercepted, the first image is obtained without entering in camera application program.
Further, the first image of the camera module collection of the mobile terminal interception includes the camera The image that first preview image or the camera module of module collection shoot.In the embodiment of the present invention, mobile phone interception First image of camera module collection can be the first preview image of photo or video, or photograph has been taken into The image of piece or video.
In one embodiment, the first image of the interception camera module collection includes:
Intercept the first preview image of the camera module collection;
It is described to receive synthetic instruction, the second image is synthesized by first special-effect information is corresponding with described first image The step of S3 then include:
When receiving synthetic instruction, shoot first preview image and obtain the first shooting image, and it is special by described first Effect information is blended into and second image is obtained in first shooting image.
In the present embodiment, the first image of the camera module collection for being intercepted in above-mentioned steps S1 is the shooting First preview image of head mould group collection, first preview image is the pre-review information of image;Add on first preview image Plus the first special-effect information of user's selection, synthesis preview image displaying preview effect, first special efficacy are shown on mobile phone screen Information includes audio-frequency information and/or special effect graph picture;If user is to the good results, it is triggering the present embodiment to click on shooting push button In synthetic instruction, mobile phone shoots the first current preview image and obtains the first shooting image by camera module, now, then The first special-effect information for selecting is blended into the second image is obtained in first shooting image, second image is then addition The image of special efficacy, user can be then sent to other users second image by application program.
In another embodiment, the first image of the interception camera module collection includes:
Intercept the image that the camera module shoots;
It is described to receive synthetic instruction, the second image is synthesized by first special-effect information is corresponding with described first image The step of S3 then include:
Synthetic instruction is received, first special-effect information is blended on the image that the camera module shoots and is obtained Second image.
In the present embodiment, the first image of the camera module collection for being intercepted in above-mentioned steps S1 is the shooting The image that head mould group shoots, the image of the shooting is the image shot to the first preview image;Added on the image of the shooting First special-effect information of user's selection, shows synthesis preview image displaying preview effect, the first special efficacy letter on mobile phone screen Breath includes audio-frequency information and/or special effect graph picture;If user is to the good results, click on during confirming button is triggering the present embodiment Synthetic instruction, be blended into the first special-effect information for selecting on the image that the camera module shoots and obtain described the by mobile phone Two images, second image is then the image of addition special efficacy, and user can then be sent second image by application program To other users.
Specifically, in the above-described embodiments, it is described that the first special-effect information of addition is loaded in described first image, it is shown as The step of synthesis preview image, S2 included:
The first special-effect information of addition is loaded in described first image, and it is described to call startPreview () function to show The synthesis preview image of the first image and first special-effect information.First special-effect information is to be pre-stored in mobile phone local data base Special-effect information.First special-effect information includes audio-frequency information and/or special effect graph picture;Audio-frequency information passes through including mobile terminal The voice data or music file of microphone records.
In one embodiment, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesizing preview The step of image, S2 included:
Resolution ratio is corresponded to according to being matched in the special-effect information that described first image resolution sizes are stored in database Special effect graph picture, and by special effect graph picture loading added in described first image, being shown as synthesizing preview image.
The special effect graph picture of various different resolutions is provided with database, and corresponding to same special effect graph picture can also set It is equipped with various different resolutions.After the first image of camera module collection is truncated to, the resolution of described first image is obtained Rate size, and the special effect graph picture of correspondence resolution ratio is matched in database according to the resolution sizes, if without correspondence in database The special effect graph picture of resolution ratio, then match the special effect graph picture that resolution ratio is closer to;User selects to want in the image for matching After the special effect graph picture of addition, the special effect graph picture loading that mobile phone terminal will be selected is added in described first image, on mobile phone screen Display synthesis preview image displaying preview effect.
In another embodiment, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesis pre- Look at image the step of S2 include:
The first special efficacy is corresponded to according to being matched in the special-effect information that described first image content information is stored in database Information, and first special-effect information loading is added in described first image, it is shown as synthesizing preview image.
The first special-effect information of various different atmosphere information is provided with database, for example, represents celebrating red-letter day special efficacy Image, represents audio-frequency information of sadness etc..It is interior in the first image of acquisition after the first image of camera module collection is truncated to The atmosphere that appearance information is represented, corresponding first special-effect information is matched according to content information in first image, and user is in matching Selected in the image for going out after the special effect graph picture of desired addition, the special effect graph picture loading that mobile phone terminal will be selected is added to described first Synthesis preview image displaying preview effect is shown on image, on mobile phone screen.
In another embodiment, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesis pre- Look at image the step of S2 include:
Location information and/or temporal information according to described first image match corresponding first special efficacy in database Information, and first special-effect information loading is added in described first image, it is shown as synthesizing preview image;The matching The first special-effect information for going out is updated according to time and/or place or is pushed by Cloud Server.In different location, no Same time, Cloud Server can push the first different special-effect informations to mobile terminal, mobile terminal can also according to the time and/or Place is updated the first special-effect information;For example, different special-effect informations can be matched on New Year's Day and Christmas;In museum and Special efficacy in amusement park is also different.
In another embodiment, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesis pre- Look at image the step of S2 include:
Face characteristic identification is carried out to described first image, corresponding face special efficacy is matched according to the face characteristic, and Face special efficacy loading is added in described first image, is shown as synthesizing preview image.Face is carried out to the first image Feature recognition, then match face special efficacy.For example, the face special efficacy of star's face, face special efficacy for making fun etc..
In another embodiment, it is described that the first special-effect information of addition is loaded in described first image, it is shown as synthesis pre- Look at image the step of S2 include:
Judge to gather in the camera module camera classification of the first image, and according to the camera categorical match Corresponding first special-effect information, and first special-effect information loading is added in described first image, it is shown as synthesis pre- Look at image.Camera classification includes the front camera and rear camera of mobile phone, and the preposition and rear camera of correspondence adds Carry different special-effect informations.
Reference picture 2, it is described when receiving synthetic instruction in another embodiment, by first special-effect information and described One image correspondence synthesize the second image, and includes after S3 the step of return to the application program:
Step S4, second image is stored in the local data base of mobile terminal.To synthesize in above-described embodiment To the second image be back in the application program for calling camera module, and can by the application program by this second Image is sent into the client or transmission to Cloud Server of other users.
It is described when receiving synthetic instruction in another embodiment, by first special-effect information and described first image pair Include after the step of should carrying out synthesizing the second image, and return to application program S3:
The sharing interface of mobile terminal is called, second image is shared.Generally have in mobile phone it is various share connect Mouthful, correspondence shares second image by different application.For example can be by mailbox, information, QQ, wechat, microblogging, webpage Browser etc. is shared.
In sum, it is the method for the image procossing provided in the present embodiment, detects application call shooting head mould Group, intercepts the first image gathered in the camera module;The first special-effect information of addition is loaded in described first image, is shown It is shown as synthesizing preview image;When receiving synthetic instruction, closed first special-effect information is corresponding with described first image As the second image.When any application call camera module gathers image, the first of interception camera module collection Image simultaneously adds special efficacy and is synthesized, and enhancing is interesting, and simple to operate, lifts Consumer's Experience.
In order to the method for image procossing further to being provided in the embodiment of the present invention is illustrated, in the embodiment of the present invention Additionally provide a kind of device of image procossing.
Reference picture 3, provides a kind of device of image procossing in one embodiment of the invention, be applied to mobile terminal, including:
Interception unit 10, for detecting application call camera module, intercepts collection in the camera module The first image;
Loading unit 20, for loading the first special-effect information of addition in described first image, is shown as synthesizing preview graph Picture;
Synthesis unit 30, for receiving synthetic instruction, by first special-effect information conjunction corresponding with described first image As the second image, and return to the application program.
Above-mentioned mobile terminal includes the intelligent terminal such as mobile phone, panel computer, is illustrated by taking mobile phone as an example in the present embodiment; Above-mentioned camera module includes the preposition and rear camera of mobile phone.With the fast development of internet, hand being passed through user more The application programs such as the social software on machine linked up and information interaction.For example when working, user is generally by wechat, QQ etc. Transmission working document, photo, video etc. meet work requirements;In rest, user is transmitted by social softwares such as microblogging, wechats Photo, video carry out interaction.User often wants to add special on photo, video when photo, video is sent by application program Effect information, to increase the interest with other users when interactive.
In the present embodiment, user by application program, (application program is arbitrarily can be with pull-up camera application program Third party application) triggering starts the order of camera module, and such as user is by clicking on taking pictures in wechat application program Button start mobile phone camera module, cell phone system process detection to application call camera module, intercept described in take the photograph As the first image of head mould group collection, will the first picture material for collecting of the camera module all intercept;Described One image includes photo and/or video image.
After the first image is truncated to, user touches the first special-effect information that addition is wanted by screen selection, mobile phone termination Corresponding selection instruction is received, and the first special-effect information of selection is added in loading in described first image, and then it is shown as synthesis Preview image;First special-effect information be pre-stored in it is in mobile phone local data base, or from network data base under Carry;First special-effect information includes audio-frequency information and/or special effect graph picture.User checks above-mentioned synthesis preview on mobile phone screen Image, if satisfied, can trigger corresponding synthetic instruction, the triggering synthetic instruction can be touch by the confirming button on screen or Person's shooting push button etc..When mobile phone terminal receives above-mentioned synthetic instruction, then by the of the first special-effect information and camera module collection One image correspondence is synthetically generated the second image.Second image then for addition special efficacy image, user then can by this second Image is sent to other users by application program.
The device of the image procossing provided in the present embodiment, interception unit 10 detects application call shooting head mould Group, intercepts the first image of the camera module collection;It is special that loading unit 20 loads addition first in described first image Effect information, is shown as synthesizing preview image;When synthesis unit 30 receives synthetic instruction, by first special-effect information with it is described First image correspondence carries out synthesizing the second image.When any application call camera module gathers image, interception is taken the photograph The first image for being gathered as head mould group simultaneously adds special efficacy and is synthesized, and enhancing is interesting, and simple to operate, lifts Consumer's Experience.
In the present embodiment, the interception unit 10 specifically for:
Application call camera module is detected, starts camera module, and call open (int cameraId) Function intercepts the first image of the camera module collection from system bottom.
User starts the camera module of mobile phone, cell phone system process detection by clicking on the button of taking pictures in application program To application call camera module, start the camera module of mobile phone, and call open (int cameraId) functions from System bottom intercepts the first image of camera module collection, will be in the first image for collecting of the camera module Hold all interceptions, the first image is obtained without entering in camera application program.
Further, the first image of the camera module collection of the interception unit interception includes the camera The image that first preview image or the camera module of module collection shoot.In the embodiment of the present invention, mobile phone interception First image of camera module collection can be the first preview image of photo or video, or photograph has been taken into The image of piece or video.
In one embodiment, the interception unit 10 is used to intercept the first preview image of the camera module collection.
The synthesis unit 30 is then used for:
Receive synthetic instruction, shoot first preview image and obtain the first shooting image, and by first special efficacy Information is blended into and second image is obtained in first shooting image.
In the present embodiment, the first image of the camera module collection of the interception of above-mentioned interception unit 10 is taken the photograph for described As the first preview image of head mould group collection, first preview image is the pre-review information of image;Loading unit 20 this first The first special-effect information of user's selection is added on preview image, synthesis preview image displaying preview effect is shown on mobile phone screen, First special-effect information includes audio-frequency information and/or special effect graph picture;If user is to the good results, clicking on shooting push button is Synthetic instruction in triggering the present embodiment, synthesis unit 30 shoots the first current preview image and obtains the by camera module One shooting image, the first special-effect information for selecting now, then be blended into the second image, institute obtained in first shooting image It is then the image of addition special efficacy to state the second image, and second image can then be sent to other and used by user by application program Family.
In another embodiment, the interception unit 10 is used to intercept the image that the camera module shoots.
The synthesis unit 30 is then used for:
Synthetic instruction is received, first special-effect information is blended on the image that the camera module shoots and is obtained Second image.
In the present embodiment, the first image of the camera module collection of the interception of above-mentioned interception unit 10 is taken the photograph for described As the image that head mould group shoots, the image of the shooting is the image shot to the first preview image;Loading unit 20 is in the shooting Image on add user selection the first special-effect information, show on mobile phone screen synthesis preview image show preview effect, institute Stating the first special-effect information includes audio-frequency information and/or special effect graph picture;If user is to the good results, it is to touch to click on confirming button The first special-effect information for selecting is blended into the camera module and shot by the synthetic instruction in hair the present embodiment, synthesis unit 30 Image on obtain second image, second image is then the image of addition special efficacy, and user then can be by second figure As being sent to other users by application program.
Specifically, the loading unit 20 specifically for:
The first special-effect information of addition is loaded in described first image, and it is described to call startPreview () function to show The synthesis preview image of the first image and first special-effect information.First special-effect information is to be pre-stored in mobile phone local data base Special-effect information.First special-effect information includes audio-frequency information and/or special effect graph picture;Audio-frequency information passes through including mobile terminal The voice data or music file of microphone records.
Reference picture 4, in one embodiment, the loading unit 30 includes:
First loading subelement 301, for the special efficacy stored in database according to described first image resolution sizes The special effect graph picture of correspondence resolution ratio is matched in information, and special effect graph picture loading is added in described first image, shown It is shown as synthesizing preview image.
The special effect graph picture of various different resolutions is provided with database, and corresponding to same special effect graph picture can also set It is equipped with various different resolutions.After the first image of camera module collection is truncated to, the resolution of described first image is obtained Rate size, and the special effect graph picture of correspondence resolution ratio is matched in database according to the resolution sizes, if without correspondence in database The special effect graph picture of resolution ratio, then match the special effect graph picture that resolution ratio is closer to;User selects to want in the image for matching After the special effect graph picture of addition, the special effect graph picture loading that the first loading subelement 301 will be selected is added in described first image, Synthesis preview image displaying preview effect is shown on mobile phone screen.
In another embodiment, the loading unit 30 includes:
Second loading subelement 302, for the special efficacy letter stored in database according to described first image content information The first special-effect information of correspondence is matched in breath, and first special-effect information loading is added in described first image, display It is synthesis preview image.
The first special-effect information of various different atmosphere information is provided with database, for example, represents celebrating red-letter day special efficacy Image, represents audio-frequency information of sadness etc..It is interior in the first image of acquisition after the first image of camera module collection is truncated to The atmosphere that appearance information is represented, corresponding first special-effect information is matched according to content information in first image, and user is in matching Selected in the image for going out after the special effect graph picture of desired addition, the second loading subelement 302 adds the special effect graph picture loading of selection Add in described first image, synthesis preview image displaying preview effect is shown on mobile phone screen.
Further, the loading unit 30 includes:
3rd loading subelement 303, for according to the location information and/or temporal information of described first image in database In match corresponding first special-effect information, and by first special-effect information loading added in described first image, display It is synthesis preview image;First special-effect information for matching is updated or by cloud service according to time and/or place Device is pushed.In different location, different time, Cloud Server can push the first different special-effect informations to mobile terminal, move Dynamic terminal can also be updated the first special-effect information according to time and/or place;For example, can be matched on New Year's Day and Christmas Different special-effect informations;Special efficacy in museum and in amusement park is also different.
Further, the loading unit 30 includes:
4th loading subelement 304, for carrying out face characteristic identification to described first image, according to the face characteristic Corresponding face special efficacy is matched, and face special efficacy loading is added in described first image, be shown as synthesizing preview graph Picture.Face characteristic identification is carried out to the first image, then matches face special efficacy.For example, the face special efficacy of star's face, the face made fun Special efficacy etc..
Further, the loading unit 30 includes:
Slender acanthopanax subelements 305, the camera classification for judging to gather in the camera module the first image, and According to corresponding first special-effect information of the camera categorical match, and by first special-effect information loading added to described the On one image, it is shown as synthesizing preview image.Camera classification includes the front camera and rear camera of mobile phone, correspondence Preposition and rear camera loads different special-effect informations.
Reference picture 5, in another embodiment, the device of described image treatment also includes:
Feedback memory cell 40, the local data base for second image to be stored in mobile terminal.By above-mentioned reality Apply and synthesize the second image for obtaining in example and be back in the application program for calling camera module, and can be by the application Program sends into the client or transmission to Cloud Server of other users second image.
Reference picture 6, in another embodiment, the device of described image treatment also includes:
Shares unit 50, the sharing interface for calling mobile terminal is shared to second image.Lead in mobile phone Often there are various sharing interfaces, correspondence shares second image by different application.For example can by mailbox, information, QQ, Wechat, microblogging, web browser etc. are shared.
The embodiment of the present invention additionally provides a kind of mobile terminal, as shown in fig. 7, for convenience of description, illustrate only and this The related part of inventive embodiments, particular technique details is not disclosed, and refer to present invention method part.The terminal can Think including mobile phone, panel computer, PDA (Personal DigitalAssistant, personal digital assistant), POS (Point OfSales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, so that terminal is as mobile phone as an example:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 7 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 110, memory 120, input block 130, display unit 140th, sensor 150, voicefrequency circuit 160, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 170, processor 180, And the grade part of power supply 190.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 is not constituted to mobile phone Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 7:
RF circuits 110 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, processed to processor 180;In addition, up data is activation will be designed to base station.Generally, RF circuits 110 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (LowNoiseAmplifier, LNA), duplexer etc..Additionally, RF circuits 110 can also by radio communication and network and other Equipment communication.Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division MultipleAccess, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (ShortMessaging Service, SMS) etc..
Memory 120 can be used to store software program and module, and processor 180 is by running storage in memory 120 Software program and module, so as to perform various function application program and the data processing of mobile phone.Memory 120 can be main Including storing program area and storage data field, wherein, what storing program area can be needed for storage program area, at least one function should With program program (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use according to mobile phone Data (such as voice data, phone directory etc.) for being created etc..Additionally, memory 120 can be stored including high random access Device, can also include nonvolatile memory, and for example, at least one disk memory, flush memory device or other volatibility are consolidated State memory device.
Input block 130 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 130 may include that contact panel 131 and other inputs set Standby 132.Contact panel 131, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 131 or near contact panel 131), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 131 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 180, and the order sent of receiving processor 180 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 131.Except contact panel 131, input Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 140 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 141.Further, contact panel 131 can cover display panel 141, when contact panel 131 detect it is thereon or attached After near touch operation, processor 180 is sent to determine the type of touch event, with preprocessor 180 according to touch event Type corresponding visual output is provided on display panel 141.Although in the figure 7, contact panel 131 and display panel 141 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 131 and display panel 141 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 141, proximity transducer can close display panel 141 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application program (such as horizontal/vertical screen Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 160 will can receive, is transferred to loudspeaker 161, and sound is converted to by loudspeaker 161 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is turned after being received by voicefrequency circuit 160 It is changed to voice data, then after voice data output processor 180 is processed, through RF circuits 110 to be sent to such as another mobile phone, Or export to memory 120 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 170 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 7 shows WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 120 and/or module, and call storage in memory 120 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 can be wrapped Include one or more processing units;Preferably, processor 180 can integration application processor and modem processor, its In, application processor mainly processes operating system, user interface and application programs etc., and modem processor is main Treatment radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile phone also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 180, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera module, bluetooth module etc..
Reference picture 7, in embodiments of the present invention, the processor 180 included by the mobile terminal also has following functions:
Application call camera module is detected, the first image gathered in the camera module is intercepted;
The first special-effect information of addition is loaded in described first image, is shown as synthesizing preview image;
Synthetic instruction is received, the second image is synthesized by first special-effect information is corresponding with described first image, and Return to the application program.
The memory 120 is used for storage and supports that the device of image procossing performs the image procossing described in above-described embodiment The program of method;
The processor 180 is configurable for performing the program stored in the memory 120.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the terminal of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In sum, it is the method and apparatus of the mobile terminal and its image procossing provided in the embodiment of the present invention, detection To application call camera module, intercept the first image gathered in the camera module;In described first image Loading the first special-effect information of addition, is shown as synthesizing preview image;Synthetic instruction is received, by first special-effect information and institute State the first image correspondence and synthesize the second image.When application call camera module gathers image, interception shooting head mould First image of group collection simultaneously adds special efficacy and is synthesized, and enhancing is interesting, and simple to operate, lifts Consumer's Experience.
It will be understood by those skilled in the art that the present invention includes being related to for performing in operation described herein Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included Known device in machine.These equipment have computer program of the storage in it, and these computer programs are optionally activated Or reconstruct.Such computer program can be stored in equipment (for example, computer) computer-readable recording medium or store and be suitable to Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium is included but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only storage Device), RAM (RandomAccess Memory, immediately memory), EPROM (Erasable Programmable Read- OnlyMemory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-OnlyMemory, EEPROM), flash memory, magnetic card or light card.It is, readable Jie Matter include being stored in the form of it can read by equipment (for example, computer) or transmission information any medium.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of the frame in each frame and these structure charts and/or block diagram and/or flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that can by these computer program instructions be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method is realized, so that by the treatment of computer or other programmable data processing methods Device is come the scheme specified in the frame or multiple frame that perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in various operations, method, the flow discussed in the present invention Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention Other steps, measure in kind operation, method, flow, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, it is of the prior art with various operations, method, the flow disclosed in the present invention in step, measure, scheme Can also be replaced, changed, reset, decomposed, combined or deleted.
Following technical scheme is provided in the embodiment of the present invention:
A1, a kind of method of image procossing, including:
Application call camera module is detected, the first image gathered in the camera module is intercepted;
The first special-effect information of addition is loaded in described first image, is shown as synthesizing preview image;
Synthetic instruction is received, the second image is synthesized by first special-effect information is corresponding with described first image, and Return to the application program.
The method of A2, image procossing according to A1, it is described to detect application call camera module, intercept institute The step of stating the first image gathered in camera module includes:
Application call camera module is detected, starts camera module, and call open (int cameraId) Function intercepts the first image gathered in the camera module from system bottom.
The method of A3, image procossing according to A2, the first image of the camera module collection of the interception The image that the first preview image or the camera module including camera module collection shoot.
The method of A4, image procossing according to A1, described first image includes photo and/or video image.
The method of A5, image procossing according to A3, the first image gathered in the interception camera module Including:
Intercept the first preview image of the camera module collection;
It is described to receive synthetic instruction, the second image is synthesized by first special-effect information is corresponding with described first image The step of include:
When receiving synthetic instruction, shoot first preview image and obtain the first shooting image, and it is special by described first Effect information is blended into and second image is obtained in first shooting image.
The method of A6, image procossing according to A3, the first image gathered in the interception camera module Including:
Intercept the image that the camera module shoots;
It is described to receive synthetic instruction, the second image is synthesized by first special-effect information is corresponding with described first image The step of include:
When receiving synthetic instruction, first special-effect information is blended on the image that the camera module shoots and is obtained To second image.
The method of A7, image procossing according to A2, it is described that addition the first special efficacy letter is loaded in described first image Breath, is shown as including the step of synthesizing preview image:
The first special-effect information of addition is loaded in described first image, and it is described to call startPreview () function to show The synthesis preview image of the first image and first special-effect information.
The method of A8, image procossing according to A7, first special-effect information includes audio-frequency information and/or special effect graph Picture.
The method of A9, image procossing according to A8, it is described that addition the first special efficacy letter is loaded in described first image Breath, is shown as including the step of synthesizing preview image:
Resolution ratio is corresponded to according to being matched in the special-effect information that described first image resolution sizes are stored in database Special effect graph picture, and by special effect graph picture loading added in described first image, being shown as synthesizing preview image.
The method of A10, image procossing according to A8, it is described that addition the first special efficacy letter is loaded in described first image Breath, is shown as including the step of synthesizing preview image:
The first special efficacy is corresponded to according to being matched in the special-effect information that described first image content information is stored in database Information, and first special-effect information loading is added in described first image, it is shown as synthesizing preview image.
The method of A11, image procossing according to A8, it is described that addition the first special efficacy letter is loaded in described first image Breath, is shown as including the step of synthesizing preview image:
Location information and/or temporal information according to described first image match corresponding first special efficacy in database Information, and first special-effect information loading is added in described first image, it is shown as synthesizing preview image;The matching The first special-effect information for going out is updated according to time and/or place or is pushed by Cloud Server.
The method of A12, image procossing according to A8, it is described that addition the first special efficacy letter is loaded in described first image Breath, is shown as including the step of synthesizing preview image:
Face characteristic identification is carried out to described first image, corresponding face special efficacy is matched according to the face characteristic, and Face special efficacy loading is added in described first image, is shown as synthesizing preview image.
The method of A13, image procossing according to A8, the audio-frequency information includes that mobile terminal passes through microphone records Voice data or music file.
The method of A14, image procossing according to A8, it is described that addition the first special efficacy letter is loaded in described first image Breath, is shown as including the step of synthesizing preview image:
Judge to gather in the camera module camera classification of the first image, and according to the camera categorical match Corresponding first special-effect information, and first special-effect information loading is added in described first image, it is shown as synthesis pre- Look at image.
The method of A15, image procossing according to any one of A1-A14, it is described to receive synthetic instruction, by described One special-effect information is corresponding with described first image to synthesize the second image, and the step of return to the application program after wrap Include:
Second image is stored in the local data base of mobile terminal.
The method of A16, image procossing according to any one of A1-A14, it is described to receive synthetic instruction, by described One special-effect information is corresponding with described first image to synthesize the second image, and the step of return to the application program after wrap Include:
The sharing interface of mobile terminal is called, second image is shared.
B1, a kind of device of image procossing, including:
Interception unit, for detecting application call camera module, gathers in the interception camera module First image;
Loading unit, for loading the first special-effect information of addition in described first image, is shown as synthesizing preview image;
Synthesis unit, for receiving synthetic instruction, by first special-effect information synthesis corresponding with described first image It is the second image, and returns to the application program.
The device of B2, image procossing according to B1, the interception unit specifically for:
Application call camera module is detected, starts camera module, and call open (int cameraId) Function intercepts the first image gathered in the camera module from system bottom.
The device of B3, image procossing according to B2, the camera module collection of the interception unit interception First image includes the image that first preview image or the camera module of camera module collection shoot.
The device of B4, image procossing according to B1, described first image includes photo and/or video image.
The device of B5, image procossing according to B3, the interception unit is used to intercept the camera module collection The first preview image;
The synthesis unit is used for:
When receiving synthetic instruction, shoot first preview image and obtain the first shooting image, and it is special by described first Effect information is blended into and second image is obtained in first shooting image.
The device of B6, image procossing according to B3, the interception unit is used to intercepting the camera module and shoots Image;
The synthesis unit is used for:
When receiving synthetic instruction, first special-effect information is blended on the image that the camera module shoots and is obtained To second image.
The device of B7, image procossing according to B2, the loading unit specifically for:
The first special-effect information of addition is loaded in described first image, and it is described to call startPreview () function to show The synthesis preview image of the first image and first special-effect information.
The device of B8, image procossing according to B7, first special-effect information includes audio-frequency information and/or special effect graph Picture.
The device of B9, image procossing according to B8, the loading unit includes:
First loading subelement, for the special-effect information stored in database according to described first image resolution sizes In match the special effect graph picture of correspondence resolution ratio, and special effect graph picture loading is shown as added in described first image Synthesis preview image.
The device of B10, image procossing according to B8, the loading unit includes:
Second loading subelement, in the special-effect information that is stored in the database according to described first image content information The first special-effect information of correspondence is matched, and first special-effect information loading is added in described first image, be shown as closing Into preview image.
The device of B11, image procossing according to B8, the loading unit includes:
3rd loading subelement, for according to the location information and/or temporal information of described first image in database Corresponding first special-effect information is matched, and first special-effect information loading is added in described first image, be shown as Synthesis preview image;First special-effect information for matching is updated or by Cloud Server according to time and/or place Pushed.
The device of B12, image procossing according to B8, the loading unit includes:
4th loading subelement, for carrying out face characteristic identification to described first image, according to the face characteristic With corresponding face special efficacy, and face special efficacy loading is added in described first image, is shown as synthesizing preview image.
The device of B13, image procossing according to B8, the audio-frequency information includes that mobile terminal passes through microphone records Voice data or music file.
The device of B14, image procossing according to B8, the loading unit includes:
Slender acanthopanax subelements, the camera classification for judging to gather in the camera module the first image, and root According to corresponding first special-effect information of the camera categorical match, and first special-effect information loading is added to described first On image, it is shown as synthesizing preview image.
The device of B15, image procossing according to any one of B1-B14, the device of described image treatment also includes:
Feedback memory cell, the local data base for second image to be stored in mobile terminal.
The device of B16, image procossing according to any one of B1-B14, the device of described image treatment also includes:
Shares unit, the sharing interface for calling mobile terminal is shared to second image.
C1, a kind of mobile terminal, including processor and memory;
The memory is used to store figure of the device execution for supporting described image treatment as any one of A1 to A16 As the program of the method for the treatment of;
The processor is configurable for performing the program stored in the memory.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the invention, every utilization is not thereby limited Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method of image procossing, it is characterised in that including:
Application call camera module is detected, the first image gathered in the camera module is intercepted;
The first special-effect information of addition is loaded in described first image, is shown as synthesizing preview image;
Synthetic instruction is received, the second image is synthesized by first special-effect information is corresponding with described first image, and return To the application program.
2. the method for image procossing according to claim 1, it is characterised in that described to detect application call shooting The step of head mould group, the first image for intercepting collection in the camera module, includes:
Application call camera module is detected, starts camera module, and call open (int cameraId) function The first image gathered in the camera module is intercepted from system bottom.
3. the method for image procossing according to claim 2, it is characterised in that the camera module of the interception is adopted First image of collection includes the image that first preview image or the camera module of camera module collection shoot.
4. the method for image procossing according to claim 1, it is characterised in that described first image include photo and/or Video image.
5. the method for image procossing according to claim 3, it is characterised in that adopted in the interception camera module First image of collection includes:
Intercept the first preview image of the camera module collection;
It is described to receive synthetic instruction, by first special-effect information step for synthesizing the second image corresponding with described first image Suddenly include:
When receiving synthetic instruction, shoot first preview image and obtain the first shooting image, and first special efficacy is believed Breath is blended into and second image is obtained in first shooting image.
6. the method for image procossing according to claim 3, it is characterised in that adopted in the interception camera module First image of collection includes:
Intercept the image that the camera module shoots;
It is described to receive synthetic instruction, by first special-effect information step for synthesizing the second image corresponding with described first image Suddenly include:
When receiving synthetic instruction, first special-effect information is blended on the image that the camera module shoots and obtains institute State the second image.
7. the method for image procossing according to claim 2, it is characterised in that described loading in described first image adds Plus first special-effect information, include the step of be shown as synthesis preview image:
The first special-effect information of addition is loaded in described first image, and calls startPreview () function to show described first The synthesis preview image of image and first special-effect information.
8. the method for image procossing according to claim 7, it is characterised in that first special-effect information includes audio letter Breath and/or special effect graph picture.
9. a kind of device of image procossing, it is characterised in that including:
Interception unit, for detecting application call camera module, intercepts first of collection in the camera module Image;
Loading unit, for loading the first special-effect information of addition in described first image, is shown as synthesizing preview image;
Synthesis unit, for receiving synthetic instruction, synthesizes by first special-effect information is corresponding with described first image Two images, and return to the application program.
10. a kind of mobile terminal, it is characterised in that including processor and memory;
The memory is used to store supports that the device of described image treatment is performed as any one of claim 1 to 8 The program of the method for image procossing;
The processor is configurable for performing the program stored in the memory.
CN201710084293.XA 2017-02-16 2017-02-16 The method and apparatus of mobile terminal and its image procossing Pending CN106937043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710084293.XA CN106937043A (en) 2017-02-16 2017-02-16 The method and apparatus of mobile terminal and its image procossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710084293.XA CN106937043A (en) 2017-02-16 2017-02-16 The method and apparatus of mobile terminal and its image procossing

Publications (1)

Publication Number Publication Date
CN106937043A true CN106937043A (en) 2017-07-07

Family

ID=59423582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710084293.XA Pending CN106937043A (en) 2017-02-16 2017-02-16 The method and apparatus of mobile terminal and its image procossing

Country Status (1)

Country Link
CN (1) CN106937043A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107492128A (en) * 2017-09-14 2017-12-19 光锐恒宇(北京)科技有限公司 A kind of image processing method and device
CN107633541A (en) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect
CN107743212A (en) * 2017-09-28 2018-02-27 努比亚技术有限公司 A kind of method for processing video frequency, mobile terminal and computer-readable recording medium
CN107948543A (en) * 2017-11-16 2018-04-20 北京奇虎科技有限公司 A kind of special video effect processing method and processing device
CN108012091A (en) * 2017-11-29 2018-05-08 北京奇虎科技有限公司 Image processing method, device, equipment and its storage medium
CN108124101A (en) * 2017-12-18 2018-06-05 北京奇虎科技有限公司 Video capture method, device, electronic equipment and computer readable storage medium
CN109451235A (en) * 2018-10-29 2019-03-08 维沃移动通信有限公司 A kind of image processing method and mobile terminal
WO2019052460A1 (en) * 2017-09-12 2019-03-21 腾讯科技(深圳)有限公司 Information pushing method, storage medium, terminal device, and server
CN110636354A (en) * 2019-06-10 2019-12-31 青岛海信电器股份有限公司 Display device
CN111179268A (en) * 2020-03-18 2020-05-19 宁波均联智行科技有限公司 Vehicle-mounted terminal abnormality detection method and device and vehicle-mounted terminal
CN111355879A (en) * 2018-12-24 2020-06-30 北京小米移动软件有限公司 Image acquisition method and device containing special effect pattern and electronic equipment
CN112040278A (en) * 2020-09-16 2020-12-04 成都市喜爱科技有限公司 Video processing method and device, shooting terminal, server and storage medium
CN112866562A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Picture processing method and device, electronic equipment and storage medium
WO2022116604A1 (en) * 2020-12-04 2022-06-09 北京达佳互联信息技术有限公司 Image captured image processing method and electronic device
CN116156317A (en) * 2021-11-16 2023-05-23 Oppo广东移动通信有限公司 Camera control method, storage medium, co-processing chip and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102927916A (en) * 2012-11-29 2013-02-13 中国农业大学 Method and device of monitoring height of corn plants in wild environment
CN103327188A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Self-photographing method with mobile terminal and mobile terminal
CN103391414A (en) * 2013-07-24 2013-11-13 杭州趣维科技有限公司 Video processing device and processing method applied to mobile phone platform
CN104967801A (en) * 2015-02-04 2015-10-07 腾讯科技(深圳)有限公司 Video data processing method and apparatus
CN105068822A (en) * 2015-07-09 2015-11-18 厦门美图网科技有限公司 Real time filter online configuration method, system and shooting terminal
CN105187724A (en) * 2015-09-17 2015-12-23 努比亚技术有限公司 Mobile terminal and method for processing images

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102927916A (en) * 2012-11-29 2013-02-13 中国农业大学 Method and device of monitoring height of corn plants in wild environment
CN103327188A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Self-photographing method with mobile terminal and mobile terminal
CN103391414A (en) * 2013-07-24 2013-11-13 杭州趣维科技有限公司 Video processing device and processing method applied to mobile phone platform
CN104967801A (en) * 2015-02-04 2015-10-07 腾讯科技(深圳)有限公司 Video data processing method and apparatus
CN105068822A (en) * 2015-07-09 2015-11-18 厦门美图网科技有限公司 Real time filter online configuration method, system and shooting terminal
CN105187724A (en) * 2015-09-17 2015-12-23 努比亚技术有限公司 Mobile terminal and method for processing images

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11140315B2 (en) 2017-09-12 2021-10-05 Tencent Technology (Shenzhen) Company Limited Method, storage medium, terminal device, and server for managing push information
WO2019052460A1 (en) * 2017-09-12 2019-03-21 腾讯科技(深圳)有限公司 Information pushing method, storage medium, terminal device, and server
CN107492128B (en) * 2017-09-14 2020-11-20 光锐恒宇(北京)科技有限公司 Image processing method and device
CN107633541A (en) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect
CN107492128A (en) * 2017-09-14 2017-12-19 光锐恒宇(北京)科技有限公司 A kind of image processing method and device
CN107633541B (en) * 2017-09-14 2021-05-18 光锐恒宇(北京)科技有限公司 Method and device for generating image special effect
CN107743212A (en) * 2017-09-28 2018-02-27 努比亚技术有限公司 A kind of method for processing video frequency, mobile terminal and computer-readable recording medium
CN107948543A (en) * 2017-11-16 2018-04-20 北京奇虎科技有限公司 A kind of special video effect processing method and processing device
CN107948543B (en) * 2017-11-16 2021-02-02 北京奇虎科技有限公司 Video special effect processing method and device
CN108012091A (en) * 2017-11-29 2018-05-08 北京奇虎科技有限公司 Image processing method, device, equipment and its storage medium
CN108124101A (en) * 2017-12-18 2018-06-05 北京奇虎科技有限公司 Video capture method, device, electronic equipment and computer readable storage medium
CN109451235B (en) * 2018-10-29 2021-03-05 维沃移动通信有限公司 Image processing method and mobile terminal
CN109451235A (en) * 2018-10-29 2019-03-08 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN111355879A (en) * 2018-12-24 2020-06-30 北京小米移动软件有限公司 Image acquisition method and device containing special effect pattern and electronic equipment
CN111355879B (en) * 2018-12-24 2021-06-15 北京小米移动软件有限公司 Image acquisition method and device containing special effect pattern and electronic equipment
CN110636354A (en) * 2019-06-10 2019-12-31 青岛海信电器股份有限公司 Display device
CN111179268A (en) * 2020-03-18 2020-05-19 宁波均联智行科技有限公司 Vehicle-mounted terminal abnormality detection method and device and vehicle-mounted terminal
CN111179268B (en) * 2020-03-18 2023-06-23 宁波均联智行科技股份有限公司 Abnormality detection method and device for vehicle-mounted terminal and vehicle-mounted terminal
CN112040278A (en) * 2020-09-16 2020-12-04 成都市喜爱科技有限公司 Video processing method and device, shooting terminal, server and storage medium
WO2022116604A1 (en) * 2020-12-04 2022-06-09 北京达佳互联信息技术有限公司 Image captured image processing method and electronic device
CN112866562A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Picture processing method and device, electronic equipment and storage medium
CN116156317A (en) * 2021-11-16 2023-05-23 Oppo广东移动通信有限公司 Camera control method, storage medium, co-processing chip and electronic device

Similar Documents

Publication Publication Date Title
CN106937043A (en) The method and apparatus of mobile terminal and its image procossing
US11355157B2 (en) Special effect synchronization method and apparatus, and mobile terminal
CN104462128B (en) The method, apparatus and terminal device of multimedia file processing
CN107948748B (en) Method, device, mobile terminal and computer storage medium for recommending videos
CN109445894A (en) A kind of screenshot method and electronic equipment
CN107657222A (en) Face identification method and Related product
CN106657329A (en) Mobile terminal as well as notification information control method and device
CN106856543B (en) Picture display method and device and mobile terminal
CN106331502A (en) Terminal and its filter photographing method and device
CN107818465A (en) Method, equipment, mobile terminal and the computer-readable storage medium of payment
CN107315488A (en) A kind of searching method of expression information, device and mobile terminal
CN107103074B (en) Processing method of shared information and mobile terminal
CN106534586B (en) Mobile terminal and its contact person information processing method and device
CN106921791A (en) The storage and inspection method of a kind of multimedia file, device and mobile terminal
CN106708530A (en) Information processing method and terminal equipment
CN108123999A (en) A kind of information push method and mobile terminal
CN108062194A (en) A kind of display methods, device and mobile terminal
CN109219004A (en) Short message unsubscription method, device, mobile terminal and readable storage medium storing program for executing
CN106817482A (en) Mobile terminal and its method and apparatus called
CN106791185A (en) Method for managing contact person information, device and mobile terminal
CN107046595A (en) Announcement information processing method, device and mobile terminal
CN106126726A (en) The exhibiting method of a kind of file scene and relevant device
CN108055383A (en) Acquisition methods, device and the mobile terminal of screenshot picture
CN107045418A (en) A kind of method, device, computer installation and the storage medium of information input
CN106874045A (en) A kind of startup method of application program, device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170707

RJ01 Rejection of invention patent application after publication