CN108777766A - A kind of more people's photographic methods, terminal and storage medium - Google Patents

A kind of more people's photographic methods, terminal and storage medium Download PDF

Info

Publication number
CN108777766A
CN108777766A CN201810910870.0A CN201810910870A CN108777766A CN 108777766 A CN108777766 A CN 108777766A CN 201810910870 A CN201810910870 A CN 201810910870A CN 108777766 A CN108777766 A CN 108777766A
Authority
CN
China
Prior art keywords
image
reference object
composition
shooting
photographing information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810910870.0A
Other languages
Chinese (zh)
Other versions
CN108777766B (en
Inventor
李陈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810910870.0A priority Critical patent/CN108777766B/en
Publication of CN108777766A publication Critical patent/CN108777766A/en
Application granted granted Critical
Publication of CN108777766B publication Critical patent/CN108777766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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
    • 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/265Mixing

Abstract

The invention discloses a kind of more people's photographic methods, terminal and computer readable storage mediums, are related to image processing field, and can more reference objects be generated with preferable shooting image.The method includes:In the state that shooting preview interface shows M with reference to composition object, the photographing information of N number of reference object in shooting preview interface is detected;The corresponding intermediate image of the reference object is obtained in the case where detecting that the photographing information of the reference object matches with the corresponding photographing information with reference to composition object for each reference object in N number of reference object, obtains N intermediate images;Based on the N intermediate images, image synthesis is carried out, exports target image;Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is positive integer.The present invention takes pictures for more reference objects.

Description

A kind of more people's photographic methods, terminal and storage medium
Technical field
The present embodiments relate to a kind of image processing field more particularly to more people's photographic methods, terminal and storage mediums.
Background technology
With the development of science and technology with the progress in epoch, individual camera has been rarely employed to take pictures in people, but allows Smart mobile phone serves as the function of filming apparatus.Nowadays, smart mobile phone has been obtained for as a kind of common filming apparatus It is widely used.
The prior art shooting is single shine when, confirm reference object pose (pose) and facial expression in place Afterwards, button of taking pictures is pressed, camera can capture an image and generate photo;When shooting group photo, photographer waits for owner It stands in the position of oneself, owner is prompted to maintain expression, then press button of taking pictures, it is all that two photographed scenes are etc. Reference object is all ready, finally can just press button of taking pictures, obtain photo, it is assumed that before pressing and taking pictures button, some shooting Object need temporarily away from, it is necessary to until this reference object return after, reaffirm whether each reference object ready, Button of taking pictures can be pressed, it is seen that existing image pickup method, for the photographed scene of more people group photo, before shooting is completed, each Reference object cannot all leave, and otherwise can influence shooting progress.
Invention content
A kind of more people's photographic methods of offer of the embodiment of the present invention, terminal and storage medium, to solve existing style of shooting When shooting more people's group photos, the problem of leaving influence shooting progress of some reference object.
In a first aspect, a kind of more people's photographic methods are provided, including:
In the state that shooting preview interface shows M with reference to composition object, N number of shooting in shooting preview interface is detected The photographing information of object;
For each reference object in N number of reference object, the photographing information for detecting the reference object with In the case that the corresponding photographing information with reference to composition object matches, the corresponding intermediate image of the reference object is obtained, is obtained To N intermediate images;
Based on the N intermediate images, image synthesis is carried out, exports target image;
Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is Positive integer.
Second aspect provides a kind of terminal, including:
Detection module, in the state that shooting preview interface shows M with reference to composition object, detecting shooting preview circle The photographing information of N number of reference object in face;
Acquisition module, for for each reference object in N number of reference object, detecting the reference object Photographing information match with the corresponding photographing information with reference to composition object in the case of, it is corresponding to obtain the reference object Intermediate image obtains N intermediate images;
Processing module exports target image for based on the N intermediate images, carrying out image synthesis;
Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is Positive integer.
The third aspect provides a kind of terminal, including processor and memory, computer program is stored on the memory, When the computer program is run by the processor, the step of realizing method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium Calculation machine program, when the computer program is run, the step of realizing method as described in relation to the first aspect.
In embodiments of the present invention, first display refers to composition object, and, as reference, to be detected respectively with reference to composition object In the case that the photographing information of a reference object matches with the corresponding photographing information with reference to composition object, each shooting is obtained The corresponding intermediate image of object, and image synthesis is carried out, export target image.In this manner it is possible to which reference object is made to carry out It can be with reference to composition object, as reference, shooting can be obtained in the case of photographing information of the matching with reference to composition object when taking pictures The intermediate image of object, the embodiment of the present invention are believed in the photographing information of each reference object with the corresponding shooting with reference to composition object In the case of manner of breathing is matched, corresponding intermediate image can be obtained automatically, even if in the case of thering is reference object to leave, due to obtaining The corresponding intermediate image of the reference object, other reference objects can continue to put pose, and even if in shooting process, someone leaves Do not influence to take pictures is normally carried out, and ensures that shooting progress is non-delay.
Description of the drawings
Fig. 1 is a kind of flow chart of more people's photographic methods provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of more people's photographic methods provided in an embodiment of the present invention;
Fig. 3 A-3E are a kind of effect diagrams of more people's photographic methods provided in an embodiment of the present invention;
Fig. 4 A-4D are a kind of effect diagrams of more people's photographic methods provided in an embodiment of the present invention;
Fig. 5 A-5E are the effect diagrams that a kind of main-auxiliary screen provided in an embodiment of the present invention is shown;
Fig. 6 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware architecture diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
A kind of more people's photographic methods provided in an embodiment of the present invention can be executed by terminal, in embodiments of the present invention, eventually It takes pictures and/or the device of camera function, such as mobile phone, tablet computer, camera etc. to have at end.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
Fig. 1 is a kind of flow chart of more people's photographic methods provided in an embodiment of the present invention.Referring to Fig.1, the embodiment of the present invention The more people's photographic methods provided may include:
Step 110, it in the state that shooting preview interface shows M with reference to composition object, detects in shooting preview interface N number of reference object photographing information.
Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is Positive integer.
In embodiments of the present invention, reference object can be the object captured by terminal, and the object can be, for example, one A user, animal etc..More reference objects can refer to multiple reference objects (that is, two or more reference objects).Example Such as, if necessary to take a group photo to 3 people, then everyone is a reference object, can be followed successively by reference object A, clap Take the photograph object B, reference object C, reference object D.
In embodiments of the present invention, shooting preview interface can be the interface shown in the viewing lens of terminal.
In embodiments of the present invention, can be a cartoon figure or personage's signal that lines are described with reference to composition object Figure, to play with reference to effect.For example, position reference is carried out for reference object when taking pictures, in addition, can be with reference to composition object With shooting posture, so that reference object carries out posture reference etc..
In this step, when photographing information includes camera site, the bat of N number of reference object in shooting preview interface is detected It is specially to detect the camera site of N number of reference object in shooting preview interface to take the photograph information.Include shooting posture in photographing information When, the photographing information for detecting N number of reference object in shooting preview interface is specially the N number of shooting detected in shooting preview interface The shooting posture of object.When photographing information includes camera site and shooting posture, N number of shooting in shooting preview interface is detected The photographing information of object is specially to detect camera site and the shooting posture of N number of reference object in shooting preview interface.
The camera site of reference object is the position for the subject image that reference object is formed in shooting preview interface.
Step 120, for each reference object in N number of reference object, in the bat for detecting the reference object It takes the photograph in the case that information matches with the corresponding photographing information with reference to composition object, obtains the corresponding centre of the reference object Image obtains N intermediate images.
The photographing information of reference object matches and can indicate with the corresponding photographing information with reference to composition object, shooting pair The camera site of elephant and the corresponding position with reference to composition object coincide or the shooting posture of reference object and corresponding ginseng The posture for examining composition object is consistent.
In embodiments of the present invention, coincidence is an opposite concept, and nisi concept.Reference object is pre- in shooting Looking at the camera site in interface overlaps and can indicate with the position with reference to composition object, and the reference object is in shooting preview interface In camera site is largely overlapped with the position with reference to composition object, for example, more than a preset percentage (preset percentage Generally higher than 50%, such as 70% or 80% etc.) coincidence.That is, in the present invention, the reference object is pre- in shooting Looking at the position in interface overlaps with the position with reference to composition object and may not require 100% coincidence.Similarly, posture unanimously also may not It is required that 100% is consistent.
During whether detection shooting posture is matched, can the profile of reference object first be referred into composition with corresponding The profile of object is matched, in the case of the outline of the two, further by the shooting posture of reference object with it is right The shooting posture for the reference composition object answered is matched.Wherein, relevant image-recognizing method may be used in outline.
In shooting process, have in this 4 reference objects of reference object A, reference object B, reference object C, reference object D At least one reference object is in shooting process and shooting is not completed and needed in the case of leaving before, such as reference object A, bat Taking the photograph object B, reference object C, reference object D can leave successively, then, in this step, N values are 4, for reference object A, In the case of detecting that the photographing information of reference object A matches with the corresponding photographing information with reference to composition object, obtains and clap Take the photograph corresponding first intermediate images of object A;Next for reference object B, the photographing information for detecting reference object B with it is right In the case that the photographing information for the reference composition object answered matches, corresponding second intermediate images of reference object B are obtained;Then For reference object C, match with the corresponding photographing information with reference to composition object in the photographing information for detecting reference object C In the case of, obtain the corresponding third intermediate images of reference object C;Finally for reference object D, reference object D is being detected Photographing information match with the corresponding photographing information with reference to composition object in the case of, obtain reference object D corresponding the Four intermediate images obtain 4 intermediate images.In this way after getting the first intermediate image, reference object A can leave, shooting pair As B, reference object C, reference object D can continue put pose, even if in shooting process someone leave nor affect on take pictures it is normal It carries out.
In embodiments of the present invention, since every intermediate image is obtained to some reference object progress Image Acquisition Image since this image collected is not final output image, thus is known as middle graph in embodiments of the present invention Picture.It is to be understood that in embodiments of the present invention, the intermediate image of reference object can be the subject image of reference object.It claps The subject image for taking the photograph object includes image or the master of reference object for only including reference object itself (including only reference object) Body image further includes the figure of a certain range of background around reference object in addition to the image including only including reference object itself Picture.In embodiments of the present invention, each reference object can have corresponding intermediate image.After obtaining intermediate image, it can clap It takes the photograph preview interface and shows the corresponding intermediate image of this reference object.
Step 130, the N intermediate images are based on, image synthesis is carried out, export target image.
After the intermediate image for obtaining each reference object, you can this N intermediate images are carried out image synthesis, are obtained Target image, and export.
More people's photographic methods provided in an embodiment of the present invention, first display refer to composition object, and to be with reference to composition object Reference, the case where the photographing information for detecting each reference object matches with the corresponding photographing information with reference to composition object Under, the corresponding intermediate image of each reference object is obtained, and carry out image synthesis, exports target image.The embodiment of the present invention exists In the case that the photographing information of each reference object matches with the corresponding photographing information with reference to composition object, it can obtain automatically pair The intermediate image answered, even if in the case of thering is reference object to leave, due to obtaining the corresponding intermediate image of the reference object, His reference object can continue to put pose, even if someone leaves and nor affects on being normally carried out of taking pictures in shooting process, so that it is guaranteed that Shooting progress is non-delay.
In embodiments of the present invention, described in step 120 for each reference object in N number of reference object, In the case of detecting that the photographing information of the reference object matches with the corresponding photographing information with reference to composition object, obtain The corresponding intermediate image of the reference object obtains N intermediate images, it may include:For i-th in N number of reference object Reference object matches in the photographing information of the photographing information for detecting i-th reference object and the i-th reference composition object In the case of, obtain the i-th intermediate image of the first area for including i-th reference object;More by the display content of target area It is newly i-th intermediate image;Wherein, 0 < i≤N.
In embodiments of the present invention, N indicates that the sum of reference object, i indicate the shooting pair of any of N number of reference object As.During the intermediate image of some reference object in obtaining N number of reference object, each reference object is detected successively Whether corresponding photographing information matches, and matched in the two, obtains the intermediate image of each reference object, and replaces The display content of target area is changed, and this intermediate image is shown in target area.Thus, in N number of reference object Any one reference object can obtain its corresponding intermediate image and show through the above way.
It is noted that in the case where terminal only has main screen, target area can be the display in the main screen of terminal Region.At this point, the display content update by target area is i-th intermediate image, it may include:By shooting preview interface The first area preview image region display content update be i-th intermediate image.Wherein, target area includes The preview image region of the first area of shooting preview interface.And there are the feelings of double screen (that is, main screen and secondary screen) in terminal Under condition, the display content update by target area is i-th intermediate image, it may include:Include first in the terminal Screen and the second screen, and in the case that shooting preview interface is shown in the first screen will correspond to the of the first area in the second screen Two regions show i-th intermediate image.Wherein, target area includes the secondth area that the first area is corresponded in the second screen Domain.The embodiment of the present invention shows shooting preview interface and intermediate image respectively by two screens, and viewing can be made more convenient. Thus, the figure of current shooting object can be checked with more convenient user after the intermediate image for obtaining each reference object As effect, and after all reference objects are shot, check final more people's shooting effects.In this way, target area both can be with It is the preview image region in main screen where corresponding reference object, can also be double-sided screen and the first screen where preview interface In the second different screens, the intelligent terminal of single screen or double screen can be suitable for.
Further, after the display content update by target area is i-th intermediate image, further include:
Display reminding information, the prompt message prompt the shooting preparation of i-th reference object to be completed.Example Such as, the i-th intermediate image is the corresponding intermediate images of reference object A, can show that " reference object A shootings prepare in preview interface Work is completed, and can leave, other people can continue to put pose ", prompt reference object A that can leave in this way.
In more people's photographic methods provided in an embodiment of the present invention, optionally, based in the N described in step 130 Between image, carry out image synthesis, export target image before, can also obtain the reference object in shooting preview interface Number;Based on the number of the reference object, determine that M refers to composition object, wherein M=N;Show that described M refers to composition pair As.In the embodiment of the present invention, the number phase of the number and reference object of the reference composition object shown in shooting preview interface Together.So, it is ensured that corresponded with reference to composition object and reference object, be more convenient for more people and take pictures.Meanwhile By disposably showing all reference composition objects, the effect of reference can be played, the bat subsequently to reference object is contributed to Information is taken the photograph to be matched one by one.
In more people's photographic methods provided in an embodiment of the present invention, optionally, based in the N described in step 130 Between image, carry out image synthesis, export target image before, can also determine the kth reference object in shooting preview interface Kth refers to composition object, and includes in shooting preview interface with reference to composition object by kth;In the bat of the kth reference object It takes the photograph in the case that information and the kth match with reference to the photographing information of composition object, determines the kth+1 in shooting preview interface The kth+1 of reference object refers to composition object, and includes in shooting preview interface with reference to composition object by kth+1;Wherein, 0 < k≤N.The embodiment of the present invention determines that the mode of next position with reference to composition object can based on upper one with reference to composition object So that there is certain relevance between the position with reference to composition object, and then there is preferable spatial relation, to protect It is preferable to demonstrate,prove the image effect finally synthesized.
In more people's photographic methods provided in an embodiment of the present invention, optionally, based in the N described in step 130 Between image, carry out image synthesis, export target image, it may include:
It is intermediate by the N in the case where the N intermediate images form all images content of the target image Image synthesizes the target image and exports.That is, when obtaining each intermediate image, each intermediate image includes The image of a certain range of background around reference object, in this way, after the intermediate image for obtaining all reference objects, it can be straight It connects by all intermediate images synthesize and can be obtained target image, need not individually obtain background image again.
In the case where the N intermediate images form the parts of images content of the target image, the shooting is obtained The background image that preview interface is shown, and the N intermediate images and the background image are synthesized into the target image simultaneously Output.That is, when obtaining each intermediate image, the image that the profile of corresponding reference object is included can be only extracted, So that the image that each intermediate image only includes reference object itself (including only reference object) is obtaining in this case After the intermediate image of all reference objects, it is also necessary to obtain the background image that the shooting preview interface is shown, wherein Background As the image for other regions in the target image other than all reference objects, in this way by N number of intermediate image Complete target image is synthesized with the background image and is exported.
In embodiments of the present invention, can be the main body in a composition recommendation template with reference to composition object.Composition is recommended Template may come from composition recommending module library, and can be obtained by a variety of different modes.For example, a kind of determining composition Recommending the mode of template can be:Recommend in template library from composition, randomly selects a composition and recommend template as determining structure Figure recommends template.Another kind determines that the mode of composition recommendation template for example can be:Multiple compositions are presented and recommend template, it is described more A composition recommend in template each include the compositions of multiple main bodys;User (for example, photographer) is received to the multiple Composition recommends the selection of the composition recommendation template in template;Template is recommended to recommend as determining composition the composition selected Template.
In embodiments of the present invention, the composition determined recommends the composition that template includes multiple main bodys, wherein composition to push away The sum of reference object can be equal to by recommending the number for the main body for including in template.Can be in determining composition recommend template, selection Reference position of the position of one main body as the reference object.Select the patterning positions of a main body as the first count Taking the photograph the process of the reference position of object can be:The determining composition is presented and recommends template;User is received to push away the composition Recommend the selection of the position of a main body in template;Using the position of the main body selected as the reference position of the reference object.
In embodiments of the present invention, a master of not selected mistake can be chosen from determining composition recommendation template Body, which is used as, refers to composition object.
It in one embodiment of the invention, can be in the shooting preview after determining that the composition recommends template Show that the composition recommends all main bodys in template on interface.In embodiments of the present invention, the composition determined recommends mould All main bodys in plate can always show in shooting preview interface, until the shooting of all reference objects finishes.Certainly at this It in inventive embodiments, can also first show that the determining composition recommends all main bodys in template, recommend mould in the composition After a main body in plate is selected, the main body of selection can also be only shown in shooting preview interface.That is, at this In inventive embodiments, all main bodys in composition recommendation template can be both always showed, can also first show the determining structure Figure recommends all main bodys in template, after the patterning positions of a main body during the composition recommends template are selected, only Show the main body of selection.
In embodiments of the present invention, by taking the first reference object and the second reference object as an example, the centre of the first reference object It is pre- in shooting when being shot to the second reference object after image (such as subject image) is shown in shooting preview interface Looking on interface can be not necessarily to show the real-time pictures of the first reference object again.The embodiment of the present invention is carried out to the second reference object When shooting, shooting preview interface can be used only for the second reference object of shooting, and ignore or do not shoot other reference object (examples If a upper reference object for the second reference object is after the completion of shooting, shooting place can be left).In this way, in the embodiment of the present invention In, it may be implemented seriatim individually to shoot each reference object in more reference objects.
More people's photographic methods provided in an embodiment of the present invention, first display refer to composition object, and to be with reference to composition object Reference, the case where the photographing information for detecting each reference object matches with the corresponding photographing information with reference to composition object Under, the corresponding intermediate image of each reference object is obtained, and carry out image synthesis, exports target image.The embodiment of the present invention exists In the case that the photographing information of each reference object matches with the corresponding photographing information with reference to composition object, it can obtain automatically pair The intermediate image answered, even if in the case of thering is reference object to leave, due to obtaining the corresponding intermediate image of the reference object, His reference object can continue to put pose, even if someone leaves and nor affects on being normally carried out of taking pictures in shooting process, so that it is guaranteed that Shooting progress is non-delay.
Below in conjunction with the accompanying drawings, the present invention is further explained with specific embodiment.In the following description, composition is recommended Main body in template can be mentioned above with reference to composition object.Simultaneously it is to be understood that hereinafter only with photographing information To be illustrated for camera site.More people's photographic methods when photographing information is to shoot posture similar can obtain.
Fig. 2 shows a kind of more people's photographic methods.As shown in Fig. 2, more people's photographic methods provided in an embodiment of the present invention can Including:
Step 201 opens patterning positions recommendation function.
Terminal device can provide the switch entrance of patterning positions recommendation function.It is pre- in terminal (for example, camera) display shooting It lookes at behind interface, can be selected to open patterning positions recommendation function according to user, naturally it is also possible to which acquiescence opens patterning positions and recommends work( Energy.After the unlatching of patterning positions recommendation function, more people's composition guiding interface can be shown, such as user is allowed to select number etc. of taking pictures.
Step 202 determines that composition recommends template.
While take pictures number selection, one or more compositions for selected number can be shown in the main screen of terminal Recommend template, so that user therefrom selects composition to recommend template, and can be using composition recommendation template that user select as working as Preceding composition recommends template.Certainly, when determining that composition recommends template, it can also recommend in template library from composition, randomly select one A composition recommends template to recommend template as current composition.
Step 203, in determining composition recommends template, select a main body as the reference composition of current shooting object Object.
This step can be specially:User recommends to select a main body as current shooting pair in template from determining composition The reference composition object of elephant, or detection current shooting object posture, by the determining composition recommend in template with it is described Reference composition object of the main body that posture matches as current shooting object.
If the ginseng of step 204, current shooting the object camera site in shooting preview interface and current shooting object The position for examining composition object overlaps, and acquires the intermediate image (subject image) of the current shooting object.
In embodiments of the present invention, it (can be scratched come the subject image of triggering collection current shooting object by various operations Figure) operation.Such as double-click the stingy graph region operation of screen operator, long-press etc..
Current shooting object may exit off spot for photography after having shot, its image is acquired without continuing.
The subject image of current shooting object is included in shooting preview interface, and to next shooting by step 205 Object is taken pictures.
When taking pictures to next reference object, previous step 203 is repeated to step 205.It may differ in, Reference of the main body of not selected mistake as next reference object may be selected when selecting a main body in recommending template from composition Composition object.
To each non-reference object in more reference objects, step 203 is repeated to step 205, until all shootings pair As shooting is completed.
By taking four people take pictures as an example, determining composition recommends template can be as shown in Figure 3A.Composition in Fig. 3 A recommends template In include four main bodys, be from left to right 310, second main bodys 320, third main bodys 330 and the 4th of first main body respectively A main body 340, this four main bodys can be shown before not selected in the form of dotted line frame.The structure shown in Fig. 3 A Figure is recommended to select second main body 320 as the reference composition object for first reference object in template, as shown in Figure 3B, Its image can be by dotted line by for solid line, 321 based on presentation after it is selected for second main body 320.It is shot at first After object is shot, its subject image is acquired out and (plucked out), and is shown in shooting preview interface and correspond to second master At the position of body 320, as shown in Figure 3 C, reference numeral 322 shows the subject image of first reference object.In shooting preview On interface, selection is directed to the reference composition object of second reference object, such as first main body 310 of selection, as shown in Figure 3D, Its image can be by dotted line by for solid line, 311 based on presentation after it is selected for first main body 310.It is clapped to second After taking the photograph object shooting, its Image Acquisition is gone out, and is shown in together with the image of first reference object acquired out In next shooting preview interface, as shown in FIGURE 3 E, reference numeral 312 shows the subject image of second reference object.Subsequently It can continue reference composition object of the selection for next reference object from third main body and the 4th main body, and acquire figure Picture forms final more people and takes pictures group photo picture until all reference objects all complete to shoot.
The embodiment of the present invention by the subject image of the current shooting object of shooting by acquiring out and including in shooting preview On interface, so, when being shot to next reference object, the reference object before can no longer needing to shoot, while by It has been presented in shooting preview interface in the subject image of reference object before, can so ensure not having to the bat before acquisition Take the photograph the image of object, you can achieve the effect that, for the shooting reference to current shooting object, to realize preferable to more reference objects Shooting effect.
In the embodiment depicted in figure 2, it may be determined that composition recommends the patterning positions and current shooting pair of the main body in template Whether the camera site of elephant matches, and recommends the composition of the next man in recommending template from composition again after one people of every shooting Position, composition recommends the patterning positions of each main body in template that can always show in shooting preview interface, in order to carry out Patterning positions select.
It is to be understood that in embodiments of the present invention, other than recommending template to determine with reference to composition object based on composition, The position for being also based on the reference composition object of reference object obtains the reference composition pair of current shooting object The position of elephant.
Specifically, if current shooting object is not first reference object, at this point, can be based on current shooting object upper one The position of the reference composition object of reference object obtains the position of the reference composition object of the current shooting object.May be used also With the gold of the position of the reference composition object of reference object and shooting preview interface of upper one based on current shooting object Cut-point obtains the position of the reference composition object of the current shooting object.For example, above one reference object to shoot it is pre- Looking at interface is divided, and takes the position of the golden section point of remaining larger shooting preview interface after dividing as current shooting pair The position of the reference composition object of elephant.Certainly, in embodiments of the present invention, other suitable modes can also be used to obtain current The camera site of reference object.
If current shooting object is first reference object, the corresponding position with reference to composition object can also be such as Come from certain specified patterning positions, such as screen centre position, screen one third position etc..
It can after obtaining the corresponding camera site with reference to composition object of reference object for each reference object In the case where the corresponding position with reference to composition object in camera site of the reference object in shooting preview interface overlaps, Acquire the intermediate image of the reference object.
After all reference objects complete shooting, you can the shooting image of all reference objects is synthesized and exported, Picture is shot to form more people, that is, is taken a group photo.
Fig. 4 A to Fig. 4 D are can refer to, show that such as first reference object is corresponding with reference to composition object 410 in Fig. 4 A Position;It is overlapped with its position with reference to composition object in camera site of first reference object in shooting preview interface When, the image of first reference object is acquired out and (plucks out), as shown in Figure 4 B, reference numeral 411 shows first shooting pair The subject image of elephant;Subsequently can based on shown in Fig. 4 B acquire image 411 position acquisition for next reference object (that is, Second reference object) reference composition object position, the position of the reference composition object 420 of second reference object of acquisition Setting can for example as shown in Figure 4 C;It is referred to shown in Fig. 4 C in camera site of second reference object in shooting preview interface When the position of composition object 420 is misaligned, second corresponding position with reference to composition object of reference object can be reacquired, such as Shown in Fig. 4 D, the camera site of second reference object of reacquisition can be, for example, shown in reference numeral 420 '.Subsequently may be used Continue to detect camera site of second reference object in shooting preview interface and refers to composition object 420 ' shown in Fig. 4 D Position whether overlap, and overlap when carry out Image Acquisition, next position with reference to composition object is reacquired when misaligned It sets.And so on, until all reference objects all complete to shoot, formed final more people take pictures group photo picture.
It is to be understood that in embodiments of the present invention, the terminal may include main screen and secondary screen, can be always in the main screen The shooting preview interface of display terminal, the pair shield the image that can show the reference object acquired out.Specifically, in the present invention In embodiment, whenever collecting the subject image of current shooting object, you can show the subject image of current shooting object On pair screen.Meanwhile it can be when all reference objects in more reference objects shoot completion, by more reference objects of generation Image is shown on the secondary screen.
Below by taking embodiment illustrated in fig. 2 as an example, the related display of main-auxiliary screen is further explained by attached drawing 5A to 5E It releases.Fig. 5 A show that the main-auxiliary screen when determining composition recommendation template is shown.As shown in Fig. 5 A to Fig. 5 E, above blank figure Display as indicating secondary screen, the display of picture expression main screen below, main screen show four main bodys from left to right:First master 510, second main bodys 520 of body, third main body 530 and the 4th main body 540, this four main bodys, can before not selected To be shown in the form of dotted line frame.Fig. 5 B are shown when composition recommends second main body counted from left to right in template to be selected Main-auxiliary screen show that its image can be by dotted line by for solid line, 521 based on presentation after it is selected for second main body 520. Fig. 5 C, which show to be taken in first reference object and acquire the main-auxiliary screen after image, shows that reference numeral 522 shows The subject image of one reference object, the subject image 522 of first reference object correspond to second main body 520, first The position of the subject image 522 of reference object is identical as the patterning positions of second main body 520, at this point, can show the on secondary screen The subject image 522 ' of one reference object.Fig. 5 D are shown recommends the first main body quilt counted from left to right in template in composition Main-auxiliary screen when selection shows, its image can be by dotted line by for solid line, based on presentation after it is selected for first main body 510 Body 511.Fig. 5 E, which show to be taken in second reference object and acquire the main-auxiliary screen after image, shows that reference numeral 512 is shown Going out the subject image of second reference object, the subject image 512 of second reference object corresponds to first main body 510, The position of the subject image 512 of second reference object is identical as the patterning positions of first main body 510, at this point, being removed on secondary screen The subject image 522 ' that can show first reference object, may also display the subject image 512 ' of second reference object.Afterwards Continuing can also be shown in after third reference object is taken and acquires image on secondary screen, and third reference object for example can be with Recommend third main body in template corresponding to composition, and can also be shown after the 4th reference object is taken and acquires image Show on pair screen, the 4th reference object for example can correspond to the 4th main body in composition recommendation template.
Fig. 6 is a kind of structure diagram of terminal provided in an embodiment of the present invention.It is provided in an embodiment of the present invention with reference to Fig. 6 Terminal 600 may include:Detection module 601, acquisition module 602 and acquisition module 603.Wherein:
Detection module 601, in the state that shooting preview interface shows M with reference to composition object, detection shooting to be pre- The photographing information for the N number of reference object look in interface;
Acquisition module 602, for for each reference object in N number of reference object, detecting the shooting In the case that the photographing information of object matches with the corresponding photographing information with reference to composition object, the reference object pair is obtained The intermediate image answered obtains N intermediate images;
Processing module 603 exports target image for based on the N intermediate images, carrying out image synthesis;
Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is Positive integer.
Optionally, in one embodiment of the invention, the acquisition module 602 can be specifically used for:
For the i-th reference object in N number of reference object, in the photographing information for detecting i-th reference object In the case of matching with the photographing information of the i-th reference composition object, acquisition includes the first area of i-th reference object I-th intermediate image;
The terminal further includes display module, for being i-th intermediate image by the display content update of target area;
Wherein, 0 < i≤N.
Optionally, in one embodiment of the invention, the display module is specifically used for:
It is among described i-th by the display content update in the preview image region of the first area of shooting preview interface Image;
Alternatively, in the case where the terminal includes the first screen and the second screen and shooting preview interface is shown in the first screen, The second area that the first area is corresponded in second screen is shown into i-th intermediate image.
Optionally, in one embodiment of the invention, the acquisition module 602 is additionally operable to:Obtain shooting preview interface In reference object number;
The processing module 603 is additionally operable to the number based on the reference object, determines that M refers to composition object, In, M=N;
The terminal further includes display module, for showing that described M refers to composition object.
Optionally, in one embodiment of the invention, the processing module 603 is opening intermediate images based on the N, Image synthesis is carried out, before exporting target image, is additionally operable to determine the kth reference of the kth reference object in shooting preview interface Composition object;In the feelings that the photographing information of the kth reference object matches with the kth with reference to the photographing information of composition object Under condition, determine that the kth+1 of+1 reference object of kth in shooting preview interface refers to composition object;
The terminal further includes display module, for by kth with reference to composition object include in shooting preview interface, and Include in shooting preview interface by the reference composition object of kth+1;
Wherein, 0 < k≤N.
Optionally, in one embodiment of the invention, the processing module 603 can be specifically used for:
It is intermediate by the N in the case where the N intermediate images form all images content of the target image Image synthesizes the target image and exports;
In the case where the N intermediate images form the parts of images content of the target image, the shooting is obtained The background image that preview interface is shown, and the N intermediate images and the background image are synthesized into the target image simultaneously Output.
Terminal provided in an embodiment of the present invention can realize each mistake that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 5 E Journey, to avoid repeating, which is not described herein again.
Terminal provided in an embodiment of the present invention, first display refer to composition object, and, as reference, to be examined with reference to composition object Measure each reference object photographing information match with the corresponding photographing information with reference to composition object in the case of, obtain each The corresponding intermediate image of a reference object, and image synthesis is carried out, export target image.The embodiment of the present invention is in each reference object Photographing information match with the corresponding photographing information with reference to composition object in the case of, corresponding middle graph can be obtained automatically Picture, even if in the case of thering is reference object to leave, due to obtaining the corresponding intermediate image of the reference object, other reference objects It can continue to put pose, even if someone leaves and nor affects on being normally carried out of taking pictures in shooting process, ensure that shooting progress It is non-delay.
It is to be understood that the terminal 600 in the embodiment of the present invention can be the terminal hereinafter mentioned.
A kind of hardware architecture diagram of Fig. 7 terminals of each embodiment to realize the present invention.
The terminal 700 may include but be not limited to:Radio frequency unit 701, network module 702, audio output unit 703, input Unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor The components such as 710 and power supply 711.It will be understood by those skilled in the art that terminal structure shown in Fig. 7 was not constituted to end The restriction at end, terminal may include either combining certain components or different component cloth than illustrating more or fewer components It sets.In embodiments of the present invention, terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC etc..
Wherein, processor 710, in the state that shooting preview interface shows M with reference to composition object, detection to be shot The photographing information of N number of reference object in preview interface;For each reference object in N number of reference object, detecting To the reference object photographing information match with the corresponding photographing information with reference to composition object in the case of, described in acquisition The corresponding intermediate image of reference object obtains N intermediate images;Based on the N intermediate images, image synthesis, output are carried out Target image;Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, M For positive integer.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 701 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by radio communication system and network and other set Standby communication.
Terminal has provided wireless broadband internet to the user by network module 702 and has accessed, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 703 can receive radio frequency unit 701 or network module 702 or in memory 709 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 700 executes.Sound Frequency output unit 703 includes loud speaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 701 by being converted in the case of telephone calling model.
Terminal 700 may also include at least one sensor 705, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light The light and shade of line adjusts the brightness of display panel 7061, and proximity sensor can close display surface when terminal 700 is moved in one's ear Plate 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) The size of acceleration can detect that size and the direction of gravity when static, can be used to identify terminal posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 705 may be used also To include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature Meter, infrared sensor etc., details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 707 include touch panel 7071 and other Input equipment 7072.Touch panel 7071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 7071 or near touch panel 7071 Operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receives processor 710 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments 7072. Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touch The type for touching event provides corresponding visual output on display panel 7061.Although in the figure 7, touch panel 7071 and display Panel 7061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of terminal is realized so that touch panel 7071 and display panel 7061 is integrated, is not limited herein specifically It is fixed.
Interface unit 708 is the interface that external device (ED) is connect with terminal 700.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting the port of device with identification module, the port audio input/output (I/O), video i/o port, ear port Etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 700 or can be used for terminal 700 and external device (ED) it Between transmission data.
Memory 709 can be used for storing software program and various data.Memory 709 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 709, and call and be stored in memory 709 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 710 may include one Or multiple processing units;Preferably, processor 710 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 710.
Terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711 can be with It is logically contiguous by power-supply management system and processor 710, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 700 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 710, and memory 709 is stored in storage It is real when which is executed by processor 710 on device 709 and the computer program that can be run on the processor 710 Step in existing any photographic method mentioned hereinabove, and identical technique effect can be reached, to avoid repeating, here not It repeats again.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored on the computer readable storage medium There is computer instruction, when described instruction is run, executes any more people's photographic methods described above.
Terminal provided in an embodiment of the present invention and computer readable storage medium, first display refer to composition object, and with ginseng It is reference to examine composition object, in the photographing information for detecting each reference object and the corresponding photographing information with reference to composition object In the case of matching, the corresponding intermediate image of each reference object is obtained, and carry out image synthesis, exports target image.This Inventive embodiments in the case where the photographing information of each reference object matches with the corresponding photographing information with reference to composition object, Corresponding intermediate image can be obtained automatically, even if in the case of having reference object to leave, being corresponded to due to obtaining the reference object Intermediate image, other reference objects can continue put pose, even if in shooting process someone leave nor affect on take pictures it is normal It carries out, ensures that shooting progress is non-delay.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, apparatus or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.According in the embodiment of the present invention It defines, computer-readable medium does not include temporary computer readable media (transitory media), such as data-signal of modulation And carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can be provided as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (14)

1. a kind of more people's photographic methods, which is characterized in that including:
In the state that shooting preview interface shows M with reference to composition object, N number of reference object in shooting preview interface is detected Photographing information;
For each reference object in N number of reference object, the photographing information for detecting the reference object with it is corresponding Reference composition object photographing information match in the case of, obtain the corresponding intermediate image of the reference object, obtain N Intermediate image;
Based on the N intermediate images, image synthesis is carried out, exports target image;
Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is just whole Number.
2. according to the method described in claim 1, it is characterized in that, each shooting in N number of reference object Object, the case where the photographing information for detecting the reference object matches with the corresponding photographing information with reference to composition object Under, the corresponding intermediate image of the reference object is obtained, N intermediate images are obtained, including:
For the i-th reference object in N number of reference object, in the photographing information and i-th for detecting i-th reference object With reference to composition object photographing information match in the case of, obtain include i-th reference object first area i-th in Between image;
It is i-th intermediate image by the display content update of target area;
Wherein, 0 < i≤N.
3. according to the method described in claim 2, it is characterized in that, the display content update by target area is described the I intermediate images, including:
It is i-th middle graph by the display content update in the preview image region of the first area of shooting preview interface Picture;
Alternatively, in the case where the terminal includes the first screen and the second screen and shooting preview interface is shown in the first screen, by the The second area that the first area is corresponded in two screens shows i-th intermediate image.
4. according to the method described in claim 1, it is characterized in that, described based on the N intermediate images, progress image conjunction At, before exporting target image, including:
Obtain the number of the reference object in shooting preview interface;
Based on the number of the reference object, determine that M refers to composition object, wherein M=N;
Show that described M refers to composition object.
5. according to the method described in claim 1, it is characterized in that, described based on the N intermediate images, progress image conjunction At, before exporting target image, including:
It determines that the kth of the kth reference object in shooting preview interface refers to composition object, and kth is shown with reference to composition object In shooting preview interface;
In the case where the photographing information of the kth reference object and the kth match with reference to the photographing information of composition object, It determines that the kth+1 of+1 reference object of kth in shooting preview interface refers to composition object, and kth+1 is shown with reference to composition object Show in shooting preview interface;
Wherein, 0 < k≤N.
6. according to the method described in claim 1, it is characterized in that, described based on the N intermediate images, progress image conjunction At, target image is exported, including:
In the case where the N intermediate images form all images content of the target image, by the N intermediate images It synthesizes the target image and exports;
In the case where the N intermediate images form the parts of images content of the target image, the shooting preview is obtained The background image of interface display, and the N intermediate images and the background image are synthesized into the target image and are exported.
7. a kind of terminal, including:
Detection module, in the state that shooting preview interface shows M with reference to composition object, detecting in shooting preview interface N number of reference object photographing information;
Acquisition module is used for for each reference object in N number of reference object, in the bat for detecting the reference object It takes the photograph in the case that information matches with the corresponding photographing information with reference to composition object, obtains the corresponding centre of the reference object Image obtains N intermediate images;
Processing module exports target image for based on the N intermediate images, carrying out image synthesis;
Wherein, the photographing information includes at least one in camera site, shooting posture;N is the integer more than 1, and M is just whole Number.
8. terminal according to claim 7, which is characterized in that the acquisition module is specifically used for:
For the i-th reference object in N number of reference object, in the photographing information and i-th for detecting i-th reference object With reference to composition object photographing information match in the case of, obtain include i-th reference object first area i-th in Between image;
The terminal further includes display module, for being i-th intermediate image by the display content update of target area;
Wherein, 0 < i≤N.
9. terminal according to claim 8, which is characterized in that the display module is specifically used for:
It is i-th middle graph by the display content update in the preview image region of the first area of shooting preview interface Picture;
Alternatively, in the case where the terminal includes the first screen and the second screen and shooting preview interface is shown in the first screen, by the The second area that the first area is corresponded in two screens shows i-th intermediate image.
10. terminal according to claim 7, which is characterized in that the acquisition module is additionally operable to:Obtain shooting preview interface In reference object number;
The processing module is additionally operable to the number based on the reference object, determines that M refers to composition object, wherein M=N;
The terminal further includes display module, for showing that described M refers to composition object.
11. terminal according to claim 7, which is characterized in that
The processing module carries out image synthesis based on the N intermediate images, before exporting target image, is additionally operable to really The kth for determining the kth reference object in shooting preview interface refers to composition object;The kth reference object photographing information with In the case that the kth matches with reference to the photographing information of composition object ,+1 reference object of kth in shooting preview interface is determined Kth+1 refer to composition object;
The terminal further includes display module, for reference to composition object including in shooting preview interface, and by by kth K+1 is shown in reference to composition object in shooting preview interface;
Wherein, 0 < k≤N.
12. terminal according to claim 7, which is characterized in that the processing module is specifically used for:
In the case where the N intermediate images form all images content of the target image, by the N intermediate images It synthesizes the target image and exports;
In the case where the N intermediate images form the parts of images content of the target image, the shooting preview is obtained The background image of interface display, and the N intermediate images and the background image are synthesized into the target image and are exported.
13. a kind of terminal, including processor and memory, computer program is stored on the memory, when the computer journey When sequence is run by the processor, realize according to the step in any generation methods of claim 1-6.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence is realized when the computer program is executed by processor such as the step in method according to any one of claims 1 to 6.
CN201810910870.0A 2018-08-10 2018-08-10 Multi-person photographing method, terminal and storage medium Active CN108777766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810910870.0A CN108777766B (en) 2018-08-10 2018-08-10 Multi-person photographing method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810910870.0A CN108777766B (en) 2018-08-10 2018-08-10 Multi-person photographing method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108777766A true CN108777766A (en) 2018-11-09
CN108777766B CN108777766B (en) 2021-01-15

Family

ID=64028687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810910870.0A Active CN108777766B (en) 2018-08-10 2018-08-10 Multi-person photographing method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108777766B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611768A (en) * 2019-09-27 2019-12-24 北京小米移动软件有限公司 Multiple exposure photographic method and device
CN110798621A (en) * 2019-11-29 2020-02-14 维沃移动通信有限公司 Image processing method and electronic equipment
CN110971832A (en) * 2019-12-20 2020-04-07 维沃移动通信有限公司 Image shooting method and electronic equipment
CN113890994A (en) * 2021-09-30 2022-01-04 荣耀终端有限公司 Image capturing method, system, storage medium, and program product
CN114099977A (en) * 2021-11-23 2022-03-01 杭州高瓴医疗科技有限公司 Phototherapy instrument convenient to distance
CN114205512A (en) * 2020-09-17 2022-03-18 华为技术有限公司 Shooting method and device
CN117474785A (en) * 2023-12-27 2024-01-30 江苏奥斯汀光电科技股份有限公司 Method for synthesizing one image by multiple character pose images

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261219A1 (en) * 2010-04-26 2011-10-27 Kyocera Corporation Imaging device, terminal device, and imaging method
CN104204940A (en) * 2012-03-13 2014-12-10 富士胶片株式会社 Imaging device with projector and control method therefor
CN104967790A (en) * 2014-08-06 2015-10-07 腾讯科技(北京)有限公司 Photo shooting method, photo shooting apparatus and mobile terminal
CN105407285A (en) * 2015-12-01 2016-03-16 小米科技有限责任公司 Photographing control method and device
CN105574006A (en) * 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 Method and device for establishing photographing template database and providing photographing recommendation information
CN105704386A (en) * 2016-03-30 2016-06-22 联想(北京)有限公司 Image acquisition method, electronic equipment and electronic device
US20160259992A1 (en) * 2015-03-06 2016-09-08 Ricoh Company, Ltd. Image acquisition and management
CN106791364A (en) * 2016-11-22 2017-05-31 维沃移动通信有限公司 Method and mobile terminal that a kind of many people take pictures

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261219A1 (en) * 2010-04-26 2011-10-27 Kyocera Corporation Imaging device, terminal device, and imaging method
CN104204940A (en) * 2012-03-13 2014-12-10 富士胶片株式会社 Imaging device with projector and control method therefor
CN104967790A (en) * 2014-08-06 2015-10-07 腾讯科技(北京)有限公司 Photo shooting method, photo shooting apparatus and mobile terminal
CN105574006A (en) * 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 Method and device for establishing photographing template database and providing photographing recommendation information
US20160259992A1 (en) * 2015-03-06 2016-09-08 Ricoh Company, Ltd. Image acquisition and management
CN105407285A (en) * 2015-12-01 2016-03-16 小米科技有限责任公司 Photographing control method and device
CN105704386A (en) * 2016-03-30 2016-06-22 联想(北京)有限公司 Image acquisition method, electronic equipment and electronic device
CN106791364A (en) * 2016-11-22 2017-05-31 维沃移动通信有限公司 Method and mobile terminal that a kind of many people take pictures

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611768A (en) * 2019-09-27 2019-12-24 北京小米移动软件有限公司 Multiple exposure photographic method and device
US11146742B2 (en) 2019-09-27 2021-10-12 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for multi-exposure photography, and storage medium
CN110798621A (en) * 2019-11-29 2020-02-14 维沃移动通信有限公司 Image processing method and electronic equipment
CN110971832A (en) * 2019-12-20 2020-04-07 维沃移动通信有限公司 Image shooting method and electronic equipment
CN114205512A (en) * 2020-09-17 2022-03-18 华为技术有限公司 Shooting method and device
CN113890994A (en) * 2021-09-30 2022-01-04 荣耀终端有限公司 Image capturing method, system, storage medium, and program product
CN114099977A (en) * 2021-11-23 2022-03-01 杭州高瓴医疗科技有限公司 Phototherapy instrument convenient to distance
CN117474785A (en) * 2023-12-27 2024-01-30 江苏奥斯汀光电科技股份有限公司 Method for synthesizing one image by multiple character pose images

Also Published As

Publication number Publication date
CN108777766B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN108777766A (en) A kind of more people&#39;s photographic methods, terminal and storage medium
CN112911182B (en) Game interaction method, device, terminal and storage medium
CN110865754B (en) Information display method and device and terminal
CN110572711B (en) Video cover generation method and device, computer equipment and storage medium
CN111726536A (en) Video generation method and device, storage medium and computer equipment
CN108737897B (en) Video playing method, device, equipment and storage medium
CN106165430A (en) Net cast method and device
CN107809598B (en) A kind of image pickup method, mobile terminal and server
CN109920065A (en) Methods of exhibiting, device, equipment and the storage medium of information
CN110290421A (en) Frame per second method of adjustment, device, computer equipment and storage medium
CN108848313A (en) A kind of more people&#39;s photographic methods, terminal and storage medium
CN109218626A (en) A kind of photographic method and terminal
CN108495032A (en) Image processing method, device, storage medium and electronic equipment
CN108206916A (en) For obtaining the method for translating shooting image and the electronic device for supporting this method
CN109922356B (en) Video recommendation method and device and computer-readable storage medium
CN109618212A (en) Information display method, device, terminal and storage medium
CN108616776B (en) Live broadcast analysis data acquisition method and device
WO2022048398A1 (en) Multimedia data photographing method and terminal
CN112261481B (en) Interactive video creating method, device and equipment and readable storage medium
CN112929654B (en) Method, device and equipment for detecting sound and picture synchronization and storage medium
CN108307106A (en) A kind of image processing method, device and mobile terminal
CN111880888B (en) Preview cover generation method and device, electronic equipment and storage medium
CN109068055A (en) A kind of patterning process, terminal and storage medium
CN108628568A (en) A kind of display methods of information, device and terminal device
CN109474787A (en) A kind of photographic method, terminal device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant