CN105578061A - Anti-shaking method and device for photographing, and mobile terminal - Google Patents

Anti-shaking method and device for photographing, and mobile terminal Download PDF

Info

Publication number
CN105578061A
CN105578061A CN201610104719.9A CN201610104719A CN105578061A CN 105578061 A CN105578061 A CN 105578061A CN 201610104719 A CN201610104719 A CN 201610104719A CN 105578061 A CN105578061 A CN 105578061A
Authority
CN
China
Prior art keywords
image frame
taking pictures
stabilization
cache
cache image
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.)
Pending
Application number
CN201610104719.9A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610104719.9A priority Critical patent/CN105578061A/en
Publication of CN105578061A publication Critical patent/CN105578061A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/62Control of parameters via user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an anti-shaking method and an anti-shaking device for photographing and a mobile terminal. The method comprises the following steps of receiving a photograph preview command, and acquiring cache image frames collected by a camera; storing the cache image frames into a full-scale data flow queue and a preview data flow queue; receiving a photographing command input by a user, and determining a cache queue for outputting a photograph image according to a preset photographing mode; when the photographing mode is the anti-shaking delayed mode, selecting a target image frame from the full-scale data flow queue according to the reference standard value of the cache image frames, and using the target image frame as the photograph image for outputting. According to the anti-shaking method for photographing, the cache image frame with the highest image definition of the cache image frames in the full-scale data flow queue is determined to be the photograph image, thus the anti-shaking effect of the terminal during photographing is improved, the success rate of photographing is significantly increased, the ambiguous photograph caused by shaking during photographing is avoided, and the user experience during photographing is enhanced.

Description

A kind of method of stabilization of taking pictures, device and mobile terminal
Technical field
The present invention relates to the communication technical field of mobile terminal, particularly a kind of method of stabilization of taking pictures, device and mobile terminal.
Background technology
Along with the development of mobile terminal technology, the standard configuration that camera has become large multi-terminal equipment provides camera function for user, the camera function of mobile terminal uses more and more frequent, great enjoyment and convenience is brought to people's live and work, and camera pixel is more and more higher, be intended to allow user photograph the photo of better quality.
But user is when using terminal to take pictures; usual meeting is because many reasons causes shake, and such as, because the screen of mobile terminal does larger and larger, the situation of hand-held shakiness is constantly increasing; and then the probability causing clapped photo to be stuck with paste is also more and more higher, second-rate.
Therefore, the actual application problem between above-mentioned appearance is set out, and urgently proposes the method for a series of stabilization of taking pictures at present.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, a kind of method of stabilization of taking pictures, device and mobile terminal are provided.
According to following disclosed embodiment, a first aspect of the present invention proposes a kind of method of stabilization of taking pictures, and described method comprises the following steps:
Reception is taken pictures instruction for previewing, obtains the cache image frame by camera collection;
By described cache image Frame storage in full-scale traffic queue and/or preview data flow queue;
Receive the photographing instruction of input, according to the exposal model preset, the buffer queue that image of determining to take pictures exports;
When described exposal model is stabilization delay mode, the normative reference value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
Further, the normative reference value of described cache image frame is clear picture value.
Further, the computational process of the clear picture value of described cache image frame is:
Obtain the spectrogram of the focusing area of described cache image frame;
Obtain the quantity of the high fdrequency component in described spectrogram;
The quantity of described high fdrequency component is defined as the clear picture value of described cache image frame.
Further, the calculating of the clear picture value of described cache image frame carry out after the cache image frame of described acquisition by camera collection or described receive the photographing instruction of input after, choose in target image frame process and carry out.
Further, described reception is taken pictures instruction for previewing, before obtaining the cache image frame by camera collection, also comprises:
Arrange described exposal model, wherein said exposal model comprises stabilization delay mode and real-time mode.
According to following disclosed embodiment, a second aspect of the present invention proposes a kind of device of stabilization of taking pictures, and described device comprises:
Image collection module, for receiving instruction for previewing of taking pictures, obtains the cache image frame by camera collection;
Image storage module, for by described cache image Frame storage in full-scale traffic queue and/or preview data flow queue;
Image zooming-out module, for receiving the photographing instruction of input, according to the exposal model preset, the buffer queue that image of determining to take pictures exports;
Image output module, for when described exposal model is stabilization delay mode, the normative reference value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
Further, the normative reference value of described cache image frame is clear picture value.
Further, described device also comprises clear picture value computing module, and this module comprises:
Spectrogram unit, for obtaining the spectrogram of the focusing area of described cache image frame;
High fdrequency component unit, for obtaining the quantity of the high fdrequency component in described spectrogram;
True value cell, for being defined as the clear picture value of described cache image frame by the quantity of described high fdrequency component.
Further, described device also comprises:
Exposal model arranges module, and for arranging described exposal model, wherein said exposal model comprises stabilization delay mode and real-time mode.
According to following disclosed embodiment, a third aspect of the present invention proposes a kind of mobile terminal, and described mobile terminal comprises the device of above-mentioned a kind of stabilization of taking pictures.
The present invention has following advantage and effect relative to prior art:
1) anti-fluttering method of taking pictures provided by the invention, realizes cache image frame the highest for the clear picture value of the cache image frame in current full-scale traffic queue to be defined as taking pictures image, improves the stabilization effect that terminal is taken pictures.
2) anti-fluttering method of taking pictures provided by the invention, significantly improves success rate of taking pictures, and avoiding takes pictures, and to shake the photograph that causes smudgy, brings better operating experience to the user of mobile terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow block diagram of a kind of stabilization of taking pictures disclosed in the embodiment of the present invention one;
Fig. 2 is the calculation flow chart of the clear picture value of cache image frame in the embodiment of the present invention one;
Fig. 3 is the method flow block diagram of another kind of stabilization of taking pictures disclosed in the embodiment of the present invention one;
Fig. 4 is the structured flowchart of the device of a kind of stabilization of taking pictures disclosed in the embodiment of the present invention two;
Fig. 5 is the structured flowchart of the device of another stabilization of taking pictures disclosed in the embodiment of the present invention two;
Fig. 6 is the structured flowchart of the device of another kind of stabilization of taking pictures disclosed in the embodiment of the present invention two.
Embodiment
The technological means realized for making the present invention, creation characteristic, reach object and effect is easy to understand, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
To be described in detail respectively according to embodiment below.
Embodiment one
User is when hand-held mobile terminal is taken pictures, user can find that screen is larger, the photo of shooting is fuzzyyer, time particularly one hand is taken pictures, fuzzy probability can be much larger, after case study, find that user is after the key of taking pictures clicking mobile terminal screen, the image data of reading may be the image data of shake, and the probability that photograph slice can be caused so virtually to shake increases.
For above technical problem, the embodiment of the present invention provides one to take pictures anti-fluttering method, the method is by the following technical solutions: when mobile terminal receives shooting preview instruction, obtain cache image frame, and the cache image frame got is kept in full-scale traffic queue and preview data flow queue respectively, wherein, full-scale traffic queue preserves the cache image frame that some frames obtain before receiving shooting instruction, preview data flow queue preserves the cache image frame obtained when receiving shooting instruction, user is according to current environment jitter conditions, arrange mobile terminal take pictures select stabilization delay mode or select real-time mode, when exposal model is stabilization delay mode, mobile terminal reads the cache image frame preserved in full-scale traffic queue and exports as image of taking pictures, when exposal model is real-time mode, mobile terminal reads the cache image frame preserved in preview data flow queue and exports as image of taking pictures.
Refer to Fig. 1, Fig. 1 is the method flow block diagram of a kind of stabilization of taking pictures disclosed in the present embodiment one.The method of a kind of stabilization of taking pictures shown in Fig. 1, be applied to intelligent mobile terminal, especially the intelligent mobile terminal of large-screen, described intelligent mobile terminal includes but not limited to the terminal equipment of mobile phone, notebook computer, panel computer and palm equipment for surfing the net, multimedia equipment, stream media equipment, mobile internet device (MID, mobileinternetdevice), wearable device or other types.
The method of a kind of stabilization of taking pictures shown in Fig. 1, specifically comprises the following steps:
Step S101, receive and to take pictures instruction for previewing, obtain the cache image frame by camera collection.
In embody rule, when user is for taking pictures by mobile terminal, camera can be clicked at mobile terminal and to be correlated with APP application, starting camera concurrent preview request of taking pictures.
The input of above-mentioned preview request of taking pictures has various ways, can be user click take pictures key or the mobile terminal side of mobile terminal screen physical button trigger, also can be terminal under time delay exposal model, terminal take pictures time delay arrive time trigger.
Step S102, by described cache image Frame storage in full-scale traffic queue and/or preview data flow queue.
In embody rule, by the cache image frame that the scene imaging in mobile terminal camera Real-time Obtaining image pickup scope obtains, often obtain a cache image frame, just the cache image frame got is added in full-scale traffic queue and/or preview data flow queue.
In further execution mode, after obtaining cache image frame by mobile terminal camera, judge whether the quantity of cache image frame in described full-scale traffic queue reaches default queue length, when judged result is for being, by rise time cache image frame deletion the earliest in described full-scale traffic queue, and the cache image frame got is kept at full-scale traffic queue; When judged result is no, the cache image frame got directly is kept at full-scale traffic queue.
Meanwhile, after obtaining cache image frame by mobile terminal camera, the cache image frame preserved before the up-to-date cache image frame got being replaced in described preview data flow queue.
It should be noted that, the length of full-scale traffic queue is by determining that the quantity of the cache image frame that this camera can gather in Preset Time is determined, wherein, Preset Time can be set by engineers and technicians, the time span that 1.5s, 1s, 0.5s or 0.2s etc. are proper can be set as, Preset Time is long causes the cache image frame that in full-scale traffic queue, major part stores not to be user's desired image moment of preserving, and time too short meeting makes the picture frame of buffer memory in full-scale traffic queue very few and not picture frame more clearly.
The photographing instruction of step S103, reception input, according to the exposal model preset, the buffer queue that image of determining to take pictures exports, when the exposal model preset is stabilization delay mode, chooses the buffer queue that described full-scale traffic queue exports as image of taking pictures; When the exposal model preset is real-time mode, choose the buffer queue that described preview data flow queue exports as image of taking pictures.
It should be noted that, real-time exposal model described in the present embodiment, be zero second popular at present snap pattern, under zero second snap pattern, mobile terminal real-time collection one frame of meeting or some two field picture frames under preview of taking pictures carry out buffer memory, and the advantage that it has " zero shutter delay " (the shutter delay time is short), makes the time shorten that the whole process of taking pictures uses under zero-lag snap pattern, realize the candid photograph effect of " What You See Is What You Get ".
Step S104, when described exposal model is stabilization delay mode, the normative reference value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
In embody rule, the normative reference value of described cache image frame is clear picture value.
Illustrate the concrete refinement step when the normative reference value of described cache image frame is clear picture value below.
When the normative reference value of described cache image frame is clear picture value, the clear picture value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
Further, clear picture can be chosen in image buffer storage queue and be worth maximum picture frame as target image frame.
What needs further illustrated is, described clear picture value can be taken pictures instruction for previewing in reception, after obtaining the cache image frame of camera collection, calculate the clear picture value of described cache image frame, and then described cache image frame is added described full-scale traffic queue storage, and then receive the photographing instruction of input, clear picture value according to cache image frame chooses target image frame in described image buffer storage queue, using take pictures image output (such as JPG form) of described target image frame as specified format, the efficiency of processing procedure of taking pictures can be improved, there is the effect of stabilization.
It should be noted that, after this has been taken pictures, also need the picture frame deleting buffer memory in buffer queue in this process of taking pictures, prevent from producing interference to taking pictures next time.
In a preferred embodiment, the computational process of the clear picture value of described cache image frame as shown in Figure 2, specifically comprises:
Step S1041, obtain the spectrogram of the focusing area of described cache image frame;
In specific implementation, first the distributed function of described focusing area image is obtained, then the spectrogram that wavelet transformation, discrete cosine transform or other algorithm based on Fourier transform can obtain focusing area is done to distributed function, wherein, gray scale refers to the brightness (or degree of the color depth) of image.In focusing area, the place of grey scale change fierceness just correspond to high fdrequency component and the little place of grey scale change correspond to low frequency component, if each position gray scale change of focusing area is little, then only to there is low frequency component in image, from the spectrogram of focusing area, only have a main peak, and be positioned at the position that frequency is zero; If each position gray scale change of focusing area is violent, then not only there is low frequency component in image, also there is multiple high fdrequency component simultaneously, from the frequency spectrum of image, not only have a main peak, also there is multiple other peak simultaneously.There is the edge with image in the place that in usual image, grey scale change is violent, therefore, focusing area high frequency components is more, and the edge in focusing area is more, and the image detail that focusing area distinguishes is more, and therefore focusing area is also more clear.
Step S1042, obtain the quantity of the high fdrequency component in described spectrogram;
Step S1043, the quantity of described high fdrequency component is defined as the clear picture value of described cache image frame.
According to above-mentioned steps, focusing area high frequency components is more, and the edge in focusing area is more, and the image detail that focusing area distinguishes is more, and focusing area is also more clear.The numerical value of the high fdrequency component of the focusing area of cache image frame just can be obtained by step S2041 and step S2042, and in this step the quantitative value of this high fdrequency component is defined as the clear picture value of this cache image frame, as the definition normative reference evaluating this focusing area, and clear picture value is considered as the definition normative reference of cache image frame in whole process of taking pictures.
Another preferred embodiment in, before described step S101, described in the take pictures method of stabilization further comprising the steps of:
S100, described exposal model is set.
Described exposal model includes but not limited to: stabilization delay mode and real-time mode; When the exposal model preset is stabilization delay mode, choose the buffer queue that described full-scale traffic queue exports as image of taking pictures; When the exposal model preset is real-time mode, choose the buffer queue that described preview data flow queue exports as image of taking pictures.
This exposal model is supported that user adjusts in real time according to application scenarios and is arranged exposal model.
The method flow block diagram specifically comprising a kind of stabilization of taking pictures of above-mentioned steps S100 can refer to shown in accompanying drawing 3.
In sum, one disclosed in the present embodiment is taken pictures anti-fluttering method, first the cache image frame that mobile terminal camera obtains is added full-scale traffic queue and the clear value of computed image, after receiving photographing instruction, clear picture value according to the cache image frame in current full-scale traffic queue chooses target image frame, and then cache image frame the highest for clear picture value is defined as taking pictures image, finally export image of taking pictures.This technical scheme realizes cache image frame the highest for the clear picture value of the cache image frame in current full-scale traffic queue to be defined as taking pictures image, significantly improve success rate of taking pictures, avoiding takes pictures, and to shake the photograph that causes smudgy, brings better operating experience to the user of mobile terminal.
Execute example two
Prevent from shaking for providing a kind of the object original intention causing photograph fuzzy raising simultaneously photo to go out to shine success rate when mobile terminal is taken pictures, the present embodiment proposes a kind of device of stabilization of taking pictures, obtain cache image frame by mobile terminal camera and add full-scale traffic queue and the clear value of computed image, after receiving photographing instruction, clear picture value according to the cache image frame in current full-scale traffic queue chooses target image frame, and then cache image frame the highest for clear picture value is defined as taking pictures image, finally export the image of taking pictures of certain format, its structured flowchart of the device of stabilization of taking pictures disclosed in the present embodiment two as shown in Figure 4, described device comprises: image capture module 201, image storage module 202, image zooming-out module 203 and image output module 204, wherein:
Image capture module 201, for receiving instruction for previewing of taking pictures, obtains the cache image frame by camera collection.
In embody rule, the input of the preview request of taking pictures that this module receives has various ways, can be user click take pictures key or the mobile terminal side of mobile terminal screen physical button trigger, also can be terminal under time delay exposal model, terminal take pictures time delay arrive time trigger.
Image storage module 202, for by described cache image Frame storage in full-scale traffic queue and/or preview data flow queue.
In embody rule, by the cache image frame that the scene imaging in mobile terminal camera Real-time Obtaining image pickup scope obtains, often obtain a cache image frame, just the cache image frame got is added in full-scale traffic queue and/or preview data flow queue.
In further execution mode, after obtaining cache image frame by mobile terminal camera, judge whether the quantity of cache image frame in described full-scale traffic queue reaches default queue length, when judged result is for being, by rise time cache image frame deletion the earliest in described full-scale traffic queue, and the cache image frame got is kept at full-scale traffic queue; When judged result is no, the cache image frame got directly is kept at full-scale traffic queue.
Meanwhile, after obtaining cache image frame by mobile terminal camera, the cache image frame preserved before the up-to-date cache image frame got being replaced in described preview data flow queue.
It should be noted that, the length of full-scale traffic queue is by determining that the quantity of the cache image frame that this camera can gather in Preset Time is determined, wherein, Preset Time can be set by engineers and technicians, the time span that 1.5s, 1s, 0.5s or 0.2s etc. are proper can be set as, Preset Time is long causes the cache image frame that in full-scale traffic queue, major part stores not to be user's desired image moment of preserving, and time too short meeting makes the picture frame of buffer memory in full-scale traffic queue very few and not picture frame more clearly.
Image zooming-out module 203, for receiving the photographing instruction of input, according to the exposal model preset, the buffer queue that image of determining to take pictures exports.
This module specific works principle is as follows: when the exposal model preset is stabilization delay mode, chooses the buffer queue that described full-scale traffic queue exports as image of taking pictures; When the exposal model preset is real-time mode, choose the buffer queue that described preview data flow queue exports as image of taking pictures.
Image output module 204, for when described exposal model is stabilization delay mode, the normative reference value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
In the present embodiment, the normative reference value of described cache image frame is clear picture value.
When the normative reference value of described cache image frame is clear picture value, this module chooses target image frame according to the clear picture value of cache image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
Further, clear picture can be chosen in image buffer storage queue and be worth maximum picture frame as target image frame.
Another preferred embodiment in, the device of described a kind of stabilization of taking pictures, also comprises: clear picture value computing module 205, and this module comprises:
Spectrogram unit 2051, for obtaining the spectrogram of the focusing area of described cache image frame;
In specific implementation, first this unit obtains the distributed function of described focusing area image, then the spectrogram that wavelet transformation, discrete cosine transform or other algorithm based on Fourier transform can obtain focusing area is done to distributed function, wherein, gray scale refers to the brightness (or degree of the color depth) of image.
High fdrequency component unit 2052, for obtaining the quantity of the high fdrequency component in described spectrogram;
True value cell 2053, for being defined as the clear picture value of described cache image frame by the quantity of described high fdrequency component.
In specific implementation, focusing area high frequency components is more, and the edge in focusing area is more, and the image detail that focusing area distinguishes is more, and focusing area is also more clear.The numerical value of the high fdrequency component of the focusing area of cache image frame just can be obtained by spectrogram unit 2051 and high fdrequency component unit 2052, and the quantitative value of this high fdrequency component is defined as the clear picture value of this cache image frame in this really value cell 2053, as the definition normative reference evaluating this focusing area, and clear picture value is considered as the definition normative reference of cache image frame in whole process of taking pictures.
The structured flowchart comprising the device of the stabilization of taking pictures of above-mentioned clear picture value computing module 205 can refer to shown in accompanying drawing 5.
Another preferred embodiment in, the device of described a kind of stabilization of taking pictures, also comprises:
Exposal model arranges module 200, and for arranging described exposal model, wherein said exposal model comprises stabilization delay mode and real-time mode.
Comprise the structured flowchart that above-mentioned exposal model arranges the device of the stabilization of taking pictures of module 200 to can refer to shown in accompanying drawing 6.
The embodiment of the present invention also provides a kind of mobile terminal, specifically comprises the device of a kind of stabilization of taking pictures as shown in Figures 4 to 6.
Based on same inventive concept, the device of stabilization that what the embodiment of the present invention provided take pictures and mobile terminal, similar to the method for aforementioned a kind of stabilization of taking pictures in the principle of dealing with problems, therefore the enforcement of this device and mobile terminal can see the enforcement of preceding method, the module of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In sum, the device of stabilization of taking pictures disclosed in the present embodiment and mobile terminal, image capture module 201 in said apparatus, image storage module 202, image zooming-out module 203 and image output module 204 cooperatively interact work, first the image of camera collection shot region is utilized to form cache image frame by image capture module 201, then the cache image frame that mobile terminal camera obtains is added full-scale traffic queue and the clear value of computed image by image storage module 202, then image zooming-out module 203 is after receiving photographing instruction, clear picture value according to the cache image frame in current full-scale traffic queue chooses target image frame, and then cache image frame the highest for clear picture value is defined as taking pictures image, finally export by image output module 204 image of taking pictures.This technical scheme realizes cache image frame the highest for the clear picture value of the cache image frame in current full-scale traffic queue to be defined as taking pictures image, significantly improve success rate of taking pictures, avoiding takes pictures, and to shake the photograph that causes smudgy, improves operating experience when user takes pictures.
In each embodiment of the method for the present invention; the sequence number of described each step can not be used for the sequencing limiting each step; for those of ordinary skill in the art, under the prerequisite not paying creative work, the priority of each step is changed also within protection scope of the present invention.
The module of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
It should be noted that in said apparatus and terminal embodiment, included modules and unit are carry out dividing according to function logic, but are not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each module and unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Such as, terminal embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of module or unit or communication connection can be electrical, machinery or other form.
In addition, each functional module in each embodiment of the present invention or unit can be integrated in a processing module or unit, also can be that the independent physics of modules or unit exists, also can two or more modules or unit be integrated in a module or unit.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (10)

1. a method for stabilization of taking pictures, is characterized in that, described method comprises the following steps:
Reception is taken pictures instruction for previewing, obtains the cache image frame by camera collection;
By described cache image Frame storage in full-scale traffic queue and/or preview data flow queue;
Receive the photographing instruction of input, according to the exposal model preset, the buffer queue that image of determining to take pictures exports;
When described exposal model is stabilization delay mode, the normative reference value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
2. the method for a kind of stabilization of taking pictures according to claim 1, is characterized in that, the normative reference value of described cache image frame is clear picture value.
3. the method for a kind of stabilization of taking pictures according to claim 2, is characterized in that, the computational process of the clear picture value of described cache image frame is:
Obtain the spectrogram of the focusing area of described cache image frame;
Obtain the quantity of the high fdrequency component in described spectrogram;
The quantity of described high fdrequency component is defined as the clear picture value of described cache image frame.
4. the method for a kind of stabilization of taking pictures according to claim 2, it is characterized in that, the calculating of the clear picture value of described cache image frame carry out after the cache image frame of described acquisition by camera collection or described receive the photographing instruction of input after, choose in target image frame process and carry out.
5. the method for a kind of stabilization of taking pictures according to claim 1, is characterized in that, described reception is taken pictures instruction for previewing, before obtaining the cache image frame by camera collection, also comprises:
Arrange described exposal model, wherein said exposal model comprises stabilization delay mode and real-time mode.
6. a device for stabilization of taking pictures, is characterized in that, described device comprises:
Image collection module, for receiving instruction for previewing of taking pictures, obtains the cache image frame by camera collection;
Image storage module, for by described cache image Frame storage in full-scale traffic queue and/or preview data flow queue;
Image zooming-out module, for receiving the photographing instruction of input, according to the exposal model preset, the buffer queue that image of determining to take pictures exports;
Image output module, for when described exposal model is stabilization delay mode, the normative reference value according to cache image frame chooses target image frame in described full-scale traffic queue, is exported by described target image frame as image of taking pictures.
7. the device of a kind of stabilization of taking pictures according to claim 6, is characterized in that, the normative reference value of described cache image frame is clear picture value.
8. the device of a kind of stabilization of taking pictures according to claim 7, is characterized in that, described device also comprises clear picture value computing module, and this module comprises:
Spectrogram unit, for obtaining the spectrogram of the focusing area of described cache image frame;
High fdrequency component unit, for obtaining the quantity of the high fdrequency component in described spectrogram;
True value cell, for being defined as the clear picture value of described cache image frame by the quantity of described high fdrequency component.
9. the device of a kind of stabilization of taking pictures according to claim 6, it is characterized in that, described device also comprises:
Exposal model arranges module, and for arranging described exposal model, wherein said exposal model comprises stabilization delay mode and real-time mode.
10. a mobile terminal, is characterized in that, comprises the device of the arbitrary described a kind of stabilization of taking pictures of claim 6 to 9.
CN201610104719.9A 2016-02-25 2016-02-25 Anti-shaking method and device for photographing, and mobile terminal Pending CN105578061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610104719.9A CN105578061A (en) 2016-02-25 2016-02-25 Anti-shaking method and device for photographing, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610104719.9A CN105578061A (en) 2016-02-25 2016-02-25 Anti-shaking method and device for photographing, and mobile terminal

Publications (1)

Publication Number Publication Date
CN105578061A true CN105578061A (en) 2016-05-11

Family

ID=55887668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610104719.9A Pending CN105578061A (en) 2016-02-25 2016-02-25 Anti-shaking method and device for photographing, and mobile terminal

Country Status (1)

Country Link
CN (1) CN105578061A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979155A (en) * 2016-06-30 2016-09-28 维沃移动通信有限公司 Photographing method and mobile terminal
CN106060406A (en) * 2016-07-27 2016-10-26 维沃移动通信有限公司 Photographing method and mobile terminal
CN106161932A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107172296A (en) * 2017-06-22 2017-09-15 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN107222669A (en) * 2017-06-30 2017-09-29 维沃移动通信有限公司 The method and mobile terminal of a kind of shooting
CN107743194A (en) * 2017-09-30 2018-02-27 广州市浩洋电子股份有限公司 A kind of stage lighting autofocus system and method based on image procossing
CN107743191A (en) * 2017-08-24 2018-02-27 捷开通讯(深圳)有限公司 Terminal and its stabilization photographic method, storage device
WO2018072308A1 (en) * 2016-10-17 2018-04-26 华为技术有限公司 Image output method and electronic device
CN108712605A (en) * 2018-05-04 2018-10-26 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
CN111131698A (en) * 2019-12-23 2020-05-08 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic equipment
CN113660426A (en) * 2021-09-08 2021-11-16 英望科技(山东)有限公司 Method and system for preventing photographing jitter of user and computer readable storage medium
CN114339015A (en) * 2020-09-27 2022-04-12 北京小米移动软件有限公司 Photographing processing method, photographing processing device and storage medium
CN114500821A (en) * 2020-10-26 2022-05-13 北京小米移动软件有限公司 Photographing method and device, terminal and storage medium
CN116723418A (en) * 2022-02-28 2023-09-08 荣耀终端有限公司 Photographing method and related device
CN117156261A (en) * 2023-03-28 2023-12-01 荣耀终端有限公司 Image processing method and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150665A (en) * 2006-09-20 2008-03-26 富士通株式会社 Image capturing device having a hand shake correction function and hand shake correction method
US20090051777A1 (en) * 2007-08-20 2009-02-26 Samsung Electronics Co., Ltd. Apparatus and method for estimating motion due to hand trembling and image pickup device using the same
CN103618855A (en) * 2013-12-03 2014-03-05 厦门美图移动科技有限公司 Photographing method and device for automatically selecting optimal image
CN103856709A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Image acquisition method and device
CN104580907A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Anti-shake photographing method and device
CN104618640A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing method and device
CN105072328A (en) * 2015-07-16 2015-11-18 广东欧珀移动通信有限公司 Video shooting method and device, and terminal
CN105100619A (en) * 2015-07-30 2015-11-25 努比亚技术有限公司 Apparatus and method for adjusting shooting parameters

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150665A (en) * 2006-09-20 2008-03-26 富士通株式会社 Image capturing device having a hand shake correction function and hand shake correction method
US20090051777A1 (en) * 2007-08-20 2009-02-26 Samsung Electronics Co., Ltd. Apparatus and method for estimating motion due to hand trembling and image pickup device using the same
CN103856709A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Image acquisition method and device
CN103618855A (en) * 2013-12-03 2014-03-05 厦门美图移动科技有限公司 Photographing method and device for automatically selecting optimal image
CN104618640A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing method and device
CN104580907A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Anti-shake photographing method and device
CN105072328A (en) * 2015-07-16 2015-11-18 广东欧珀移动通信有限公司 Video shooting method and device, and terminal
CN105100619A (en) * 2015-07-30 2015-11-25 努比亚技术有限公司 Apparatus and method for adjusting shooting parameters

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161932B (en) * 2016-06-30 2019-09-27 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106161932A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN105979155A (en) * 2016-06-30 2016-09-28 维沃移动通信有限公司 Photographing method and mobile terminal
CN106060406A (en) * 2016-07-27 2016-10-26 维沃移动通信有限公司 Photographing method and mobile terminal
CN108476286B (en) * 2016-10-17 2020-09-08 华为技术有限公司 Image output method and electronic equipment
WO2018072308A1 (en) * 2016-10-17 2018-04-26 华为技术有限公司 Image output method and electronic device
CN108476286A (en) * 2016-10-17 2018-08-31 华为技术有限公司 A kind of image output method and electronic equipment
CN107172296A (en) * 2017-06-22 2017-09-15 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN107222669A (en) * 2017-06-30 2017-09-29 维沃移动通信有限公司 The method and mobile terminal of a kind of shooting
CN107743191A (en) * 2017-08-24 2018-02-27 捷开通讯(深圳)有限公司 Terminal and its stabilization photographic method, storage device
WO2019037781A1 (en) * 2017-08-24 2019-02-28 捷开通讯(深圳)有限公司 Terminal and anti-shaking photographing method therefor, and storage apparatus
CN107743191B (en) * 2017-08-24 2020-05-19 捷开通讯(深圳)有限公司 Terminal, anti-shake photographing method thereof and storage device
WO2019062424A1 (en) * 2017-09-30 2019-04-04 广州市浩洋电子股份有限公司 Image processing-based system and method for automatically focusing stage lamp
CN107743194A (en) * 2017-09-30 2018-02-27 广州市浩洋电子股份有限公司 A kind of stage lighting autofocus system and method based on image procossing
CN107743194B (en) * 2017-09-30 2020-12-04 广州市浩洋电子股份有限公司 Stage lamp automatic focusing system and method based on image processing
CN108712605A (en) * 2018-05-04 2018-10-26 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
CN111131698A (en) * 2019-12-23 2020-05-08 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic equipment
CN111131698B (en) * 2019-12-23 2021-08-27 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic equipment
CN114339015B (en) * 2020-09-27 2023-08-22 北京小米移动软件有限公司 Photographing processing method, photographing processing device and storage medium
CN114339015A (en) * 2020-09-27 2022-04-12 北京小米移动软件有限公司 Photographing processing method, photographing processing device and storage medium
CN114500821A (en) * 2020-10-26 2022-05-13 北京小米移动软件有限公司 Photographing method and device, terminal and storage medium
CN114500821B (en) * 2020-10-26 2024-02-27 北京小米移动软件有限公司 Photographing method and device, terminal and storage medium
CN113660426B (en) * 2021-09-08 2023-07-18 英望科技(山东)有限公司 Method and system for preventing user photographing shake and computer readable storage medium
CN113660426A (en) * 2021-09-08 2021-11-16 英望科技(山东)有限公司 Method and system for preventing photographing jitter of user and computer readable storage medium
CN116723418A (en) * 2022-02-28 2023-09-08 荣耀终端有限公司 Photographing method and related device
CN116723418B (en) * 2022-02-28 2024-04-09 荣耀终端有限公司 Photographing method and related device
CN117156261A (en) * 2023-03-28 2023-12-01 荣耀终端有限公司 Image processing method and related equipment

Similar Documents

Publication Publication Date Title
CN105578061A (en) Anti-shaking method and device for photographing, and mobile terminal
JP6326411B2 (en) Video communication method, video communication apparatus, program, and recording medium
CN108924420B (en) Image shooting method, image shooting device, image shooting medium, electronic equipment and model training method
JP4177713B2 (en) Imaging device
CN105100615A (en) Image preview method, apparatus and terminal
JP7026262B2 (en) Neural network model training, time-lapse video generation methods and equipment
SE1150505A1 (en) Method and apparatus for taking pictures
CN112672060A (en) Shooting method and device and electronic equipment
US10726524B2 (en) Low-resolution tile processing for real-time bokeh
CN109495681A (en) The method and apparatus for obtaining image
CN113411498B (en) Image shooting method, mobile terminal and storage medium
CN113596294A (en) Shooting method and device and electronic equipment
CN111814745B (en) Gesture recognition method and device, electronic equipment and storage medium
CN112637500A (en) Image processing method and device
CN112887610A (en) Shooting method, shooting device, electronic equipment and storage medium
CN105611179A (en) Multi-frame optimization method and device for handheld photographic shake prevention and mobile terminal
CN111787230A (en) Image display method and device and electronic equipment
CN103945116A (en) Apparatus and method for processing image in mobile terminal having camera
CN114650361B (en) Shooting mode determining method, shooting mode determining device, electronic equipment and storage medium
CN105282455A (en) Shooting method and device and mobile terminal
CN112367465B (en) Image output method and device and electronic equipment
CN114723603A (en) Image processing method, image processing apparatus, and storage medium
CN104104880A (en) Mobile terminal and shooting method thereof
CN110418061A (en) Image processing method, image processor, camera arrangement and electronic equipment
CN112887624B (en) Shooting method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160511