CN106331497A - Image processing method and terminal - Google Patents
Image processing method and terminal Download PDFInfo
- Publication number
- CN106331497A CN106331497A CN201610799795.6A CN201610799795A CN106331497A CN 106331497 A CN106331497 A CN 106331497A CN 201610799795 A CN201610799795 A CN 201610799795A CN 106331497 A CN106331497 A CN 106331497A
- Authority
- CN
- China
- Prior art keywords
- preset
- image
- terminal
- degree
- jitter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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/60—Control of cameras or camera modules
-
- 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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
-
- 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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
-
- 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/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention provides an image processing method and a terminal. The image processing method comprises the steps that the terminal captures a first preset number of frame images by using a first camera when detecting an inputted photographing instruction; the terminal captures a second preset number of frame images by using a second camera; and the terminal performs synthesis processing on the first preset number of frame images and the second preset number of frame images by using a preset algorithm. Through the embodiment of the invention, a phenomenon of image tail unclearness of images in photographing can be eliminated, and the quality of photographed images is improved.
Description
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of image processing method and terminal.
Background technology
Along with developing rapidly of electronic technology, the terminal such as smart mobile phone, panel computer becomes increasingly popular, photographic head in terminal
Image quality is more and more higher, utilizes terminal to carry out taking pictures and become the first-selection of more and more user.However, it has been found in practice that,
User is often in rapid movement state and causes and take pictures because of hand shaking or photograph subject when handheld terminal is taken pictures
There is serious smear blooming in image, picture quality of taking pictures is poor, it is difficult to satisfactory.
Summary of the invention
Embodiments provide a kind of image processing method and terminal, the smear of image when taking pictures can be eliminated and obscure
Phenomenon, promotes the quality of image of taking pictures.
Embodiment of the present invention first aspect provides a kind of image processing method, including:
Terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the first number of frames image.
Described terminal utilizes second camera capture to preset the second number of frames image.
Described terminal utilizes preset algorithm to preset the first number of frames image and described default second number of frames image to described
Carry out synthesis process.
Optionally, described terminal utilizes second camera capture to preset the second number of frames image, including:
Described terminal captures the described last frame preset in the first number of frames image utilizing described first photographic head
During image, second camera capture is utilized to preset the second number of frames image.
Optionally, described terminal utilizes second camera capture to preset the second number of frames image, including:
Described terminal obtains and is utilizing described first described the first frame preset in the first number of frames image of photographic head capture
During image, the degree of jitter of described terminal.
Whether the degree of jitter of terminal described in described terminal judges is more than or equal to presetting the first degree of jitter.
The most described terminal, after experience preset duration, utilizes second camera capture to preset the second number of frames image.
If it is not, the most described terminal utilizes, the capture of described second camera is described presets the second number of frames image.
Optionally, described terminal utilizes preset algorithm to preset the first number of frames image and described default second quantity to described
Two field picture carries out synthesis process, including:
When described terminal obtains each two field picture in capturing described default first number of frames image of record, described end
The degree of jitter of end, and when obtaining each two field picture in capturing described default second number of frames image of record, described
The degree of jitter of terminal.
Described terminal determines that in described default first number of frames image, the degree of jitter of corresponding described terminal is less than or equal to
Preset the first image of the second degree of jitter, and determine the shake of corresponding described terminal in described default second number of frames image
Degree is less than or equal to the second image presetting the 3rd degree of jitter.
Described terminal utilizes preset algorithm that described first image and described second image are carried out synthesis process, to be clapped
According to image.
Optionally, described preset algorithm includes linear superposition composition algorithm.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Detection module, for detecting the photographing instruction of input.
Trapping module, for when described detection module detects described photographing instruction, utilizes the first photographic head capture pre-
If the first number of frames image.
Described trapping module, is additionally operable to utilize second camera capture to preset the second number of frames image.
Synthesis module, is used for utilizing preset algorithm to preset the first number of frames image and described default second number of frames to described
Image carries out synthesis process.
Optionally, the concrete mode that described trapping module utilizes second camera capture to preset the second number of frames image is:
When utilizing described first photographic head to capture the described last frame image preset in the first number of frames image, profit
The second number of frames image is preset with second camera capture.
Optionally, described trapping module includes:
First acquiring unit, for obtaining in utilizing the described first described default first number of frames image of photographic head capture
The first two field picture time, the degree of jitter of described terminal.
Judging unit, for judging that whether the degree of jitter of described terminal is more than or equal to presetting the first degree of jitter.
Capturing unit, for when the judged result of described judging unit is for being, after experience preset duration, utilizes second
The second number of frames image is preset in photographic head capture.
Described capturing unit, is additionally operable to, when the judged result of described judging unit is no, utilize described second camera
Capture described default second number of frames image.
Optionally, described synthesis module includes:
Second acquisition unit, for obtaining each two field picture in the described default first number of frames image of capture of record
Time, the degree of jitter of described terminal, and obtain each frame figure in the described default second number of frames image of capture of record
During picture, the degree of jitter of described terminal.
Determine unit, for determine described preset in the first number of frames image the degree of jitter of corresponding described terminal less than or
Equal to the first image of default second degree of jitter, and determine corresponding described terminal in described default second number of frames image
Degree of jitter is less than or equal to the second image presetting the 3rd degree of jitter.
Synthesis unit, is used for utilizing preset algorithm that described first image and described second image are carried out synthesis process, with
Obtain image of taking pictures.
Optionally, described preset algorithm includes linear superposition composition algorithm.
The embodiment of the present invention third aspect provides a kind of terminal, including: processor, the first photographic head, second camera
And memorizer, described memorizer has program stored therein, and described processor calls the described program of storage in described memorizer, is used for
When the photographing instruction of input being detected, utilize described first photographic head capture to preset the first number of frames image, and utilize described the
The second number of frames images are preset in two photographic head captures, and utilize preset algorithm to preset the first number of frames image and described to described
Preset the second number of frames image and carry out synthesis process.
In the embodiment of the present invention, terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the
One number of frames image, and utilize second camera capture to preset the second number of frames image, this is preset the by recycling preset algorithm
One number of frames image is preset the second number of frames image with this and is carried out synthesis process, obtains composograph, can eliminate and scheme when taking pictures
The smear blooming of picture, promotes the quality of image of taking pictures.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the first embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides;
Fig. 3 is the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Terminal described in the embodiment of the present invention can be specifically possess the smart mobile phone of dual camera, panel computer,
Mobile internet device (mobile internet device, MID) and intelligence wearable device etc..
Refer to Fig. 1, for the first embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides.
Image processing method described in the present embodiment, comprises the following steps:
101, terminal is when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the first number of frames figure
Picture.
Concrete, user can be inputted by modes such as touch operation/pressing physical button/Voice command/gesture controls
Photographing instruction, this terminal, when this photographing instruction that this user inputs being detected, utilizes this first photographic head to capture pre-continuously
If the first number of frames image, wherein, this presets the first quantity can be such as 3, i.e. this terminal utilizes this first photographic head continuous
Ground capture 3 two field pictures.
102, described terminal utilizes second camera capture to preset the second number of frames image.
In implementing, this terminal can be preset in the first number of frames image utilizing this first photographic head to capture this
During last frame image, recycling this second camera and capture default second number of frames image continuously, wherein, this presets second
Quantity can be such as 6, and when i.e. this terminal utilizes this first photographic head to capture 3 two field picture in this 3 two field picture, utilizing should
Second camera captures 6 two field pictures continuously.
103, described terminal utilizes preset algorithm to preset the first number of frames image and described default second number of frames to described
Image carries out synthesis process.
Wherein, this preset algorithm can be specifically linear superposition composition algorithm.
Concrete, this terminal can utilize linear superposition composition algorithm that this is preset the first number of frames image and preset the with this
Two number of frames image synthesis, to obtain image of taking pictures.
Wherein, in this first photographic head and this second camera, can one be common camera, another is taken the photograph for Radix Rumicis
As head.The embodiment of the present invention can be this first photographic head be common camera, this second camera is wide-angle camera.
In the embodiment that some are feasible, this terminal utilize this first photographic head capture continuously this preset first number
During amount two field picture, in real time the image captured can be resolved, determine that the image captured exists smear mould
Stick with paste region, and then this terminal utilize this second camera capture this preset the second number of frames image time, can by focus from
The photograph subject that above-mentioned smear fuzzy region is corresponding is arrived in dynamic focusing, to capture above-mentioned smear fuzzy region by this second camera
The picture rich in detail of corresponding photograph subject, thus above-mentioned smear fuzzy region can be eliminated by image synthesis.
It is understood that according to the different demands of the effect to the image of taking pictures obtained by image synthesis, can adopt
Carrying out image synthesis with other type of algorithm, the embodiment of the present invention does not limits.
It should be noted that preset the first quantity for this and this magnitude relationship preset between the second quantity does not limits
System, it is contemplated that this is preset the first number of frames image and this is preset the second number of frames image and carries out requiring time for as synthesis processes,
For ensureing that user obtains good experience of taking pictures, can see, after input photographing instruction, image of taking pictures in time, can be limited this
Presetting the first quantity and must not exceed default value with this summation presetting the second quantity, such as, it is pre-with this that this presets the first quantity
If the summation of the second quantity is less than 9, above-mentioned is only to preset the first quantity for 3 with this, and this presets the second quantity is 6 citings, when
So, it is also possible to be this to preset the first quantity be 6, this presets the second quantity is 3, etc..
In the embodiment of the present invention, terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the
One number of frames image, and utilize second camera capture to preset the second number of frames image, this is preset the by recycling preset algorithm
One number of frames image is preset the second number of frames image with this and is carried out synthesis process, obtains composograph, can eliminate and scheme when taking pictures
The smear blooming of picture, promotes the quality of image of taking pictures.
Refer to Fig. 2, for the second embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides.
Image processing method described in the present embodiment, comprises the following steps:
201, terminal is when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the first number of frames figure
Picture.
Concrete, user can be inputted by modes such as touch operation/pressing physical button/Voice command/gesture controls
Photographing instruction, this terminal, when this photographing instruction that this user inputs being detected, utilizes this first photographic head to capture pre-continuously
If the first number of frames image, wherein, this presets the first quantity can be such as 3, i.e. this terminal utilizes this first photographic head continuous
Ground capture 3 two field pictures.
Meanwhile, this terminal utilize this first photographic head capture continuously this preset the first number of frames image time, can be in order to
Obtain with gravity sensor, gyroscope etc. and record this capture terminal of this capture terminal this preset in the first number of frames image every
The degree of jitter of this terminal during one two field picture, this terminal degree of jitter such as can pass through tri-directions of three-dimensional system of coordinate X, Y, Z
On acceleration represent.
202, described terminal obtain utilize described first photographic head capture described preset in the first number of frames image the
During one two field picture, the degree of jitter of described terminal.
203, whether the degree of jitter of terminal described in described terminal judges is more than or equal to presetting the first degree of jitter, if
It is then to perform step 204;If it is not, then perform step 205.
Wherein, this presets degree of jitter when the first degree of jitter can be specifically to affect bigger on image definition, its
Occurrence can be adjusted flexibly according to the actual requirements, and the embodiment of the present invention does not limits.
Concrete, this terminal obtains pre-recorded presets the first number of frames image utilizing this first photographic head to capture this
In the first two field picture time, the degree of jitter of this terminal, and preset the first degree of jitter with this and compare, if greater than or etc.
Preset the first degree of jitter in this, then perform step 204;Preset the first degree of jitter if less than this, then perform step 205.
204, described terminal is after experience preset duration, utilizes second camera capture to preset the second number of frames image.
Concrete, this terminal presets the first two field picture in the first number of frames image utilizing this first photographic head to capture this
Time, if the degree of jitter of this terminal presets the first degree of jitter more than or equal to this, when i.e. the shake of this terminal is more serious, permissible
Wait after preset duration, recycle this second camera and capture this and preset the second number of frames image, can by postponing one section time
Between, avoid utilizing this second camera to capture this when the shake of this terminal is more serious as far as possible and preset the second number of frames image.
Wherein, for the selection of this preset duration, can be such as this terminal utilize this first photographic head capture this preset
The duration that first number of frames image is experienced, i.e. utilizes this first photographic head to capture this in this terminal and presets the first number of frames image
In the first two field picture time, if the degree of jitter of this terminal more than or equal to this preset the first degree of jitter, then this terminal exists
When utilizing this first photographic head to capture this last frame image preset in the first number of frames image, utilize this second camera
The second number of frames figure is preset in capture continuously.For the selection of this preset duration, the embodiment of the present invention does not limits.
In the embodiment that some are feasible, after this terminal waits this preset duration, it is also possible to acquisition now this terminal
Degree of jitter, if the degree of jitter of this terminal now presets the first degree of jitter less than this, then this terminal just utilize this
Two photographic head capture this and preset the second number of frames image.
205, described terminal utilizes the described default second number of frames image of described second camera capture.
Concrete, this terminal presets the first two field picture in the first number of frames image utilizing this first photographic head to capture this
Time, if the degree of jitter of this terminal presets the first degree of jitter less than this, i.e. the shake of this terminal is relatively slight or does not has shake
Time, this second camera can be utilized immediately to capture this continuously and to preset the second number of frames image.
Similarly, this terminal utilize this second camera capture continuously this preset the second number of frames image time, permissible
Gravity sensor, gyroscope etc. is utilized to obtain and record this capture terminal of this capture terminal this is preset in the second number of frames image
The degree of jitter of this terminal during each two field picture, this terminal degree of jitter such as can pass through tri-sides of three-dimensional system of coordinate X, Y, Z
Acceleration upwards represents.
206, when described terminal obtains each two field picture in capturing described default first number of frames image recorded, institute
State the degree of jitter of terminal, and when obtaining each two field picture in capturing described default second number of frames image of record,
The degree of jitter of described terminal.
207, described terminal determine described preset in the first number of frames image the degree of jitter of corresponding described terminal less than or
Equal to the first image of default second degree of jitter, and determine corresponding described terminal in described default second number of frames image
Degree of jitter is less than or equal to the second image presetting the 3rd degree of jitter.
Wherein, this preset the second degree of jitter and this preset the 3rd degree of jitter can respectively according to this first photographic head and
The performance parameter of this second camera determines, this preset the second degree of jitter and this preset the 3rd degree of jitter can be equal, also
Can not wait.Preset the first degree of jitter simultaneously for this, this presets the second degree of jitter and this presets the 3rd degree of jitter three
Magnitude relationship between person does not limits.
Concrete, this terminal, according to pre-recorded degree of jitter, is preset the first number of frames image from this respectively and is determined
Go out whole to the degree of jitter of terminal presetting the first image of the second degree of jitter less than or equal to this and pre-from this
If the second number of frames image being determined whole to the degree of jitter of terminal presetting the 3rd shake journey less than or equal to this
Second image of degree, i.e. presets the first number of frames image from this of capture and this is preset and finds out should the second number of frames image
The image of capture when the degree of jitter of terminal is less.
In the embodiment that some are feasible, if this is preset in the first number of frames image not to should the shake of terminal
Degree presets the image of the second degree of jitter less than or equal to this, the most now can consider that suitably increasing this presets the second shake journey
Degree, then by this preset each two field picture in the first number of frames image to should terminal degree of jitter with increase after this preset the
Two degree of jitter compare, and find out at least 1 to should the shake journey of terminal until presetting from this first number of frames image
Degree presets the image of the second degree of jitter less than or equal to this after increasing.Similarly, if this presets the second number of frames image
In not to should the degree of jitter of the terminal image of presetting the 3rd degree of jitter less than or equal to this, the most now can consider to fit
Preset the 3rd degree of jitter when increasing this, then this is preset each two field picture in the second number of frames image to should the shake of terminal
Degree with increase after this preset the 3rd degree of jitter and compare, find out at least until presetting the second number of frames image from this
1 to the degree of jitter of terminal presetting the image of the 3rd degree of jitter less than or equal to this after increasing.
208, described terminal utilizes preset algorithm that described first image and described second image are carried out synthesis process, with
To image of taking pictures.
Wherein, this preset algorithm can be specifically linear superposition composition algorithm.
Concrete, this terminal can utilize linear superposition composition algorithm to be synthesized with this second image by this first image, with
Obtain image of taking pictures.
In the embodiment of the present invention, terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the
One number of frames image, obtain record is utilizing this first photographic head to capture this first frame figure presetting in the first number of frames image
The degree of jitter of this terminal during picture, if greater than or equal to preset the first degree of jitter, then this terminal experience preset duration after,
Second camera capture is utilized to preset the second number of frames image;Preset the first degree of jitter if less than this, then this terminal is direct
Utilize second camera capture to preset the second number of frames image, and preset the first number of frames image from this of capture and this presets the
Two number of frames images are found out to should the degree of jitter of terminal less time capture image, and then utilize preset algorithm to correspondence
The image captured when the degree of jitter of this terminal is less carries out synthesis and processes the image that obtains taking pictures, by trembling in terminal as far as possible
When traverse degree is less capture image, and choose terminal degree of jitter less time capture image carry out synthesis process, can disappear
Except the smear blooming of image when taking pictures, promote the quality of image of taking pictures.
Refer to Fig. 3, for the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides.The present embodiment
Described in terminal, including:
Detection module 301, for detecting the photographing instruction of input.
Trapping module 302, for when described detection module detects described photographing instruction, utilizes the first photographic head capture
Preset the first number of frames image.
Described trapping module 302, is additionally operable to utilize second camera capture to preset the second number of frames image.
Synthesis module 303, is used for utilizing preset algorithm to preset the first number of frames image and described default second number to described
Amount two field picture carries out synthesis process.
In the embodiment that some are feasible, described trapping module 302 utilizes second camera capture to preset the second quantity
The concrete mode of two field picture is:
When utilizing described first photographic head to capture the described last frame image preset in the first number of frames image, profit
The second number of frames image is preset with second camera capture.
In the embodiment that some are feasible, described trapping module 302 includes:
First acquiring unit 3020, is utilizing the described first described default first number of frames figure of photographic head capture for obtaining
During the first two field picture in Xiang, the degree of jitter of described terminal.
Judging unit 3021, for judging that whether the degree of jitter of described terminal is more than or equal to presetting the first shake journey
Degree.
Capturing unit 3022, for when the judged result of described judging unit is for being, after experience preset duration, utilizes
The second number of frames image is preset in second camera capture.
Described capturing unit 3022, is additionally operable to, when the judged result of described judging unit is no, utilize described second to take the photograph
The second number of frames image is preset as head capture is described.
In the embodiment that some are feasible, described synthesis module 303 includes:
Second acquisition unit 3030, for obtaining each frame in the described default first number of frames image of capture of record
During image, the degree of jitter of described terminal, and obtain record capture described preset in the second number of frames image each
During two field picture, the degree of jitter of described terminal.
Determine unit 3031, for determining that in described default first number of frames image, the degree of jitter of corresponding described terminal is little
In or equal to presetting the first image of the second degree of jitter, and determine and described preset in the second number of frames image corresponding described end
The degree of jitter of end is less than or equal to the second image presetting the 3rd degree of jitter.
Synthesis unit 3032, is used for utilizing preset algorithm to carry out described first image and described second image at synthesis
Reason, to obtain image of taking pictures.
In the embodiment that some are feasible, described preset algorithm includes linear superposition composition algorithm.
It should be noted that the function of each functional module of the terminal of the embodiment of the present invention and unit can be according to above-mentioned side
Method in method embodiment implements, and it implements process and is referred to the associated description of said method embodiment, herein
Repeat no more.
In the embodiment of the present invention, terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the
One number of frames image, and utilize second camera capture to preset the second number of frames image, this is preset the by recycling preset algorithm
One number of frames image is preset the second number of frames image with this and is carried out synthesis process, obtains composograph, can eliminate and scheme when taking pictures
The smear blooming of picture, promotes the quality of image of taking pictures.
Refer to Fig. 4, for the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.The present embodiment
Described in terminal, including processor 401, user interface 402, network interface 403 and memorizer 404.Wherein, in terminal
Processor 401, user interface 402, network interface 403 and memorizer 404 can be connected, at this by bus or other modes
In Fig. 4 shown in bright embodiment as a example by being connected by bus.
Wherein, user interface 402 is to realize user to interact with terminal and the medium of information exchange, and it specifically embodies can
With include for output display screen (Display), touch screen, for input keyboard (Keyboard), be used for capturing image
Photographic head etc., it should be noted that display screen and touch screen herein can be the integrated design, keyboard both can be real
Body keyboard, it is also possible to for touch screen dummy keyboard, it is also possible to for the virtual keyboard combined of entity and touch screen, photographic head is the most permissible
It is dual camera, including the first photographic head and second camera.Processor 401 (or claim CPU (Central Processing
Unit, central processing unit)) be calculating core and the control core of terminal, its can resolve all kinds of instructions in terminal and
The Various types of data of processing terminal, such as: CPU may be used for resolving the switching on and shutting down instruction that user is sent to terminal, and controls end
End carries out switching on and shutting down operation;For another example: CPU can transmit all kinds of interaction data between terminal inner structure, etc..Memorizer
(Memory) 404 is the memory device in terminal, is used for program of depositing and data.It is understood that memorizer 404 herein
Both the internal memory of terminal can have been included, naturally it is also possible to include the extended menory that terminal is supported.Memorizer 404 provides
Memory space, this memory space stores the operating system of terminal, it may include but be not limited to: Windows system (a kind of operation system
System), Android (Android, a kind of Mobile operating system) system, IOS (a kind of Mobile operating system) system etc..Processor
401 for performing the program of memorizer 404 storage.Wherein:
Described processor 401, for when the photographing instruction inputted by user interface 402 being detected, utilizing first to take the photograph
As the first number of frames image is preset in head capture.
Described processor 401, is additionally operable to utilize second camera capture to preset the second number of frames image.
Described processor 401, is additionally operable to utilize preset algorithm preset the first number of frames image to described and described preset the
Two number of frames images carry out synthesis process.
In the embodiment that some are feasible, described processor 401 utilizes second camera capture to preset the second number of frames
The concrete mode of image is:
When utilizing described first photographic head to capture the described last frame image preset in the first number of frames image, profit
The second number of frames image is preset with second camera capture.
In the embodiment that some are feasible, described processor 401 utilizes second camera capture to preset the second number of frames
The concrete mode of image is:
When obtaining the first two field picture in utilizing the described first described default first number of frames image of photographic head capture, institute
State the degree of jitter of terminal.
Judge that whether the degree of jitter of described terminal is more than or equal to presetting the first degree of jitter.
The most then after experience preset duration, second camera capture is utilized to preset the second number of frames image.
If it is not, then utilize, the capture of described second camera is described presets the second number of frames image.
In the embodiment that some are feasible, described processor 401 utilizes preset algorithm to preset the first number of frames to described
The concrete mode that image and described default second number of frames image carry out synthesis process is:
When obtaining each two field picture in capturing described default first number of frames image of record, the shake of described terminal
Degree, and when obtaining each two field picture in capturing described default second number of frames image of record, trembling of described terminal
Traverse degree.
Determine that in described default first number of frames image, the degree of jitter of corresponding described terminal is less than or equal to presetting second
First image of degree of jitter, and determine that in described default second number of frames image, the degree of jitter of corresponding described terminal is less than
Or equal to presetting the second image of the 3rd degree of jitter.
Utilize preset algorithm that described first image and described second image are carried out synthesis process, to obtain image of taking pictures.
In the embodiment that some are feasible, described preset algorithm includes linear superposition composition algorithm.
In implementing, processor 401, user interface 402 described in the embodiment of the present invention, network interface 403 can
The implementation of the terminal described in image processing method that execution embodiment of the present invention Fig. 1 and Fig. 2 provide, it is possible to perform basis
The implementation of the terminal described by inventive embodiments Fig. 3, does not repeats them here.
In the embodiment of the present invention, terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the
One number of frames image, and utilize second camera capture to preset the second number of frames image, this is preset the by recycling preset algorithm
One number of frames image is preset the second number of frames image with this and is carried out synthesis process, obtains composograph, can eliminate and scheme when taking pictures
The smear blooming of picture, promotes the quality of image of taking pictures.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible
Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access
Memory, is called for short RAM) etc..
A kind of image processing method provided the embodiment of the present invention above and terminal are described in detail, herein
Applying specific case to be set forth principle and the embodiment of the present invention, the explanation of above example is only intended to help
Understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention,
The most all will change, in sum, this specification content should not be construed as this
The restriction of invention.
Claims (11)
1. an image processing method, it is characterised in that including:
Terminal, when the photographing instruction of input being detected, utilizes the first photographic head capture to preset the first number of frames image;
Described terminal utilizes second camera capture to preset the second number of frames image;
Described terminal utilizes preset algorithm to carry out described default first number of frames image and described second number of frames image of presetting
Synthesis processes.
Method the most according to claim 1, it is characterised in that described terminal utilizes second camera capture to preset the second number
Amount two field picture, including:
Described terminal captures the described last frame image preset in the first number of frames image utilizing described first photographic head
Time, utilize second camera capture to preset the second number of frames image.
Method the most according to claim 1, it is characterised in that described terminal utilizes second camera capture to preset the second number
Amount two field picture, including:
Described terminal obtains and is utilizing described first described the first two field picture preset in the first number of frames image of photographic head capture
Time, the degree of jitter of described terminal;
Whether the degree of jitter of terminal described in described terminal judges is more than or equal to presetting the first degree of jitter;
The most described terminal, after experience preset duration, utilizes second camera capture to preset the second number of frames image;
If it is not, the most described terminal utilizes, the capture of described second camera is described presets the second number of frames image.
4. according to the method according to any one of claims 1 to 3, it is characterised in that described terminal utilizes preset algorithm to institute
State default first number of frames image and described second number of frames image of presetting carries out synthesis process, including:
When described terminal obtains each two field picture in capturing described default first number of frames image of record, described terminal
Degree of jitter, and when obtaining each two field picture in capturing described default second number of frames image of record, described terminal
Degree of jitter;
Described terminal determines that in described default first number of frames image, the degree of jitter of corresponding described terminal is less than or equal to presetting
First image of the second degree of jitter, and determine the degree of jitter of corresponding described terminal in described default second number of frames image
Less than or equal to the second image presetting the 3rd degree of jitter;
Described terminal utilizes preset algorithm that described first image and described second image are carried out synthesis process, to obtain figure of taking pictures
Picture.
Method the most according to claim 1, it is characterised in that
Described preset algorithm includes linear superposition composition algorithm.
6. a terminal, it is characterised in that including:
Detection module, for detecting the photographing instruction of input;
Trapping module, for when described detection module detects described photographing instruction, utilizes the first photographic head capture to preset the
One number of frames image;
Described trapping module, is additionally operable to utilize second camera capture to preset the second number of frames image;
Synthesis module, is used for utilizing preset algorithm to preset the first number of frames image and described default second number of frames image to described
Carry out synthesis process.
Terminal the most according to claim 6, it is characterised in that described trapping module utilizes second camera capture to preset the
The concrete mode of two number of frames images is:
When utilizing described first photographic head to capture the described last frame image preset in the first number of frames image, utilize the
The second number of frames image is preset in two photographic head captures.
Terminal the most according to claim 6, it is characterised in that described trapping module includes:
First acquiring unit, for obtain utilize described first photographic head capture described preset in the first number of frames image the
During one two field picture, the degree of jitter of described terminal;
Judging unit, for judging that whether the degree of jitter of described terminal is more than or equal to presetting the first degree of jitter;
Capturing unit, for when the judged result of described judging unit is for being, after experience preset duration, utilizes the second shooting
The second number of frames image is preset in head capture;
Described capturing unit, is additionally operable to, when the judged result of described judging unit is no, utilize described second camera to capture
Described default second number of frames image.
9. according to the terminal according to any one of claim 6~8, it is characterised in that described synthesis module includes:
Second acquisition unit, during for obtaining each two field picture in capturing described default first number of frames image of record,
The degree of jitter of described terminal, and obtain each two field picture in the described default second number of frames image of capture of record
Time, the degree of jitter of described terminal;
Determine unit, for determining that in described default first number of frames image, the degree of jitter of corresponding described terminal is less than or equal to
Preset the first image of the second degree of jitter, and determine the shake of corresponding described terminal in described default second number of frames image
Degree is less than or equal to the second image presetting the 3rd degree of jitter;
Synthesis unit, is used for utilizing preset algorithm that described first image and described second image are carried out synthesis process, to obtain
Take pictures image.
Terminal the most according to claim 6, it is characterised in that
Described preset algorithm includes linear superposition composition algorithm.
11. 1 kinds of terminals, it is characterised in that including: processor, the first photographic head, second camera and memorizer, described storage
Device has program stored therein, and described processor calls the described program of storage in described memorizer, for taking pictures of input being detected
During instruction, utilize described first photographic head capture to preset the first number of frames image, and utilize the capture of described second camera to preset
Second number of frames image, and utilize preset algorithm to preset the first number of frames image and described default second number of frames figure to described
As carrying out synthesis process.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610799795.6A CN106331497B (en) | 2016-08-31 | 2016-08-31 | A kind of image processing method and terminal |
PCT/CN2016/103998 WO2018040269A1 (en) | 2016-08-31 | 2016-10-31 | Image processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610799795.6A CN106331497B (en) | 2016-08-31 | 2016-08-31 | A kind of image processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106331497A true CN106331497A (en) | 2017-01-11 |
CN106331497B CN106331497B (en) | 2019-06-11 |
Family
ID=57786291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610799795.6A Active CN106331497B (en) | 2016-08-31 | 2016-08-31 | A kind of image processing method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106331497B (en) |
WO (1) | WO2018040269A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713656A (en) * | 2017-01-13 | 2017-05-24 | 努比亚技术有限公司 | Photographing method and mobile terminal |
CN107360369A (en) * | 2017-07-18 | 2017-11-17 | 深圳天珑无线科技有限公司 | The photographic method of camera device and camera device, storage device |
CN108668075A (en) * | 2018-03-29 | 2018-10-16 | 青岛海信移动通信技术股份有限公司 | A kind of photographic method and device |
CN109218628A (en) * | 2018-09-20 | 2019-01-15 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and storage medium |
CN109257540A (en) * | 2018-11-05 | 2019-01-22 | 浙江舜宇光学有限公司 | Take the photograph photography bearing calibration and the camera of lens group more |
CN109525774A (en) * | 2017-09-19 | 2019-03-26 | 三星电子株式会社 | For correcting the electronic device of image and operating the method for the electronic device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116582741B (en) * | 2020-05-07 | 2023-11-28 | 华为技术有限公司 | Shooting method and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11155096A (en) * | 1997-11-21 | 1999-06-08 | Canon Inc | Image pickup device, computer readable storage medium and image processor |
CN103442169A (en) * | 2013-07-29 | 2013-12-11 | 北京智谷睿拓技术服务有限公司 | Method for having control over shooting function of image collection device and image collection device |
TW201611598A (en) * | 2014-09-12 | 2016-03-16 | 聚晶半導體股份有限公司 | Method of capturing images and device of capturing images using the method |
CN105578023A (en) * | 2015-05-27 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Image quick photographing method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101356269B1 (en) * | 2009-09-08 | 2014-01-29 | 주식회사 팬택 | Mobile terminal with dual camera and method for image processing using the same |
CN103051836B (en) * | 2012-12-14 | 2016-03-30 | 中兴通讯股份有限公司 | Mobile terminal stabilization photographic method and device |
CN103780840B (en) * | 2014-01-21 | 2016-06-08 | 上海果壳电子有限公司 | Two camera shooting image forming apparatus of a kind of high-quality imaging and method thereof |
CN104954689B (en) * | 2015-06-30 | 2018-06-26 | 努比亚技术有限公司 | A kind of method and filming apparatus that photo is obtained using dual camera |
CN105611187A (en) * | 2015-12-22 | 2016-05-25 | 歌尔声学股份有限公司 | Image wide dynamic compensation method and system based on double cameras |
CN105827964B (en) * | 2016-03-24 | 2019-05-17 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
-
2016
- 2016-08-31 CN CN201610799795.6A patent/CN106331497B/en active Active
- 2016-10-31 WO PCT/CN2016/103998 patent/WO2018040269A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11155096A (en) * | 1997-11-21 | 1999-06-08 | Canon Inc | Image pickup device, computer readable storage medium and image processor |
CN103442169A (en) * | 2013-07-29 | 2013-12-11 | 北京智谷睿拓技术服务有限公司 | Method for having control over shooting function of image collection device and image collection device |
TW201611598A (en) * | 2014-09-12 | 2016-03-16 | 聚晶半導體股份有限公司 | Method of capturing images and device of capturing images using the method |
CN105578023A (en) * | 2015-05-27 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Image quick photographing method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713656A (en) * | 2017-01-13 | 2017-05-24 | 努比亚技术有限公司 | Photographing method and mobile terminal |
CN107360369A (en) * | 2017-07-18 | 2017-11-17 | 深圳天珑无线科技有限公司 | The photographic method of camera device and camera device, storage device |
CN109525774A (en) * | 2017-09-19 | 2019-03-26 | 三星电子株式会社 | For correcting the electronic device of image and operating the method for the electronic device |
US11128803B2 (en) | 2017-09-19 | 2021-09-21 | Samsung Electronics Co., Ltd. | Electronic device for correcting image and method for operating the same |
CN109525774B (en) * | 2017-09-19 | 2022-04-15 | 三星电子株式会社 | Electronic device for correcting image and method for operating the same |
CN108668075A (en) * | 2018-03-29 | 2018-10-16 | 青岛海信移动通信技术股份有限公司 | A kind of photographic method and device |
CN109218628A (en) * | 2018-09-20 | 2019-01-15 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and storage medium |
CN109218628B (en) * | 2018-09-20 | 2020-12-08 | Oppo广东移动通信有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
CN109257540A (en) * | 2018-11-05 | 2019-01-22 | 浙江舜宇光学有限公司 | Take the photograph photography bearing calibration and the camera of lens group more |
Also Published As
Publication number | Publication date |
---|---|
CN106331497B (en) | 2019-06-11 |
WO2018040269A1 (en) | 2018-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331497A (en) | Image processing method and terminal | |
CN102196178B (en) | Image pickup apparatus and its control method | |
CN107846515A (en) | shooting parameter adjustment method, device and terminal | |
CN110035228B (en) | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium | |
CN110290324B (en) | Device imaging method and device, storage medium and electronic device | |
CN109688320A (en) | The convenient Intelligent target for capturing consecutive image | |
CN106416222A (en) | Real-time capture exposure adjust gestures | |
CN108322663B (en) | Photographing method, device, terminal and storage medium | |
CN108737739B (en) | Preview picture acquisition method, preview picture acquisition device and electronic equipment | |
CN110290299B (en) | Imaging method, imaging device, storage medium and electronic equipment | |
CN107948505B (en) | Panoramic shooting method and mobile terminal | |
CN111601040B (en) | Camera control method and device and electronic equipment | |
CN112714253B (en) | Video recording method and device, electronic equipment and readable storage medium | |
CN105049695A (en) | Video recording method and device | |
WO2018045592A1 (en) | Image shooting method and device, and terminal | |
CN112954212B (en) | Video generation method, device and equipment | |
CN107682635A (en) | Image capturing method, device, terminal and storage medium | |
CN109218614A (en) | A kind of automatic photographing method and mobile terminal of mobile terminal | |
CN106249508A (en) | Atomatic focusing method and system, filming apparatus | |
CN105262948A (en) | Panorama capturing method and mobile terminal | |
CN103402058A (en) | Shot image processing method and device | |
CN113596294A (en) | Shooting method and device and electronic equipment | |
CN114390201A (en) | Focusing method and device thereof | |
CN112422798A (en) | Photographing method and device, electronic equipment and storage medium | |
CN107566724B (en) | Panoramic image shooting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |