Processing method, device and the terminal of a kind of photo synthesisTechnical field
The present invention relates to terminal camera technique field, particularly relate to the processing method of a kind of photo synthesis, deviceAnd terminal.
Background technology
Along with the development of science and technology, people are more and more higher for the requirement of multimedia equipment, especially take picturesAspect.Although the software of taking pictures in a lot of terminals has had been provided with increasing shoot function, but is inciting somebody to actionMultiple phases are spelled when synthesizing, and need first to select synthesis photograph, are then being closed by correspondingBecome software to synthesize, just can not synthesize, therefore when shooting so that the operation of user becomes superfluousNumerous, reduce Consumer's Experience.
Summary of the invention
The technical problem to be solved in the present invention is to provide processing method, device and the terminal of a kind of photo synthesis,The photo of wearable device with terminal taking is synthesized so that the exposal model of terminal is more and more abundanter,Well improve Consumer's Experience.
In order to solve above-mentioned technical problem, the present invention adopts the following technical scheme that
According to one aspect of the present invention, it is provided that the processing method of a kind of photo synthesis, including:
Obtain the image information that wearable device and terminal gather respectively, and carry out pre-at the display interface of terminalLook at;
According to the image information of preview, obtain the photographing instruction that user sends, carry out according to described photographing instructionTake pictures;
Obtain at least two image data after taking pictures, after synthesizing and preserve.
Alternatively, obtain the image information that wearable device gathers respectively with terminal, and in display circle of terminalFace carries out the step of preview and includes:
Obtain the voice signal that user sends, call the camera function of wearable device, and carry out image acquisition;
The image information that the image information gathered by described wearable device and terminal gather is in the display of terminalInterface carries out preview;
Obtain the first adjustment instruction that user sends, by described wearable device in terminal demonstration interface preview windowPosition and the size of mouth are adjusted.
Alternatively, according to the image information of preview, obtain the photographing instruction that user sends, take pictures according to describedThe step that instruction carries out taking pictures includes:
Obtain the mode instruction that user sends, select exposal model when taking pictures according to described mode instruction;
According to described exposal model, obtain the photographing instruction that user sends, and take pictures.
Alternatively, according to described exposal model, obtain the photographing instruction that user sends, and carry out the step taken picturesSuddenly include:
If described exposal model is the first exposal model, then obtain the first photographing instruction that user sends;
According to described first photographing instruction, taken pictures by terminal and described wearable device simultaneously.
Alternatively, according to described first photographing instruction, clapped by terminal and described wearable device simultaneouslyAccording to step include:
Obtain the click terminal shoot button of user's transmission or click on wearable device shoot button or languageThe photographing instruction of beat photograph, is taken pictures by terminal and described wearable device simultaneously.
Alternatively, according to described exposal model, obtain the photographing instruction that user sends, and carry out the step taken picturesSuddenly also include:
If described exposal model is the second exposal model, then obtain the order of taking pictures that user sends;
According to described order of taking pictures, obtain the second photographing instruction that user sends, by terminal with described wearThe equipment of wearing carries out taking pictures during difference.
Alternatively, when being taken pictures when carrying out difference by terminal and described wearable device:
If photographing device is terminal, then the photographing instruction obtaining the click terminal shoot button that user sends passes throughTerminal is taken pictures;Or
If photographing device is described wearable device, then obtain user send click terminal shoot button orThe photographing instruction that click wearable device shoot button or voice are taken pictures is carried out by described wearable deviceTake pictures.
Alternatively, obtain at least two image data after taking pictures, after synthesizing and the step that preserves includes:
Obtain user send second adjustment instruction, to by described wearable device shooting picture position andSize is adjusted;
Obtain the synthetic instruction that user sends, after being synthesized by the picture after described adjustment and preserve.
According to another aspect of the present invention, it is provided that the processing means of a kind of photo synthesis, including:
Previewing module, for obtaining the image information that wearable device and terminal gather respectively, and in terminalDisplay interface carries out preview;
Photo module, for the image information according to preview, obtains the photographing instruction that user sends, according to instituteState photographing instruction to take pictures;
Synthesis module, for obtaining at least two image data after taking pictures, after synthesizing and preserve.
Alternatively, described previewing module includes:
Collecting unit, for obtaining the voice signal that user sends, calls the camera function of wearable device,And carry out image acquisition;
Preview unit, the image information that the image information for being gathered by described wearable device gathers with terminalDisplay interface in terminal carries out preview;
First adjustment unit, for obtaining the first adjustment instruction that user sends, exists described wearable devicePosition and the size of terminal demonstration interface the preview window are adjusted.
Alternatively, described photo module includes:
Acquiring unit, for obtaining the mode instruction that user sends, when selecting to take pictures according to described mode instructionExposal model;
Photographing unit, for according to described exposal model, obtaining the photographing instruction that user sends, and clapAccording to.
Alternatively, described photographing unit includes:
First obtains subelement, if being the first exposal model for described exposal model, then obtains user and sendsThe first photographing instruction;
First count is according to subelement, for according to described first photographing instruction, by terminal with described wearable setFor taking pictures simultaneously.
Alternatively, described first count, sends particularly as follows: obtain user when taking pictures simultaneously according to subelementClick terminal shoot button or click on the photographing instruction that wearable device shoot button or voice are taken pictures,Taken pictures by terminal and described wearable device simultaneously.
Alternatively, described photographing unit also includes:
Second obtains subelement, if being the second exposal model for described exposal model, then obtains user and sendsTake pictures order;
Second count, according to subelement, for order of taking pictures described in basis, obtains the second photographing instruction that user sends,Taken pictures when carrying out difference by terminal and described wearable device.
Alternatively, when described second count is taken pictures when carrying out difference according to subelement, particularly as follows:
If photographing device is terminal, then the photographing instruction obtaining the click terminal shoot button that user sends passes throughTerminal is taken pictures;Or
If photographing device is described wearable device, then obtain user send click terminal shoot button orThe photographing instruction that click wearable device shoot button or voice are taken pictures is carried out by described wearable deviceTake pictures.
Alternatively, described synthesis module includes:
Second adjustment unit, for obtaining the second adjustment instruction that user sends, wearable sets by describedPosition and the size of standby shooting picture are adjusted;
Synthesis unit, for obtaining the synthetic instruction that user sends, synthesizes the picture after described adjustmentRear and preserve.
According to another aspect of invention, additionally provide a kind of terminal, including the process of above-mentioned photo synthesisDevice.
The invention has the beneficial effects as follows:
The processing method of the photo synthesis in the present invention program, first obtains wearable device and terminal collectionImage information, and carry out preview by the display interface of terminal, then use according to the image information acquisition of previewThe photographing instruction that family sends, shoots according to photographing instruction, finally, by least two picture after shootingData synthesize and preserve.In the present invention program, terminal calls wearable device by speech recognitionCamera function, is attached the camera function of the camera function of wearable device with terminal, the bat to terminalLighting module is expanded, and is synthesized by photo while shooting photo so that the process of photo synthesisSimpler, the exposal model of terminal is more and more abundanter, well improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 represents the flow chart of photo synthesis processing method in the embodiment of the present invention;
Fig. 2 represents the flow chart of preview image information in the embodiment of the present invention;
Fig. 3 represents surface chart during terminal preview in the embodiment of the present invention;
Fig. 4 represents the flow chart carrying out taking pictures in the embodiment of the present invention;
Fig. 5 represents the flow chart of photo synthesis in the embodiment of the present invention;
Fig. 6 represents the workflow diagram of photo synthesis in the embodiment of the present invention;
Fig. 7 represents the structured flowchart of photo synthesis processing means in the embodiment of the present invention;
Fig. 8 represents the structured flowchart of previewing module in the embodiment of the present invention;
Fig. 9 represents the structured flowchart of photo module in the embodiment of the present invention;
Figure 10 represents the structured flowchart of photographing unit in the embodiment of the present invention;And
Figure 11 represents the structured flowchart of synthesis module in the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing and specifically realExecute example to describe the present invention.
Embodiment one
Embodiments provide the processing method of a kind of photo synthesis, as it is shown in figure 1, be that the present invention is realExecuting the flow chart of photo synthesis processing method in example, this processing method 100 comprises the following steps:
The image information that step S101, acquisition wearable device gather respectively with terminal, and showing in terminalShow that interface carries out preview;
Wherein, as in figure 2 it is shown, obtain the image information that wearable device gathers respectively with terminal, and at endThe display interface of end carries out preview (step S101) and specifically includes following steps:
The voice signal that S1011, acquisition user send, calls the camera function of wearable device, and carries outImage acquisition;
Image information the showing in terminal that S1013, the image information gathered by wearable device and terminal gatherShow that interface carries out preview;
The first adjustment instruction that S1015, acquisition user send, wearable device is pre-at terminal demonstration interfaceLook at the position of window and size is adjusted.Specifically, the view data that wearable device and terminal gather existsAs it is shown on figure 3, the preview window of wearable device suspends pre-with terminal when the display interface of terminal carries out previewLook on window, it is simple to user according to oneself hobby and custom to the size of wearable device the preview window and positionPut and be adjusted, wherein, only show the display interface of a wearable device and terminal in detail in this figure, certainlyIt is understood that in embodiments of the present invention, the number of wearable device is the most specifically limited,Therefore, the preview window of wearable device is at terminal demonstration interface location the most as shown in this figure.
Step S103, image information according to preview, obtain the photographing instruction that user sends, according to taking picturesInstruction is taken pictures;
Wherein, as shown in Figure 4, according to the image information of preview, the photographing instruction that user sends, root are obtainedAccording to photographing instruction carry out taking pictures (step S103) specifically include following steps:
The mode instruction that step S1031, acquisition user send, selects taking pictures when taking pictures according to mode instructionPattern;
Step S1033, according to exposal model, obtain the photographing instruction that user sends, and take pictures.
Specifically, in inventive embodiments, when taking pictures according to exposal model, if exposal model isOne exposal model, then obtain the first photographing instruction that user sends, and according to the first photographing instruction, by endEnd and wearable device are taken pictures, when taking pictures simultaneously simultaneously, it is usually required mainly for obtain the click of user's transmission eventuallyThe photographing instruction that end shoot button or click wearable device shoot button or voice are taken pictures;If taking pictures mouldFormula is the second exposal model, then obtain the order of taking pictures that user sends, and according to order of taking pictures, obtains user and sends outThe second photographing instruction sent, is taken pictures when carrying out difference by terminal and wearable device, when taking pictures time different,If photographing device is terminal, then the photographing instruction obtaining the click terminal shoot button that user sends passes through terminalTake pictures;If photographing device is wearable device, then need obtain user send click terminal take pictures byThe photographing instruction that key or click wearable device shoot button or voice are taken pictures is entered by wearable deviceRow is taken pictures.
Step S105, obtain at least two image data after taking pictures, after synthesizing and preserve;
Wherein, as it is shown in figure 5, obtain at least two image data after taking pictures, after synthesizing and preserve(step S105) specifically includes following steps:
The second adjustment instruction that step S1051, acquisition user send, shoots picture to by wearable devicePosition and size be adjusted;
Step S1053, obtain user send synthetic instruction, will adjust after picture synthesize after and protectDeposit.
Specifically, as shown in Figure 6, the workflow diagram synthesized for photo in the embodiment of the present invention, first,Open a terminal the Bluetooth function with wearable device or WIFI function, and terminal searching is sent out to wearable deviceAfter the Bluetooth signal gone out or WIFI signal, carry out pairing and connect, wherein, in embodiments of the present invention,The connected mode of terminal with wearable device is the most specifically limited, any short range transmission mode.Subsequently into the camera module of terminal, terminal calls the camera function of wearable device by speech recognition,Wherein, when being called the camera function of wearable device by voice, first obtain the speech data that user sends,Attribute information according to this speech data automatically determines this speech data type, then selects and this speech dataThe acoustic model of type matching carries out speech recognition, calls wearable device and takes pictures.Specifically, existWhen taking pictures, the exposal model of terminal be selected, i.e. terminal and wearable device take pictures simultaneously orPerson's terminal is taken pictures time different from wearable device.
Further, when terminal is taken pictures with wearable device simultaneously, first refer to according to first adjustment of userOrder, is adjusted the preview window of wearable device size and location at terminal demonstration interface, then obtainsTake in the click terminal shoot button sent or click on wearable device shoot button or voice and take picturesPhotographing instruction, terminal takes pictures with wearable device simultaneously, and the photo after having taken pictures is photomontage.It addition, user may also be able to be adjusted the size and location of wearable device shooting photo, adjustment completesAfter, enter to preserve to this photomontage.
Further, when taking pictures when terminal is different from wearable device, first have to obtain the bat that user sendsAccording to order, taken pictures by the photographing device of prioritizing selection, then carried out by other photographing deviceTake pictures, after having taken pictures, the size and location of above-mentioned shooting photo is adjusted, then to above-mentioned adjustmentAfter photo synthesize, finally, photomontage is preserved.
In embodiments of the present invention, terminal calls the camera function of wearable device by speech recognition, and withThe camera function of terminal self is attached, and is expanded the photo module of terminal, it is achieved that terminal controlWearable device processed is taken pictures, and the image information that can be collected by wearable device is in the display of terminalInterface shows, therefore, it is possible to synthesize photo while shooting photo so that photo synthesizesOperation easier, not only meet people's requirement for multimedia equipment, and improve user's bodyTest.
Embodiment two
Embodiments provide the processing means of a kind of photo synthesis, as it is shown in fig. 7, be that the present invention is realExecuting the structured flowchart of photo synthesis processing means in example, this processing means 700 includes:
Previewing module 701, for obtaining the image information that wearable device and terminal gather respectively, and at endThe display interface of end carries out preview;
Photo module 703, for the image information according to preview, obtains the photographing instruction that user sends, rootTake pictures according to photographing instruction;
Synthesis module 705, for obtaining at least two image data after taking pictures, after synthesizing and preserve.
Further, as shown in Figure 8, in embodiments of the present invention, previewing module 701 specifically includes:
Collecting unit 7011, for obtaining the voice signal that user sends, calls taking pictures of wearable deviceFunction, and carry out image acquisition;
Preview unit 7013, the image letter that image information and the terminal for being gathered by wearable device gathersCease the display interface in terminal and carry out preview;
First adjustment unit 7015, for obtaining the first adjustment instruction that user sends, by wearable deviceIt is adjusted in the position of terminal demonstration interface the preview window and size.
Further, as it is shown in figure 9, in embodiments of the present invention, photo module 703 specifically includes:
Acquiring unit 7031, for obtaining the mode instruction that user sends, selects to take pictures according to mode instructionTime exposal model;
Photographing unit 7033, for according to exposal model, obtaining the photographing instruction that user sends, and carry outTake pictures.
Wherein, specifically, as shown in Figure 10, photographing unit 7033 specifically includes:
First obtains subelement 70331, if being the first exposal model for exposal model, then obtains user and sends outThe first photographing instruction sent;
First count is according to subelement 70333, for according to the first photographing instruction, by terminal and wearable deviceTake pictures simultaneously.
Second obtains subelement 70335, if being the second exposal model for exposal model, then obtains user and sends outThe order of taking pictures sent;
Second count is according to subelement 70337, and for according to order of taking pictures, the second count that acquisition user sends is according to referring toOrder, is taken pictures when carrying out difference by terminal and wearable device.
Wherein, first count, sends particularly as follows: obtain user when taking pictures simultaneously according to subelement 70333Click terminal shoot button or click on the photographing instruction that wearable device shoot button or voice are taken pictures,Taken pictures by terminal and wearable device simultaneously.Second count is according to subelement 70337 bat when carrying out differenceAccording to time, if particularly as follows: photographing device is terminal, then obtain the bat of click terminal shoot button that user sendsTaken pictures by terminal according to instruction;If or photographing device is wearable device, then obtain what user sentThe photographing instruction that click terminal shoot button or click wearable device shoot button or voice are taken pictures leads toCross wearable device to take pictures.
Further, as shown in figure 11, in embodiments of the present invention, synthesis module 705 includes:
Second adjustment unit 7051, for obtaining the second adjustment instruction that user sends, to by wearablePosition and the size of equipment shooting picture are adjusted;
Synthesis unit 7053, for obtaining the synthetic instruction that user sends, the picture after adjusting closesAfter one-tenth and preserve.
Embodiment three
Embodiments provide a kind of terminal, including the processing means of above-mentioned photo synthesis, addThe camera function of terminal, meets the requirement that terminal is taken pictures by user, improves Consumer's Experience.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the artFor Yuan, some improvements and modifications can also be made under without departing from principle premise of the present invention, theseImprovements and modifications are the most within the scope of the present invention.