CN103813103A - Method and device for anti-shaking picture taking of mobile terminal - Google Patents

Method and device for anti-shaking picture taking of mobile terminal Download PDF

Info

Publication number
CN103813103A
CN103813103A CN201410084579.4A CN201410084579A CN103813103A CN 103813103 A CN103813103 A CN 103813103A CN 201410084579 A CN201410084579 A CN 201410084579A CN 103813103 A CN103813103 A CN 103813103A
Authority
CN
China
Prior art keywords
quality
mobile terminal
image
photographic method
shake
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
CN201410084579.4A
Other languages
Chinese (zh)
Other versions
CN103813103B (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.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu Technology 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN201410084579.4A priority Critical patent/CN103813103B/en
Publication of CN103813103A publication Critical patent/CN103813103A/en
Application granted granted Critical
Publication of CN103813103B publication Critical patent/CN103813103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a method and device for anti-shaking picture taking of a mobile terminal. According to the method, when a user presses a shutter, gyroscope data start to be obtained, image quality level values are initialized, data changes of a gyroscope are judged within a preset time range, the image quality level is adjusted according to the change range, and an image is obtained and picture taking is performed until the image quality level reaches a preset value for allowing picture taking, so that the high-quality picture taking effect is achieved. Not only is the method simple, but also the anti-shaking effect is remarkable.

Description

A kind of anti-shake photographic method and device of mobile terminal
Technical field
The present invention relates to the anti-shake photographic method of a kind of photographic method, particularly a kind of mobile terminal and the device of application the method.
Background technology
The moment of pressing people the key of taking pictures in the daily process of taking pictures is easy to cause the shake of photographing device to make the picture of taking pictures out fuzzyyer, and this has limited the success rate of taking pictures greatly; Camera on existing a lot of mobile terminals has anti-trembling function in the market, but in the time of practical application, need to be introduced into camera applications, manually opened anti-trembling function, and camera could carry out anti-shake processing, inconvenient operation in the time taking pictures.
Summary of the invention
The present invention is for addressing the above problem, and provides a kind of method simple and have anti-shake photographic method and a device of the mobile terminal of remarkable anti-shake effect.
For achieving the above object, the technical solution used in the present invention is:
An anti-shake photographic method for mobile terminal, is characterized in that, comprises the following steps:
10. when user presses shutter, start to obtain gyro data initialization quality of image grade point;
20. judge within the scope of Preset Time whether gyrostatic data variation is less than preset value, if it is performs step 30, otherwise execution step 40;
Quality of image grade is updated to more high-grade value by 30., and further judge whether quality of image grade point reaches the default value of taking pictures of allowing, and if it is performs step 50, otherwise execution step 20;
40. exceed the degree of preset value according to gyrostatic data variation, and quality of image grade is updated to more low-grade value, perform step 20 simultaneously;
50. capturing videos are also carried out and are taken pictures.
Preferably, when in described step 10, user presses shutter, execution is taken pictures but is carried out certain delay judgement immediately.
Preferably, in described step 20, within the scope of Preset Time, judge photographing device jitter conditions by gyroscope numerical value change size, and then judge that whether image is fuzzy.
Preferably, when exceeding after the Preset Time scope described in step 20, allow the value of taking pictures if quality of image grade does not also reach, mobile terminal can decide in its sole discretion or allow user select whether to abandon current taking pictures.
Preferably, in described step 10, quality of image grade point should be designated the poorest quality of image in the time of initialization.
Preferably, described step 10 to the variation meeting of quality of image grade point in step 40 is carried out the displaying of corresponding form at the interface of taking pictures.
Preferably, the displaying of described credit rating adopts three credit rating points of red, yellow, and green.
In addition, the present invention also provides a kind of device of applying above-mentioned anti-shake photographic method, it is characterized in that, it comprises:
Data capture unit, for obtaining gyro data in the time that user presses shutter;
Judging unit, judges gyrostatic data variation and adjusts quality of image grade according to this excursion for pressing user within the scope of the Preset Time of shutter;
The unit of taking pictures, takes pictures for stablizing in the quality of image to carry out when allowing to take pictures.
The invention has the beneficial effects as follows:
The anti-shake photographic method of a kind of mobile terminal of the present invention, it by starting to obtain gyro data initialization quality of image grade point in the time that user presses shutter, and within the scope of Preset Time, judge gyrostatic data variation, and adjust quality of image grade according to this excursion, just start capturing video and carry out and take pictures until quality of image grade reaches the default value of taking pictures that allows, thereby obtain the high-quality effect of taking pictures, not only method is simple for it, and anti-shake effect is remarkable.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the general flow chart of the anti-shake photographic method of a kind of mobile terminal of the present invention;
Fig. 2 is the schematic diagram of the anti-shake camera arrangement of a kind of mobile terminal of the present invention;
Fig. 3 is the take pictures interfacial effect figure of user while pressing shutter;
Fig. 4 is that quality of image grade is updated to more higher leveled interfacial effect figure on Fig. 3 basis;
Fig. 5 is that quality of image grade is updated to more higher leveled interfacial effect figure on Fig. 4 basis.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, the anti-shake photographic method of a kind of mobile terminal of the present invention, it comprises the following steps:
10. when user presses shutter, start to obtain gyro data initialization quality of image grade point;
20. judge within the scope of Preset Time whether gyrostatic data variation is less than preset value, and this preset value can be a value range, if it is performs step 30, otherwise execution step 40;
Quality of image grade is updated to more high-grade value by 30., and further judge whether quality of image grade point reaches the default value of taking pictures of allowing, and if it is performs step 50, otherwise execution step 20;
40. exceed the degree of preset value according to gyrostatic data variation, and quality of image grade is updated to more low-grade value, perform step 20 simultaneously;
50. in the time that image is stablized, and capturing video is also carried out and taken pictures.
In the present embodiment, when in described step 10, user presses shutter, unlike traditional photographic method, execution is taken pictures but is carried out certain delay judgement immediately; In described step 20, within the scope of Preset Time, judge photographing device jitter conditions by gyroscope numerical value change size, and then judge that whether image is fuzzy; When exceeding after the Preset Time scope described in step 20, if also not reaching, quality of image grade allows the value of taking pictures, mobile terminal can decide in its sole discretion or allow user select whether to abandon current taking pictures.
Preferably, in described step 10, quality of image grade point should be designated the poorest quality of image in the time of initialization, and quality of image grade specifically will arrange how many levels and can set it according to actual needs; And the preset value that aforesaid Preset Time scope and gyroscope change judgement all can need to adopt different values according to different.
Preferably, described step 10 to the variation meeting of quality of image grade point in step 40 is carried out the displaying of corresponding form at the interface of taking pictures; For example adopt three credit rating points of red, yellow, and green to show.
As shown in Figure 2, the present invention also provides a kind of device of applying above-mentioned anti-shake photographic method, it is characterized in that, it comprises:
Data capture unit 100, for obtaining gyro data in the time that user presses shutter;
Judging unit 200, judges gyrostatic data variation and adjusts quality of image grade according to this excursion for pressing user within the scope of the Preset Time of shutter;
The unit 300 of taking pictures, takes pictures for stablizing in the quality of image to carry out when allowing to take pictures.
Change and be illustrated below in conjunction with the interface shown in Fig. 3 to Fig. 5:
In the present embodiment, quality of image grade is 4 grades, and Fig. 3 is the take pictures interfacial effect figure of user while pressing shutter, now shows three credit rating points of red, yellow, and green; Fig. 4 is that quality of image grade is updated to more higher leveled interfacial effect figure on Fig. 3 basis, now shows yellow, green two credit rating points; Fig. 5 is that quality of image grade is updated to more higher leveled interfacial effect figure on Fig. 4 basis, now shows green credit rating point;
First, in step 10, in the time that user presses shutter, start to obtain gyro data and initialization quality of image grade point is 4, preserve time T now simultaneously.
Secondly, in step 20, in 0.1 second, judge whether gyrostatic data variation is less than preset range, if it is perform step 30 otherwise execution step 40;
Now, judge whether current time Distance Time T exceedes 1 second, if exceed 1 second and quality of image grade also not to 1 grade, automatically abandon current taking pictures, and the prompting that user is abandoned taking pictures;
Then, in step 30, quality of image grade is deducted to 1, if now judge that quality of image grade is less than or equal to 1, execution step 50 otherwise execution step 20;
Then, in step 40, upgrade back original certain grade according to the large young pathbreaker's quality of image grade exceeding, perform step 20 simultaneously;
Finally, the image that in step 50, equipment is caught is stable allows photographing device take pictures, and now three credit rating points of red, yellow, and green are can't see at interface.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention, as front, be to be understood that the present invention is not limited to disclosed form herein, should not regard the eliminating to other embodiment as, and can be used for various other combinations, modification and environment, and can, in invention contemplated scope herein, change by technology or the knowledge of above-mentioned instruction or association area.And the change that those skilled in the art carry out and variation do not depart from the spirit and scope of the present invention, all should be in the protection range of claims of the present invention.

Claims (8)

1. an anti-shake photographic method for mobile terminal, is characterized in that, comprises the following steps:
10. when user presses shutter, start to obtain gyro data initialization quality of image grade point;
20. judge within the scope of Preset Time whether gyrostatic data variation is less than preset value, if it is performs step 30, otherwise execution step 40;
Quality of image grade is updated to more high-grade value by 30., and further judge whether quality of image grade point reaches the default value of taking pictures of allowing, and if it is performs step 50, otherwise execution step 20;
40. exceed the degree of preset value according to gyrostatic data variation, and quality of image grade is updated to more low-grade value, perform step 20 simultaneously;
50. capturing videos are also carried out and are taken pictures.
2. the anti-shake photographic method of a kind of mobile terminal according to claim 1, is characterized in that: when in described step 10, user presses shutter, execution is taken pictures but carried out certain delay judgement immediately.
3. the anti-shake photographic method of a kind of mobile terminal according to claim 1, is characterized in that: in described step 20, within the scope of Preset Time, judge photographing device jitter conditions by gyroscope numerical value change size, and then judge that whether image is fuzzy.
4. the anti-shake photographic method of a kind of mobile terminal according to claim 1, it is characterized in that: when exceeding after the Preset Time scope described in step 20, allow the value of taking pictures if quality of image grade does not also reach, mobile terminal can decide in its sole discretion or allow user select whether to abandon current taking pictures.
5. the anti-shake photographic method of a kind of mobile terminal according to claim 1, is characterized in that: in described step 10, quality of image grade point should be designated the poorest quality of image in the time of initialization.
6. the anti-shake photographic method of a kind of mobile terminal according to claim 1, is characterized in that: described step 10 to the variation meeting of quality of image grade point in step 40 is carried out the displaying of corresponding form at the interface of taking pictures.
7. the anti-shake photographic method of a kind of mobile terminal according to claim 6, is characterized in that: the displaying of described credit rating adopts three credit rating points of red, yellow, and green.
8. an anti-shake camera arrangement for mobile terminal, is characterized in that, it comprises:
Data capture unit, for obtaining gyro data in the time that user presses shutter;
Judging unit, judges gyrostatic data variation and adjusts quality of image grade according to this excursion for pressing user within the scope of the Preset Time of shutter;
The unit of taking pictures, takes pictures for stablizing in the quality of image to carry out when allowing to take pictures.
CN201410084579.4A 2014-03-10 2014-03-10 The stabilization photographic method and device of a kind of mobile terminal Active CN103813103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410084579.4A CN103813103B (en) 2014-03-10 2014-03-10 The stabilization photographic method and device of a kind of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410084579.4A CN103813103B (en) 2014-03-10 2014-03-10 The stabilization photographic method and device of a kind of mobile terminal

Publications (2)

Publication Number Publication Date
CN103813103A true CN103813103A (en) 2014-05-21
CN103813103B CN103813103B (en) 2017-06-13

Family

ID=50709259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410084579.4A Active CN103813103B (en) 2014-03-10 2014-03-10 The stabilization photographic method and device of a kind of mobile terminal

Country Status (1)

Country Link
CN (1) CN103813103B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049734A (en) * 2015-08-31 2015-11-11 广州市幸福网络技术有限公司 License camera capable of giving shooting environment shooting prompt and shooting environment detection method
CN105824438A (en) * 2015-08-07 2016-08-03 维沃移动通信有限公司 Data distribution method and terminal
CN105847688A (en) * 2016-04-07 2016-08-10 广东欧珀移动通信有限公司 Control method, control device and electronic device
US9661223B2 (en) 2014-08-28 2017-05-23 Xiaomi Inc. Method and device for photographing including camera shake
CN110022393A (en) * 2019-04-10 2019-07-16 北京易诚高科科技发展有限公司 A kind of method of self-adaptive estimation mobile phone stabilization function

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729665B (en) * 2009-12-11 2013-10-02 惠州Tcl移动通信有限公司 Camera cellphone with tremble prevention function and tremble prevention method in photographing process thereof
CN102520858B (en) * 2011-12-08 2013-12-18 深圳万兴信息科技股份有限公司 Mobile terminal application control method and device
CN102547124B (en) * 2012-01-16 2014-07-09 华为终端有限公司 Method and device for photographic processing and mobile equipment
CN103051836B (en) * 2012-12-14 2016-03-30 中兴通讯股份有限公司 Mobile terminal stabilization photographic method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9661223B2 (en) 2014-08-28 2017-05-23 Xiaomi Inc. Method and device for photographing including camera shake
CN105824438A (en) * 2015-08-07 2016-08-03 维沃移动通信有限公司 Data distribution method and terminal
CN105049734A (en) * 2015-08-31 2015-11-11 广州市幸福网络技术有限公司 License camera capable of giving shooting environment shooting prompt and shooting environment detection method
CN105049734B (en) * 2015-08-31 2018-08-24 广州市幸福网络技术有限公司 It can carry out the license camera and shooting environmental detection method of shooting environmental shooting prompt
CN105847688A (en) * 2016-04-07 2016-08-10 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN110022393A (en) * 2019-04-10 2019-07-16 北京易诚高科科技发展有限公司 A kind of method of self-adaptive estimation mobile phone stabilization function

Also Published As

Publication number Publication date
CN103813103B (en) 2017-06-13

Similar Documents

Publication Publication Date Title
KR101864059B1 (en) Mobile terminal and shooting method thereof
US11722770B2 (en) Image processing device, method of processing image, image processing program, and imaging device
WO2017016030A1 (en) Image processing method and terminal
EP4304192A3 (en) Photographing method and terminal
US9948847B2 (en) Wearable device, photography device and associated photographing method
JP2018023158A (en) Preview image display method and device, and terminal
CN103813103A (en) Method and device for anti-shaking picture taking of mobile terminal
EP3306913B1 (en) Photographing method and apparatus
WO2016029637A1 (en) Photographing method and apparatus
US20170094155A1 (en) Mobile terminal and photographing method therefor
WO2016107055A1 (en) Processing method and device for image splicing
CN107040723B (en) Imaging method based on double cameras, mobile terminal and storage medium
WO2021077650A1 (en) Photographing method and device, and computer-readable storage medium
WO2019214574A1 (en) Image capturing method and apparatus, and electronic terminal
CN107454337B (en) It is a kind of to control the method and terminal and related media production that camera rotates
CN107613190B (en) Photographing method and terminal
EP3062513A1 (en) Video apparatus and photography method thereof
CN112637515B (en) Shooting method and device and electronic equipment
CN104618660A (en) Photographing method and terminal for user-defined flash lamp photographing effect parameters
CN104469131A (en) Method, device and terminal for displaying shooting control
CN105306830B (en) A kind of camera control method and device
CN108540711A (en) Mobile terminal and its image pickup method
CN105516577B (en) Camera filming control method and system
US10440260B2 (en) Display control apparatus to enable a user to check a captured image after image processing
CN106911886A (en) For the self-shoot guidance method and device of terminal of autodyning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant