Legal claims defining the scope of protection, as filed with the USPTO.
1. An anti-shaking method for use by a mobile phone in image capturing, comprising the following steps of: (A) using a gravity sensor module of the mobile phone to detect a shaking level of the mobile phone when capturing an image; (B) according to the shaking level detected by the gravity sensor module, controlling an exposure time of the mobile phone in the process of capturing the image so that a camera module of the mobile phone captures the image according to the exposure time; and (C) using an image processing software program to carry out deblurring processing on the blurred image according to a displacement vector generated due to shaking; wherein the step (A) comprises the following steps: (A1) initiating an anti-shaking operation mode of the gravity sensor module by depressing a shutter button on the mobile phone; (A2) detecting shaking vectors in different directions during the image capturing process and calculating an absolute value of a sum of the shaking vectors; and (A3) determining the shaking level during the image capturing process according to the absolute value; wherein the gravity sensor module is not dedicated to anti-shaking specially, is independent from the camera module, and further comprises a working register that has data values set so that the gravity sensor module is in an anti-shaking operation mode; and wherein the gravity sensor module is able to complete the anti-shaking method apart from completing other tasks.
2. The anti-shaking method of claim 1 , wherein the step (A) further comprises: sampling the shaking data detected by the gravity sensor module for a number of times, and averaging the sampled shaking data to determine the shaking level.
3. The anti-shaking method of claim 1 , further comprising the following step prior to the step (A): pre-establishing a correspondence table between shaking levels and exposure times so that the exposure time can be determined by looking up the correspondence table.
4. The anti-shaking method of claim 1 , wherein the step (C) comprises the following steps: (C1) capturing a plurality of images during the image capturing process and extracting characteristic points; (C2) using a software program to analyze a blurring level of the images according to the characteristic points; and (C3) making compensation on the images according to the analysis result and the displacement vector.
5. The anti-shaking method of claim 1 , wherein the step (C) further comprises: sampling the displacement vector generated due to the shaking in the image capturing process, and averaging the sampled displacement vectors to carry out deblurring processing on the image.
6. An anti-shaking method for use by a mobile phone in image capturing, comprising the following steps of: (Step S 101 ) depressing a shutter button of the mobile phone's camera; (Step S 102 ) entering an early stage of the image capturing process, and a gravity sensor of the mobile phone detecting a shaking degree in the image capturing process and determining a shaking level during the early stage; (Step S 103 ) controlling the exposure time according to the shaking level; (Steps SI 04 a and SI 04 b ) the camera capturing the image according to the specified exposure time while the gravity sensor calculates a displacement vector generated due to shaking during the exposure time so that the displacement vector can be read by the camera; and (Step S 105 ) entering a later stage of the image capturing process, and the camera reading the displacement vector, and using an image processing software to carry out deblurring processing on the image according to a result of analysis on the image blurring during the later stage; wherein once the shutter button is depressed, the gravity sensor begins to operate, and from the gravity acceleration values along x, y and z axes, a sum of gravity acceleration vectors in a certain direction can be calculated so as to obtain the absolute value of the sum, and then, by sampling for a number of times and then taking an average, a more accurate result can be obtained, and the shaking level is preset in the following way: some thresholds are set, and then the absolute value of gravity acceleration in a certain direction is compared with the thresholds to obtain the shaking level; wherein the gravity sensor is not dedicated to anti-shaking specially, is independent from the camera, and further comprises a working register that has data values set so that the gravity sensor is in an anti-shaking operation mode; and wherein the gravity sensor is able to complete the anti-shaking method apart from completing other tasks.
7. The anti-shaking method of claim 6 , wherein the early stage of the image capturing process refers to a time period from depression of the shutter button to exposure of the image.
8. The anti-shaking method of claim 6 , wherein the later stage of the image capturing process refers to a time period from exposure of the image to completion of the image processing.
9. The anti-shaking method of claim 6 , wherein a correspondence table between the shaking levels and the exposure times is pre-established prior to the step S 102 , and the exposure time is decreased with the shaking level increasing.
10. The anti-shaking method of claim 6 , wherein in the step S 104 a , blurring of the image is analyzed by capturing a number of images instantaneously and extracting characteristic points therefrom so that the analysis result can be used in a back-end compensation processing.
11. The anti-shaking method of claim 6 , wherein an operation process of the gravity sensor is as follows: (Step S 201 ) initializing an I2C driver; (Step S 202 ) initializing operation parameters of the gravity sensor and the driver for the gravity sensor loaded during a startup process of the system; (Step S 203 ) creating a thread to wait for image capturing by the camera, and setting an anti-shaking operation mode of the gravity sensor; (Step S 204 ) determining whether the shutter button of the camera is depressed for image capturing, if the determination is “yes”, then the operation process proceeds to the step S 205 , and if the determination is “no”, then keeping waiting; (Step S 205 ) calculating a shaking level and notifying the shaking level to the camera at an early stage of the image capturing process; (Step S 206 ) calculating a shaking displacement vector; (Step S 207 ) waiting for the camera to read the shaking displacement vector and carrying out post-processing on the image at a later stage of the image capturing process; and (Step S 208 ) determining whether the displacement vector of this image capturing process has been read, if the determination is “yes”, then the operation process of the gravity sensor is ended, and if the determination is “no”, then keep waiting.
12. The anti-shaking method of claim 11 , wherein the displacement vector represents displacement in a certain direction caused by the shaking during the image capturing process, and the following parameters are required for calculation of the displacement vector: the gravity acceleration values of the gravity sensor along x, y and z axes, and a shaking duration, and from these parameters, the displacement vector generated due to the shaking can be calculated according to a specific algorithm.
Unknown
October 20, 2015
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.