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

Anti-shake method and device for shooting Download PDF

Info

Publication number
CN102883099A
CN102883099A CN2011101965605A CN201110196560A CN102883099A CN 102883099 A CN102883099 A CN 102883099A CN 2011101965605 A CN2011101965605 A CN 2011101965605A CN 201110196560 A CN201110196560 A CN 201110196560A CN 102883099 A CN102883099 A CN 102883099A
Authority
CN
China
Prior art keywords
camera
image
determining
variable parameter
definition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101965605A
Other languages
Chinese (zh)
Other versions
CN102883099B (en
Inventor
骆磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Co Ltd filed Critical China Mobile Communications Co Ltd
Priority to CN201110196560.5A priority Critical patent/CN102883099B/en
Priority to PCT/CN2012/078262 priority patent/WO2013007164A1/en
Publication of CN102883099A publication Critical patent/CN102883099A/en
Application granted granted Critical
Publication of CN102883099B publication Critical patent/CN102883099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/683Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

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 the image capture processing technology field, relate in particular to a kind of shooting anti-fluttering method and device.
Background technology
In the existing technique for taking, when using capture apparatus to take, will carry out sensitization by sensor devices once taking in the corresponding shooting duration, and all images that will sensitization obtains in taking duration are superposed to piece image.But, since the user in the process of taking may so that capture apparatus shake, cause once taking the interior different constantly sensitization of duration and obtain having produced between the image small change in location, comprise change in displacement and angle variation etc., so can exist the multiple image that the position is changed to be superimposed, obtain the image of fuzzy and ghost image, and then cause the unclear problem of photographic images.
In order to solve this technical problem, the image that has gathered when having proposed in the prior art to use the electronic flutter-proof technology to shooting carries out anti-shake processing, thereby when in the process that the user uses capture apparatus taking shake occuring, still can shoot clearly image.At present, existing electronic flutter-proof technical scheme is as follows:
This multiple image that gathers when once taking is analyzed, by the clear multizone of every width of cloth image/sharp keen object edge is carried out image comparison, determine that (camera lens that small vibrations produce in the vibrations moves forward and backward because smaller for twin shaft translational displacement angle between the image, and small seesawing affects very little on final image, so often do not consider the movement of fore-and-aft direction in the electronic flutter-proof) and three axle angles of rotation, specifically can be in this multiple image, to specify piece image, as with the first width of cloth image as specify image, then determine the change in location parameter of relative this specify image of all the other every width of cloth images in this multiple image, and determine the mean value of each position variable parameter of obtaining, then according to this mean value to all the other every width of cloth correct images, image after obtaining proofreading and correct, at last image after this specify image and each correction is superposeed, a synthetic width of cloth is image relatively clearly.For video capture, carry out electronic flutter-proof according to same principle and process, so difference is being synthesized the required a plurality of images of a two field picture according to the frame per second collection.
Yet, in the scheme of above-mentioned electronic flutter-proof, when the change in location of determining between a plurality of images that gather, if the current residing shooting environmental of camera is relatively poor, may cause the definition of the image that gathers lower, thereby cause the change in location situation between the determined image not accurate enough, thereby cause follow-uply carrying out to obtain better anti-shake effect when electronic flutter-proof is processed according to determined change in location situation.
Summary of the invention
The embodiment of the invention provides a kind of shooting anti-fluttering method and device, the anti-shake effect of carrying out anti-shake processing in order to raising, thus improve the degree of knowing of photographic images.
The embodiment of the invention provides a kind of shooting anti-fluttering method, comprising:
Obtain the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of described the first camera photographic images;
According to the image that obtains, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing;
Based on the described primary importance variable parameter of determining, described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking.
The embodiment of the invention also provides a kind of shooting anti-shake apparatus, comprising:
Acquiring unit is used for obtaining the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of described the first camera photographic images;
The parameter determining unit is used for according to the image that obtains, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing;
Processing unit is used for based on the described primary importance variable parameter of determining, described the first camera is carried out electronic flutter-proof at the described image of taking constantly collection process.
Beneficial effect of the present invention comprises:
In the method that the embodiment of the invention provides, the employed camera of current shooting is the first camera, but when the image that the first camera is gathered constantly in shooting carries out anti-shake processing, to carry out according to the primary importance variable parameter that the image that the lens direction second camera opposite with the lens direction of the first camera gathers in this shooting is constantly determined, so, when in the residing shooting environmental of the first camera than second camera in the poor situation of residing shooting environmental, because the primary importance variable parameter definite according to image that second camera gathers, it is more accurate to compare the change in location parameter of determining according to the first image that camera gathers, so based on this primary importance variable parameter, the first camera is carried out electronic flutter-proof at the image of taking constantly collection to be processed, can access better anti-shake effect, thereby under this shooting environmental, can access clearer photographic images compared to existing technology.
Description of drawings
The flow chart of the shooting anti-fluttering method that Fig. 1 provides for the embodiment of the invention;
The flow chart of the shooting anti-fluttering method that provides in the embodiment of the invention 1 is provided Fig. 2;
Fig. 3 is in the embodiment of the invention 1 because capture apparatus generation translation produces the schematic diagram at translational displacement angle;
Fig. 4 schematic diagram at angle of rotating that is in the embodiment of the invention 1 because capture apparatus rotates;
The flow chart of the shooting anti-fluttering method that provides in the embodiment of the invention 2 is provided Fig. 5;
The structural representation of the shooting anti-shake apparatus that provides in the embodiment of the invention 3 is provided Fig. 6.
Embodiment
Improve the anti-shake effect of carrying out anti-shake processing in order to provide, thereby improve the implementation of knowing degree of photographic images, the embodiment of the invention provides 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 is used for description and interpretation the present invention, is not intended to limit the present invention.And in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
The embodiment of the invention provides a kind of shooting anti-fluttering method, as shown in Figure 1, comprising:
Step S101, obtain the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of the first camera photographic images.
The image that step S102, basis are obtained, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing.
Step S103, based on the primary importance variable parameter of determining, the image that the first camera is gathered constantly in this shootings carries out the electronic flutter-proof processing.
In the above-mentioned shooting anti-fluttering method, the first camera and second camera are two cameras that belong to same capture apparatus, and the lens direction of these two cameras is opposite, namely differ 180 degree, namely usually said forward direction camera and backward camera are 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 invention, when second camera shooting environmental of living in is better than the first camera shooting environmental of living in, for example, second camera is under the frontlighting environment, and the first camera is under the backlight environment, this moment, the definition of the image that second camera gathers 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 when processing needed change in location parameter (for ease of distinguishing, follow-up this change in location parameter is called the primary importance variable parameter), with determine according to the image of the first camera collection carry out electronic flutter-proof when processing needed 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 the primary importance variable parameter the first camera is carried out electronic flutter-proof at the image of taking moment collection and process resulting anti-shake effect, to be better than based on second place variable parameter the first camera being carried out electronic flutter-proof and processing resulting anti-shake effect taking the image that constantly gathers, namely know that through the image of shooting of anti-shake processing 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 that provides in the embodiment of the invention 1 is provided, specifically comprises following treatment step:
Step S201, after opening employed the first camera of current shooting, the first camera is with real-time image acquisition, and buffer memory.Capture apparatus under the first camera then obtains the image of the first camera collection, specifically can be periodically to obtain the current latest image that gathers, and the cycle of obtaining can be determined according to attribute, use experience and the actual needs of camera.
Step S202, judge the first camera collection the definition of image whether less than setting clarity threshold, if so, enter step S203 otherwise, enter step S207.
Owing to be subject to the impact of light in the current shooting equipment shooting environmental of living in, the definition of the image of camera collection will change, for example more weak at light intensity, perhaps the first camera is under the environment of backlight, with so that the definition of the image of the first camera collection is lower; And light intensity is more intense, and perhaps the first camera is under the environment of frontlighting, and the definition of the image that then gathers 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 specifically can be periodically to obtain the current latest image that gathers, and the cycle of obtaining can be determined according to attribute, use experience and the actual needs of camera.
Step S204, judge the image that second camera gathers definition whether less than setting clarity threshold, if not, enter step S205 otherwise, enter step S207.
This moment is if because light intensity causes a little less than the definition of image of the first camera collection lower, less than setting clarity threshold, then the definition of the image of second camera collection also may be lower, namely also set clarity threshold less than this, and if since the first camera be in the backlight environment and cause the definition of image of the first camera collection lower, then because the lens direction of second camera and the first camera differs 180 degree, so this moment, second camera necessarily was in the frontlighting environment, then the definition of the image of second camera collection may be higher, namely set clarity threshold greater than this.
Step S205, when the first camera carries out image taking, the image that constantly gathers in the shooting of the first camera photographic images according to second camera, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing, determine the image of primary importance variable parameter institute basis in this step, be the image that in the process that the first camera is taken, gathers, and it is identical to gather moment of image in the moment that gathers image and the process that the first camera is taken.
The concrete of change in location parameter determines that method can adopt the scheme in the existing electronic flutter-proof technology, no longer be described in detail at this, but for the ease of the understanding of scheme, the principles illustrated of electronic flutter-proof technology is as follows:
Because near big and far smaller visual imaging theory and the image-forming principle of convex lens, when in the shooting process during capture apparatus generation translation, larger from object the displacement in real image of camera lens close to more, less from object the displacement in real image of camera lens away from more, to the object of infinity then displacement be 0.So, can regard the actual depth of field of image as a cube, as shown in Figure 3, because translation makes two width of cloth image depth directions at an angle alpha, this angle is called the translational displacement angle.When capture apparatus rotates in the shooting process, as shown in Figure 4, also will produce accordingly an angle beta, this angle is called angle of rotation.In the electronic flutter-proof technology, translational displacement angle and angle of rotation all belong to the change in location parameter, and the 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 on the impact of image definition along the translation of Z axis, so can not consider the translational displacement angle along Z axis, angle of rotation specifically can comprise the angle of rotation β take X-axis as axle X, the angle of rotation β take Y-axis as axle YWith the angle of rotation β take Z axis as axle Z
Electronic flutter-proof is exactly that the first sub-picture of gathering in the shooting duration of once taking is as standard, all the other each sub-pictures and the first sub-picture that adopt the image alignment algorithm to gather in this takes duration are compared, determine translational displacement angle and angle of rotation between relative the first width of cloth image of all the other each sub-pictures, then obtain the mean value at each translational displacement angle and the mean value of each angle of rotation, then based on translational displacement angle mean value and angle of rotation mean value, adopt the image rectification algorithm to calculate translational displacement angle between relative the first width of cloth image of all the other each sub-pictures and the translational displacement angular difference value of translational displacement angle mean value, and with this translational displacement angular difference value as translational displacement angle adjusted value Δ α, also calculate angle of rotation between relative the first width of cloth image of all the other each sub-pictures and the angle of rotation difference of angle of rotation mean value, and with this angle of rotation difference as angle of rotation adjusted value Δ β, then adopt each translational displacement angle adjusted value and each angle of rotation adjusted value, proofread and correct tackling all the other each sub-pictures respectively, then each sub-picture after the first width of cloth image and the correction is superposeed, obtain final photographic images.
Principle based on above-mentioned electronic flutter-proof technology, determined primary importance variable parameter in this step, specifically can comprise: corresponding with second camera, the translational displacement angle adjusted value Δ α along X-axis corresponding to i sub-picture in once taking each sub-picture that gathers in the duration X, 2, i, along the translational displacement angle adjusted value Δ α of Y-axis Y, 2, i, the angle of rotation adjusted value Δ β take X-axis as axle X, 2, i, the angle of rotation adjusted value Δ β take Y-axis as axle Y, 2, iWith the angle of rotation adjusted value Δ β take Z axis as axle Z, 2, i, wherein, the value of i is the integer in the 1-N, N is for once taking the quantity of the image that gathers in the duration.
Step S206, based on the primary importance variable parameter of determining, the first camera is carried out electronic flutter-proof and processes taking the image that constantly gathers, specifically can comprise:
At first, because the lens direction of the first camera and second camera differs 180 degree, and two cameras all are relatively static at any time, change without any relative displacement and relative angle between the two, so, when shake occurs in capture apparatus, the absolute displacement of object and sensor devices and rotate equals absolute displacement and the rotation of object and sensor devices in the second camera in the first camera, so the image of synchronous acquisition is compared in two cameras, the image corresponding translational displacement angle and the rotation displacement angle that gather separately exist definite corresponding relation, therefore, can be based on the primary importance variable parameter, determine the first camera and carry out electronic flutter-proof needed second place variable parameter when processing.
Each included concrete parameter of corresponding above-mentioned primary importance variable parameter, second place variable parameter can specifically comprise accordingly: corresponding with the first camera, and the translational displacement angle adjusted value Δ α along X-axis corresponding to i sub-picture in once taking each sub-picture that gathers in the duration X, 1, i, along the translational displacement angle adjusted value Δ α of Y-axis Y, 1, i, the angle of rotation adjusted value Δ β take X-axis as axle X, 1, i, the angle of rotation adjusted value Δ β take Y-axis as axle Y, 1, iWith the angle of rotation adjusted value Δ β take Z axis as axle Z, 1, i, wherein, the value of i is the integer in the 1-N, N is for once taking the quantity of the image that gathers in the duration;
Then, according to second place variable parameter the first camera is carried out electronic flutter-proof at the image of taking constantly collection and process, concrete anti-shake processing scheme can adopt prior art, no longer is described in detail at this.
Wherein, when determining second place variable parameter based on the primary importance variable parameter, can whether identical with the focal length of second camera according to the first camera, specifically can comprise following dual mode:
First kind of way: when the focal length of the focal length of the first camera and second camera is identical, the primary importance variable parameter determined is carried out electronic flutter-proof needed second place variable parameter when processing as the first camera.
The second way: when the focal length of the focal length of the first camera and second camera not simultaneously, if needed second place variable parameter when directly the primary importance variable parameter of determining being carried out the electronic flutter-proof processing as the first camera, because the difference of the focal length of two cameras, may be so that last anti-shake treatment effect be not ideal enough, so, propose in the manner, at first based on the primary importance variable parameter of determining, relatively specify the relative ratio of specifying the equivalent focal length of camera with the first camera of equivalent focal length of camera according to second camera, determine that the first camera carries out electronic flutter-proof needed second place variable parameter when processing, for the translational displacement angle adjusted value in the change in location parameter, because the ratio at the translational displacement angle of diaxon equals the ratio that two cameras are specified the equivalent focal length of camera relatively, so specifically can adopt following formula 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 is specified camera relatively, f 2Relatively specify the equivalent focal length of camera for second camera;
For the angle of rotation adjusted value in the change in location parameter, because angle of rotation value and the rotation direction of three axles are identical, so specifically can be directly with the angle of rotation adjusted value in the primary importance variable parameter as the angle of rotation adjusted value in the 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, taking the image that constantly gathers according to the first camera, needed second place variable parameter when determining to carry out the electronic flutter-proof processing, determining the image of second place variable parameter institute basis in this step, is the image that gathers in the process that the first camera is taken.
Step S208, the image that the first camera is gathered constantly in shooting according to second place variable parameter carry out the electronic flutter-proof processing, and concrete anti-shake processing scheme can adopt prior art, no longer is described in detail at this.
Among the step S207 and step S208 in the above-mentioned method flow shown in Figure 2, to take the image that constantly gathers according to the first camera, needed second place variable parameter when determining to carry out the electronic flutter-proof processing, and only according to second place variable parameter the first camera is carried out electronic flutter-proof at the image of taking constantly collection and process, among other embodiment, can also be after determining second place variable parameter, based on the primary importance variable parameter of determining among second place variable parameter and the above-mentioned steps S205, the first camera is carried out electronic flutter-proof at the image of taking constantly collection process, specific as follows:
Be step S208 specifically can also for: determine the mean place variable parameter of second place variable parameter and primary importance variable parameter, and according to this mean place variable parameter the first camera carried out electronic flutter-proof and processes taking the image that constantly gathers.
The shooting anti-fluttering method that adopts the above embodiment of the present invention 1 to provide, when the definition of the first image that camera gathers of being responsible for taking is hanged down, such as, less than setting clarity threshold, and the definition of lens direction second camera the gather image opposite with the lens direction of the first camera is when higher, such as, greater than setting clarity threshold, be that the definition of image that second camera gathers is during greater than the definition of the first image that camera gathers, carry out electronic flutter-proof needed primary importance variable parameter when processing according to what the image of second camera collection was determined, with determine according to the image of the first camera collection carry out electronic flutter-proof when processing needed second place variable parameter compare, to be more accurate, so, the image of based on the primary importance variable parameter the first camera being taken this moment carries out electronic flutter-proof and processes resulting anti-shake effect, to be better than based on second place variable parameter the first camera being carried out electronic flutter-proof and processing resulting anti-shake effect taking the image that constantly gathers, namely know that through the image of shooting of anti-shake processing degree is higher.
And the definition of working as the first image that camera gathers is not less than the setting clarity threshold, carry out electronic flutter-proof needed second place variable parameter when processing according to what the image of the first camera collection was determined, can satisfy based on second place variable parameter and carry out the electronic flutter-proof processing, and the requirement of the better anti-shake effect of acquisition, so for use and the corresponding use of processing resource of saving second camera, can only according to second place variable parameter, the first camera be carried out electronic flutter-proof at the image of taking constantly collection process.
Embodiment 2:
The flow chart of the shooting anti-fluttering method that provides in the embodiment of the invention 2 is provided, specifically comprises following treatment step:
Step S501, after opening employed the first camera of current shooting, the first camera is with real-time image acquisition, and buffer memory.Capture apparatus under the first camera then obtains the image of the first camera collection, specifically can be periodically to obtain the current latest image that gathers, and the cycle of obtaining can be determined according to attribute, use experience and the actual needs of camera.
Step S502, when opening employed the first camera of current shooting, open simultaneously second camera, second camera real-time image acquisition, and buffer memory.This capture apparatus then obtains the image that second camera gathers, specifically can be periodically to obtain the current latest image that gathers, the cycle of obtaining can be determined according to attribute, use experience and the actual needs of camera, for example, with to obtain cycle of image of the first camera collection identical among the step S501.
Step S503, judge the image that second camera gathers definition whether greater than the definition of the image of the first camera collection, if so, enter step S504, otherwise, enter step S506.
Owing to be subject to the impact of light in the current shooting equipment shooting environmental of living in, the definition of the image of camera collection will change, for example more weak at light intensity, perhaps camera is under the environment of backlight, with so that the definition of the image of camera collection is lower; And light intensity is more intense, and perhaps camera is under the environment of frontlighting, and the definition of the image that then gathers is higher.
Step S504, when the first camera carries out image taking, the image that constantly gathers in the shooting of the first camera photographic images according to second camera, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing, determine the image of primary importance variable parameter institute basis in this step, be the image that in the process that the first camera is taken, gathers, and it is identical to gather moment of image in the moment that gathers image and the process that the first camera is taken.
Concrete definite method and the embodiments value of change in location parameter can with reference to above-mentioned steps S205, no longer be described in detail at this.
Step S505, based on the primary importance variable parameter of determining, the first camera is carried out electronic flutter-proof and processes taking the image that constantly gathers.
Concrete scheme can with reference to above-mentioned steps S206, no longer be described in detail at this.
Step S506, taking the image that constantly gathers according to the first camera, needed second place variable parameter when determining to carry out the electronic flutter-proof processing, determining the image of second place variable parameter institute basis in this step, is the image that gathers in the process that the first camera is taken.
Step S507, the image that the first camera is gathered constantly in shooting according to second place variable parameter carry out the electronic flutter-proof processing, and concrete anti-shake processing scheme can adopt prior art, no longer is described in detail at this.
The shooting anti-fluttering method that adopts the above embodiment of the present invention 2 to provide, the definition of the first image that camera gathers of relatively being responsible for taking and the definition of image that second camera gathers, owing to carry out electronic flutter-proof needed change in location parameter when processing according to what the large image of definition was determined, with determine according to the little image of definition carry out electronic flutter-proof when processing needed change in location parameter compare, to be more accurate, so, needed change in location parameter when the image that the selective basis definition is large determines to carry out the electronic flutter-proof processing, accordingly, based on this change in location parameter the first camera being carried out electronic flutter-proof at the image of taking constantly collection processes, to obtain more anti-shake effect, namely know that through the image of shooting of anti-shake processing degree is higher.
In the method for the above embodiment of the present invention 1 and embodiment 2, all be based on the definition of the first image that camera gathers and the definition of image that second camera gathers, which determine to determine the change in location parameter according to the image of a camera collection, and based on the change in location parameter of determining, the first camera is carried out electronic flutter-proof at the image of taking constantly collection process.In other embodiments, can also determine second place variable parameter at the image of taking constantly collection according to the first camera, and based on the second place variable parameter of determining, the first camera is carried out electronic flutter-proof at the image of taking constantly collection to be processed, obtain photographic images, also determine the primary importance variable parameter according to second camera at the image of taking constantly collection simultaneously, and based on the primary importance variable parameter of determining, the first camera is carried out electronic flutter-proof at the image of taking constantly collection to be processed, also obtain photographic images, so that when the first camera shooting environmental of living in is poorer than second camera shooting environmental of living in, also can access clearly photographic images, and not need in advance the definition of two images that camera gathers is compared; Further, two photographic images that can also relatively obtain know degree, choose clearer photographic images as final photographic images, the handling process of detailed protocol no longer is described in detail at this.
Embodiment 3:
Based on same inventive concept, the shooting anti-fluttering method that provides according to the above embodiment of the present invention, correspondingly, the embodiment of the invention 3 also provides a kind of shooting anti-shake apparatus, this shooting anti-shake apparatus can be installed on to have lens direction and differs in the capture apparatus of two cameras of 180 degree, its structural representation specifically comprises as shown in Figure 6:
Acquiring unit 601 is used for obtaining the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of described the first camera photographic images;
Parameter determining unit 602 is used for according to the image that obtains, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing;
Processing unit 603 is used for based on the described primary importance variable parameter of determining, described the first camera is carried out electronic flutter-proof at the described image of taking constantly collection process.
Better, described acquiring unit 601 also is used for obtaining the image of described the first camera collection obtaining second camera before the image that described shooting gathers constantly;
Also comprise: definition determining unit 604, be used for described acquiring unit 601 obtain second camera described take the image that constantly gathers before, determine that the definition of image of described the first camera collection is less than setting clarity threshold; And at described processing unit 603 based on the described primary importance variable parameter of determining, described the first camera before the image of taking constantly collection carries out the electronic flutter-proof processing, is determined that the definition of the image of described second camera collection is not less than the setting clarity threshold.
Better, described definition determining unit 604 also is used for, and determines that the definition of the image of described the first camera collection is not less than the setting clarity threshold, determines that perhaps the definition of the image that described second camera gathers is less than setting clarity threshold;
Described parameter determining unit 602, also be used for determining that when described definition determining unit 604 definition of the image of described the first camera collection is not less than the setting clarity threshold, when perhaps the definition of the image of definite described second camera collection is less than the setting clarity threshold, according to the image of described the first camera in the collection of the described shooting moment, needed second place variable parameter when determining to carry out the electronic flutter-proof processing;
Described processing unit 603 also is used for according to described second place variable parameter described the first camera being carried out the electronic flutter-proof processing at the described image that constantly gathers of taking.
Better, described definition determining unit 604, the definition of the image that also is used for determining that described second camera gathers is less than setting clarity threshold;
Described parameter determining unit 602, also be used at described processing unit 603 based on the described primary importance variable parameter of determining, described the first camera is carried out before electronic flutter-proof processes at the described image that constantly gathers of taking, according to the image of described the first camera in the collection of the described shooting moment, needed second place variable parameter when determining to carry out the electronic flutter-proof processing;
Described processing unit 603, the concrete mean place variable parameter that is used for determining described primary importance variable parameter and described second place variable parameter; And according to described mean place variable parameter described the first camera is carried out electronic flutter-proof at the described image of taking constantly collection and process.
Better, also comprise: definition determining unit 604, be used in described parameter determining unit 602 according to the image that obtains, before the needed primary importance variable parameter, determine that the definition of the image that described second camera gathers is greater than the definition of the image of described the first camera collection when determining to carry out the electronic flutter-proof processing.
Better, described processing unit 603, concrete be used for focal length when the focal length of described the first camera and described second camera when identical, according to the described primary importance variable parameter of determining, described the first camera carried out the electronic flutter-proof processing at the described image of taking constantly collection; Perhaps
When the focal length of the focal length of described the first camera and described second camera not simultaneously, based on the described primary importance variable parameter of determining, relatively specify the ratio of equivalent focal length with the equivalent focal length of the relative described appointment camera of described the first camera of camera according to described second camera, determine that described the first camera carries out electronic flutter-proof needed second place variable parameter when processing, and according to described second place variable parameter described the first camera is carried out electronic flutter-proof and processes at the described image that constantly gathers of taking.
In sum, the scheme that the embodiment of the invention provides comprises: obtain the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of the first camera photographic images; And according to the image that obtains, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing; And based on the primary importance variable parameter of determining, the image that the first camera is gathered constantly in this shooting carries out the electronic flutter-proof processing.The scheme that adopts the embodiment of the invention to provide under the poor ambient conditions of residing shooting environmental, can access better anti-shake effect than second camera in the residing shooting environmental of the first camera, has namely improved the degree of knowing of photographic images.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. take anti-fluttering method for one kind, it is characterized in that, comprising:
Obtain the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of described the first camera photographic images;
According to the image that obtains, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing;
Based on the described primary importance variable parameter of determining, described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking.
2. the method for claim 1 is characterized in that, is obtaining described second camera before the image that described shooting gathers constantly, also comprises:
Obtain the image of described the first camera collection;
Determine that the definition of image of described the first camera collection is less than setting clarity threshold;
Based on the described primary importance variable parameter of determining, described the first camera is carried out also comprising before electronic flutter-proof processes at the described image that constantly gathers of taking:
The definition of determining the image of described second camera collection is not less than the setting clarity threshold.
3. method as claimed in claim 2, it is characterized in that, when the definition of the image of determining described the first camera collection is not less than when setting clarity threshold, perhaps when the definition of determining the image that described second camera gathers during less than the setting clarity threshold, also comprise:
According to the image of described the first camera in the collection of the described shooting moment, needed second place variable parameter when determining to carry out the electronic flutter-proof processing;
According to described second place variable parameter described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking.
4. method as claimed in claim 2, it is characterized in that, when the definition of determining the image that described second camera gathers when setting clarity threshold, based on the described primary importance variable parameter of determining, described the first camera before the described image of taking constantly collection carries out the electronic flutter-proof processing, is also comprised:
According to the image of described the first camera in the collection of the described shooting moment, needed second place variable parameter when determining to carry out the electronic flutter-proof processing;
Based on the described primary importance variable parameter of determining, described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking, specifically comprise:
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 described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking.
5. the method for claim 1 is characterized in that, at the image that basis is obtained, before the needed primary importance variable parameter, also comprises when determining to carry out the electronic flutter-proof processing:
Determine that the definition of the image that described second camera gathers is greater than the definition of the image of described the first camera collection.
6. the method for claim 1 is characterized in that, based on the described primary importance variable parameter of determining, described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking, and specifically comprises:
When the focal length of the focal length of described the first camera and described second camera is identical, according to the described primary importance variable parameter of determining, described the first camera is carried out electronic flutter-proof and processes at the described image that constantly gathers of taking; Perhaps
When the focal length of the focal length of described the first camera and described second camera not simultaneously, based on the described primary importance variable parameter of determining, relatively specify the ratio of equivalent focal length with the equivalent focal length of the relative described appointment camera of described the first camera of camera according to described second camera, needed second place variable parameter when determining to carry out the electronic flutter-proof processing, and according to described second place variable parameter described the first camera is carried out electronic flutter-proof at the described image of taking constantly collection and process.
7. take anti-shake apparatus for one kind, it is characterized in that, comprising:
Acquiring unit is used for obtaining the image that the lens direction second camera opposite with the lens direction of the first camera gathers constantly in the shooting of described the first camera photographic images;
The parameter determining unit is used for according to the image that obtains, needed primary importance variable parameter when determining to carry out the electronic flutter-proof processing;
Processing unit is used for based on the described primary importance variable parameter of determining, described the first camera is carried out electronic flutter-proof at the described image of taking constantly collection process.
8. device as claimed in claim 7 is characterized in that, described acquiring unit also is used for obtaining the image of described the first camera collection obtaining second camera before the image that described shooting gathers constantly;
Also comprise: the definition determining unit, be used for described acquiring unit obtain second camera described take the image that constantly gathers before, determine that the definition of image of described the first camera collection is less than setting clarity threshold; And at described processing unit based on the described primary importance variable parameter of determining, described the first camera before the described image of taking constantly collection carries out the electronic flutter-proof processing, is determined that the definition of the image of described second camera collection is not less than the setting clarity threshold.
9. device as claimed in claim 8, it is characterized in that described definition determining unit also is used for, the definition of determining the image of described the first camera collection is not less than the setting clarity threshold, determines that perhaps the definition of the image that described second camera gathers is less than setting clarity threshold;
Described parameter determining unit, also be used for determining that when described definition determining unit the definition of the image of described the first camera collection is not less than the setting clarity threshold, when perhaps the definition of the image of definite described second camera collection is less than the setting clarity threshold, according to the image of described the first camera in the collection of the described shooting moment, needed second place variable parameter when determining to carry out the electronic flutter-proof processing;
Described processing unit also is used for according to described second place variable parameter described the first camera being carried out the electronic flutter-proof processing at the described image that constantly gathers of taking.
10. device as claimed in claim 8 is characterized in that, described definition determining unit be used for to determine that also the definition of the image that described second camera gathers is less than setting clarity threshold;
Described parameter determining unit, also be used at described processing unit based on the described primary importance variable parameter of determining, described the first camera is carried out before electronic flutter-proof processes at the described image that constantly gathers of taking, according to the image of described the first camera in the collection of the described shooting moment, needed second place variable parameter when determining to carry out the electronic flutter-proof processing;
Described processing unit, the concrete mean place variable parameter that is used for determining described primary importance variable parameter and described second place variable parameter; And according to described mean place variable parameter described the first camera is carried out electronic flutter-proof at the described image of taking constantly collection and process.
11. device as claimed in claim 7 is characterized in that, also comprises:
The definition determining unit, be used in described parameter determining unit according to the image that obtains, before the needed primary importance variable parameter, determine that the definition of the image that described second camera gathers is greater than the definition of the image of described the first camera collection when determining to carry out the electronic flutter-proof processing.
12. device as claimed in claim 7, it is characterized in that, described processing unit, concrete be used for focal length when the focal length of described the first camera and described second camera when identical, according to the described primary importance variable parameter of determining, described the first camera is carried out the electronic flutter-proof processing at the described image that constantly gathers of taking; Perhaps
When the focal length of the focal length of described the first camera and described second camera not simultaneously, based on the described primary importance variable parameter of determining, relatively specify the ratio of equivalent focal length with the equivalent focal length of the relative described appointment camera of described the first camera of camera according to described second camera, determine that described the first camera carries out electronic flutter-proof needed second place variable parameter when processing, and according to described second place variable parameter described the first camera is carried out electronic flutter-proof and processes at the described image that constantly gathers of taking.
CN201110196560.5A 2011-07-14 2011-07-14 Anti-shake method and device for shooting Active CN102883099B (en)

Priority Applications (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

Applications Claiming Priority (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

Publications (2)

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

Family

ID=47484226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110196560.5A Active 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)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763483A (en) * 2014-01-23 2014-04-30 贝壳网际(北京)安全技术有限公司 Method and device for shaking resistance in photo taking process of mobile terminal and mobile terminal
CN104580907A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Anti-shake photographing method and device
WO2016011758A1 (en) * 2014-07-21 2016-01-28 宇龙计算机通信科技(深圳)有限公司 Image processing method and image processing apparatus
CN106303203A (en) * 2015-06-10 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN103826065B (en) * 2013-12-12 2017-07-21 小米科技有限责任公司 A kind of image processing method and device
CN107071263A (en) * 2016-12-30 2017-08-18 努比亚技术有限公司 A kind of image processing method and terminal
CN107370957A (en) * 2017-08-24 2017-11-21 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107493438A (en) * 2017-09-26 2017-12-19 华勤通讯技术有限公司 Continuous shooting method and device, the electronic equipment of dual camera
CN108541374A (en) * 2015-12-28 2018-09-14 华为技术有限公司 A kind of image interfusion method, device and terminal device
CN108881636A (en) * 2018-06-30 2018-11-23 成都西纬科技有限公司 Backlight automatic mode switching method, device, electronic equipment and computer readable storage medium
CN109429004A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 A kind of photographic method, device and mobile terminal
CN110213479A (en) * 2019-04-30 2019-09-06 北京迈格威科技有限公司 A kind of video capture anti-fluttering method and device
CN110991550A (en) * 2019-12-13 2020-04-10 歌尔科技有限公司 Video monitoring method and device, electronic equipment and storage medium
CN112087593A (en) * 2019-06-14 2020-12-15 富士通株式会社 Video configuration updating device and method and electronic equipment
US11310428B2 (en) 2017-04-27 2022-04-19 Vivo Mobile Communication Co., Ltd. Camera shooting method and mobile terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3979617A4 (en) * 2019-08-26 2022-06-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Shooting anti-shake method and apparatus, terminal and 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

Cited By (25)

* 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
WO2016011758A1 (en) * 2014-07-21 2016-01-28 宇龙计算机通信科技(深圳)有限公司 Image processing method and image processing apparatus
CN104580907B (en) * 2014-12-31 2018-11-23 广东欧珀移动通信有限公司 A kind of photographic method and device of stabilization
CN104580907A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Anti-shake photographing method and device
CN106303203A (en) * 2015-06-10 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106303203B (en) * 2015-06-10 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN108541374A (en) * 2015-12-28 2018-09-14 华为技术有限公司 A kind of image interfusion method, device and terminal device
US10511776B2 (en) 2015-12-28 2019-12-17 Huawei Technologies Co., Ltd. Image fusion method and apparatus, and terminal device
CN108541374B (en) * 2015-12-28 2020-12-15 华为技术有限公司 Image fusion method and device and terminal equipment
CN107071263A (en) * 2016-12-30 2017-08-18 努比亚技术有限公司 A kind of image processing method and terminal
CN107071263B (en) * 2016-12-30 2020-02-18 努比亚技术有限公司 Image processing method and terminal
US11310428B2 (en) 2017-04-27 2022-04-19 Vivo Mobile Communication Co., Ltd. Camera shooting method and mobile terminal
CN107370957A (en) * 2017-08-24 2017-11-21 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109429004A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 A kind of photographic method, device and mobile terminal
CN109429004B (en) * 2017-08-29 2021-06-04 中兴通讯股份有限公司 Photographing method and device and mobile terminal
CN107493438B (en) * 2017-09-26 2020-05-15 华勤通讯技术有限公司 Continuous shooting method and device for double cameras and electronic equipment
CN107493438A (en) * 2017-09-26 2017-12-19 华勤通讯技术有限公司 Continuous shooting method and device, the electronic equipment of dual camera
CN108881636A (en) * 2018-06-30 2018-11-23 成都西纬科技有限公司 Backlight automatic mode switching method, device, electronic equipment and computer readable storage medium
CN108881636B (en) * 2018-06-30 2021-05-04 成都西纬科技有限公司 Backlight mode automatic switching method and device, electronic equipment and computer readable storage medium
CN110213479A (en) * 2019-04-30 2019-09-06 北京迈格威科技有限公司 A kind of video capture anti-fluttering method and device
CN112087593A (en) * 2019-06-14 2020-12-15 富士通株式会社 Video configuration updating device and method and electronic equipment
CN112087593B (en) * 2019-06-14 2022-10-14 富士通株式会社 Video configuration updating device and method and electronic equipment
CN110991550A (en) * 2019-12-13 2020-04-10 歌尔科技有限公司 Video monitoring method and device, electronic equipment and storage medium
CN110991550B (en) * 2019-12-13 2023-10-17 歌尔科技有限公司 Video monitoring method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102883099B (en) 2015-03-11
WO2013007164A1 (en) 2013-01-17

Similar Documents

Publication Publication Date Title
CN102883099B (en) Anti-shake method and device for shooting
TWI503786B (en) Mobile device and system for generating panoramic video
US10764496B2 (en) Fast scan-type panoramic image synthesis method and device
CN112311965B (en) Virtual shooting method, device, system and storage medium
WO2017113048A1 (en) Image fusion method and apparatus, and terminal device
JP2018513640A (en) Automatic panning shot generation
CN105340267A (en) Method for generating picture and twin-lens device
CN110300240B (en) Image processor, image processing method, photographing device and electronic equipment
CN107223330A (en) A kind of depth information acquisition method, device and image capture device
CN103685950A (en) Method and device for preventing shaking of video image
CN103763483A (en) Method and device for shaking resistance in photo taking process of mobile terminal and mobile terminal
JP2011244046A (en) Imaging apparatus, image processing method, and program storage medium
CN106231175A (en) A kind of method that terminal gesture is taken pictures
CN105376473A (en) Photographing method, device and equipment
US9258485B2 (en) Image sensor cropping images in response to cropping coordinate feedback
WO2016011758A1 (en) Image processing method and image processing apparatus
WO2020236432A1 (en) Image/video deblurring using convolutional neural networks with applications to sfm/slam with blurred images/videos
CN103795961A (en) Video conference telepresence system and image processing method thereof
CN104506775A (en) Image collection jitter removing method and device based on stereoscopic visual matching
US20240114245A1 (en) Imaging support device, imaging support system, imaging system, imaging support method, and program
CN110519540A (en) A kind of image processing method, device, equipment and storage medium
CN105472245A (en) Photographing method and electronic device
CN104394316A (en) Camera cloud deck posture testing system
CN104539890A (en) Target tracking method and system
CN105530421A (en) Terminal, focusing method and device based on double cameras

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