CN105744164B - A kind of mobile terminal photographic method and system - Google Patents

A kind of mobile terminal photographic method and system Download PDF

Info

Publication number
CN105744164B
CN105744164B CN201610100616.5A CN201610100616A CN105744164B CN 105744164 B CN105744164 B CN 105744164B CN 201610100616 A CN201610100616 A CN 201610100616A CN 105744164 B CN105744164 B CN 105744164B
Authority
CN
China
Prior art keywords
mobile terminal
acceleration
angular speed
threshold
threshold value
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.)
Active
Application number
CN201610100616.5A
Other languages
Chinese (zh)
Other versions
CN105744164A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610100616.5A priority Critical patent/CN105744164B/en
Publication of CN105744164A publication Critical patent/CN105744164A/en
Application granted granted Critical
Publication of CN105744164B publication Critical patent/CN105744164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of mobile terminal photographic method and systems, by judging whether the camera of mobile terminal is activated, if it has, then obtaining the acceleration and angular speed of mobile terminal;When the acceleration is not above acceleration rate threshold and the angular speed is not above angular speed threshold value, control camera is taken pictures, and saves corresponding picture;User's hand shaking situation selects optimal opportunity to be imaged when analysis is taken pictures, it takes pictures and blur-free imaging can be obtained, and neither increase cost, also do not sacrifice image quality, the picture that every preservation of taking pictures is completed under the premise of not increasing hardware cost is all clearly to require, and brings and greatly facilitates.

Description

A kind of mobile terminal photographic method and system
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of mobile terminal photographic method and systems.
Background technique
At present along with the universal of large-screen mobile phone, the image quality of taking pictures of mobile phone is also the weight increasingly by consumer Depending on.But can all have the fuzzy probability of taking pictures of certain probability during many user's mobile phone photographs, if it is crucial figure Piece is fuzzy, can feel unfortunately, and this fuzzy a big chunk reason is to press the fast hand hair for holding mobile phone behind the door Having given birth to shake leads to the fuzzy of imaging.Lead to fuzzy method of taking pictures manually to eliminate, many manufacturers are all proposed anti-raising The anti-hand shaking of ISO obtains software algorithm, or using the hardware processing method of optical anti-vibration (OIS), two methods or increases Noise, so that image quality declines or improve the hardware cost of product.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that providing a kind of mobile terminal photographic method and system, it is intended to solve existing Noise is increased in the processing method for the shake that solves the problems, such as to take pictures with the presence of mobile terminal or improves hardware cost.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of mobile terminal photographic method, wherein include:
A, judge whether the camera of mobile terminal is activated, if it has, then obtaining the acceleration and angle speed of mobile terminal Degree;
B, when the acceleration is not above acceleration rate threshold and the angular speed is not above angular speed threshold value, control Camera processed is taken pictures, and corresponding picture is saved.
The mobile terminal photographic method, wherein the step A is specifically included:
Whether A1, the shoot button for detecting mobile terminal are clicked, if it has, then the acceleration carried by mobile terminal Sensor detects the acceleration value of mobile terminal, and the angle speed of mobile terminal is detected by the gyro sensor that mobile terminal carries Angle value.
The mobile terminal photographic method, wherein before the step A further include:
A0, under dark-state environment, hold mobile terminal take pictures against ISO12233 graph card, when photographing image clearly, Acceleration value and magnitude of angular velocity at this time is read, the acceleration threshold values and angular speed threshold value of energy blur-free imaging are respectively set as.
The mobile terminal photographic method, wherein the step B is specifically included:
B1, when the acceleration be less than or equal to acceleration rate threshold when, and when the angular speed be less than or equal to angular speed When threshold value, control camera completion is taken pictures, and saves corresponding picture.
The mobile terminal photographic method, wherein the step B further include:
B2, when the acceleration is greater than acceleration rate threshold or the angular speed and is greater than angular speed threshold value, statistics take pictures by The duration that key is clicked judges whether the duration is more than time threshold, if it has, then control camera is clapped According to saving corresponding picture.
A kind of mobile terminal camera system, wherein include:
Speed acquiring module, for judging whether the camera of mobile terminal is activated, if it has, then obtaining mobile terminal Acceleration and angular speed;
Photo module is analyzed, the acceleration is not above acceleration rate threshold and the angular speed is not above for working as When angular speed threshold value, control camera is taken pictures, and saves corresponding picture.
The mobile terminal camera system, wherein the speed acquiring module includes:
Whether speed acquiring unit, the shoot button for detecting mobile terminal are clicked, if it has, then by mobile whole The acceleration value of the included acceleration transducer detection mobile terminal in end, is detected by the gyro sensor that mobile terminal carries The magnitude of angular velocity of mobile terminal.
The mobile terminal camera system, wherein further include:
Threshold setting module is taken pictures under dark-state environment, holding mobile terminal against ISO12233 graph card, until When photographing image clearly, acceleration value and magnitude of angular velocity at this time is read, is respectively set as the acceleration threshold values of energy blur-free imaging With angular speed threshold value.
The mobile terminal camera system, wherein the analysis photo module includes:
Photographing unit is analyzed, is used for when the acceleration is less than or equal to acceleration rate threshold, and when the angular speed is small When angular speed threshold value, control camera completion is taken pictures, and saves corresponding picture.
The mobile terminal camera system, wherein the analysis photo module further include:
Time photographing unit, for being greater than acceleration rate threshold or the angular speed greater than angular speed threshold value when the acceleration When, the duration that statistics shoot button is clicked, judge whether the duration is more than time threshold, if it has, then control Camera processed is taken pictures, and corresponding picture is saved.
A kind of mobile terminal photographic method provided by the present invention and system, efficiently solve existing mobile terminal and are solving There is increasing noise or improve hardware cost in the processing method of shake of certainly taking pictures, by the camera shooting for judging mobile terminal Whether head is activated, if it has, then obtaining the acceleration and angular speed of mobile terminal;When the acceleration is not above acceleration Threshold value and when the angular speed is not above angular speed threshold value, control camera is taken pictures, and corresponding picture is saved;Analysis User's hand shaking situation selects optimal opportunity to be imaged when taking pictures, can obtain taking pictures 100% blur-free imaging probability, and neither Increase cost, does not also sacrifice image quality, it is all clear that the picture of every preservation of taking pictures is completed under the premise of not increasing hardware cost Clear requirement, brings and greatly facilitates.
Detailed description of the invention
Fig. 1 is the flow chart of mobile terminal photographic method preferred embodiment provided by the invention.
Fig. 2 is the schematic diagram of acceleration and angular speed in mobile terminal photographic method provided by the invention.
Fig. 3 is the structural block diagram of mobile terminal camera system preferred embodiment provided by the invention.
Specific embodiment
The present invention provides a kind of mobile terminal photographic method and system, to make the objectives, technical solutions, and advantages of the present invention Clearer, clear, the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated that this place is retouched The specific embodiment stated is only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the flow chart of mobile terminal photographic method preferred embodiment provided by the invention, as schemed institute Show, the described method comprises the following steps:
Step S100, judge whether the camera of mobile terminal is activated, if it has, then obtaining the acceleration of mobile terminal And angular speed;
Step S200, when the acceleration is not above acceleration rate threshold and the angular speed is not above angular speed threshold When value, control camera is taken pictures, and saves corresponding picture.
Above-mentioned steps are described in detail below with reference to specific embodiment.
In the step s 100, judge whether the camera of mobile terminal is activated, if it has, then obtaining adding for mobile terminal Speed and angular speed.Specifically, the mobile terminal is the terminals such as mobile phone, tablet computer, handheld device.When mobile terminal is taken the photograph When being activated as head, the acceleration and angular speed of mobile terminal is detected.For example judge the shoot button of mobile terminal whether by point It hits, if being clicked, shows to start camera.
In practical application, can by detect mobile terminal shoot button whether be clicked judge camera whether by Starting, if it has, then the acceleration value of mobile terminal is detected by the acceleration transducer that mobile terminal carries, by mobile whole The magnitude of angular velocity of the included gyro sensor detection mobile terminal in end.
About acceleration value and magnitude of angular velocity, referring specifically to Fig. 2, Fig. 2 is the mobile terminal side of taking pictures provided by the invention The schematic diagram of acceleration and angular speed in method.By taking mobile terminal is mobile phone as an example, the acceleration transducer and gyro of mobile phone Instrument sensor.Acceleration transducer detects X, the acceleration information A (ax, ay, az) in tri- directions Y, Z, gyro sensor The angular speed R (r, y, p) in three directions is detected, specific direction is as schematically shown in Figure 2.Therefore, user is handshaking causes mobile phone to be trembled Dynamic fuzzy situation of taking pictures, can be obtained, i.e. acceleration A and angular speed R two by acceleration transducer and gyro sensor A variable.
In the step S200, when the acceleration is not above acceleration rate threshold and the angular speed is not above When angular speed threshold value, control camera is taken pictures, and saves corresponding picture.Specifically, when the acceleration is less than or waits When acceleration rate threshold, and when the angular speed is less than or equal to angular speed threshold value, control camera completion is taken pictures, preservation pair The picture answered.
Setting about threshold value, it is preferable that before the step S100 further include:
S90, under dark-state environment, hold mobile terminal take pictures against ISO12233 graph card, until photographing image clearly When, acceleration value and magnitude of angular velocity at this time is read, the acceleration threshold values and angular speed threshold value of energy blur-free imaging are respectively set as.
Specifically, on how to set acceleration A threshold values A ' and angular speed R threshold values R ', so that it is clear to make to take pictures Imaging, specifically, light is darker, and hand shaking causes the influence of image blur bigger, if in the hand shaking of setting under dark-state light Take pictures and do not obscure under degree, then other brighter environment under identical degree of jitter can blur-free imaging, so A and R valve Value setting is as follows: dark-state is bright: 10 lux;Graph card: ISO12233.Photographic method: hand holds mobile phone against ISO12233 graph card It takes pictures, can receive until photographing image definition, read acceleration value A ' (ax ', ay ', az ') and angular speed at this time Value R ' (r ', y ', p ') data, it is set separately as the hand shaking acceleration threshold values and angular speed threshold value of energy blur-free imaging.
In practical application, reading the acceleration value A1 of sensor when user clicks shoot button using camera application With magnitude of angular velocity R1, judges that current A1 and R1 meet the jitter conditions for executing movement of taking pictures, i.e. A1≤A ' and R1≤R ', meet Then enter picture-taking imaging system completion to take pictures and save photo.
Preferably, the step S200 further include: when the acceleration is greater than greater than acceleration rate threshold or the angular speed When angular speed threshold value, the duration that statistics shoot button is clicked, judge whether the duration is more than time threshold, if Be it is yes, then control camera and take pictures, save corresponding picture.
Specifically, in order to avoid prevent it is overdue hit shoot button and be unable to satisfy always photographical condition enter judgement extremely follow Ring sets a safety time T, when clicking shoot button delay t >=T, can enter picture-taking imaging system completion and take pictures Movement.That is, as A1 > A ' or when R1 > R ', for prevention user accidentally touching shoot button, after statistics clicks shoot button event Duration t takes pictures into picture-taking imaging system completion as t >=T, saves picture.About T value specifically can as needed into Row is arranged, for example 0.5s.
Mobile terminal photographic method provided by the invention is held under harsh environment (10lux dark-state) by grasping It takes pictures, finds the unambiguous manual threshold values of imaging, this threshold values and manual case when actually taking pictures are compared, hand shaking is worked as Degree is weaker than this threshold values, then can assert that clapped photo must be situation, completes imaging of taking pictures, saves clear picture.Method Simple and easy, the picture that every preservation of taking pictures is completed under the premise of not increasing hardware cost is all clearly to require.
Based on above-mentioned mobile terminal photographic method, the embodiment of the invention also provides a kind of mobile terminal camera systems, such as Shown in Fig. 3, comprising:
Speed acquiring module 10, for judging whether the camera of mobile terminal is activated, if it has, then obtaining mobile whole The acceleration and angular speed at end;Specifically as described in step S100;
Photo module 20 is analyzed, the acceleration is not above acceleration rate threshold and the angular speed does not surpass for working as When crossing angular speed threshold value, control camera is taken pictures, and saves corresponding picture;Specifically as described in step S200.
Further, the speed acquiring module 10 includes:
Whether speed acquiring unit, the shoot button for detecting mobile terminal are clicked, if it has, then by mobile whole The acceleration value of the included acceleration transducer detection mobile terminal in end, is detected by the gyro sensor that mobile terminal carries The magnitude of angular velocity of mobile terminal.
Further, the mobile terminal camera system, further includes:
Threshold setting module is taken pictures under dark-state environment, holding mobile terminal against ISO12233 graph card, until When photographing image clearly, acceleration value and magnitude of angular velocity at this time is read, is respectively set as the acceleration threshold values of energy blur-free imaging With angular speed threshold value.
Further, the analysis photo module 20 includes:
Photographing unit is analyzed, is used for when the acceleration is less than or equal to acceleration rate threshold, and when the angular speed is small When angular speed threshold value, control camera completion is taken pictures, and saves corresponding picture.
Further, the analysis photo module 20 further include:
Time photographing unit, for being greater than acceleration rate threshold or the angular speed greater than angular speed threshold value when the acceleration When, the duration that statistics shoot button is clicked, judge whether the duration is more than time threshold, if it has, then control Camera processed is taken pictures, and corresponding picture is saved.
The mobile terminal is mobile phone, handheld device, the terminals such as tablet computer.
In conclusion a kind of mobile terminal photographic method provided by the invention and system, by judging taking the photograph for mobile terminal As whether head is activated, if it has, then obtaining the acceleration and angular speed of mobile terminal;When the acceleration is not above acceleration The degree threshold value and angular speed is when being not above angular speed threshold value, control camera is taken pictures, and corresponding picture is saved;Point User's hand shaking situation selects optimal opportunity to be imaged when analysis is taken pictures, and takes pictures and blur-free imaging can be obtained, and neither increases cost, Also image quality is not sacrificed, the picture that every preservation of taking pictures is completed under the premise of not increasing hardware cost is all clearly to require, It brings and greatly facilitates.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (6)

1. a kind of mobile terminal photographic method characterized by comprising
A0, under dark-state environment, hold mobile terminal take pictures against ISO12233 graph card, when photographing image clearly, read Acceleration value and magnitude of angular velocity at this time are respectively set as the acceleration threshold values and angular speed threshold value of energy blur-free imaging;It is described to add Speed threshold and the setting of angular speed threshold value are as follows: dark state light is bright, 10Lux;Graph card, ISO12233;
A, judge whether the camera of mobile terminal is activated, if it has, then obtaining the acceleration and angular speed of mobile terminal;
B, when the acceleration is not above acceleration rate threshold and the angular speed is not above angular speed threshold value, control is taken the photograph As head is taken pictures, corresponding picture is saved;
The step A is specifically included:
Whether A1, the shoot button for detecting mobile terminal are clicked, if it has, then the acceleration sensing carried by mobile terminal Device detects the acceleration value of mobile terminal, and the angular speed of mobile terminal is detected by the gyro sensor that mobile terminal carries Value.
2. mobile terminal photographic method according to claim 1, which is characterized in that the step B is specifically included:
B1, when the acceleration be less than or equal to acceleration rate threshold when, and when the angular speed be less than or equal to angular speed threshold value When, control camera completion is taken pictures, and corresponding picture is saved.
3. mobile terminal photographic method according to claim 1, which is characterized in that the step B further include:
B2, when the acceleration is greater than acceleration rate threshold or the angular speed and is greater than angular speed threshold value, count shoot button quilt The duration of click judges whether the duration is more than time threshold, if it has, then control camera is taken pictures, Save corresponding picture.
4. a kind of mobile terminal camera system characterized by comprising
Threshold setting module is taken pictures under dark-state environment, holding mobile terminal against ISO12233 graph card, until photographing When image clearly, acceleration value and magnitude of angular velocity at this time is read, is respectively set as acceleration threshold values and the angle of energy blur-free imaging Threshold speed;The acceleration threshold values and the setting of angular speed threshold value are as follows: dark state light is bright, 10Lux;Graph card, ISO12233;
Speed acquiring module, for judging whether the camera of mobile terminal is activated, if it has, then obtaining adding for mobile terminal Speed and angular speed;
Photo module is analyzed, the acceleration is not above acceleration rate threshold and the angular speed is not above angle speed for working as When spending threshold value, control camera is taken pictures, and saves corresponding picture;
The speed acquiring module includes:
Whether speed acquiring unit, the shoot button for detecting mobile terminal are clicked, if it has, then certainly by mobile terminal The acceleration value of the acceleration transducer detection mobile terminal of band, detects movement by the gyro sensor that mobile terminal carries The magnitude of angular velocity of terminal.
5. mobile terminal camera system according to claim 4, which is characterized in that the analysis photo module includes:
Analyze photographing unit, for when the acceleration is less than or equal to acceleration rate threshold, and be less than when the angular speed or When equal to angular speed threshold value, control camera completion is taken pictures, and saves corresponding picture.
6. mobile terminal camera system according to claim 4, which is characterized in that the analysis photo module further include:
Time photographing unit is used for when the acceleration is greater than acceleration rate threshold or the angular speed is greater than angular speed threshold value, The duration that statistics shoot button is clicked, judge whether the duration is more than time threshold, if it has, then control is taken the photograph As head is taken pictures, corresponding picture is saved.
CN201610100616.5A 2016-02-24 2016-02-24 A kind of mobile terminal photographic method and system Active CN105744164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610100616.5A CN105744164B (en) 2016-02-24 2016-02-24 A kind of mobile terminal photographic method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610100616.5A CN105744164B (en) 2016-02-24 2016-02-24 A kind of mobile terminal photographic method and system

Publications (2)

Publication Number Publication Date
CN105744164A CN105744164A (en) 2016-07-06
CN105744164B true CN105744164B (en) 2019-01-29

Family

ID=56248321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610100616.5A Active CN105744164B (en) 2016-02-24 2016-02-24 A kind of mobile terminal photographic method and system

Country Status (1)

Country Link
CN (1) CN105744164B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161959A (en) * 2016-08-25 2016-11-23 乐视控股(北京)有限公司 Photographic method, device and mobile terminal
CN106577350B (en) * 2016-11-22 2020-10-09 深圳市沃特沃德股份有限公司 Pet type identification method and device
CN107613214B (en) * 2017-10-25 2020-09-11 广东工业大学 Camera interface entering method, device and system
JP2020003730A (en) * 2018-06-29 2020-01-09 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Moving body, focusing control method, program, and recording medium
JP7220591B2 (en) * 2019-03-07 2023-02-10 三菱重工業株式会社 Self-position estimation device, self-position estimation method and program
CN112383716A (en) * 2020-12-10 2021-02-19 武汉大学 System and method for obtaining clear photos based on continuous automatic photographing of smart phone

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051836A (en) * 2012-12-14 2013-04-17 中兴通讯股份有限公司 Anti-shake photographing method and anti-shake photographing device for mobile terminal
CN103475816A (en) * 2013-08-30 2013-12-25 广东欧珀移动通信有限公司 Self-timer control method and device
CN104469001A (en) * 2014-12-02 2015-03-25 王国忠 Mobile phone with photographing stabilization function and stabilization method in photographing process of mobile phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051836A (en) * 2012-12-14 2013-04-17 中兴通讯股份有限公司 Anti-shake photographing method and anti-shake photographing device for mobile terminal
CN103475816A (en) * 2013-08-30 2013-12-25 广东欧珀移动通信有限公司 Self-timer control method and device
CN104469001A (en) * 2014-12-02 2015-03-25 王国忠 Mobile phone with photographing stabilization function and stabilization method in photographing process of mobile phone

Also Published As

Publication number Publication date
CN105744164A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105744164B (en) A kind of mobile terminal photographic method and system
CN107172345B (en) Image processing method and terminal
KR101426961B1 (en) Image processing apparatus and image processing method
JP4807167B2 (en) Impersonation detection device
EP3627821B1 (en) Focusing method and apparatus for realizing clear human face, and computer device
CN109218614B (en) Automatic photographing method of mobile terminal and mobile terminal
WO2017124899A1 (en) Information processing method, apparatus and electronic device
CN107615745B (en) Photographing method and terminal
CN109194882A (en) Image processing method, device, electronic equipment and storage medium
JP6360204B2 (en) Camera device, imaging system, control method, and program
CN106331497B (en) A kind of image processing method and terminal
EP3503516B1 (en) Capturing method and ralated products
CN107294915A (en) Image-pickup method, system and terminal
CN108401110A (en) Acquisition methods, device, storage medium and the electronic equipment of image
JP2012010256A (en) Imaging device and image processing program
US8199204B2 (en) Method and related device for restoring image for electronic device
CN106027884A (en) USB camera using method and system of android device
RU2649784C2 (en) Touch gesture determining method and device
CN108492266B (en) Image processing method, image processing device, storage medium and electronic equipment
US9826155B2 (en) Detecting a document
CN108604128B (en) Processing method and mobile device
EP3304551B1 (en) Adjusting length of living images
CN106664371B (en) The operating device and operating method of photographic device
TW201714074A (en) A method for taking a picture and an electronic device using the method
CN105578025A (en) Photographing method and photographing terminal

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