CN105338237A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN105338237A
CN105338237A CN201410385180.XA CN201410385180A CN105338237A CN 105338237 A CN105338237 A CN 105338237A CN 201410385180 A CN201410385180 A CN 201410385180A CN 105338237 A CN105338237 A CN 105338237A
Authority
CN
China
Prior art keywords
image template
current
image
watermark
preset
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
CN201410385180.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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410385180.XA priority Critical patent/CN105338237A/en
Publication of CN105338237A publication Critical patent/CN105338237A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an image processing method. The image processing method comprises the following steps: capturing a target picture and displaying the captured target picture; acquiring image templates in a preset image database; loading the acquired image templates to a preset watermark control layer located at a front end of a camera control layer and displaying the image templates; receiving a switching instruction inputted on the watermark control layer, and orderly switching the currently displayed image templates according to the switching instruction and a preset sort order of the image templates; and receiving a shooting instruction, synthesizing the currently captured target picture and the image template displayed by the watermark control layer as the currently shot picture. The invention further discloses an image processing device. The image processing method and device provided by the invention can check an effect of a watermark picture formed after increasing the image templates under a shooting state, and can reduce the operation difficulty of watermark photographing.

Description

Image processing method and device
Technical field
The present invention relates to technical field of image processing, particularly relate to image processing method and device.
Background technology
At present, there is many photograph takings and software for editing on the market, can beautify the photo of shooting, such as, add frame, word, watermark etc.Wherein, watermark refers to adds translucent figure, word etc. on photo, both can not block photo picture completely, and can realize again the object of beautifying photo.But, existing photograph taking or software for editing are when adding frame, word, watermark, normally first complete the shooting of photo, and then the photo taken is edited, user cannot see the design sketch after editor in the process of taking pictures, cause the frame of interpolation, word, watermark etc. and be not suitable for the photo of current shooting, not having the effect beautified.In addition, add the watermark on photo, frame etc. to, it is all the watermark template adopting setting, watermark template on the picture of transparent background, forms translucent watermark in advance, and convert bitmap to and be stored in the watermark data storehouse of photograph taking or software for editing, when needs beautify photo, from watermark data storehouse, recall watermark template.When not reaching the landscaping effect of expection according to watermark template, even need adjustment watermark template to adapt to the photo of current shooting.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of image processing method and device, and the effect of the watermark photo formed after being intended to realize viewing increase image template under shooting state, reduces the operation easier that watermark is taken pictures.
For achieving the above object, embodiments provide a kind of image processing method, comprise the following steps:
Captured target picture, and the target picture of seizure is shown;
Obtain the image template in prediction picture database;
The described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset show;
Be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively;
Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting.
Further, the embodiment of the present invention additionally provides a kind of image processing apparatus, comprising:
First display module, for captured target picture, and shows the target picture of seizure;
First acquisition module, for obtaining the image template in prediction picture database;
Second display module, shows for the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset;
Handover module, for being received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Photo synthesis module, for receiving shooting instruction, synthesizes the photo as current shooting using the image template that the target picture of current seizure and described watermark control layer show.
The embodiment of the present invention is by captured target picture, and the target picture of seizure is shown, obtain the image template in prediction picture database simultaneously, the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset and shows; And be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively; Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting; Thus realize the shooting of watermark photo.Owing to carrying by watermark control layer and showing image template, and switch image template according to switching command, achieve to view under shooting state increase watermark after the effect of watermark photo that formed, thus reduce the operation easier that watermark takes pictures, be user-friendly to.
Accompanying drawing explanation
Fig. 1 is the hardware structure schematic diagram of image processing apparatus first embodiment of the present invention;
Fig. 2 is the high-level schematic functional block diagram of image processing apparatus second embodiment of the present invention;
Fig. 3 is the refinement high-level schematic functional block diagram of photo synthesis module in Fig. 2;
Fig. 4 is the high-level schematic functional block diagram of image processing apparatus of the present invention 3rd embodiment;
Fig. 5 is the refinement high-level schematic functional block diagram that in Fig. 2, photo switches;
Fig. 6 is the high-level schematic functional block diagram of image processing apparatus of the present invention 4th embodiment;
Fig. 7 is the schematic flow sheet of image processing method first embodiment of the present invention;
Fig. 8 is the refinement schematic flow sheet of step S14 in Fig. 7;
Fig. 9 is the schematic flow sheet of image processing method second embodiment of the present invention;
Figure 10 is the refinement schematic flow sheet of step S13 in Fig. 7;
Figure 11 is the schematic flow sheet of image processing method of the present invention 3rd embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The present invention proposes a kind of image processing apparatus.With reference to Fig. 1, the data downloading management device of this embodiment comprises: processor 111, memory 112, user interface 113, network interface 114 and communication bus 115.Communication bus 115 is for the communication between building block each in data server, and user interface 113 is for receiving the information of user's input, and this user interface can be wireline interface and wave point, such as keyboard, mouse etc.Network interface 114 communicates mutually with outside for data server, and this network interface 114 also can include line interface and wave point.Memory 112 can comprise one or more computer-readable recording mediums, and it not only comprises internal storage, also comprises external memory storage.Operating system and application program etc. of taking pictures is stored in this memory.Processor 111 for calling the application program of taking pictures in memory 112, to perform following operation:
Captured target picture, and the target picture of seizure is shown;
Obtain the image template in prediction picture database;
The described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset show;
Be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively;
Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting.
Further, processor 111 also for calling the application program of taking pictures in memory 112, to perform following operation:
Judge whether to receive shooting instruction;
When receiving shooting instruction, take the target picture of current seizure;
Be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively;
Instruction is determined in reception, the image template of current display is set as the top layer display frame of the target picture of taking, to synthesize the photo of current shooting.
Further, processor 111 also for calling the application program of taking pictures in memory 112, to perform following operation:
The image template of the quantity and current display that obtain described image template is arranged in the described preset positional information put in order;
Show the quantity of described image template and described positional information.
Further, the image template in described image data base comprises the image template carrying out class discrimination according to preset classifying rules; Processor 111 also for calling the application program of taking pictures in memory 112, to perform following operation:
Judge that whether the image template of current display is first image template or an end image template of described current class;
When the image template of current display is not first image template or last the image template of described current class, preset the putting in order in current class according to described switching command and described image template, switches the image template of current display successively;
When the image template of current display is first image template of described current class, preset the putting in order in current class according to described switching command and described image template, shows next image template in image template in a upper classification or current class; When image template is opened at the end that the image template of current display is described current class, preset the putting in order in current class according to described switching command and described image template, shows a upper image template in image template in next classification or current class.
Further, described image template comprises viewing area, address; Processor 111 also for calling the application program of taking pictures in memory 112, to perform following operation:
Send address information and obtain request, to obtain the address information residing for current shooting;
Judge whether to get described address information;
If so, then control viewing area, described address and show described address information;
If not, then when receiving the described viewing area, geographical position of click, the address information of input; And control the address information of viewing area, described address display input.
The embodiment of the present invention is by captured target picture, and the target picture of seizure is shown, obtain the image template in prediction picture database simultaneously, the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset and shows; And be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively; Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting; Thus realize the shooting of watermark photo.Owing to carrying by watermark control layer and showing image template, and switch image template according to switching command, achieve to view under shooting state increase watermark after the effect of watermark photo that formed, thus reduce the operation easier that watermark takes pictures, be user-friendly to.
Further, with reference to Fig. 2, provide the second embodiment of image processing apparatus of the present invention, the image processing apparatus that this embodiment provides comprises:
First display module 110, for captured target picture, and shows the target picture of seizure;
When the image processing apparatus that the present embodiment provides is applied to and takes pictures, to the process of image, to realize camera function.Such as can install the application software being used for watermark and taking pictures on intelligent terminal, such as watermark camera, realizes watermark by above-mentioned image processing method and takes pictures.Above-mentioned intelligent terminal can comprise mobile phone, PAD, notebook computer etc.All make detailed description for mobile phone in following examples, after user enters QQ space by mobile phone, watermark camera can be clicked and start watermark screening-mode, after startup watermark screening-mode, the target picture caught by shooting interface display camera.This shooting interface comprises the camera control layer for carrying display camera captured target picture, and takes for controlling the button control regulated.
First acquisition module 120, for obtaining the image template in prediction picture database;
Take pictures for watermark, above-mentioned prediction picture database is watermark data storehouse, and above-mentioned image template is watermark template, i.e. watermark picture.When after the startup watermark screening-mode request receiving user's input, by the watermark picture in local for the mobile phone preset watermark data storehouse of internal memory.Be understandable that, this watermark picture is the watermark picture that user downloads in advance or pre-sets, and particularly, the form of the content shown, each content display and positional information can be needed to arrange different watermark pictures according to often opening on watermark picture.On a watermark picture, such as show current temporal information, address information (geographical position residing during mobile phone shooting), Weather information, individualized signature information, mood information and individual pictures information etc.Each Zhang Shuiyin picture can be arranged one of them information or multiple information.
Second display module 130, shows for the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset;
In the present embodiment, preset watermark control layer in the front end of above-mentioned camera control layer, this watermark control layer is used for carrying and showing image template.Be understandable that above-mentioned camera control layer is for display bottom, button control and watermark control layer are display top layer, and user can operate button control and watermark control, thus input corresponding operational order.Above-mentioned image template can be unified to store, and can install presetting rule and carry out classification after class discrimination and store.After getting image template in a database, directly image template can be loaded on watermark control and show, thus show translucent image template taking pictures on interface.
Handover module 140, for being received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Photo synthesis module 150, for receiving shooting instruction, synthesizes the photo as current shooting using the image template that the target picture of current seizure and described watermark control layer show.
It should be noted that above-mentioned image template can arrange according to preset putting in order, such as this puts in order can be the modification time of image template, the size of image template etc., does not limit further at this.After shooting interface shows translucent image template, mobile phone enters shooting state, and now whether detecting real-time user carries out slide to watermark control layer.Particularly, this slide can for sliding left and sliding to the right.When user slides, be then adjusted to next image template according to putting in order of image template by working as the image template shown left; When user slides, then according to the order of image template, the image template of current display is adjusted to a upper pictures to the right.By the slide to watermark control layer, thus the image template of the image template that user can be selected to like or applicable current goal picture is as the watermark of photo.After user determines image template, can target picture shooting be carried out, and after photographic subjects picture, the image template of current display be carried out pixel synthesis, thus form watermark photo.
The embodiment of the present invention is by captured target picture, and the target picture of seizure is shown, obtain the image template in prediction picture database simultaneously, the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset and shows; And be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively; Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting; Thus realize the shooting of watermark photo.Owing to carrying by watermark control layer and showing image template, and switch image template according to switching command, achieve to view under shooting state increase watermark after the effect of watermark photo that formed, thus reduce the operation easier that watermark takes pictures, be user-friendly to.
Further, with reference to Fig. 3, based on above-described embodiment, in the present embodiment, above-mentioned photo synthesis module 150 comprises:
First judging unit 151, receives shooting instruction for judging whether;
Shooting unit 152, for when receiving shooting instruction, takes the target picture of current seizure;
Switch unit 153, for being received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Photo synthesis unit 154, determining instruction for receiving, the image template of current display being set as the top layer display frame of the target picture of taking, to synthesize the photo of current shooting.
Be understandable that, can carry out taking by arranging a shooting push button input of instruction, this shooting push button can be the control in above-mentioned button control, also can be a button of mobile phone.Do not limit further at this particularly.
After user clicks shooting push button, the target picture of shooting camera current seizure (namely user needs the picture of taking pictures); Then preview state of taking pictures is entered, to confirm that user is the need of this photo of preservation.Taking pictures in preview state, again detect user in real time and whether slide is carried out to watermark control layer, when there is slide, the switching command that can produce according to the slide of user adjusts image template, particularly, in this adjustment mode and above-described embodiment, the adjustment entering shooting state at mobile phone is consistent.When user slides, be then adjusted to next image template according to putting in order of image template by working as the image template shown left; When user slides, then according to the order of image template, the image template of current display is adjusted to a upper pictures to the right.Due to after entering preview state of taking pictures, the slide detecting user adjusts image template, thus prevent the change due to shooting angle or scene type, the watermark when shooting state is caused to select improper, affect the effect of taking pictures, therefore the present embodiment can increase the matching degree of image template and target picture, improves the landscaping effect of photo.
Further, with reference to Fig. 4, based on above-described embodiment, in the present embodiment, above-mentioned image processing apparatus also comprises:
Second acquisition module 160, the image template for the quantity and current display that obtain described image template is arranged in the described preset positional information put in order;
3rd display module 170, for showing the quantity of described image template and described positional information.
Be understandable that, the quantity of above-mentioned image template can be the quantity of the image template of a certain classification, also can be the quantity of the image template all got; Above-mentioned positional information is, the image template of current display above-mentioned preset put in order in arrangement position.Such as get altogether 20 image templates, current display be the 3rd pictures, then the quantity of image template and described positional information can be undertaken showing (3/20) by following form; If by slide to the right once after, quantity and the described positional information of image template can be shown as (2/20).When there is classification, as there are two classifications, in first category, there are 10 image templates, in the second classification, there are 15 image templates; When the image template of current display is the 3rd pictures in first category, then the quantity of image template and described positional information can be undertaken showing (3/10) by following form; When the image template of current display is the 3rd pictures in the second classification, then the quantity of image template and described positional information can be undertaken showing (3/15) by following form.Should be noted that, the form of display can be arranged according to actual needs, the form of round dot such as can also be adopted in other embodiments to show, using the quantity of row's round dot as the quantity of the image template got, the form that round dot corresponding for the image template of current display carries out lighting is shown.In the present embodiment, owing to increasing the quantity of image template and the display of positional information, user can in the process that Selection radio is right, record the position of preferably image template, thus by after complete for all image template comparisons, be directly switch to recorded image template, user therefore can be facilitated to select image template.
Further, with reference to Fig. 5, based on above-described embodiment, in the present embodiment, the image template in above-mentioned image data base comprises the image template carrying out class discrimination according to preset classifying rules;
Above-mentioned handover module 140 comprises:
Second judging unit 141, for judging whether the image template of current display is first image template of described current class or a last image template;
Display adjustment unit 142, during for not being first image template or end the image template of described current class when the image template of current display, preset the putting in order in current class according to described switching command and described image template, switches the image template of current display successively; When the image template of current display is first image template of described current class, preset the putting in order in current class according to described switching command and described image template, shows next image template in image template in a upper classification or current class; When image template is opened at the end that the image template of current display is described current class, preset the putting in order in current class according to described switching command and described image template, shows a upper image template in image template in next classification or current class.
In the present embodiment, when the image template of current display is first image template of generic, then, when described slide is for sliding to the right, image template is opened at the end shown in a upper classification; When image template is opened at the end that the image template of current display is generic, then, when described slide is for sliding, show first image template in a upper classification left.For the watermark photo of 3 classifications, wherein there are 5 image templates in first classification, in second classification, there are 7 image templates, in the 3rd classification, there are 8 image templates.When the image template of current display is the first pictures (1/7) in second classification, if user's input slide to the right, then show the 5th pictures (5/5) of first classification, if user inputs the operation of sliding left, then show the second pictures (2/7) in second classification.When the image template of current display is the 7th pictures (7/7) in second classification, if user's input slide to the right, then show the 6th pictures (6/7) of second classification, if user inputs the operation of sliding left, then show the first pictures (1/8) in the 3rd classification.It should be noted that conveniently at the handover operation having watermark and no-watermark, can by the picture being set to no-watermark of the first pictures in each classification.Be understandable that, in the present embodiment, the switching of terminal watermark under shooting state made a detailed description, under preview state of taking pictures, equally also can realize the same switching of image template.Namely above-mentioned switch unit 153 replaces with the second judging unit 141 and display adjustment unit 142.
Further, with reference to Fig. 6, based on above-described embodiment, in the present embodiment, above-mentioned image processing apparatus comprises viewing area, address;
Described image processing apparatus also comprises:
Sending module 180, obtains request, to obtain the address information residing for current shooting for sending address information;
Judge module 190, gets described address information for judging whether;
Control module 200, for when getting described address information, controlling viewing area, described address and showing described address information; When not getting described address information, when receiving the described viewing area, geographical position of click, the address information of input; And control the address information of viewing area, described address display input.
Be understandable that, the content on image template comprises static watermark and dynamic watermark.Wherein static watermark is the content do not changed with environmental change, i.e. the word that pre-sets of user or figure, the design, individualized signature information etc. of such as individual pictures.Dynamic watermark is the watermark that can change according to external environment condition, such as temporal information, address information, Weather information etc.Because weather, date and decibel are moment changes, according to the situation of change of current weather, date or decibel, adjust the watermark content of day dynamic watermark dynamically.After startup watermark screening-mode, intelligent terminal obtains the data required for dynamic watermark from network or in local storage, i.e. current context information, this environmental information can be Weather information, the date and time information needed for date watermark or the acoustic information needed for decibel watermark needed for weather watermark, or other information needed for dynamic watermark.Such as, in the present embodiment, under intelligent terminal networking state, send address information and obtain request to corresponding server, and the data of reception server feedback, thus address information residing for acquisition current shooting (namely the current residing address information of user, is then shown to this address information in viewing area, address.If exist abnormal in the process obtained, when cannot receive the data of server feedback, user can manually click viewing area, address, and ejects an input frame, manually inputs current address information for user, to ensure the integrality of watermark content.When this external user checks that the address information of current display exists abnormal, also can initiatively click viewing area, address, to change address information, ensure the accuracy of address information display.
The invention allows for a kind of image processing method.With reference to Fig. 7, the image processing method of this embodiment comprises the following steps:
Step S10, captured target picture, and the target picture of seizure is shown;
When the image processing method that the present embodiment provides is applied to and takes pictures, to the process of image, to realize camera function.Such as can install the application software being used for watermark and taking pictures on intelligent terminal, such as watermark camera, realizes watermark by above-mentioned image processing method and takes pictures.Above-mentioned intelligent terminal can comprise mobile phone, PAD, notebook computer etc.All make detailed description for mobile phone in following examples, after user enters QQ space by mobile phone, watermark camera can be clicked and start watermark screening-mode, after startup watermark screening-mode, the target picture caught by shooting interface display camera.This shooting interface comprises the camera control layer for carrying display camera captured target picture, and takes for controlling the button control regulated.
Step S11, obtains the image template in prediction picture database;
Take pictures for watermark, above-mentioned prediction picture database is watermark data storehouse, and above-mentioned image template is watermark template, i.e. watermark picture.When after the startup watermark screening-mode request receiving user's input, by the watermark picture in local for the mobile phone preset watermark data storehouse of internal memory.Be understandable that, this watermark picture is the watermark picture that user downloads in advance or pre-sets, and particularly, the form of the content shown, each content display and positional information can be needed to arrange different watermark pictures according to often opening on watermark picture.On a watermark picture, such as show current temporal information, address information (geographical position residing during mobile phone shooting), Weather information, individualized signature information, mood information and individual pictures information etc.Each Zhang Shuiyin picture can be arranged one of them information or multiple information.
Step S12, is loaded on the described image template obtained the watermark control layer being positioned at camera control layer front end preset and shows;
In the present embodiment, preset watermark control layer in the front end of above-mentioned camera control layer, this watermark control layer is used for carrying and showing image template.Be understandable that above-mentioned camera control layer is for display bottom, button control and watermark control layer are display top layer, and user can operate button control and watermark control, thus input corresponding operational order.Above-mentioned image template can be unified to store, and can install presetting rule and carry out classification after class discrimination and store.After getting image template in a database, directly image template can be loaded on watermark control and show, thus show translucent image template taking pictures on interface.
Step S13, is received in the switching command that described watermark control layer inputs, and according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Step S14, receives shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting.
It should be noted that above-mentioned image template can arrange according to preset putting in order, such as this puts in order can be the modification time of image template, the size of image template etc., does not limit further at this.After shooting interface shows translucent image template, mobile phone enters shooting state, and now whether detecting real-time user carries out slide to watermark control layer.Particularly, this slide can for sliding left and sliding to the right.When user slides, be then adjusted to next image template according to putting in order of image template by working as the image template shown left; When user slides, then according to the order of image template, the image template of current display is adjusted to a upper pictures to the right.By the slide to watermark control layer, thus the image template of the image template that user can be selected to like or applicable current goal picture is as the watermark of photo.After user determines image template, can target picture shooting be carried out, and after photographic subjects picture, the image template of current display be carried out pixel synthesis, thus form watermark photo.
The embodiment of the present invention is by captured target picture, and the target picture of seizure is shown, obtain the image template in prediction picture database simultaneously, the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset and shows; And be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively; Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting; Thus realize the shooting of watermark photo.Owing to carrying by watermark control layer and showing image template, and switch image template according to switching command, achieve to view under shooting state increase watermark after the effect of watermark photo that formed, thus reduce the operation easier that watermark takes pictures, be user-friendly to.
Further, with reference to Fig. 8, based on above-described embodiment, in the present embodiment, above-mentioned steps S14 comprises:
Step S141, judges whether to receive shooting instruction; If then perform step S142, if not, then the instruction to be captured such as;
Step S142, takes the target picture of current seizure;
Step S143, is received in the switching command that described watermark control layer inputs, and according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Step S144, receives and determines instruction, the image template of current display is set as the top layer display frame of the target picture of taking, to synthesize the photo of current shooting.
Be understandable that, can carry out taking by arranging a shooting push button input of instruction, this shooting push button can be the control in above-mentioned button control, also can be a button of mobile phone.Do not limit further at this particularly.
After user clicks shooting push button, the target picture of shooting camera current seizure (namely user needs the picture of taking pictures); Then preview state of taking pictures is entered, to confirm that user is the need of this photo of preservation.Taking pictures in preview state, again detect user in real time and whether slide is carried out to watermark control layer, when there is slide, the switching command that can produce according to the slide of user adjusts image template, particularly, in this adjustment mode and above-described embodiment, the adjustment entering shooting state at mobile phone is consistent.When user slides, be then adjusted to next image template according to putting in order of image template by working as the image template shown left; When user slides, then according to the order of image template, the image template of current display is adjusted to a upper pictures to the right.Due to after entering preview state of taking pictures, the slide detecting user adjusts image template, thus prevent the change due to shooting angle or scene type, the watermark when shooting state is caused to select improper, affect the effect of taking pictures, therefore the present embodiment can increase the matching degree of image template and target picture, improves the landscaping effect of photo.
Further, with reference to Fig. 9, based on above-described embodiment, in the present embodiment, also comprise after above-mentioned steps S12:
Step S15, the image template of the quantity and current display that obtain described image template is arranged in the described preset positional information put in order;
Step S16, shows the quantity of described image template and described positional information.
Be understandable that, the quantity of above-mentioned image template can be the quantity of the image template of a certain classification, also can be the quantity of the image template all got; Above-mentioned positional information is, the image template of current display above-mentioned preset put in order in arrangement position.Such as get altogether 20 image templates, current display be the 3rd pictures, then the quantity of image template and described positional information can be undertaken showing (3/20) by following form; If by slide to the right once after, quantity and the described positional information of image template can be shown as (2/20).When there is classification, as there are two classifications, in first category, there are 10 image templates, in the second classification, there are 15 image templates; When the image template of current display is the 3rd pictures in first category, then the quantity of image template and described positional information can be undertaken showing (3/10) by following form; When the image template of current display is the 3rd pictures in the second classification, then the quantity of image template and described positional information can be undertaken showing (3/15) by following form.Should be noted that, the form of display can be arranged according to actual needs, the form of round dot such as can also be adopted in other embodiments to show, using the quantity of row's round dot as the quantity of the image template got, the form that round dot corresponding for the image template of current display carries out lighting is shown.In the present embodiment, owing to increasing the quantity of image template and the display of positional information, user can in the process that Selection radio is right, record the position of preferably image template, thus by after complete for all image template comparisons, be directly switch to recorded image template, user therefore can be facilitated to select image template.
Further, with reference to Figure 10, based on above-described embodiment, in the present embodiment, the image template in described image data base comprises the image template carrying out class discrimination according to preset classifying rules; Described step S13 comprises:
Step S131, judges whether the image template of current display is first image template of described current class or a last image template; If so, then perform step S132, if not, then perform step S133.
Step S132, preset the putting in order in current class according to described switching command and described image template, switches the image template of current display successively;
Step S133, preset the putting in order in current class according to described switching command and described image template, shows next image template in image template in a upper classification or current class; When image template is opened at the end that the image template of current display is described current class, preset the putting in order in current class according to described switching command and described image template, shows a upper image template in image template in next classification or current class.
In the present embodiment, when the image template of current display is first image template of generic, then, when described slide is for sliding to the right, image template is opened at the end shown in a upper classification; When image template is opened at the end that the image template of current display is generic, then, when described slide is for sliding, show first image template in a upper classification left.For the watermark photo of 3 classifications, wherein there are 5 image templates in first classification, in second classification, there are 7 image templates, in the 3rd classification, there are 8 image templates.When the image template of current display is the first pictures (1/7) in second classification, if user's input slide to the right, then show the 5th pictures (5/5) of first classification, if user inputs the operation of sliding left, then show the second pictures (2/7) in second classification.When the image template of current display is the 7th pictures (7/7) in second classification, if user's input slide to the right, then show the 6th pictures (6/7) of second classification, if user inputs the operation of sliding left, then show the first pictures (1/8) in the 3rd classification.It should be noted that conveniently at the handover operation having watermark and no-watermark, can by the picture being set to no-watermark of the first pictures in each classification.Be understandable that, in the present embodiment, the switching of terminal watermark under shooting state made a detailed description, under preview state of taking pictures, equally also can realize the same switching of image template.Namely above-mentioned steps S153 also can adopt the mode of step S141 to step S143 to realize.
Further, with reference to Figure 11, based on above-described embodiment, in the present embodiment, above-mentioned image template comprises viewing area, address;
Also comprise after above-mentioned steps S12:
Step S17, sends address information and obtains request, to obtain the address information residing for current shooting;
Step S18, judges whether to get described address information; If so, then perform step S19, otherwise perform step S20
Step S19, controls viewing area, described address and shows described address information;
Step S20, when receiving the described viewing area, geographical position of click, the address information of input; And control the address information of viewing area, described address display input.
Be understandable that, the content on image template comprises static watermark and dynamic watermark.Wherein static watermark is the content do not changed with environmental change, i.e. the word that pre-sets of user or figure, the design, individualized signature information etc. of such as individual pictures.Dynamic watermark is the watermark that can change according to external environment condition, such as temporal information, address information, Weather information etc.Because weather, date and decibel are moment changes, according to the situation of change of current weather, date or decibel, adjust the watermark content of day dynamic watermark dynamically.After startup watermark screening-mode, intelligent terminal obtains the data required for dynamic watermark from network or in local storage, i.e. current context information, this environmental information can be Weather information, the date and time information needed for date watermark or the acoustic information needed for decibel watermark needed for weather watermark, or other information needed for dynamic watermark.Such as, in the present embodiment, under intelligent terminal networking state, send address information and obtain request to corresponding server, and the data of reception server feedback, thus the address information (i.e. the current residing address information of user) residing for acquisition current shooting, then this address information is shown in viewing area, address.If exist abnormal in the process obtained, when cannot receive the data of server feedback, user can manually click viewing area, address, and ejects an input frame, manually inputs current address information for user, to ensure the integrality of watermark content.When this external user checks that the address information of current display exists abnormal, also can initiatively click viewing area, address, to change address information, ensure the accuracy of address information display.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an image processing method, is characterized in that, comprises the following steps:
Captured target picture, and the target picture of seizure is shown;
Obtain the image template in prediction picture database;
The described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset show;
Be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively;
Receive shooting instruction, the image template that the target picture of current seizure and described watermark control layer show is synthesized the photo as current shooting.
2. image processing method as claimed in claim 1, is characterized in that, described reception shooting instruction, comprises the photo that the image template that the target picture of current seizure and described watermark control layer show synthesizes as current shooting:
Judge whether to receive shooting instruction;
When receiving shooting instruction, take the target picture of current seizure;
Be received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switch the image template of current display successively;
Instruction is determined in reception, the image template of current display is set as the top layer display frame of the target picture of taking, to synthesize the photo of current shooting.
3. image processing method as claimed in claim 1, is characterized in that, describedly also comprises after the image template obtained in prediction picture database:
The image template of the quantity and current display that obtain described image template is arranged in the described preset positional information put in order;
Show the quantity of described image template and described positional information.
4. image processing method as claimed any one in claims 1 to 3, it is characterized in that, the image template in described image data base comprises the image template carrying out class discrimination according to preset classifying rules;
Described according to switching command and preset the putting in order of described image template, the image template switching current display successively comprises:
Judge that whether the image template of current display is first image template or an end image template of described current class;
When the image template of current display is not first image template or last the image template of described current class, preset the putting in order in current class according to described switching command and described image template, switches the image template of current display successively;
When the image template of current display is first image template of described current class, preset the putting in order in current class according to described switching command and described image template, shows next image template in image template in a upper classification or current class; When image template is opened at the end that the image template of current display is described current class, preset the putting in order in current class according to described switching command and described image template, shows a upper image template in image template in next classification or current class.
5. image processing method as claimed any one in claims 1 to 3, is characterized in that, described image template comprises viewing area, address;
Also comprise after image template in described acquisition prediction picture database:
Send address information and obtain request, to obtain the address information residing for current shooting;
Judge whether to get described address information;
If so, then control viewing area, described address and show described address information;
If not, then when receiving the described viewing area, geographical position of click, the address information of input; And control the address information of viewing area, described address display input.
6. an image processing apparatus, is characterized in that, comprising:
First display module, for captured target picture, and shows the target picture of seizure;
First acquisition module, for obtaining the image template in prediction picture database;
Second display module, shows for the described image template obtained is loaded on the watermark control layer being positioned at camera control layer front end preset;
Handover module, for being received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Photo synthesis module, for receiving shooting instruction, synthesizes the photo as current shooting using the image template that the target picture of current seizure and described watermark control layer show.
7. image processing apparatus as claimed in claim 6, it is characterized in that, described photo synthesis module comprises:
First judging unit, receives shooting instruction for judging whether;
Shooting unit, for when receiving shooting instruction, takes the target picture of current seizure;
Switch unit, for being received in the switching command that described watermark control layer inputs, according to described switching command and preset the putting in order of described image template, switches the image template of current display successively;
Photo synthesis unit, determining instruction for receiving, the image template of current display being set as the top layer display frame of the target picture of taking, to synthesize the photo of current shooting.
8. image processing apparatus as claimed in claim 6, it is characterized in that, described image processing apparatus also comprises:
Second acquisition module, the image template for the quantity and current display that obtain described image template is arranged in the described preset positional information put in order;
3rd display module, for showing the quantity of described image template and described positional information.
9. the image processing apparatus according to any one of claim 6 to 8, is characterized in that, the image template in described image data base comprises the image template carrying out class discrimination according to preset classifying rules;
Described handover module comprises:
Second judging unit, for judging whether the image template of current display is first image template of described current class or a last image template;
Display adjustment unit, during for not being first image template or end the image template of described current class when the image template of current display, preset the putting in order in current class according to described switching command and described image template, switches the image template of current display successively; When the image template of current display is first image template of described current class, preset the putting in order in current class according to described switching command and described image template, shows next image template in image template in a upper classification or current class; When image template is opened at the end that the image template of current display is described current class, preset the putting in order in current class according to described switching command and described image template, shows a upper image template in image template in next classification or current class.
10. the image processing apparatus according to any one of claim 6 to 8, is characterized in that, described image template comprises viewing area, address;
Described image processing apparatus also comprises:
Sending module, obtains request, to obtain the address information residing for current shooting for sending address information;
Judge module, gets described address information for judging whether;
Control module, for when getting described address information, controlling viewing area, described address and showing described address information; When not getting described address information, when receiving the described viewing area, geographical position of click, the address information of input; And control the address information of viewing area, described address display input.
CN201410385180.XA 2014-08-06 2014-08-06 Image processing method and device Pending CN105338237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410385180.XA CN105338237A (en) 2014-08-06 2014-08-06 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410385180.XA CN105338237A (en) 2014-08-06 2014-08-06 Image processing method and device

Publications (1)

Publication Number Publication Date
CN105338237A true CN105338237A (en) 2016-02-17

Family

ID=55288492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410385180.XA Pending CN105338237A (en) 2014-08-06 2014-08-06 Image processing method and device

Country Status (1)

Country Link
CN (1) CN105338237A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808102A (en) * 2016-03-03 2016-07-27 北京小米移动软件有限公司 Frame adding method and apparatus
CN106408628A (en) * 2016-11-25 2017-02-15 维沃移动通信有限公司 Image processing method and image processing device
CN106899804A (en) * 2017-01-20 2017-06-27 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108337432A (en) * 2018-03-16 2018-07-27 青岛海信移动通信技术股份有限公司 A kind of method, apparatus and storage medium of photograph taking
CN109658486A (en) * 2017-10-11 2019-04-19 腾讯科技(深圳)有限公司 Image processing method and device, storage medium
CN110884426A (en) * 2018-09-07 2020-03-17 爱信精机株式会社 Display control device
CN111461950A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Image processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959705A (en) * 2005-11-02 2007-05-09 索尼株式会社 Information processing apparatus and method, and program
CN101430702A (en) * 2007-11-05 2009-05-13 株式会社理光 Image displaying apparatus, image display method, and image display system
CN101690164A (en) * 2007-07-11 2010-03-31 索尼爱立信移动通讯股份有限公司 Enhanced image capturing functionality
CN101887447A (en) * 2009-05-11 2010-11-17 奥林巴斯映像株式会社 Image retrieving apparatus and image search method
JP2013175991A (en) * 2012-02-27 2013-09-05 Nikon Corp Imaging apparatus and image processing apparatus
CN103297697A (en) * 2013-05-30 2013-09-11 北京小米科技有限责任公司 Method and device for displaying template pictures during photographing
CN103338299A (en) * 2013-06-06 2013-10-02 腾讯科技(深圳)有限公司 Image processing method, image processing device and image processing terminal
CN103533248A (en) * 2013-10-24 2014-01-22 腾讯科技(上海)有限公司 Image processing method, terminal and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959705A (en) * 2005-11-02 2007-05-09 索尼株式会社 Information processing apparatus and method, and program
CN101690164A (en) * 2007-07-11 2010-03-31 索尼爱立信移动通讯股份有限公司 Enhanced image capturing functionality
CN101430702A (en) * 2007-11-05 2009-05-13 株式会社理光 Image displaying apparatus, image display method, and image display system
CN101887447A (en) * 2009-05-11 2010-11-17 奥林巴斯映像株式会社 Image retrieving apparatus and image search method
JP2013175991A (en) * 2012-02-27 2013-09-05 Nikon Corp Imaging apparatus and image processing apparatus
CN103297697A (en) * 2013-05-30 2013-09-11 北京小米科技有限责任公司 Method and device for displaying template pictures during photographing
CN103338299A (en) * 2013-06-06 2013-10-02 腾讯科技(深圳)有限公司 Image processing method, image processing device and image processing terminal
CN103533248A (en) * 2013-10-24 2014-01-22 腾讯科技(上海)有限公司 Image processing method, terminal and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808102A (en) * 2016-03-03 2016-07-27 北京小米移动软件有限公司 Frame adding method and apparatus
CN105808102B (en) * 2016-03-03 2019-11-08 北京小米移动软件有限公司 Add the method and device of frame
CN106408628A (en) * 2016-11-25 2017-02-15 维沃移动通信有限公司 Image processing method and image processing device
CN106408628B (en) * 2016-11-25 2019-06-07 维沃移动通信有限公司 A kind of image processing method and device
CN106899804A (en) * 2017-01-20 2017-06-27 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN109658486A (en) * 2017-10-11 2019-04-19 腾讯科技(深圳)有限公司 Image processing method and device, storage medium
CN109658486B (en) * 2017-10-11 2022-12-23 腾讯科技(深圳)有限公司 Image processing method and device, and storage medium
CN108337432A (en) * 2018-03-16 2018-07-27 青岛海信移动通信技术股份有限公司 A kind of method, apparatus and storage medium of photograph taking
CN110884426A (en) * 2018-09-07 2020-03-17 爱信精机株式会社 Display control device
CN110884426B (en) * 2018-09-07 2024-03-05 株式会社爱信 Display control device
CN111461950A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Image processing method and device
CN111461950B (en) * 2019-01-18 2023-10-17 北京小米移动软件有限公司 Image processing method and device

Similar Documents

Publication Publication Date Title
CN105338237A (en) Image processing method and device
US10652455B2 (en) Guided video capture for item listings
US9185286B2 (en) Combining effective images in electronic device having a plurality of cameras
CN106687991B (en) System and method for setting focus of digital images based on social relationships
WO2016058468A1 (en) Mobile terminal, server, shooting method and computer storage medium
US20170032219A1 (en) Methods and devices for picture processing
US10171731B2 (en) Method and apparatus for image processing
KR102314594B1 (en) Image display method and electronic device
CN112954210B (en) Photographing method and device, electronic equipment and medium
US20220417417A1 (en) Content Operation Method and Device, Terminal, and Storage Medium
WO2018000643A1 (en) Method and device for sorting photographs
US9313368B2 (en) Method for compressing image data collected by camera and electronic device for supporting the method
CN104102429A (en) Integrated viewfinder and digital media
CN113411498B (en) Image shooting method, mobile terminal and storage medium
JP2016534666A (en) Video backup method, apparatus, program, and recording medium
US20230336671A1 (en) Imaging apparatus
CN111669495B (en) Photographing method, photographing device and electronic equipment
CN112200040A (en) Occlusion image detection method, device and medium
CN105391940A (en) Image recommendation method and apparatus
CN110266926B (en) Image processing method, image processing device, mobile terminal and storage medium
CN110149477A (en) A kind of display methods, device, terminal and readable storage medium storing program for executing
CN107885482B (en) Audio playing method and device, storage medium and electronic equipment
CN107292901B (en) Edge detection method and device
CN111480158A (en) File management method and electronic equipment
CN110047115B (en) Star image shooting method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 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: 20160217

RJ01 Rejection of invention patent application after publication