CN107231524A - Image pickup method and device, computer installation and computer-readable recording medium - Google Patents
Image pickup method and device, computer installation and computer-readable recording medium Download PDFInfo
- Publication number
- CN107231524A CN107231524A CN201710400789.3A CN201710400789A CN107231524A CN 107231524 A CN107231524 A CN 107231524A CN 201710400789 A CN201710400789 A CN 201710400789A CN 107231524 A CN107231524 A CN 107231524A
- Authority
- CN
- China
- Prior art keywords
- image
- terminal
- camera
- pickup method
- image pickup
- 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
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000009434 installation Methods 0.000 title claims abstract description 14
- 230000008859 change Effects 0.000 claims abstract description 6
- 238000012545 processing Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 12
- 238000003384 imaging method Methods 0.000 abstract description 5
- 230000009977 dual effect Effects 0.000 description 19
- 230000015654 memory Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000001815 facial effect Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G06T3/04—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
-
- 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/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- 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/265—Mixing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
Abstract
The embodiment of the invention discloses a kind of image pickup method, the image pickup method includes:First image is obtained by the first camera of terminal;And the background area beyond reference object in described first image is blurred, with obtain it is background blurring after image;And obtain the second image;By it is described it is background blurring after image and second image synthesized to obtain target image.That is, can be that the figure photographed carries out background change by way of image is synthesized so that imaging mode is more flexible, abundant, improves user experience.The embodiment of the invention also discloses a kind of filming apparatus, computer installation and computer-readable recording medium.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of image pickup method and device, computer installation and computer
Readable storage medium storing program for executing.
Background technology
With the fast development of terminal technology, the size of current terminal is sufficiently large, screen resolution ratio is sufficiently high, place
The speed for managing device is also sufficiently fast;Therefore, people begin to transfer to the taking pictures of terminal, shooting level to the notice of terminal.
The terminal of prior art, the photo or video of shooting generally are the camera for shooting the photo or video to taking
The background content that scene area is carried out in the image obtained by actual acquisition, image can not be changed according to user's request, be imaged
Mode is inflexible, single, influences Consumer's Experience.
The content of the invention
The embodiments of the invention provide a kind of image pickup method of terminal and device, the imaging mode to solve existing terminal
Inflexible, single the problem of.
On the one hand the embodiment of the present invention provides a kind of image pickup method, and applied to terminal, the image pickup method includes:
First image is obtained by the first camera of the terminal;
Background area beyond reference object in described first image is blurred, with obtain it is background blurring after figure
Picture;
Obtain the second image;
By it is described it is background blurring after image and second image synthesized to obtain target image.
It is preferred that in above-mentioned image pickup method, the second image of the acquisition includes:
Second image is obtained by the second camera of the terminal;Or
The setting Foreground selection instruction inputted according to user, obtains second image prestored in the terminal.
It is preferred that in above-mentioned image pickup method, obtaining the first image by the first camera of the terminal includes:
Interface is shot in the first display screen display of the terminal, response acts on the shooting operation control shot on interface
The first camera for making the terminal obtains the first image;
The image pickup method also includes:
Pass through the second display screen display target image of terminal.
It is preferred that above-mentioned image pickup method also includes:
The first predetermined registration operation for acting on the second display screen is received, according to first predetermined registration operation to described first
The acquisition parameters of camera are adjusted;Or
The second predetermined registration operation for acting on the second display screen is received, according to second predetermined registration operation to described second
The target image that display screen is shown is adjusted.
It is preferred that in above-mentioned image pickup method, the bat according to first predetermined registration operation to first camera
Take the photograph parameter and be adjusted and specifically include:
The filter of first camera is switched over according to first predetermined registration operation;
Specific bag is adjusted in the target image shown according to second predetermined registration operation to the second display screen
Include:
Rotated, amplified or contracted according to the target image that second predetermined registration operation is shown to the second display screen
It is small.
It is preferred that in above-mentioned image pickup method, it is described by it is described it is background blurring after image carried out with second image
Synthesis is included with obtaining target image:
By it is described it is background blurring after image input the first figure layer in;
Second image is inputted in the second figure layer;
By on the first map overlay to second figure layer to obtain the target image.
On the other hand the embodiment of the present invention additionally provides a kind of filming apparatus, and applied to terminal, the filming apparatus includes:
First acquisition unit, for obtaining the first image by the first camera of the terminal;
Processing unit, for being blurred to the background area beyond reference object in described first image, to be carried on the back
Image after scape virtualization;
Second acquisition unit, is additionally operable to obtain the second image;
The processing unit, be additionally operable to by it is described it is background blurring after image synthesized with second image to obtain
Target image.
It is preferred that in above-mentioned filming apparatus, the first acquisition unit, specifically for the first display in the terminal
Screen display shoots interface, and response acts on the shooting operation shot on interface and controls the first camera of the terminal to obtain the
One image;
The processing unit, is additionally operable to by the second display screen display target image.
The another aspect of the embodiment of the present invention additionally provides a kind of computer installation, and the computer installation includes processor,
The step of processor is used to realize above-mentioned image pickup method when performing the computer program stored in memory.
Another further aspect of the embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the step of computer program realizes above-mentioned image pickup method when being executed by processor.
The present invention has the beneficial effect that:
The embodiments of the invention provide a kind of image pickup method and device, computer installation and computer-readable recording medium,
First image can be obtained by the first camera of terminal;And the background area beyond reference object in described first image is entered
Row virtualization, with obtain it is background blurring after image;And obtain the second image;By it is described it is background blurring after image and described the
Two images are synthesized to obtain target image.That is, can be that the figure photographed is carried out by way of image is synthesized
Background is changed so that imaging mode is more flexible, abundant, improves user experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, on the premise of not paying creative work, it can also obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 show the step flow chart of the image pickup method in the embodiment of the present invention one.
Fig. 2 show the functional block diagram of the filming apparatus in the embodiment of the present invention two.
Fig. 3 show the structural representation of the computer installation in the embodiment of the present invention three.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step it is described in detail, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
Embodiment one:
The embodiment of the present invention one provides a kind of image pickup method, and it is applied to the taking pictures, shoot the video of terminal, live etc. and shot
The control of method.The terminal concretely smart mobile phone, tablet personal computer, notebook computer, desktop computer or intelligent watch etc.
Intelligent terminal.
Specifically, as shown in figure 1, it is the step flow chart of image pickup method described in the embodiment of the present invention one, the bat
The method of taking the photograph may include following steps:
Step 101:First image is obtained by the first camera of the terminal.
Preferably, the first camera of the terminal can be the rearmounted dual camera of the terminal, or the terminal
Rearmounted single camera;In addition, optionally as well, the first camera of the terminal can also be the preposition shooting of the terminal
Head.
Alternatively, the first image is obtained by the first camera of the terminal may particularly include:
Interface is shot in the first display screen display of the terminal, response acts on the shooting operation control shot on interface
The first camera for making the terminal obtains the first image.
It should be noted that the first display screen of the terminal is to be located at terminal fuselage with the first camera of the terminal
The display screen of same side.For example, when the first camera of the terminal is the rearmounted dual camera of the terminal, then it is described
First display screen of terminal shields for the secondary of the terminal, wherein, the secondary screen is to be located at the end with the rearmounted dual camera
Hold the touch-screen of same side.For another example, it is when the first camera of the terminal is the front camera of the terminal, then described
First display screen of terminal is the main screen of the terminal, wherein, the main screen is to be located at the terminal with the front camera
The touch-screen of same side.
For example, user's handheld terminal cause user face be located at terminal rearmounted dual camera setting coverage it
It is interior;The secondary screen display of terminal shoots interface;In response to take pictures/the shoot video key, terminal in the user click shooting interface
Rearmounted dual camera gather the image of image within the setting coverage/gather in real time within the setting coverage.
Still optionally further, above-mentioned image pickup method also includes:
Pass through the second display screen display target image of terminal.
Further alternative, the second display screen of the terminal can be the main screen of the terminal.
Still optionally further, above-mentioned image pickup method also includes:
The first predetermined registration operation for acting on the second display screen is received, according to first predetermined registration operation to described first
The acquisition parameters of camera are adjusted.
That is, user can also be taken the photograph by performing the operation of setting on the second display screen of terminal to adjust first
As the acquisition parameters of head.
The acquisition parameters may include:The depth of field, camera lens multiplication factor, gain, time for exposure, shooting delay, filter, flash of light
Lamp etc., the present embodiment is not limited in any way herein.
For example, user's handheld terminal cause user face be located at terminal rearmounted dual camera setting coverage it
It is interior;The secondary screen display of terminal shoots interface;In response to user, left/right slides the operation of finger in the shooting interface, after regulation
Put the depth of field of dual camera;In response to the video key of taking pictures/shoot in the user click shooting interface, rearmounted pair of terminal is taken the photograph
As head gathers the image of image within the setting coverage/gather in real time within the setting coverage.
Still optionally further, the acquisition parameters of first camera are adjusted according to first predetermined registration operation can
Specifically include:The filter of first camera is switched over according to first predetermined registration operation.
For example, user's handheld terminal cause user face be located at terminal rearmounted dual camera setting coverage it
It is interior;The secondary screen display of terminal shoots interface, and multiple filter contents are shown in the form of thumbnail in the lower section at the shooting interface;
The thumbnail of filter content is set in response to user click, the filtering effects of rearmounted dual camera are adjusted;In response to user click
Video key of taking pictures/shoot in the shooting interface, the rearmounted dual camera of terminal gathers the figure within the setting coverage
As/image within the setting coverage is gathered in real time.
Still optionally further, the image pickup method may also include:
The second predetermined registration operation for acting on the second display screen is received, according to second predetermined registration operation to described second
The target image that display screen is shown is adjusted.
Still optionally further, the target image shown according to second predetermined registration operation to the second display screen is adjusted
Section may particularly include:
The target image shown according to second predetermined registration operation to the second display screen is rotated, zoomed in or out
Deng operation.
Step 102:Background area beyond reference object in described first image is blurred, it is background blurring to obtain
Image afterwards.
It is i.e. background blurring by being carried out to the region beyond the reference object in the first image, to obtain described first image
Shooting body matter.
Alternatively, the background area to beyond reference object in described first image is blurred, and may particularly include:
Detect the edge of the reference object in described first image;
Virtualization processing is carried out according to the background area outside 0 pair of edge of virtualization coefficient, described first image is obtained
Body matter.
That is, the reference object in described first image can be determined by rim detection, then by the bat of the first image
The pixel value of all pixels point in the region taken the photograph beyond object is set to 0 and (may be alternatively provided as other pixel values, the present embodiment is herein
It is not limited in any way), the body matter of the first image is obtained with this.
Still optionally further, it is described to described the when first camera is the rearmounted dual camera of the terminal
Background area in one image beyond reference object is blurred, and also may particularly include:
The depth of field letter of object of respectively finding a view in the described first image got according to the rearmounted dual camera of the terminal
Breath, determines the reference object of described first image;
Virtualization processing is carried out according to the background area outside virtualization 0 pair of reference object of coefficient, first figure is obtained
The body matter of picture.
That is, because the speciality of dual camera is can record the depth of view information for object of finding a view, thus, it is believed that being located at
Within the depth of field, i.e., the object of finding a view for being no more than setpoint distance threshold value with the distance of camera lens focus is the shooting pair of the first image
As, and the object of finding a view outside the depth of field is background image, then by the institute in the region beyond the reference object of the first image
The pixel value for having pixel is set to 0 (may be alternatively provided as other pixel values, the present embodiment is not limited in any way herein), is obtained with this
Take the body matter of the first image.
Step 103:Obtain the second image.
Alternatively, the second image of the acquisition may include:
Second image is obtained by the second camera of the terminal.
It should be noted that when rearmounted dual camera or the terminal that the first camera of the terminal is the terminal
Rearmounted single camera when, then the second camera of the terminal be the terminal front camera;Correspondingly, when the end
When first camera at end is the front camera of the terminal, then the second camera of the terminal is the rearmounted of the terminal
The rearmounted single camera of dual camera or the terminal.
In addition, it is necessary to which explanation, the operation of second image is obtained with leading to by the second camera of the terminal
The operation for crossing the first camera the first image of acquisition of the terminal can be while carry out.For example, user's handheld terminal causes user
Face be located within the coverage of the rearmounted dual camera of terminal, landscape before user plane is located at the front camera of terminal
Coverage within;The secondary screen of terminal shows the shooting interface and the shooting interface of front camera of rearmounted dual camera simultaneously
(can split screen display available also separable graph layer display, be not limited in any way herein);In response to taking pictures on the user click shooting interface/
Video key is shot, the rearmounted dual camera of terminal gathers the facial image of the facial image of user/real-time collection user, together
When, the front camera collection scene image/gather scene image in real time of terminal.
Optionally as well, the second image of the acquisition may also include:
The setting Foreground selection instruction inputted according to user, obtains second image prestored in the terminal.
That is, user can also be according to personal like, in the image that terminal is prestored, for the first figure got
The body matter of picture chooses background image, and the present embodiment will not be repeated here.
Step 104:By it is described it is background blurring after image and second image synthesized to obtain target image.
Alternatively, it is described by it is described it is background blurring after image and second image synthesized to obtain target figure
Picture, may particularly include:
By it is described it is background blurring after image input into the first figure layer, second image is inputted to the second figure layer
In;
By on first map overlay to second figure layer to obtain the target image.
For example, the rearmounted dual camera of terminal is photographed, it is background blurring after facial image input to the first figure layer
In, the scene image that the front camera of terminal is collected is inputted into the second figure layer, by the first map overlay to the second figure
Preview target image is obtained on layer, and the preview target image is shown by the secondary screen of terminal;Determine that user performs first and set
Determine the position of the size and the scene image of the operation adjustment scene image in the second figure layer;Determine that user performs second
Setting operation adjusts position, size and the anglec of rotation of the facial image (or first figure layer);Determine that user clicks on " confirmation "
Button, preserves target image.
In addition, it is necessary to which explanation, when the target image of preservation is video frame image, the target figure can be also preserved simultaneously
The parameter information such as position, size, the anglec of rotation of each figure layer as in, can be with to cause during whole video is shot
Based on these parameter informations, according to the first image got in real time and the second image got in real time (or determine it is pre-
The second image first stored) target image frame is synthesized in real time, the present embodiment will not be repeated here.
In summary, image pickup method provided in an embodiment of the present invention, can obtain the first figure by the first camera of terminal
Picture;And the background area beyond reference object in described first image is blurred, with obtain it is background blurring after image;With
And obtain the second image;By it is described it is background blurring after image and second image synthesized to obtain target image.
That is, can be that the figure photographed carries out background change by way of image is synthesized so that imaging mode is more flexible, rich
Richness, improves user experience.
Embodiment two:
Based on same inventive concept, the embodiment of the present invention two provides a kind of filming apparatus, can applied to the terminal
For intelligent terminals such as smart mobile phone, tablet personal computers.Specifically, as shown in Fig. 2 it is terminal described in the embodiment of the present invention two
Structural representation, the terminal may include:
First acquisition unit 201, for obtaining the first image by the first camera of the terminal;
Processing unit 202, for being blurred to the background area beyond reference object in described first image, to obtain
Image after background blurring;
Second acquisition unit 203, is additionally operable to obtain the second image;
The processing unit 202, be additionally operable to by it is described it is background blurring after image and second image synthesized with
Obtain target image.
Alternatively, the second acquisition unit 203, can obtain described specifically for the second camera by the terminal
Second image;Or, the setting Foreground selection inputted according to user is instructed, and obtains described second prestored in the terminal
Image.
Alternatively, the first acquisition unit 201, can shoot specifically for the first display screen display in the terminal
Interface, response acts on the shooting operation shot on interface and controls the first camera of the terminal to obtain the first image.
Correspondingly, the processing unit 202, it may also be used for pass through the second display screen display target image.
Still optionally further, the processing unit 202, can act on the first of the second display screen specifically for receiving
The acquisition parameters of first camera are adjusted by predetermined registration operation according to first predetermined registration operation;Or
The processing unit 202, it may also be used for the second predetermined registration operation for acting on the second display screen is received, according to institute
The target image that the second predetermined registration operation shows the second display screen is stated to be adjusted.
Still optionally further, the processing unit 202, can specifically for according to first predetermined registration operation to described first
The filter of camera is switched over.
The processing unit 202, can be specifically for showing according to second predetermined registration operation to the second display screen
Target image is rotated, zoomed in or out.
In summary, terminal provided in an embodiment of the present invention, can obtain the first image by the first camera of terminal;And
Background area beyond reference object in described first image is blurred, with obtain it is background blurring after image;And obtain
Take the second image;By it is described it is background blurring after image and second image synthesized to obtain target image.Namely
Say, can be that the figure photographed carries out background change by way of image is synthesized so that imaging mode is more flexible, abundant,
Improve user experience.
Embodiment three:
The embodiment of the present invention three provides a kind of computer installation, as shown in figure 3, it is described in the embodiment of the present invention
The structural representation of computer installation.The computer installation is specifically as follows desktop computer, portable computer, intelligent hand
Machine, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) etc..Specifically, the present invention is implemented
Computer installation described in example can include central processing unit (Center Processing Unit, CPU) 301, memory
302nd, input equipment 303 and output equipment 304 etc., input equipment 303 can include keyboard, mouse, touch-screen etc., and output is set
Standby 304 can include display device, such as liquid crystal display (Liquid Crystal Display, LCD), cathode-ray tube
(Cathode Ray Tube, CRT) etc..
Memory 302 can include read-only storage (ROM) and random access memory (RAM), and to central processing unit
The programmed instruction and data stored in 301 offer memories 302.In embodiments of the present invention, memory 302 can be used for storage
The program of image pickup method.
Central processing unit 301 by call memory 302 store programmed instruction, central processing unit 301 can be used for according to
The programmed instruction of acquisition is performed:First image is obtained by the first camera of terminal;And, to being shot in described first image
Background area beyond object is blurred, with obtain it is background blurring after image;Obtain the second image;And the background is empty
Image after change is synthesized to obtain target image with second image.
Example IV:
The embodiment of the present invention four provides a kind of computer-readable recording medium, for saving as above computer device institute
Computer program instructions, it includes the program for being used for performing above-mentioned image pickup method.
The computer-readable recording medium can be that any usable medium or data storage that computer can be accessed are set
It is standby, including but not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO)), optical memory (such as CD,
DVD, BD, HVD etc.) and semiconductor memory (such as ROM, EPROM, EEPROM, nonvolatile memory (NAND
FLASH), solid state hard disc (SSD)) etc..
In addition, it is necessary to explanation, any number of elements in drawing and description is used to example and unrestricted, and
Any name is only used for distinguishing, without any limitation.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey
Sequence product.Therefore, in terms of the present invention can be using complete hardware embodiment, complete software embodiment or combination software and hardware
The form of embodiment.Moreover, the present invention can be used in one or more calculating for wherein including computer usable program code
The computer program that machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow chart with reference to method according to embodiments of the present invention, device (equipment) and computer program product
And/or block diagram is described.It should be understood that can be by each flow in computer program instructions implementation process figure and/or block diagram
And/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided to refer to
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is made to produce
One machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing
The device for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed 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 individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of image pickup method, applied to terminal, it is characterised in that the image pickup method includes:
First image is obtained by the first camera of the terminal;
Background area beyond reference object in described first image is blurred, with obtain it is background blurring after image;
Obtain the second image;
By it is described it is background blurring after image and second image synthesized to obtain target image.
2. image pickup method as claimed in claim 1, it is characterised in that the image of acquisition second includes:
Second image is obtained by the second camera of the terminal;Or
The setting Foreground selection instruction inputted according to user, obtains second image prestored in the terminal.
3. image pickup method as claimed in claim 1, it is characterised in that the first figure is obtained by the first camera of the terminal
As including:
Interface is shot in the first display screen display of the terminal, response acts on the shooting operation control institute shot on interface
The first camera for stating terminal obtains the first image;
The image pickup method also includes:
Pass through the second display screen display target image of terminal.
4. image pickup method as claimed in claim 3, it is characterised in that the image pickup method also includes:
The first predetermined registration operation for acting on the second display screen is received, is imaged according to first predetermined registration operation to described first
The acquisition parameters of head are adjusted;Or
The second predetermined registration operation for acting on the second display screen is received, is shown according to second predetermined registration operation to described second
The target image of screen display is adjusted.
5. image pickup method as claimed in claim 4, it is characterised in that:
The described acquisition parameters of first camera are adjusted according to first predetermined registration operation specifically includes:
The filter of first camera is switched over according to first predetermined registration operation;
The target image shown according to second predetermined registration operation to the second display screen, which is adjusted, to be specifically included:
The target image shown according to second predetermined registration operation to the second display screen is rotated, zoomed in or out.
6. image pickup method as claimed in claim 1, it is characterised in that:It is described by it is described it is background blurring after image and described the
Two images are synthesized to be included with obtaining target image:
By it is described it is background blurring after image input the first figure layer in;
Second image is inputted in the second figure layer;
By on the first map overlay to second figure layer to obtain the target image.
7. a kind of filming apparatus, applied to terminal, it is characterised in that the filming apparatus includes:
First acquisition unit, for obtaining the first image by the first camera of the terminal;
Processing unit, it is empty to obtain background for being blurred to the background area beyond reference object in described first image
Image after change;
Second acquisition unit, is additionally operable to obtain the second image;
The processing unit, be additionally operable to by it is described it is background blurring after image and second image synthesized to obtain target
Image.
8. terminal as claimed in claim 6, it is characterised in that:
The first acquisition unit, shoots interface, response is acted on specifically for the first display screen display in the terminal
Shooting the shooting operation on interface controls the first camera of the terminal to obtain the first image;
The processing unit, is additionally operable to by the second display screen display target image.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, the processor is deposited for execution
Realized during the computer program stored in reservoir as described in any one in claim 1-6 the step of image pickup method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program
Realized when being executed by processor as described in any one in claim 1-6 the step of image pickup method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710400789.3A CN107231524A (en) | 2017-05-31 | 2017-05-31 | Image pickup method and device, computer installation and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710400789.3A CN107231524A (en) | 2017-05-31 | 2017-05-31 | Image pickup method and device, computer installation and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107231524A true CN107231524A (en) | 2017-10-03 |
Family
ID=59933959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710400789.3A Withdrawn CN107231524A (en) | 2017-05-31 | 2017-05-31 | Image pickup method and device, computer installation and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231524A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107786812A (en) * | 2017-10-31 | 2018-03-09 | 维沃移动通信有限公司 | A kind of image pickup method, mobile terminal and computer-readable recording medium |
CN107820004A (en) * | 2017-10-25 | 2018-03-20 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer-readable recording medium |
CN108122195A (en) * | 2018-01-10 | 2018-06-05 | 北京小米移动软件有限公司 | Image processing method and device |
CN108416832A (en) * | 2018-01-30 | 2018-08-17 | 腾讯科技(深圳)有限公司 | Display methods, device and the storage medium of media information |
CN109919867A (en) * | 2019-02-21 | 2019-06-21 | 成都品果科技有限公司 | A kind of filter method and device |
CN110569453A (en) * | 2018-03-27 | 2019-12-13 | 优酷网络技术(北京)有限公司 | Path blurring method and device based on canvas element |
CN110913133A (en) * | 2019-11-25 | 2020-03-24 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
CN111083095A (en) * | 2018-10-19 | 2020-04-28 | 连株式会社 | Method, computer device and computer program for providing authentication data |
CN111586296A (en) * | 2020-04-27 | 2020-08-25 | 北京小米移动软件有限公司 | Image capturing method, image capturing apparatus, and storage medium |
CN113873135A (en) * | 2021-11-03 | 2021-12-31 | 乐美科技股份私人有限公司 | Image obtaining method and device, electronic equipment and storage medium |
CN108416832B (en) * | 2018-01-30 | 2024-05-14 | 腾讯科技(深圳)有限公司 | Media information display method, device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090290796A1 (en) * | 2008-05-20 | 2009-11-26 | Ricoh Company, Ltd. | Image processing apparatus and image processing method |
CN104580910A (en) * | 2015-01-09 | 2015-04-29 | 宇龙计算机通信科技(深圳)有限公司 | Image synthesis method and system based on front camera and rear camera |
CN105631804A (en) * | 2015-12-24 | 2016-06-01 | 小米科技有限责任公司 | Image processing method and device |
CN105847674A (en) * | 2016-03-25 | 2016-08-10 | 维沃移动通信有限公司 | Preview image processing method based on mobile terminal, and mobile terminal therein |
CN106375663A (en) * | 2016-09-22 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Terminal photographing method and terminal photographing device |
CN106408536A (en) * | 2016-09-14 | 2017-02-15 | 北京小米移动软件有限公司 | Image synthesis method and device |
CN106488108A (en) * | 2015-08-31 | 2017-03-08 | 中兴通讯股份有限公司 | The method and device of imaging |
CN106506924A (en) * | 2016-12-05 | 2017-03-15 | 深圳天珑无线科技有限公司 | The image pickup method and mobile terminal of mobile terminal |
-
2017
- 2017-05-31 CN CN201710400789.3A patent/CN107231524A/en not_active Withdrawn
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090290796A1 (en) * | 2008-05-20 | 2009-11-26 | Ricoh Company, Ltd. | Image processing apparatus and image processing method |
CN104580910A (en) * | 2015-01-09 | 2015-04-29 | 宇龙计算机通信科技(深圳)有限公司 | Image synthesis method and system based on front camera and rear camera |
CN106488108A (en) * | 2015-08-31 | 2017-03-08 | 中兴通讯股份有限公司 | The method and device of imaging |
CN105631804A (en) * | 2015-12-24 | 2016-06-01 | 小米科技有限责任公司 | Image processing method and device |
CN105847674A (en) * | 2016-03-25 | 2016-08-10 | 维沃移动通信有限公司 | Preview image processing method based on mobile terminal, and mobile terminal therein |
CN106408536A (en) * | 2016-09-14 | 2017-02-15 | 北京小米移动软件有限公司 | Image synthesis method and device |
CN106375663A (en) * | 2016-09-22 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Terminal photographing method and terminal photographing device |
CN106506924A (en) * | 2016-12-05 | 2017-03-15 | 深圳天珑无线科技有限公司 | The image pickup method and mobile terminal of mobile terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107820004A (en) * | 2017-10-25 | 2018-03-20 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer-readable recording medium |
CN107786812A (en) * | 2017-10-31 | 2018-03-09 | 维沃移动通信有限公司 | A kind of image pickup method, mobile terminal and computer-readable recording medium |
CN108122195B (en) * | 2018-01-10 | 2021-10-08 | 北京小米移动软件有限公司 | Picture processing method and device |
CN108122195A (en) * | 2018-01-10 | 2018-06-05 | 北京小米移动软件有限公司 | Image processing method and device |
CN108416832A (en) * | 2018-01-30 | 2018-08-17 | 腾讯科技(深圳)有限公司 | Display methods, device and the storage medium of media information |
CN108416832B (en) * | 2018-01-30 | 2024-05-14 | 腾讯科技(深圳)有限公司 | Media information display method, device and storage medium |
CN110569453A (en) * | 2018-03-27 | 2019-12-13 | 优酷网络技术(北京)有限公司 | Path blurring method and device based on canvas element |
CN111083095A (en) * | 2018-10-19 | 2020-04-28 | 连株式会社 | Method, computer device and computer program for providing authentication data |
CN111083095B (en) * | 2018-10-19 | 2024-03-15 | 连株式会社 | Method for providing authentication data, computer device and storage medium |
CN109919867A (en) * | 2019-02-21 | 2019-06-21 | 成都品果科技有限公司 | A kind of filter method and device |
CN110913133A (en) * | 2019-11-25 | 2020-03-24 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
CN110913133B (en) * | 2019-11-25 | 2021-03-23 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
US11252341B2 (en) | 2020-04-27 | 2022-02-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for shooting image, and storage medium |
CN111586296A (en) * | 2020-04-27 | 2020-08-25 | 北京小米移动软件有限公司 | Image capturing method, image capturing apparatus, and storage medium |
CN113873135A (en) * | 2021-11-03 | 2021-12-31 | 乐美科技股份私人有限公司 | Image obtaining method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107231524A (en) | Image pickup method and device, computer installation and computer-readable recording medium | |
WO2018201809A1 (en) | Double cameras-based image processing device and method | |
WO2019148978A1 (en) | Image processing method and apparatus, storage medium and electronic device | |
WO2018166069A1 (en) | Photographing preview method, graphical user interface, and terminal | |
US20130076941A1 (en) | Systems And Methods For Editing Digital Photos Using Surrounding Context | |
WO2023174223A1 (en) | Video recording method and apparatus, and electronic device | |
CN112017137A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN112637515A (en) | Shooting method and device and electronic equipment | |
CN114390201A (en) | Focusing method and device thereof | |
CN109089045A (en) | A kind of image capture method and equipment and its terminal based on multiple photographic devices | |
CN106231200A (en) | A kind of photographic method and device | |
JP2024504159A (en) | Photography methods, equipment, electronic equipment and readable storage media | |
WO2024022349A1 (en) | Image processing method and apparatus, and electronic device and storage medium | |
CN105007410A (en) | Large viewing angle camera control method and user terminal | |
CN114071010A (en) | Shooting method and equipment | |
CN112565604A (en) | Video recording method and device and electronic equipment | |
CN106488128B (en) | Automatic photographing method and device | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN111654623B (en) | Photographing method and device and electronic equipment | |
CN113395434B (en) | Preview image blurring method, storage medium and terminal equipment | |
CN114119701A (en) | Image processing method and device | |
CN109618092B (en) | Splicing photographing method and system and storage medium | |
WO2019134513A1 (en) | Shot focusing method, device, storage medium, and electronic device | |
CN113873160B (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN114071009B (en) | Shooting method and equipment |
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: 20171003 |