CN102883099B - Anti-shake method and device for shooting - Google Patents

Anti-shake method and device for shooting Download PDF

Info

Publication number
CN102883099B
CN102883099B CN201110196560.5A CN201110196560A CN102883099B CN 102883099 B CN102883099 B CN 102883099B CN 201110196560 A CN201110196560 A CN 201110196560A CN 102883099 B CN102883099 B CN 102883099B
Authority
CN
China
Prior art keywords
described
camera
image
variable parameter
definition
Prior art date
Application number
CN201110196560.5A
Other languages
Chinese (zh)
Other versions
CN102883099A (en
Inventor
骆磊
Original Assignee
中国移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司 filed Critical 中国移动通信有限公司
Priority to CN201110196560.5A priority Critical patent/CN102883099B/en
Publication of CN102883099A publication Critical patent/CN102883099A/en
Application granted granted Critical
Publication of CN102883099B publication Critical patent/CN102883099B/en

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B5/00Adjustment of optical system relative to image or object surface other than for focusing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/232Devices for controlling television cameras, e.g. remote control ; Control of cameras comprising an electronic image sensor
    • H04N5/23248Devices for controlling television cameras, e.g. remote control ; Control of cameras comprising an electronic image sensor for stable pick-up of the scene in spite of camera body vibration
    • H04N5/23264Vibration or motion blur correction
    • H04N5/23267Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory

Abstract

The invention discloses an anti-shake method for shooting and an anti-shake device for shooting. The anti-shake method for shooting comprises the following steps: obtaining an image collected at the shooting moment of a first camera shot image by a second camera whose lens direction is opposite to the lens direction of the first camera; determining a first position change parameter required in the process of performing an electronic anti-shake treatment according to the obtained image; and performing the electronic anti-shake treatment on the image collected at the shooting moment by the first camera on the basis of the determined first position change parameter. By adopting the solution provided by the embodiment of the invention, under the condition that the shooting environment of the first camera is worse than that of the second camera, a better anti-shake effect can be obtained, so that the clearness degree of the shot image is improved.

Description

A kind of shooting anti-fluttering method and device

Technical field

The present invention relates to image capture processing technology field, particularly relate to a kind of shooting anti-fluttering method and device.

Background technology

In existing technique for taking, when using capture apparatus to take, will be undertaken photosensitive by sensor devices in the shooting duration once taking correspondence, and will the photosensitive all imaging importing obtained be piece image in shooting duration.But, because user may make capture apparatus shake in the process of shooting, to cause once taking in duration not in the same time photosensitive obtaining create small change in location between image, comprise change in displacement and angle change etc., be superimposed so the multiple image changed position can be there is, obtain fuzzy and image that is ghost image, and then cause the unclear problem of photographic images.

In order to solve this technical problem, proposing in prior art and using electronic flutter-proof technology to carry out stabilization process to the image gathered during shooting, thus when user uses capture apparatus that shake occurs in the process of taking, still can shoot clearly image.At present, existing electronic flutter-proof technical scheme is as follows:

This multiple image gathered when once taking is analyzed, by carrying out image comparison to the clear multizone/sharp objects edge of every width image, determine that (camera lens that in vibrations, small vibrations produce is movable due to smaller for twin shaft translational displacement angle between image, and small seesawing affects very micro-on final image, so often do not consider the movement of fore-and-aft direction in electronic flutter-proof) and three axle angles of rotation, can be specifically specify piece image in this multiple image, as using piece image as appointment image, then the change in location parameter of all the other every width images this appointment image relative in this multiple image is determined, and determine the mean value of each position variable parameter obtained, then according to this mean value to all the other every width correct images, obtain the image after correcting, finally this appointment image is superposed with image after each correction, synthesize width image relatively clearly.For video capture, carry out electronic flutter-proof process according to same principle, synthesize the multiple images needed for a two field picture according to frame per second collection so distinguish.

But, in the scheme of above-mentioned electronic flutter-proof, when determining the change in location between the multiple images gathered, if the current residing shooting environmental of camera is poor, the definition of gathered image may be caused lower, thus cause the change in location situation between determined image not accurate enough, thus cause follow-uply cannot obtaining preferably stabilization effect when carrying out electronic flutter-proof process according to determined change in location situation.

Summary of the invention

The embodiment of the present invention provides a kind of shooting anti-fluttering method and device, in order to improve the stabilization effect of carrying out stabilization process, thus improve photographic images know degree.

The embodiment of the present invention provides a kind of shooting anti-fluttering method, comprising:

Obtain the image that the lens direction second camera contrary with the lens direction of the first camera gathered in the shooting moment of described first camera photographic images;

According to the image obtained, primary importance variable parameter required when determining to carry out electronic flutter-proof process;

Based on the described primary importance variable parameter determined, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.

The embodiment of the present invention also provides a kind of shooting anti-shake apparatus, comprising:

Acquiring unit, for obtaining the image that the lens direction second camera contrary with the lens direction of the first camera gathered in the shooting moment of described first camera photographic images;

Parameter determining unit, for the image according to acquisition, primary importance variable parameter required when determining to carry out electronic flutter-proof process;

Processing unit, for based on the described primary importance variable parameter determined, carries out electronic flutter-proof process to described first camera at the image that the described shooting moment gathers.

Beneficial effect of the present invention comprises:

In the method that the embodiment of the present invention provides, the camera that current shooting uses is the first camera, but when carrying out stabilization process to the first camera at the image taking moment collection, that the primary importance variable parameter that the second camera contrary with the lens direction of the first camera according to lens direction is determined at the image that this shooting moment gathers carries out, so, when when the shooting environmental residing for the first camera is poorer than the shooting environmental residing for second camera, due to according to second camera gather the primary importance variable parameter that image determines, compare according to the first camera to gather the change in location parameter that image determines more accurate, so based on this primary importance variable parameter, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera, better stabilization effect can be obtained, thus under this shooting environmental, clearer photographic images can be obtained compared to existing technology.

Accompanying drawing explanation

The flow chart of the shooting anti-fluttering method that Fig. 1 provides for the embodiment of the present invention;

The flow chart of shooting anti-fluttering method of Fig. 2 for providing in the embodiment of the present invention 1;

Fig. 3 is because capture apparatus generation translation produces the schematic diagram at translational displacement angle in the embodiment of the present invention 1;

Fig. 4 produces the schematic diagram of angle of rotation because capture apparatus rotates in the embodiment of the present invention 1;

The flow chart of shooting anti-fluttering method of Fig. 5 for providing in the embodiment of the present invention 2;

The structural representation of shooting anti-shake apparatus of Fig. 6 for providing in the embodiment of the present invention 3.

Embodiment

In order to provide the stabilization effect improving and carry out stabilization process, thus improve the implementation knowing degree of photographic images, embodiments provide a kind of shooting anti-fluttering method and device, below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein, only for instruction and explanation of the present invention, is not intended to limit the present invention.And when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.

The embodiment of the present invention provides a kind of shooting anti-fluttering method, as shown in Figure 1, comprising:

The image that step S101, the second camera that acquisition lens direction is contrary with the lens direction of the first camera gathered in the shooting moment of the first camera photographic images.

Step S102, according to obtain image, primary importance variable parameter required when determining to carry out electronic flutter-proof process.

Step S103, based on the primary importance variable parameter determined, at the image that this shooting moment gathers, electronic flutter-proof process is carried out to the first camera.

In above-mentioned shooting anti-fluttering method, first camera and second camera are two cameras belonging to same capture apparatus, and the lens direction of these two cameras is contrary, namely 180 degree are differed, namely usually said forward direction camera and backward camera, in the embodiment of the present application, for the ease of description and the understanding of scheme, the camera of current responsible shooting in these two cameras is called the first camera, another camera is called second camera.

In the embodiment of the present invention, when shooting environmental residing for second camera is better than shooting environmental residing for the first camera, such as, under second camera is in frontlighting environment, and under the first camera is in backlight environment, the definition of the image of now second camera collection will be greater than the definition of the image of the first camera collection, so according to the image of second camera collection determine carry out electronic flutter-proof process time required change in location parameter (for ease of distinguishing, follow-up this change in location parameter is called primary importance variable parameter), with determine according to the image of the first camera collection carry out electronic flutter-proof process time required change in location parameter (for ease of distinguishing, follow-up this change in location parameter is called second place variable parameter) compare, to be more accurate, so, under this shooting environmental, based on primary importance variable parameter, at the image that the shooting moment gathers, the stabilization effect that electronic flutter-proof process obtains is carried out to the first camera, based on second place variable parameter, at the image that the shooting moment gathers, the stabilization effect that electronic flutter-proof process obtains is carried out to the first camera by being better than, namely through stabilization process the image shot know that degree is higher.

Below in conjunction with accompanying drawing, with specific embodiment, method provided by the invention and device are described in detail.

Embodiment 1:

The flow chart of the shooting anti-fluttering method provided in the embodiment of the present invention 1 is provided, specifically comprises following treatment step:

Step S201, after opening the first camera of using of current shooting, the first camera is by real-time image acquisition, and buffer memory.Capture apparatus belonging to first camera then obtains the image of the first camera collection, can be specifically periodically to obtain current gathered latest image, and the acquisition cycle can be determined according to the attribute of camera, use experience and actual needs.

Step S202, judge whether the definition of the image of the first camera collection is less than setting clarity threshold, if so, enter step S203 otherwise, enter step S207.

Owing to being subject to the impact of light in shooting environmental residing for current shooting equipment, the definition of the image of camera collection will change, such as more weak at light intensity, or under the first camera is in the environment of backlight, by lower for the definition of the image making the first camera collection; And light intensity is stronger, or under the first camera is in the environment of frontlighting, then the definition of the image gathered is higher.

Step S203, unlatching second camera, second camera real-time image acquisition, and buffer memory.This capture apparatus then obtains the image that second camera gathers, and can be specifically periodically to obtain current gathered latest image, and the acquisition cycle can be determined according to the attribute of camera, use experience and actual needs.

Step S204, judge whether the definition of the image of second camera collection is less than setting clarity threshold, if not, enter step S205 otherwise, enter step S207.

Now if cause the definition of the image of the first camera collection lower because light intensity is more weak, be less than setting clarity threshold, then the definition of the image of second camera collection also may be lower, namely this setting clarity threshold is also less than, and if cause the definition of the image of the first camera collection lower because the first camera is in backlight environment, then because second camera differs 180 degree with the lens direction of the first camera, so now second camera is necessarily in frontlighting environment, then the definition of the image of second camera collection may be higher, namely this setting clarity threshold is greater than.

Step S205, when the first camera carries out image taking, according to the image that second camera gathered in the shooting moment of the first camera photographic images, primary importance variable parameter required when determining to carry out electronic flutter-proof process, determine in this step primary importance variable parameter institute according to image, be the image gathered in the process of the first camera shooting, and the moment gathering image is identical with the moment gathering image in the process that the first camera is taken.

The concrete defining method of change in location parameter can adopt the scheme in existing electronic flutter-proof technology, is no longer described in detail at this, but for the ease of the understanding of scheme, by as follows for the principles illustrated of electronic flutter-proof technology:

Due to the image-forming principle of near big and far smaller visual imaging theory and convex lens, when in shooting process during capture apparatus generation translation, from camera lens more close to the displacement of object in real image larger, from camera lens more away from the displacement of object in real image less, to the object of infinity then displacement be 0.So, the actual depth of field of image can be regarded as a cube, as shown in Figure 3, because translation makes two width image depth directions at an angle alpha, this angle is called translational displacement angle.When in shooting process, capture apparatus rotates, as shown in Figure 4, accordingly also by generation angle beta, this angle is called angle of rotation.In electronic flutter-proof technology, translational displacement angle and angle of rotation all belong to change in location parameter, and translational displacement angle specifically can comprise the translational displacement angle α along X-axis xwith the translational displacement angle α along Y-axis y, because capture apparatus is less along the impact of translation on image definition of Z axis, so can not consider the translational displacement angle along Z axis, it is the angle of rotation β of axle that angle of rotation specifically can comprise with X-axis x, take Y-axis as the angle of rotation β of axle ywith the angle of rotation β taking Z axis as axle z.

Electronic flutter-proof is exactly the first sub-picture gathered in the shooting duration once taken is standard, image alignment algorithm is adopted all the other each sub-pictures gathered in this shooting duration and the first sub-picture to be compared, determine the translational displacement angle between the relative piece image of all the other each sub-pictures and angle of rotation, then the mean value at each translational displacement angle and the mean value of each angle of rotation is obtained, then based on translational displacement angle mean value and angle of rotation mean value, image rectification algorithm is adopted to calculate the translational displacement angular difference value of translational displacement angle between the relative piece image of all the other each sub-pictures and translational displacement angle mean value, and using this translational displacement angular difference value as translational displacement angle adjusted value Δ α, also calculate the angle of rotation difference of angle of rotation between the relative piece image of all the other each sub-pictures and angle of rotation mean value, and using this angle of rotation difference as angle of rotation adjusted value Δ β, then each translational displacement angle adjusted value and each angle of rotation adjusted value is adopted, respectively all the other each sub-pictures of reply are corrected, then piece image is superposed with each sub-picture after correction, obtain final photographic images.

Based on the principle of above-mentioned electronic flutter-proof technology, determined primary importance variable parameter in this step, specifically can comprise: corresponding with second camera, once taking the translational displacement angle adjusted value Δ α along X-axis corresponding to the i-th sub-picture in each sub-picture gathered in duration x, 2, i, along the translational displacement angle adjusted value Δ α of Y-axis y, 2, i, take X-axis as the angle of rotation adjusted value Δ β of axle x, 2, i, take Y-axis as the angle of rotation adjusted value Δ β of axle y, 2, iwith the angle of rotation adjusted value Δ β taking Z axis as axle z, 2, i, wherein, the value of i is the integer in 1-N, and N is for once taking the quantity of the image gathered in duration.

Step S206, based on the primary importance variable parameter determined, to the first camera shooting the moment gather image carry out electronic flutter-proof process, specifically can comprise:

First, because the first camera differs 180 degree with the lens direction of second camera, and two cameras are all geo-stationary at any time, between the two without any relative displacement and relative angle change, so, when there is shake in capture apparatus, in first camera object and sensor devices absolute displacement and rotate and equal absolute displacement and the rotation of object and sensor devices in second camera, so the image of synchronous acquisition is compared in two cameras, translational displacement angle corresponding to the image of respective collection and rotation displacement angle also exist the corresponding relation determined, therefore, can based on primary importance variable parameter, second place variable parameter required when determining that the first camera carries out electronic flutter-proof process.

Corresponding each concrete parameter included by above-mentioned primary importance variable parameter, second place variable parameter can specifically comprise accordingly: corresponding with the first camera, once taking the translational displacement angle adjusted value Δ α along X-axis corresponding to the i-th sub-picture in each sub-picture gathered in duration x, 1, i, along the translational displacement angle adjusted value Δ α of Y-axis y, 1, i, take X-axis as the angle of rotation adjusted value Δ β of axle x, 1, i, take Y-axis as the angle of rotation adjusted value Δ β of axle y, 1, iwith the angle of rotation adjusted value Δ β taking Z axis as axle z, 1, i, wherein, the value of i is the integer in 1-N, and N is for once taking the quantity of the image gathered in duration;

Then, carry out electronic flutter-proof process to the first camera at the image that the shooting moment gathers according to second place variable parameter, concrete stabilization processing scheme can adopt prior art, is no longer described in detail at this.

Wherein, during based on primary importance variable parameter determination second place variable parameter, can be whether identical with the focal length of second camera according to the first camera, specifically can comprise the following two kinds mode:

First kind of way: when the focal length of the first camera is identical with the focal length of second camera, second place variable parameter required when the primary importance variable parameter determined is carried out electronic flutter-proof process as the first camera.

The second way: when the focal length of the first camera is different with the focal length of second camera, if second place variable parameter required when directly the primary importance variable parameter determined being carried out electronic flutter-proof process as the first camera, due to the difference of the focal length of two cameras, last stabilization treatment effect may be made not ideal enough, so, propose in the manner, first based on the primary importance variable parameter determined, the equivalent focal length of camera ratio of specifying the equivalent focal length of camera relative to the first camera is relatively specified according to second camera, second place variable parameter required when determining that the first camera carries out electronic flutter-proof process, for the translational displacement angle adjusted value in change in location parameter, ratio due to the translational displacement angle of diaxon equals the ratio that two cameras specify the equivalent focal length of camera relatively, so following formula specifically can be adopted to determine:

Δα X,1,i/Δα X,2,i=f 1/f 2

Δα Y,1,i/Δα Y,1,i=f 1/f 2

Wherein, f 1be the equivalent focal length that the first camera specifies camera relatively, f 2for second camera specifies the equivalent focal length of camera relatively;

For the angle of rotation adjusted value in change in location parameter, because the rotation angle value of three axles is identical with rotation direction, so specifically can directly using the angle of rotation adjusted value in primary importance variable parameter as the angle of rotation adjusted value in second place variable parameter, specific as follows:

Δβ X,1,i=Δβ X,2,i

Δβ Y,1,i=Δβ Y,2,i

Δβ Z,1,i=Δβ Z,2,i

Step S207, the image gathered in the shooting moment according to the first camera, second place variable parameter required when determining to carry out electronic flutter-proof process, determine in this step second place variable parameter institute according to image, be the image that gathers in the process of the first camera shooting.

Step S208, according to second place variable parameter to the first camera shooting the moment gather image carry out electronic flutter-proof process, concrete stabilization processing scheme can adopt prior art, is no longer described in detail at this.

In step S207 in method flow shown in above-mentioned Fig. 2 and step S208, it is the image gathered in the shooting moment according to the first camera, second place variable parameter required when determining to carry out electronic flutter-proof process, and only according to second place variable parameter, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera, in other embodiment, can also after determining second place variable parameter, based on the primary importance variable parameter determined in second place variable parameter and above-mentioned steps S205, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera, specific as follows:

Namely step S208 can also be specifically: the mean place variable parameter determining second place variable parameter and primary importance variable parameter, and carries out electronic flutter-proof process to the first camera at the image that the shooting moment gathers according to this mean place variable parameter.

Adopt the shooting anti-fluttering method that the above embodiment of the present invention 1 provides, when the first camera being responsible for carrying out taking gather the definition of image lower time, such as, be less than setting clarity threshold, and the lens direction second camera contrary with the lens direction of the first camera gather the definition of image higher time, such as, be greater than setting clarity threshold, namely second camera gather image definition be greater than the first camera when gathering the definition of image, according to the image of second camera collection determine carry out electronic flutter-proof process time required primary importance variable parameter, with determine according to the image of the first camera collection carry out electronic flutter-proof process time required second place variable parameter compared with, to be more accurate, so, now based on primary importance variable parameter, the stabilization effect that electronic flutter-proof process obtains is carried out to the image that the first camera is taken, based on second place variable parameter, at the image that the shooting moment gathers, the stabilization effect that electronic flutter-proof process obtains is carried out to the first camera by being better than, namely through stabilization process the image shot know that degree is higher.

And when the first camera gather image definition be not less than setting clarity threshold, according to the image of the first camera collection determine carry out electronic flutter-proof process time required second place variable parameter, can meet and carry out electronic flutter-proof process based on second place variable parameter, and obtain the requirement of better stabilization effect, so in order to the use of saving second camera and the use processing resource accordingly, only according to second place variable parameter, electronic flutter-proof process can be carried out to the first camera at the image that the shooting moment gathers.

Embodiment 2:

The flow chart of the shooting anti-fluttering method provided in the embodiment of the present invention 2 is provided, specifically comprises following treatment step:

Step S501, after opening the first camera of using of current shooting, the first camera is by real-time image acquisition, and buffer memory.Capture apparatus belonging to first camera then obtains the image of the first camera collection, can be specifically periodically to obtain current gathered latest image, and the acquisition cycle can be determined according to the attribute of camera, use experience and actual needs.

Step S502, open current shooting use the first camera time, open second camera, second camera real-time image acquisition, and buffer memory simultaneously.This capture apparatus then obtains the image that second camera gathers, can be specifically periodically obtain current gathered latest image, the acquisition cycle can be determined according to the attribute of camera, use experience and actual needs, such as, identical with the cycle of the image obtaining the first camera collection in step S501.

Step S503, judge whether the definition of the image of second camera collection is greater than the definition of the image of the first camera collection, if so, enters step S504, otherwise, enter step S506.

Owing to being subject to the impact of light in shooting environmental residing for current shooting equipment, the definition of the image of camera collection will change, such as more weak at light intensity, or under camera is in the environment of backlight, by lower for the definition of the image making camera collection; And light intensity is stronger, or under camera is in the environment of frontlighting, then the definition of the image gathered is higher.

Step S504, when the first camera carries out image taking, according to the image that second camera gathered in the shooting moment of the first camera photographic images, primary importance variable parameter required when determining to carry out electronic flutter-proof process, determine in this step primary importance variable parameter institute according to image, be the image gathered in the process of the first camera shooting, and the moment gathering image is identical with the moment gathering image in the process that the first camera is taken.

The concrete defining method of change in location parameter and embodiments value, can refer to above-mentioned steps S205, be no longer described in detail at this.

Step S505, based on the primary importance variable parameter determined, to the first camera shooting the moment gather image carry out electronic flutter-proof process.

Concrete scheme can refer to above-mentioned steps S206, is no longer described in detail at this.

Step S506, the image gathered in the shooting moment according to the first camera, second place variable parameter required when determining to carry out electronic flutter-proof process, determine in this step second place variable parameter institute according to image, be the image that gathers in the process of the first camera shooting.

Step S507, according to second place variable parameter to the first camera shooting the moment gather image carry out electronic flutter-proof process, concrete stabilization processing scheme can adopt prior art, is no longer described in detail at this.

Adopt the shooting anti-fluttering method that the above embodiment of the present invention 2 provides, relatively be responsible for the first camera carrying out taking gather the definition of image and second camera gather the definition of image, due to the image large according to definition determine carry out electronic flutter-proof process time required change in location parameter, with the image little according to definition determine carry out electronic flutter-proof process time required change in location parameter compared with, to be more accurate, so, change in location parameter required when selecting the image large according to definition to determine to carry out electronic flutter-proof process, accordingly, based on this change in location parameter, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera, more stabilization effect will be obtained, namely through stabilization process the image shot know that degree is higher.

In the method for the above embodiment of the present invention 1 and embodiment 2, be all based on the first camera gather the definition of image and second camera gather the definition of image, determine the image determination change in location parameter according to which camera collection, and based on the change in location parameter determined, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera.In other embodiments, the image determination second place variable parameter that can also gather in the shooting moment according to the first camera, and based on the second place variable parameter determined, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera, obtain photographic images, simultaneously also according to the image determination primary importance variable parameter that second camera gathered in the shooting moment, and based on the primary importance variable parameter determined, at the image that the shooting moment gathers, electronic flutter-proof process is carried out to the first camera, also photographic images is obtained, make when shooting environmental residing for the first camera is poorer than shooting environmental residing for second camera, also clearly photographic images can be obtained, and do not need in advance to two cameras gather image definition compare, further, that can also compare two photographic images obtained knows degree, and choose clearer photographic images as final photographic images, the handling process of detailed protocol is no longer described in detail at this.

Embodiment 3:

Based on same inventive concept, according to the shooting anti-fluttering method that the above embodiment of the present invention provides, correspondingly, the embodiment of the present invention 3 additionally provides a kind of shooting anti-shake apparatus, this shooting anti-shake apparatus can be installed in the capture apparatus of two cameras with lens direction difference 180 degree, its structural representation as shown in Figure 6, specifically comprises:

Acquiring unit 601, for obtaining the image that the lens direction second camera contrary with the lens direction of the first camera gathered in the shooting moment of described first camera photographic images;

Parameter determining unit 602, for the image according to acquisition, primary importance variable parameter required when determining to carry out electronic flutter-proof process;

Processing unit 603, for based on the described primary importance variable parameter determined, carries out electronic flutter-proof process to described first camera at the image that the described shooting moment gathers.

Preferably, described acquiring unit 601, also for obtaining second camera before the image of described shooting moment collection, obtains the image of described first camera collection;

Also comprising: definition determining unit 604, for obtaining second camera at described acquiring unit 601 before the image of described shooting moment collection, determining that the definition of the image of described first camera collection is less than setting clarity threshold; And at described processing unit 603 based on the described primary importance variable parameter determined, to described first camera before the image that the shooting moment gathers carries out electronic flutter-proof process, determine that the definition of the image of described second camera collection is not less than setting clarity threshold.

Preferably, described definition determining unit 604, also for, determine that the definition of the image of described first camera collection is not less than setting clarity threshold, or determine that the definition of image of described second camera collection is less than setting clarity threshold;

Described parameter determining unit 602, also for determining that the definition of the image of described first camera collection is not less than setting clarity threshold when described definition determining unit 604, or when determining that the definition of the image of described second camera collection is less than setting clarity threshold, according to the image that described first camera gathered in the described shooting moment, second place variable parameter required when determining to carry out electronic flutter-proof process;

Described processing unit 603, also for carrying out electronic flutter-proof process to described first camera at the image that the described shooting moment gathers according to described second place variable parameter.

Preferably, described definition determining unit 604, the definition also for the image determining described second camera collection is less than setting clarity threshold;

Described parameter determining unit 602, also at described processing unit 603 based on the described primary importance variable parameter determined, to described first camera before the image that the described shooting moment gathers carries out electronic flutter-proof process, according to the image that described first camera gathered in the described shooting moment, second place variable parameter required when determining to carry out electronic flutter-proof process;

Described processing unit 603, specifically for determining the mean place variable parameter of described primary importance variable parameter and described second place variable parameter; And according to described mean place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.

Preferably, also comprise: definition determining unit 604, for described parameter determining unit 602 according to obtain image, before primary importance variable parameter required when determining to carry out electronic flutter-proof process, determine that the definition of the image of described second camera collection is greater than the definition of the image of described first camera collection.

Preferably, described processing unit 603, specifically for when the focal length of described first camera is identical with the focal length of described second camera, according to the described primary importance variable parameter determined, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera; Or

When the focal length of described first camera is different from the focal length of described second camera, based on the described primary importance variable parameter determined, the ratio of the equivalent focal length of camera and the equivalent focal length of the relative described appointment camera of described first camera is relatively specified according to described second camera, second place variable parameter required when determining that described first camera carries out electronic flutter-proof process, and according to described second place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.

In sum, the scheme that the embodiment of the present invention provides, comprising: obtain the image that the lens direction second camera contrary with the lens direction of the first camera gathered in the shooting moment of the first camera photographic images; And according to the image obtained, primary importance variable parameter required when determining to carry out electronic flutter-proof process; And based on the primary importance variable parameter determined, at the image that this shooting moment gathers, electronic flutter-proof process is carried out to the first camera.Adopt the scheme that the embodiment of the present invention provides, under the ambient conditions that the shooting environmental residing for the first camera is poorer than the shooting environmental residing for second camera, can obtain better stabilization effect, what namely improve photographic images knows degree.

Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. take an anti-fluttering method, it is characterized in that, comprising:
Obtain the image that the lens direction second camera contrary with the lens direction of the first camera gathered in the shooting moment of described first camera photographic images;
According to the image obtained, primary importance variable parameter required when determining to carry out electronic flutter-proof process;
Based on the described primary importance variable parameter determined, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera;
Wherein, obtaining described second camera before the image of described shooting moment collection, also comprising:
Obtain the image of described first camera collection;
Determine that the definition of the image of described first camera collection is less than setting clarity threshold;
Based on the described primary importance variable parameter determined, to described first camera before the image that the described shooting moment gathers carries out electronic flutter-proof process, also comprise:
Determine that the definition of the image of described second camera collection is not less than setting clarity threshold.
2. the method for claim 1, it is characterized in that, when the definition of the image determining described first camera collection is not less than setting clarity threshold, or when the definition of the image determining described second camera collection is less than setting clarity threshold, also comprise:
According to the image that described first camera gathered in the described shooting moment, second place variable parameter required when determining to carry out electronic flutter-proof process;
According to described second place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.
3. the method for claim 1, it is characterized in that, when the definition of the image determining described second camera collection is less than setting clarity threshold, based on the described primary importance variable parameter determined, to described first camera before the image that the described shooting moment gathers carries out electronic flutter-proof process, also comprise:
According to the image that described first camera gathered in the described shooting moment, second place variable parameter required when determining to carry out electronic flutter-proof process;
Based on the described primary importance variable parameter determined, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera, specifically comprises:
Determine the mean place variable parameter of described primary importance variable parameter and described second place variable parameter;
According to described mean place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.
4. the method for claim 1, is characterized in that, at the image according to acquisition, before primary importance variable parameter required when determining to carry out electronic flutter-proof process, also comprises:
Determine that the definition of the image of described second camera collection is greater than the definition of the image of described first camera collection.
5. the method for claim 1, is characterized in that, based on the described primary importance variable parameter determined, carries out electronic flutter-proof process, specifically comprise described first camera at the image that the described shooting moment gathers:
When the focal length of described first camera is identical with the focal length of described second camera, according to the described primary importance variable parameter determined, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera; Or
When the focal length of described first camera is different from the focal length of described second camera, based on the described primary importance variable parameter determined, the ratio of the equivalent focal length of camera and the equivalent focal length of the relative described appointment camera of described first camera is relatively specified according to described second camera, second place variable parameter required when determining to carry out electronic flutter-proof process, and according to described second place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.
6. take an anti-shake apparatus, it is characterized in that, comprising:
Acquiring unit, for obtaining the image that the lens direction second camera contrary with the lens direction of the first camera gathered in the shooting moment of described first camera photographic images; And, also for obtaining second camera before the image of described shooting moment collection, obtain the image of described first camera collection;
Parameter determining unit, for the image according to acquisition, primary importance variable parameter required when determining to carry out electronic flutter-proof process;
Processing unit, for based on the described primary importance variable parameter determined, carries out electronic flutter-proof process to described first camera at the image that the described shooting moment gathers;
Definition determining unit, for obtaining second camera at described acquiring unit before the image of described shooting moment collection, determines that the definition of the image of described first camera collection is less than setting clarity threshold; And at described processing unit based on the described primary importance variable parameter determined, to described first camera before the image that the described shooting moment gathers carries out electronic flutter-proof process, determine that the definition of the image of described second camera collection is not less than setting clarity threshold.
7. device as claimed in claim 6, it is characterized in that, described definition determining unit, also for, determine that the definition of the image of described first camera collection is not less than setting clarity threshold, or determine that the definition of image of described second camera collection is less than setting clarity threshold;
Described parameter determining unit, also for determining that the definition of the image of described first camera collection is not less than setting clarity threshold when described definition determining unit, or when determining that the definition of the image of described second camera collection is less than setting clarity threshold, according to the image that described first camera gathered in the described shooting moment, second place variable parameter required when determining to carry out electronic flutter-proof process;
Described processing unit, also for carrying out electronic flutter-proof process to described first camera at the image that the described shooting moment gathers according to described second place variable parameter.
8. device as claimed in claim 6, it is characterized in that, described definition determining unit, the definition also for the image determining described second camera collection is less than setting clarity threshold;
Described parameter determining unit, also at described processing unit based on the described primary importance variable parameter determined, to described first camera before the image that the described shooting moment gathers carries out electronic flutter-proof process, according to the image that described first camera gathered in the described shooting moment, second place variable parameter required when determining to carry out electronic flutter-proof process;
Described processing unit, specifically for determining the mean place variable parameter of described primary importance variable parameter and described second place variable parameter; And according to described mean place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.
9. device as claimed in claim 6, is characterized in that, also comprise:
Definition determining unit, for described parameter determining unit according to obtain image, before primary importance variable parameter required when determining to carry out electronic flutter-proof process, determine that the definition of the image of described second camera collection is greater than the definition of the image of described first camera collection.
10. device as claimed in claim 6, it is characterized in that, described processing unit, specifically for when the focal length of described first camera is identical with the focal length of described second camera, according to the described primary importance variable parameter determined, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera; Or
When the focal length of described first camera is different from the focal length of described second camera, based on the described primary importance variable parameter determined, the ratio of the equivalent focal length of camera and the equivalent focal length of the relative described appointment camera of described first camera is relatively specified according to described second camera, second place variable parameter required when determining that described first camera carries out electronic flutter-proof process, and according to described second place variable parameter, at the image that the described shooting moment gathers, electronic flutter-proof process is carried out to described first camera.
CN201110196560.5A 2011-07-14 2011-07-14 Anti-shake method and device for shooting CN102883099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110196560.5A CN102883099B (en) 2011-07-14 2011-07-14 Anti-shake method and device for shooting

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110196560.5A CN102883099B (en) 2011-07-14 2011-07-14 Anti-shake method and device for shooting
PCT/CN2012/078262 WO2013007164A1 (en) 2011-07-14 2012-07-06 Shooting anti-shake method and apparatus

Publications (2)

Publication Number Publication Date
CN102883099A CN102883099A (en) 2013-01-16
CN102883099B true CN102883099B (en) 2015-03-11

Family

ID=47484226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110196560.5A CN102883099B (en) 2011-07-14 2011-07-14 Anti-shake method and device for shooting

Country Status (2)

Country Link
CN (1) CN102883099B (en)
WO (1) WO2013007164A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826065B (en) * 2013-12-12 2017-07-21 小米科技有限责任公司 A kind of image processing method and device
CN103763483A (en) * 2014-01-23 2014-04-30 贝壳网际(北京)安全技术有限公司 Method and device for shaking resistance in photo taking process of mobile terminal and mobile terminal
CN104093014A (en) * 2014-07-21 2014-10-08 宇龙计算机通信科技(深圳)有限公司 Image processing method and image processing device
CN104580907B (en) * 2014-12-31 2018-11-23 广东欧珀移动通信有限公司 A kind of photographic method and device of stabilization
CN106303203B (en) * 2015-06-10 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2017113048A1 (en) 2015-12-28 2017-07-06 华为技术有限公司 Image fusion method and apparatus, and terminal device
CN107071263B (en) * 2016-12-30 2020-02-18 努比亚技术有限公司 Image processing method and terminal
CN107370957B (en) * 2017-08-24 2019-03-05 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107493438B (en) * 2017-09-26 2020-05-15 华勤通讯技术有限公司 Continuous shooting method and device for double cameras and electronic equipment
CN108881636A (en) * 2018-06-30 2018-11-23 成都西纬科技有限公司 Backlight automatic mode switching method, device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5309250A (en) * 1991-06-25 1994-05-03 Societe Anonyme Dite: Aerospatiale Societe Nationale Industrielle Method for determining the stationary position of the line of sight of a filming device subject to vibrations, device for implementation thereof and application to the harmonization of filming devices
JP2007036363A (en) * 2005-07-22 2007-02-08 Sharp Corp Imaging apparatus
CN1917587A (en) * 2005-08-15 2007-02-21 卡西欧计算机株式会社 Image pick-up device and image processing method
CN101485199A (en) * 2006-06-30 2009-07-15 摩托罗拉公司 Methods and devices for video correction of still camera motion
US7817187B2 (en) * 2007-06-27 2010-10-19 Aptina Imaging Corporation Image blur correction using a secondary camera

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656428B2 (en) * 2005-05-05 2010-02-02 Avago Technologies General Ip (Singapore) Pte. Ltd. Imaging device employing optical motion sensor as gyroscope
US7724284B2 (en) * 2005-09-29 2010-05-25 Aptina Imaging Corporation Multi-camera system and method having a common processing block

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5309250A (en) * 1991-06-25 1994-05-03 Societe Anonyme Dite: Aerospatiale Societe Nationale Industrielle Method for determining the stationary position of the line of sight of a filming device subject to vibrations, device for implementation thereof and application to the harmonization of filming devices
JP2007036363A (en) * 2005-07-22 2007-02-08 Sharp Corp Imaging apparatus
CN1917587A (en) * 2005-08-15 2007-02-21 卡西欧计算机株式会社 Image pick-up device and image processing method
CN101485199A (en) * 2006-06-30 2009-07-15 摩托罗拉公司 Methods and devices for video correction of still camera motion
US7817187B2 (en) * 2007-06-27 2010-10-19 Aptina Imaging Corporation Image blur correction using a secondary camera

Also Published As

Publication number Publication date
WO2013007164A1 (en) 2013-01-17
CN102883099A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
US9262807B2 (en) Method and system for correcting a distorted input image
US20170347044A1 (en) Warp processing for image capture
JP6263623B2 (en) Image generation method and dual lens apparatus
CN105100615B (en) A kind of method for previewing of image, device and terminal
JP5909540B2 (en) Image processing display device
US9444991B2 (en) Robust layered light-field rendering
CN101742123B (en) Image processing apparatus and method
JP2015035658A (en) Image processing apparatus, image processing method, and imaging apparatus
US9639913B2 (en) Image processing device, image processing method, image processing program, and storage medium
KR101200490B1 (en) Apparatus and Method for Matching Image
JP5437311B2 (en) Image correction method, image correction system, angle estimation method, and angle estimation device
CN104270560B (en) A kind of multi-spot method and apparatus
JP6081726B2 (en) HDR video generation apparatus and method with ghost blur removed on multiple exposure fusion base
Hu et al. Joint depth estimation and camera shake removal from single blurry image
US20200007842A1 (en) Methods for automatic registration of 3d image data
US9900505B2 (en) Panoramic video from unstructured camera arrays with globally consistent parallax removal
JP5138031B2 (en) Method, apparatus and system for processing depth related information
CN104581136B (en) The calibration method of image calibration system and stereo camera
US10609282B2 (en) Wide-area image acquiring method and apparatus
CN102223477B (en) Four-dimensional polynomial model for depth estimation based on two-picture matching
WO2016101892A1 (en) Computational multi-camera adjustment for smooth view switching and zooming
JP5794705B2 (en) Imaging apparatus, control method thereof, and program
CN103986875A (en) Image acquiring device, method and terminal and video acquiring method
US9055217B2 (en) Image compositing apparatus, image compositing method and program recording device
JP5367640B2 (en) Imaging apparatus and imaging method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant