CN108769511A - Image shooting method and device, electronic equipment and storage medium - Google Patents
Image shooting method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN108769511A CN108769511A CN201810427363.1A CN201810427363A CN108769511A CN 108769511 A CN108769511 A CN 108769511A CN 201810427363 A CN201810427363 A CN 201810427363A CN 108769511 A CN108769511 A CN 108769511A
- Authority
- CN
- China
- Prior art keywords
- image
- preview
- preview pane
- target object
- pane
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/2628—Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses an image shooting method, an image shooting device, electronic equipment and a storage medium, wherein the image shooting method comprises the following steps: firstly, opening a preview interface for image shooting, and dividing the preview interface into at least two preview panes; then when shooting a target object, respectively displaying the captured imaging image of the target object in any one of the at least two preview panes; then when the capturing is complete, combining at least two of the imaging images in the at least two preview panes into an image collection. By adopting the embodiment of the invention, the image splicing efficiency and effect can be improved.
Description
Technical field
The present invention relates to computer application technology more particularly to a kind of image capturing method, device, electronic equipment and
Storage medium.
Background technology
With the raising of image processing techniques, user can carry out image arbitrarily to cut, beautify and splice.Image mosaic
Technology can meet the needs of splicing of multiple images (including photo and video) is merged into an image by user.User claps first
It takes the photograph image to be spliced together and is saved in photograph album;Subsequently enter image mosaic pattern, selection splicing pattern;Finally selected from photograph album
It selects the image shot and is put into splicing pane and spliced.However, it is this after make image mosaic pattern will so that user without
Method carries out splicing preview and image composition when shooting image immediately, cause the composition ratio that image is found when splice picture and
Splice pane to mismatch, and the composition ratio of image can not be adjusted.
Invention content
A kind of image capturing method of offer of the embodiment of the present invention, device, electronic equipment and storage medium.It can be in shooting figure
When picture, image mosaic preview is carried out, the efficiency and effect of image mosaic are promoted.
First aspect present invention provides a kind of image capturing method, including:
The preview interface for image taking is opened, the preview interface is divided at least two preview panes;
When being shot to target object, respectively by the image of the target object of capture include it is described extremely
In any one preview pane in few two preview panes;
When the image is completed in shooting, by least two images at least two preview pane
As being merged into image intersection.
Wherein, described the preview interface is divided at least two preview panes to include:
Receive selection instruction input by user;
According to the selection instruction, image mosaic pattern is selected from preset template library;
Splice pattern according to described image, the preview interface is divided at least two preview pane.
Wherein, described includes respectively at least two preview pane by the image of the target object of capture
In any one preview pane include:
Obtain the scaling of the preset image;
According to the scaling, the image is shown in any one described preview pane.
Wherein, it is described include respectively at least two preview window by the image of the target object of capture
After in any one preview pane in lattice, further include;
Receive the slip instruction input by user;
According to the slip instruction, the scaling is adjusted;
According to the scaling after adjustment, the image is shown in any one described preview pane.
Wherein, described when being shot to target object, the image of the target object of capture is shown respectively
Show that any one preview pane at least two preview pane includes:
Shooting progress bar is shown on the preview pane, the shooting progress bar is for prompting to be imaged described in the user
The shooting progress of image.
Wherein, the target object includes first object object and the second target object;
It is described when being shot to target object, include respectively in institute by the image of the target object of capture
Any one preview pane stated at least two preview panes includes:
Capture the image of the first object object by the first camera, and by the first object object
The image be shown in any one described preview pane at least two preview pane;And
Capture the image of second target object by second camera, and by second target object
The image be shown in another preview pane at least two preview pane.
Wherein, described when being shot to target object, the image of the target object of capture is shown respectively
Show that any one preview pane at least two preview pane includes:
Receive the switching command input by user;
According to the switching command, switch first camera and the second camera so that pass through described first
Camera captures the image of second target object and captures first mesh by the second camera
Mark the image of object.
Wherein, described when the image is completed in shooting, by least two at least two preview pane
The image is merged into after image intersection, further includes:
At least two images in described image intersection are played simultaneously;Or
At least two images in played in order described image intersection;Or
According to the play instruction input by user, the image in described image intersection is selected to play out.
Correspondingly, second aspect of the present invention provides a kind of image capturing device, including:
Division module opens the preview interface for image taking, the preview interface is divided at least two previews
Pane;
Image-forming module, for when being shot to target object, respectively by the image of the target object of capture
As being shown in any one preview pane at least two preview pane;
Merging module, for when shooting complete the image when, by least two preview pane at least
Two images are merged into image intersection.
Wherein, the division module is additionally operable to:
Receive selection instruction input by user;
According to the selection instruction, image mosaic pattern is selected from preset template library;
Splice pattern according to described image, the preview interface is divided at least two preview pane.
Wherein, the image-forming module is additionally operable to:
Obtain the scaling of the preset image;
According to the scaling, the image is shown in any one described preview pane.
Wherein, the image-forming module is additionally operable to:
Receive the slip instruction input by user;
According to the slip instruction, the scaling is adjusted;
According to the scaling after adjustment, the image is shown in any one described preview pane.
Wherein, the image-forming module is additionally operable to:
Shooting progress bar is shown on the preview pane, the shooting progress bar is for prompting to be imaged described in the user
The shooting progress of image.
Wherein, the target object includes first object object and the second target object;
The image-forming module is additionally operable to:
Capture the image of the first object object by the first camera, and by the first object object
Image be shown in any one described preview pane at least two preview pane;And
Capture the image of second target object by second camera, and by second target object
The image be shown in another preview pane at least two preview pane.
Wherein, the image-forming module is additionally operable to:
Receive the switching command input by user;
According to the switching command, switch first camera and the second camera so that pass through described first
Camera captures the image of second target object and captures first mesh by the second camera
Mark the image of object.
Wherein, described device further includes playing module, is used for:
At least two images in described image intersection are played simultaneously;Or
At least two images in played in order described image intersection;Or
According to the play instruction input by user, the image in described image intersection is selected to play out.
Correspondingly, an embodiment of the present invention provides a kind of storage mediums, wherein the storage medium applies journey for storing
Sequence, the application program for executing a kind of image capturing method disclosed in first aspect of the embodiment of the present invention at runtime.
Correspondingly, an embodiment of the present invention provides a kind of application programs, wherein the application program for holding at runtime
A kind of image capturing method disclosed in row first aspect of the embodiment of the present invention.
Implement the embodiment of the present invention, is first turned on image taking preview interface, the preview interface is divided at least two
A preview pane;Then when being shot to target object, the image by the target object of capture includes in institute
It states in a preview pane at least two preview panes;Then when the image is completed in shooting, by described at least
At least two images in two preview panes are merged into image intersection.Using the embodiment of the present invention, can clap
Image mosaic is completed during taking the photograph image, to promote the effect and efficiency of image mosaic.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field
For those of ordinary skill, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow diagram of image capturing method provided in an embodiment of the present invention;
A kind of schematic diagram of method that opening image taking preview interface provided in an embodiment of the present invention when Fig. 2;
Fig. 3 is a kind of schematic diagram of preview interface provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of selection image mosaic pattern provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of capture image provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of capture dynamic imaging image provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of adjustment scaling provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram merging image provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram of the edit menu of image provided in an embodiment of the present invention
Figure 10 is a kind of schematic diagram of the position of mobile image provided in an embodiment of the present invention;
Figure 11 is the flow diagram of another image capturing method provided in an embodiment of the present invention;
Figure 12 is the schematic diagram that a kind of two cameras provided in an embodiment of the present invention synchronize shooting;
Figure 13 is the schematic diagram that a kind of two cameras provided in an embodiment of the present invention are shot into line asynchronous;
Figure 14 is a kind of schematic diagram of switching camera provided in an embodiment of the present invention;
Figure 15 is a kind of structural schematic diagram of image capturing device provided in an embodiment of the present invention;
Figure 16 is the structural schematic diagram of a kind of electronic equipment 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.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of image capturing method provided in an embodiment of the present invention.As schemed
Show, the method in the embodiment of the present invention includes:
S101 opens the preview interface for image taking, the preview interface is divided at least two preview panes.
In the specific implementation, preset image mosaic pattern can be obtained first, wherein different image mosaic patterns include
Preview pane shape and/or quantity it is different, the connection scheme of the image of expression is also different;Then according to preset figure
As splicing pattern, preview interface is divided at least two preview panes.Such as:As shown in Fig. 2, user can pass through click
" button of taking pictures " opens the preview interface for image taking, then divides preview circle according to preset image mosaic pattern
Preview interface is divided into two rectangle preview panes, including first by face as shown in figure 3, according to preset image mosaic pattern
Preview pane and the second preview pane.In addition, further including shooting key in preview interface, camera switch key, dodging turn off switch for lamp key
And image mosaic pattern selection key.Wherein, user can click or long-press shooting key input shooting instruction, shooting instruction are used for
Image, the camera switch key of control camera capture target object are used to switch the camera of photographic subjects object, dodge
Turn off switch for lamp key is used to open/closes flash lamp and image mosaic pattern selection key provides selection image mosaic sample to the user
The entrance of formula.
Optionally, it can first be received before being shot to target image or when being shot to target image
Selection instruction input by user, the selection instruction include but not limited to click commands;Then according to the selection instruction, from pre-
If template library in select image mosaic pattern, wherein template library may include user download or make at least one image
Splice pattern;Then pattern is spliced according to described image, the preview interface is divided at least two preview pane.
Such as:As shown in figure 4, when detecting that user is directed to the clicking operation of image mosaic pattern selection key, open pre-
If template library, then user the image mosaic pattern chosen, the figure finally chosen according to user can be clicked in template library
As preview interface is divided into 3 rectangle preview panes, including the first preview pane, the second preview pane and third by splicing pattern
Preview pane.
S102, when being shot to target object, respectively by the image of the target object of capture include
In any one preview pane at least two preview pane.
Target object is shot in the specific implementation, camera can be first turned on;Then the shooting for receiving user refers to
It enables, and according to the shooting instruction, captures the image of the target object;Then respectively by the target object of capture at
It is shown in any one preview pane at least two preview pane as image.Wherein it is possible to obtain first preset
The scaling of the image;Then according to the scaling, shown in any one described preview pane it is described at
As image, and not selected for showing that the preview pane of image remains off, the closed state includes but not
It is limited to black state.
Optionally, it can show that shooting progress bar, the shooting progress bar are described for prompting on the preview pane
The shooting progress of user's image.Wherein, each preview pane corresponds to a shooting progress bar.
Such as:Target object is shot as shown in figure 5, mobile phone rear camera can be opened, and by captured in real-time
To picture be shown in the first preview pane and carry out preview, when user determines that composition ratio is suitable, click shooting key and carry out
It takes pictures.Therefore, when detecting the clicking operation for shooting key, the image of individual target object is captured, is then utilized
The image is included in the first preview pane by image procossing library (such as GPUImage library).Meanwhile first preview
The corresponding shooting progress bar display shooting of pane is completed, the second preview pane is opened.
For another example, target object is shot as shown in fig. 6, mobile phone rear camera can be opened, and by captured in real-time
To picture be shown in the first preview pane and carry out preview.When user determines that composition ratio is suitable, key can be shot with long-press
Carry out video record.Therefore, when detecting the long press operation for shooting key, the picture that captured in real-time arrives is recorded, obtains one
Section video (dynamic image), is then shown the contraction of the video using image procossing library (such as GPUImage library)
In the first preview pane, user clicks play button can play the video in the first preview pane.Meanwhile first preview window
The corresponding shooting progress bar display shooting of lattice is completed, the second preview pane is opened.
Optionally, the slip instruction input by user can be received;Then according to the slip instruction, the contracting is adjusted
Put ratio;Then according to the scaling after adjustment, the image is shown in any one described preview pane.Example
Such as, as shown in fig. 7, user can slide two fingers in the first preview pane, according to the sliding distance of two fingers, to the first preview window
Image in lattice is amplified.
S103, when the image is completed in shooting, described at least two at least two preview pane
Image is merged into image intersection.
In the specific implementation, media data high-level framework (such as AVFoundation) can be utilized at least two previews
Image in pane, which merges, to be preserved into an image intersection.
Such as:As shown in figure 8, when detecting the clicking operation for save button, call AVFoundation that will scheme
In image merging in the first preview pane and the second preview pane save as an image.
Optionally, the edit instruction of user can be received, and refer to according to the editor before merging the image
It enables, edits the image.Wherein, include but not limited to mobile image to the editor of the image, clap again
It takes the photograph image, cut image and rotation image.
Such as:As shown in figure 9, when user's long-press image, popped up in the preview pane for showing the image
Edit menu, the edit menu include " movement ", " retaking ", " cutting " and " rotation " five optional menu items.Such as Figure 10 institutes
Show, when the user clicks after menu item " movement ", it is pre- that the image in the second preview pane can be dragged down and to third
It lookes at the surface of pane, the image of the second preview pane is moved to third preview pane, by third preview to realize
The image of pane is moved to the second preview pane.
Optionally, when the image is completed in shooting, by least two institutes at least two preview pane
It states image to be merged into after image intersection, at least two images in the image intersection can be played, wherein described
The broadcast mode of image includes at least following three kinds:
The first broadcast mode:At least two images in described image intersection are played simultaneously.
Second of broadcast mode:At least two images in played in order described image intersection.Wherein, including
But it is not limited to all images for including according to the shooting played in order image intersection of the image.For example, according to bat
Sequence is taken the photograph, plays the video in the first preview pane first, when the video playing in the first preview pane is completed, plays second
Video in preview pane.
The third broadcast mode:According to the play instruction input by user, select in described image intersection it is described at
As image plays out.For example, user can first click on the play button in the second preview window, play in the second preview pane
Video after the completion of video playing in the second preview pane, clicks the play button in the first preview pane, plays the first preview
Video in pane.
In embodiments of the present invention, it is first turned on the preview interface for image taking, respectively draws the preview interface
It is divided at least two preview panes;Then when being shot to target object, by the image of the target object of capture
As being shown in any one preview pane at least two preview pane;Then when the image is completed in shooting
When, at least two images at least two preview pane are merged into image intersection.Using of the invention real
Example is applied, image mosaic can be completed during shooting image, to promote the effect and efficiency of image mosaic.
Please refer to Fig.1 the flow diagram that 1, Figure 11 is another image capturing method provided in an embodiment of the present invention.Such as
Shown in figure, the method in the embodiment of the present invention includes:
S1101 opens the preview interface for image taking, the preview interface is divided at least two preview windows
Lattice.
This step is identical as the upper S101 of an embodiment, this step repeats no more.
S1102, captures the image of the first object object by the first camera, and by the first object pair
The image of elephant is shown in any one preview pane at least two preview pane;And it is taken the photograph by second
As head captures the image of second target object, and include in institute by the image of second target object
It states in another preview pane at least two preview panes.
First object object is shot in the specific implementation, the first camera can be opened, and captured in real-time is arrived
Picture, which is shown in any one described preview pane, to be carried out preview and opens the second target object of second camera pair to clap
Take the photograph, and by captured in real-time to picture include carrying out preview in another described preview pane.Then, when detecting that user is defeated
When the shooting instruction entered, the image for the object that the first camera and second camera are captured simultaneously captured by them is controlled,
And by the image of first object include in one preview pane, by the image of the second target object include in institute
State in another preview pane, alternatively, control first the first camera capture first object object image, and by this at
As image is shown in one preview pane, the image that second camera captures the second target object is then controlled, and
Include in another described preview pane by the image.Wherein, the first camera and second camera can be same
Camera can also be different camera.
Such as:As shown in figure 12, the preposition of mobile phone can be opened simultaneously takes the photograph head and rear camera, front camera shooting
First object object and rear camera shoot the second target object.When detecting the clicking operation for shooting key, the
One camera and second camera capture image simultaneously, wherein the first camera captures the image of first object object
Picture, and using image procossing library (such as GPUImage library) by the image include in the first preview pane and
Second camera captures the image of the second target object, and should using image procossing library (such as GPUImage library)
Image is shown in the second preview pane.Wherein, because of the behaviour of the first camera and second camera capture image
Work is synchronous progress, so the bat that the shooting progress bar of the shooting progress bar of the first preview pane and the second preview pane is shown
The progress of taking the photograph is identical.
For another example, as shown in figure 13, the preposition of mobile phone can be opened simultaneously takes the photograph head and rear camera, front camera shooting
First object object and rear camera shoot the second target object.It is first when detecting the clicking operation for shooting key
The image of first the first camera capture first object object, and will using image procossing library (such as GPUImage library)
The image is shown in the first preview pane, and then second camera captures the image of the second target object, and profit
By the image include in the second preview pane with image procossing library (such as GPUImagelibrary).Wherein, because first
The operation of camera and second camera capture image is successively to carry out, so the shooting progress bar of the first preview pane
The shooting progress shown with the shooting progress bar of the second preview pane differs.
Optionally, the switching command input by user can be received, and according to the switching command, switching described first
Camera and the second camera so that by first camera capture second target object image,
And the image of the first object object is captured by the second camera.
Such as:As shown in figure 14, front camera shooting first object object, the picture that captured in real-time is arrived are first turned on
Be shown in the first preview pane, and open rear camera shoot the second target object, by captured in real-time to picture show
Show in the second preview pane, then when detecting the clicking operation for camera switch key, is clapped using front camera
It takes the photograph the second target object and shoots first object object using rear camera.
S1103, when the image is completed in shooting, described at least two at least two preview pane
Image is merged into image collection.This step is identical as the upper S103 of an embodiment, this step repeats no more.
In embodiments of the present invention, it is first turned on the preview interface for image taking, the preview interface is divided into
At least two preview panes;Then when being shot to target object, respectively by the image of the target object of capture
As being shown in any one preview pane at least two preview pane;Then when the image is completed in shooting
When, at least two images at least two preview pane are merged into image intersection.Using of the invention real
Example is applied, image mosaic can be completed during shooting image, to promote the effect and efficiency of image mosaic.
Please refer to Fig.1 the structural schematic diagram that 5, Figure 15 is a kind of image capturing device provided in an embodiment of the present invention.Such as figure
Shown, the device in the embodiment of the present invention includes:
Division module 1501 is used to open image taking preview interface, and it is pre- that the preview interface is divided at least two
Look at pane.
In the specific implementation, preset image mosaic pattern can be obtained first, wherein different image mosaic patterns are wrapped
The shape and/or quantity of the preview pane included are different, and the connection scheme of the image of expression is also different;Then according to preset
Preview interface is divided at least two preview panes by image mosaic pattern.Such as:As shown in Fig. 2, user can pass through click
" button of taking pictures " opens the preview interface for image taking, then divides preview circle according to preset image mosaic pattern
Preview interface is divided into two rectangle preview panes, including first by face as shown in figure 3, according to preset image mosaic pattern
Preview pane and the second preview pane.In addition, further including shooting key in preview interface, camera switch key, dodging turn off switch for lamp key
And image mosaic pattern selection key.Wherein, user can click or long-press shooting key input shooting instruction, shooting instruction are used for
Image, the camera switch key of control camera capture target object are used to switch the camera of photographic subjects object, dodge
Turn off switch for lamp key is used to open/closes flash lamp and image mosaic pattern selection key provides selection image mosaic sample to the user
The entrance of formula.
Optionally, user can be received before being shot to target image or when being shot to target image
The selection instruction of input, the selection instruction include but not limited to click commands;Then according to the selection instruction, from preset
Image mosaic pattern is selected in template library, wherein template library may include at least one image mosaic that user downloads or makes
Pattern;Then pattern is spliced according to described image, the preview interface is divided at least two preview pane.
Such as:As shown in figure 4, when detecting that user is directed to the clicking operation of image mosaic pattern selection key, open pre-
If template library, then user the image mosaic pattern chosen, the figure finally chosen according to user can be clicked in template library
As preview interface is divided into 3 rectangle preview panes, including the first preview pane, the second preview pane and third by splicing pattern
Preview pane.
Image-forming module 1502, for when being shot to target object, respectively by the target object of capture at
It is shown in any one preview pane at least two preview pane as image.
Target object is shot in the specific implementation, camera can be first turned on;Then the shooting for receiving user refers to
It enables, and according to the shooting instruction, captures the image of the target object;Then respectively by the target object of capture at
It is shown in any one preview pane at least two preview pane as image.Wherein it is possible to obtain first preset
The scaling of the image;Then according to the scaling, the imaging is shown in one preview pane
Image, and not selected for showing that the preview pane of image remains off, the closed state include but unlimited
In black state.
Optionally, it can show that shooting progress bar, the shooting progress bar are described for prompting on the preview pane
The shooting progress of user's image.Wherein, each preview pane corresponds to a shooting progress bar.
Optionally, the slip instruction input by user can be received;Then according to the slip instruction, the contracting is adjusted
Put ratio;Then according to the scaling after adjustment, the image is shown in any one described preview pane.Example
Such as, as shown with 7, user can slide two fingers to figure in the first preview pane, according to the sliding distance of two fingers, to the first preview window
Image in lattice is amplified.
Optionally, the image of the first object object can be captured by the first camera, and by described first
The image of target object is shown in any one preview pane at least two preview pane;And pass through
Second camera captures the image of second target object, and the image of second target object is shown
Show in another preview pane at least two preview pane.
Specifically, the picture that the first camera shoots first object object, and captured in real-time is arrived can be opened
It is shown in one preview pane and carries out preview and open the second target object of second camera pair to shoot, and
By captured in real-time to picture include carrying out preview in another described preview pane.Then, input by user when detecting
When shooting instruction, the image for the object that the first camera and second camera are captured simultaneously captured by them is controlled, and will
The image of first object is shown in any one described preview pane, includes described by the image of the second target object
In another preview pane, alternatively, the image of the first camera capture first object object is controlled first, and by the imaging
Image is shown in one preview pane, then controls the image that second camera captures the second target object, and will
The image is shown in another described preview pane.Wherein, the first camera and second camera can be same take the photograph
As head, camera can also be different.
Optionally, the switching command input by user can be received, and according to the switching command, switching described first
Camera and the second camera so that by first camera capture second target object image,
And the image of the first object object is captured by the second camera.
Merging module 1503 is used for when the image is completed in shooting, will be at least two preview pane
At least two images are merged into image intersection.
In the specific implementation, media data high-level framework (such as AVFoundation) can be utilized at least two previews
Image in pane, which merges, to be preserved into an image intersection.
Such as:As shown in figure 8, when detecting the clicking operation for save button, call AVFoundation that will scheme
In image merging in the first preview pane and the second preview pane save as an image.
Optionally, the edit instruction of user can be received, and refer to according to the editor before merging the image
It enables, edits the image.Wherein, include but not limited to mobile image to the editor of the image, clap again
It takes the photograph image, cut image and rotation image.
Optionally, the device of the embodiment of the present invention can also include playing module, for respectively by described at least two
At least two images in preview pane are merged into after image intersection, play at least two in the image intersection
Image.
In the specific implementation, the broadcast mode of image includes at least following three kinds:
The first broadcast mode:At least two images in described image intersection are played simultaneously.
Second of broadcast mode:At least two images in played in order described image intersection.Including
But it is not limited to all images for including according to the shooting played in order image intersection of the image.For example, according to bat
Sequence is taken the photograph, plays the video in the first preview pane first, when the video playing in the first preview pane is completed, plays second
Video in preview pane.
The third broadcast mode:According to the play instruction input by user, select in described image intersection it is described at
As image plays out.For example, user can first click on the play button in the second preview window, play in the second preview pane
Video.After the completion of video playing in the second preview pane, the play button in the first preview pane is clicked, plays the first preview
Video in pane.
In embodiments of the present invention, it is first turned on the preview interface for image taking, the preview interface is divided into
At least two preview panes;Then when being shot to target object, respectively by the image of the target object of capture
As being shown in any one preview pane at least two preview pane;Then when the image is completed in shooting
When, at least two images at least two preview pane are merged into image intersection.Using of the invention real
Example is applied, image mosaic can be completed during shooting image, to promote the effect and efficiency of image mosaic.
Please refer to Fig.1 the structural schematic diagram that 6, Figure 16 is a kind of electronic equipment that the embodiment of the present invention proposes.As shown,
The electronic equipment may include:At least one processor 1601, such as CPU, at least one communication interface 1602 are at least one to deposit
Reservoir 1603, at least one bus 1604.Wherein, bus 1604 is for realizing the connection communication between these components.Wherein, originally
The communication interface 1602 of electronic equipment is wired sending port in inventive embodiments, or wireless device, such as including day
Line apparatus, the communication for carrying out signaling or data with other node devices.Memory 1603 can be high-speed RAM memory,
Can also be non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory
1603 optionally can also be at least one storage device for being located remotely from aforementioned processor 1601.One is stored in memory 1603
Group program code, and processor 1601 is used to call the program code stored in memory, for performing the following operations:
The preview interface for image taking is opened, the preview interface is divided at least two preview panes;
When being shot to target object, respectively by the image of the target object of capture include it is described extremely
In any one preview pane in few two preview panes;
When the image is completed in shooting, by least two images at least two preview pane
As being merged into image intersection.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
Receive selection instruction input by user;
According to the selection instruction, image mosaic pattern is selected from preset template library;
Splice pattern according to described image, the preview interface is divided at least two preview pane.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
Obtain the scaling of the preset image;
According to the scaling, the image is shown in any one described preview pane.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
Receive the slip instruction input by user;
According to the slip instruction, the scaling is adjusted;
According to the scaling after adjustment, the image is shown in any one described preview pane.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
Shooting progress bar is shown on the preview pane, the shooting progress bar is for prompting to be imaged described in the user
The shooting progress of image.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
Capture the image of the first object object by the first camera, and by the first object object
The image be shown in any one described preview pane at least two preview pane;And
Capture the image of second target object by second camera, and by second target object
The image be shown in another preview pane at least two preview pane.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
Receive the switching command input by user;
According to the switching command, switch first camera and the second camera so that pass through described first
Camera captures the image of second target object and captures the first object pair by the second camera
The image of elephant.
Wherein, processor 1601 is additionally operable to execute following operating procedure:
At least two images in described image intersection are played simultaneously;Or
At least two images in played in order described image intersection;Or
According to the play instruction input by user, the image in described image intersection is selected to play out.
It should be noted that the embodiment of the present invention also provides a kind of storage medium simultaneously, the storage medium is for storing
Application program, the application program are used to execute what electronic equipment in a kind of image capturing method shown in FIG. 1 executed at runtime
Operation.
It should be noted that the embodiment of the present invention also provides a kind of application program simultaneously, the application program is for transporting
The operation that electronic equipment executes in a kind of image capturing method shown in FIG. 1 is executed when row.
It should be noted that for each embodiment of the method above-mentioned, for simple description, therefore it is all expressed as to a system
The combination of actions of row, but those skilled in the art should understand that, the present invention is not limited by the described action sequence, because
For according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this hair
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment
Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English
Text:Random Access Memory, referred to as:RAM), disk or CD etc..
It is provided for the embodiments of the invention content download method above and relevant device, system are described in detail,
Principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only used
In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation of the present invention.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and can also be stored in a computer when sold or used as an independent product
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention
System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of image capturing method, which is characterized in that the method is applied to electronic equipment, the method includes:
The preview interface for image taking is opened, the preview interface is divided at least two preview panes;
Include respectively described at least two by the image of the target object of capture when being shot to target object
In any one preview pane in a preview pane;
When the image is completed in shooting, at least two images at least two preview pane are closed
And at image intersection.
2. the method as described in claim 1, which is characterized in that described that the preview interface is divided at least two preview windows
Lattice include:
Receive selection instruction input by user;
According to the selection instruction, image mosaic pattern is selected from preset template library;
Splice pattern according to described image, the preview interface is divided at least two preview pane.
3. method as claimed in claim 1 or 2, which is characterized in that described respectively by the imaging of the target object of capture
Any one preview pane that image is shown at least two preview pane includes:
Obtain the scaling of the preset image;
According to the scaling, the image is shown in any one described preview pane.
4. method as claimed in claim 3, which is characterized in that described respectively by the image of the target object of capture
As after being shown in any one preview pane at least two preview pane, further including;
Receive the slip instruction input by user;
According to the slip instruction, the scaling is adjusted;
According to the scaling after adjustment, the image is shown in any one described preview pane.
5. the method as described in any one of claim 1-4, which is characterized in that it is described when being shot to target object,
Include respectively any one preview window at least two preview pane by the image of the target object of capture
Lattice include:
Shooting progress bar is shown on the preview pane, the shooting progress bar is for prompting image described in the user
Shooting progress.
6. the method as described in claim 1, which is characterized in that the target object includes first object object and the second target
Object;
It is described when being shot to target object, respectively by the image of the target object of capture include it is described extremely
Any one preview pane in two preview panes includes less:
Capture the image of the first object object by the first camera, and by the institute of the first object object
It states in any one described preview pane that image is shown at least two preview pane;And
Capture the image of second target object by second camera, and by the institute of second target object
It states in another preview pane that image is shown at least two preview pane.
7. method as claimed in claim 6, which is characterized in that it is described when being shot to target object, it respectively will capture
Any one preview pane for being shown at least two preview pane of image of the target object include:
Receive the switching command input by user;
According to the switching command, switch first camera and the second camera so that image by described first
Head captures the image of second target object and captures the first object pair by the second camera
The image of elephant.
8. a kind of image capturing device, which is characterized in that described device includes:
Division module opens the preview interface for image taking, the preview interface is divided at least two preview panes;
Image-forming module, for when being shot to target object, respectively showing the image of the target object of capture
Show in any one preview pane at least two preview pane;
Merging module is used for when the image is completed in shooting, by least two at least two preview pane
The image is merged into image intersection.
9. a kind of electronic equipment, which is characterized in that including:Processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual communication;
The memory stores executable program code;
The processor is run and the executable program by reading the executable program code stored in the memory
The corresponding program of code, for executing such as claim 1-7 any one of them methods.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has a plurality of finger
It enables, described instruction is suitable for being loaded by processor and being executed such as claim 1-7 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810427363.1A CN108769511A (en) | 2018-05-07 | 2018-05-07 | Image shooting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810427363.1A CN108769511A (en) | 2018-05-07 | 2018-05-07 | Image shooting method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108769511A true CN108769511A (en) | 2018-11-06 |
Family
ID=64010029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810427363.1A Withdrawn CN108769511A (en) | 2018-05-07 | 2018-05-07 | Image shooting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769511A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111669507A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
CN112165576A (en) * | 2020-09-25 | 2021-01-01 | Oppo(重庆)智能科技有限公司 | Image display method, image display device, storage medium and electronic equipment |
CN113038004A (en) * | 2021-02-26 | 2021-06-25 | 展讯通信(天津)有限公司 | Multi-window image previewing method and device, computer equipment and storage medium |
CN113824878A (en) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | Shooting control method based on foldable screen and electronic equipment |
WO2022048504A1 (en) * | 2020-09-04 | 2022-03-10 | 北京字节跳动网络技术有限公司 | Video processing method, terminal device and storage medium |
EP3979620A4 (en) * | 2019-05-27 | 2022-11-30 | Vivo Mobile Communication Co., Ltd. | Photographing method and terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243846A (en) * | 2013-06-19 | 2014-12-24 | 北京千橡网景科技发展有限公司 | Image stitching method and device |
US20150222810A1 (en) * | 2012-06-08 | 2015-08-06 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
CN105657239A (en) * | 2015-04-27 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Image processing method and device |
WO2016107055A1 (en) * | 2014-12-30 | 2016-07-07 | 中兴通讯股份有限公司 | Processing method and device for image splicing |
CN107592459A (en) * | 2017-09-22 | 2018-01-16 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107820020A (en) * | 2017-12-06 | 2018-03-20 | 广东欧珀移动通信有限公司 | Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters |
CN107948364A (en) * | 2017-12-28 | 2018-04-20 | 努比亚技术有限公司 | Mobile terminal image pickup method, mobile terminal and computer-readable recording medium |
CN107959755A (en) * | 2017-11-27 | 2018-04-24 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
-
2018
- 2018-05-07 CN CN201810427363.1A patent/CN108769511A/en not_active Withdrawn
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150222810A1 (en) * | 2012-06-08 | 2015-08-06 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
CN104243846A (en) * | 2013-06-19 | 2014-12-24 | 北京千橡网景科技发展有限公司 | Image stitching method and device |
WO2016107055A1 (en) * | 2014-12-30 | 2016-07-07 | 中兴通讯股份有限公司 | Processing method and device for image splicing |
CN105657239A (en) * | 2015-04-27 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Image processing method and device |
CN107592459A (en) * | 2017-09-22 | 2018-01-16 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107959755A (en) * | 2017-11-27 | 2018-04-24 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107820020A (en) * | 2017-12-06 | 2018-03-20 | 广东欧珀移动通信有限公司 | Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters |
CN107948364A (en) * | 2017-12-28 | 2018-04-20 | 努比亚技术有限公司 | Mobile terminal image pickup method, mobile terminal and computer-readable recording medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3979620A4 (en) * | 2019-05-27 | 2022-11-30 | Vivo Mobile Communication Co., Ltd. | Photographing method and terminal |
US11863901B2 (en) | 2019-05-27 | 2024-01-02 | Vivo Mobile Communication Co., Ltd. | Photographing method and terminal |
CN111669507A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
WO2022048504A1 (en) * | 2020-09-04 | 2022-03-10 | 北京字节跳动网络技术有限公司 | Video processing method, terminal device and storage medium |
US11849211B2 (en) | 2020-09-04 | 2023-12-19 | Beijing Bytedance Network Technology Co., Ltd. | Video processing method, terminal device and storage medium |
CN112165576A (en) * | 2020-09-25 | 2021-01-01 | Oppo(重庆)智能科技有限公司 | Image display method, image display device, storage medium and electronic equipment |
CN113038004A (en) * | 2021-02-26 | 2021-06-25 | 展讯通信(天津)有限公司 | Multi-window image previewing method and device, computer equipment and storage medium |
CN113038004B (en) * | 2021-02-26 | 2022-09-23 | 展讯通信(天津)有限公司 | Multi-window image previewing method and device, computer equipment and storage medium |
CN113824878A (en) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | Shooting control method based on foldable screen and electronic equipment |
WO2023020006A1 (en) * | 2021-08-20 | 2023-02-23 | 荣耀终端有限公司 | Photographing control method based on foldable screen and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108769511A (en) | Image shooting method and device, electronic equipment and storage medium | |
US11756587B2 (en) | Masking in video stream | |
US8139919B2 (en) | Light table editor for video snippets | |
CN102099860B (en) | User interfaces for editing video clips | |
EP3183730B1 (en) | Unscripted digital media message generation | |
CN109683714A (en) | Multimedia resource management method, apparatus and storage medium | |
EP2917819B1 (en) | Method and apparatus for swipe shift photo browsing | |
CN105306835A (en) | Image processing system | |
EP3886095A1 (en) | Timed elements in video clips | |
EP3183644A1 (en) | Digital media message generation | |
JP2006135590A (en) | Digital camera and computer program | |
WO2023174223A1 (en) | Video recording method and apparatus, and electronic device | |
WO2023143531A1 (en) | Photographing method and apparatus, and electronic device | |
CN103699621A (en) | Method for recording graphic and text information on materials recorded by mobile device | |
US20160050172A1 (en) | Digital media message generation | |
JP2023099600A (en) | System and method for performing rewind operation using mobile image capture device | |
CN113918522A (en) | File generation method and device and electronic equipment | |
EP3886096A2 (en) | Editing portions of videos in a series of video portions | |
CN114025237B (en) | Video generation method and device and electronic equipment | |
US10817167B2 (en) | Device, method and computer program product for creating viewable content on an interactive display using gesture inputs indicating desired effects | |
US11263998B2 (en) | Embedding animation in electronic mail, text messages and websites | |
CN115334242B (en) | Video recording method, device, electronic equipment and medium | |
US8176285B2 (en) | Importing media content items | |
US20240169957A1 (en) | Embedding Animation in Electronic Mail, Text Messages and Websites | |
Carlson | Photos for OS X and iOS: Take, edit, and share photos in the Apple photography ecosystem |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181106 |