Summary of the invention
The embodiment of the invention provides control method and the device of time for exposure, can automatically control the time for exposure under the prerequisite of simplifying user's operation.
The invention provides the control method of a kind of time for exposure, the method comprises:
The detection trigger event of taking pictures;
If detect the trigger event of taking pictures, the jitter level of sense terminals;
According to the corresponding relation of jitter level and time for exposure, determine the time for exposure corresponding with described jitter level;
Wherein, jitter level is lower, and the corresponding time for exposure is longer.
The control method of the time for exposure that the embodiment of the invention provides, jitter level by sense terminals, and determine the time for exposure in conjunction with the corresponding relation of jitter level and time for exposure, when jitter level is lower, the corresponding time for exposure is longer, and this is equivalent to automatically enter the preferential pattern of image quality when the terminal jitter level is low, reduce photosensitivity (ISO) by elongating the time for exposure, thereby improve the image quality of photo.
The embodiment of the invention provides the mode of three kinds of sense terminals jitter level.
In first kind of way, the jitter level of described sense terminals is:
The variation of sense terminals linear acceleration in setting-up time; Determine jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level.
Further, the method also comprises:
Detect current extraneous light intensity;
Select the first corresponding relation corresponding to current extraneous light intensity;
Wherein, the excursion of identical linear acceleration, in corresponding the first corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.Thus, the first corresponding relation that different extraneous light intensity is corresponding different is to take into account extraneous light, the more rational control time for exposure.
In the second way, the jitter level of described sense terminals is:
The variation of sense terminals angular acceleration in setting-up time; Determine jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level.
Further, the method also comprises:
Detect current extraneous light intensity;
Select the second corresponding relation corresponding to current extraneous light intensity;
Wherein, the excursion of identical angular acceleration, in corresponding described the second corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.Thus, the second corresponding relation that different extraneous light intensity is corresponding different is to take into account extraneous light, the more rational control time for exposure.
In the third mode, the jitter level of described sense terminals is:
The respectively variation of sense terminals linear acceleration in setting-up time and the variation of angular acceleration;
Determine jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level;
Determine jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level;
If the jitter level of determining according to described the first corresponding relation is identical with the jitter level of determining according to described the second corresponding relation, with any one jitter level wherein as the jitter level of terminal; If the jitter level of determining according to described the first corresponding relation is different with the jitter level of determining according to described the second corresponding relation, with the jitter level of wherein higher jitter level as terminal.
Further, the method also comprises:
Detect current extraneous light intensity;
Select the first corresponding relation corresponding to current extraneous light intensity and the second corresponding relation;
Wherein, the excursion of identical linear acceleration, in the first corresponding relation corresponding to lower extraneous light intensity, corresponding jitter level is higher; The excursion of identical angular acceleration, in the second corresponding relation corresponding to lower extraneous light intensity, corresponding jitter level is higher.Thus, the first corresponding relation and the second corresponding relation that different extraneous light intensity is corresponding different are to take into account extraneous light, the more rational control time for exposure.
In above-mentioned the first and the third mode, being changed to of the linear acceleration of described sense terminals in setting-up time:
In setting-up time each constantly, sense terminals is at the linear acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of linear acceleration component and the upper linear acceleration component constantly in each this moment of direction initialization, with the absolute value addition of each direction initialization, obtain terminal the motion vector in this moment and;
Obtain terminal in setting-up time motion vector and change curve.
Further, as optional execution mode, determine that according to described the first corresponding relation jitter level is:
Calculate the area value that described change curve surrounds;
According to the corresponding relation of area value scope and jitter level, determine the jitter level that described area value is corresponding.
Further, as optional execution mode, determine that according to described the first corresponding relation jitter level is:
Calculate the difference of two trough values that each crest value of described change curve is adjacent;
Calculate the mean value of all differences;
According to the corresponding relation of average value ranges and jitter level, determine the jitter level that described mean value is corresponding.
In the second and the third mode, being changed to of the angular acceleration of described sense terminals in setting-up time:
In setting-up time each constantly, sense terminals is at the angular acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of angular acceleration component and the upper angular acceleration component constantly in each this moment of direction initialization, with the absolute value addition of each direction initialization, obtain terminal the motion vector in this moment and;
Obtain terminal in setting-up time motion vector and change curve.
Further, as optional execution mode, determine that according to described the second corresponding relation jitter level is:
Calculate the area value that described change curve surrounds;
According to the corresponding relation of area value scope and jitter level, determine the jitter level that described area value is corresponding.
Further, as optional execution mode, determine that according to described the second corresponding relation jitter level is:
Calculate the difference of two trough values that each crest value of described change curve is adjacent;
Calculate the mean value of all differences;
According to the corresponding relation of average value ranges and jitter level, determine the jitter level that described mean value is corresponding.
The embodiment of the invention provides the control device of a kind of time for exposure, and this device comprises:
The first detecting unit is for detection of the trigger event of taking pictures;
The second detecting unit is used for after described the first detecting unit detects the trigger event of taking pictures the jitter level of sense terminals;
Control unit is used for the corresponding relation according to jitter level and time for exposure, determines the time for exposure corresponding with the detected jitter level of described the second detecting unit;
Wherein, jitter level is lower, and the corresponding time for exposure is longer.
The internal structure of described the second detecting unit has three kinds of implementations.
In the first implementation, described the second detecting unit comprises:
First detection module is used for after described the first detecting unit detects the trigger event of taking pictures the variation of sense terminals linear acceleration in setting-up time;
The first determination module is used for determining jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level.
Further, described the second detecting unit also comprises:
Select module, for detection of current extraneous light intensity; Select the first corresponding relation corresponding to current extraneous light intensity;
Wherein, the excursion of identical linear acceleration, in corresponding described the first corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.
In the second implementation, described the second detecting unit comprises:
The second detection module is used for after described the first detecting unit detects the trigger event of taking pictures the variation of sense terminals angular acceleration in setting-up time;
The second determination module is used for determining jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level.
Further, described the second detecting unit also comprises:
Select module, for detection of current extraneous light intensity; Select the second corresponding relation corresponding to current extraneous light intensity;
Wherein, the excursion of identical angular acceleration, in corresponding described the second corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.
In the third implementation, described the second detecting unit comprises:
First detection module is used for after described the first detecting unit detects the trigger event of taking pictures the variation of sense terminals linear acceleration in setting-up time;
The second detection module is used for after described the first detecting unit detects the trigger event of taking pictures the variation of sense terminals angular acceleration in setting-up time;
The first determination module is used for determining jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level;
The second determination module is used for determining jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level;
The 3rd determination module, be used for when the jitter level of determining according to described the first corresponding relation is identical with the jitter level of determining according to described the second corresponding relation, with any one jitter level wherein as the jitter level of terminal, the jitter level of determining in the jitter level of determining according to described the first corresponding relation with according to described the second corresponding relation not simultaneously, with the jitter level of wherein higher jitter level as terminal.
Further, described the second detecting unit also comprises:
Select module, for detection of current extraneous light intensity; Select the first corresponding relation corresponding to current extraneous light intensity and the second corresponding relation;
Wherein, the excursion of identical linear acceleration, in corresponding described the first corresponding relation of lower extraneous light intensity, corresponding jitter level is higher; The excursion of identical angular acceleration, in corresponding described the second corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.
In the first and the third implementation, described first detection module comprises:
Detection sub-module, be used for each moment in setting-up time, sense terminals is at the linear acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of linear acceleration component and the upper linear acceleration component constantly in each this moment of direction initialization, with the absolute value addition of each direction initialization, obtain terminal the motion vector in this moment and;
Generate submodule, be used for the testing result according to detection sub-module, obtain terminal in setting-up time motion vector and change curve.
Further, as optional execution mode, described the first determination module comprises:
The first calculating sub module is used for calculating the area value that change curve that described generation submodule obtains surrounds;
First determines submodule, is used for the corresponding relation according to area value scope and jitter level, determines jitter level corresponding to area value that the first calculating sub module is calculated.
Further, as optional execution mode, described the first determination module comprises:
The first calculating sub module is used for calculating the difference of two trough values that each peak value of the change curve that described generation submodule obtains is adjacent; Calculate the mean value of all differences;
First determines submodule, is used for the corresponding relation according to average value ranges and jitter level, determines the jitter level that described mean value is corresponding.
In the second and the third execution mode, described the second detection module comprises:
Detection sub-module, be used for each moment in setting-up time, sense terminals is at the angular acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of angular acceleration component and the upper angular acceleration component constantly in each this moment of direction initialization, with the absolute value addition of each direction initialization, obtain terminal the motion vector in this moment and;
Generate submodule, be used for the testing result according to detection sub-module, obtain terminal in setting-up time motion vector and change curve.
Further, as optional execution mode, described the second determination module comprises:
The second calculating sub module is used for calculating the area value that change curve that described generation submodule obtains surrounds;
Second determines submodule, is used for the corresponding relation according to area value scope and jitter level, determines jitter level corresponding to area value that the first calculating sub module is calculated.
Further, as optional execution mode, described the second determination module comprises:
The second calculating sub module is used for calculating the difference of two trough values that each peak value of the change curve that described generation submodule obtains is adjacent; Calculate the mean value of all differences;
Second determines submodule, is used for the corresponding relation according to average value ranges and jitter level, determines the jitter level that described mean value is corresponding.
The further feature of the embodiment of the invention and advantage will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the embodiment of the invention.The purpose of the embodiment of the invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment is described, should be appreciated that preferred embodiment described herein only is used for the description and interpretation embodiment of the invention, is not intended to limit the present invention embodiment.
Embodiment one
Fig. 1 is the control method flow chart of time for exposure of providing of the embodiment of the invention one, and this flow process comprises:
Step 11: detect the trigger event of taking pictures.
In this step, the trigger event of taking pictures can be to trigger the physical button with shutter function, or clicks the soft-key button with shutter function at touch display screen.
Step 12: if detect the trigger event of taking pictures, the jitter level of sense terminals.
Step 13: according to the corresponding relation of jitter level and time for exposure, determine the time for exposure corresponding with described jitter level; Wherein, jitter level is lower, and the corresponding time for exposure is longer.
In this step, jitter level reflection user's degree of jitter, jitter level is higher, and the degree of jitter of its reflection is also higher.
The corresponding relation of jitter level and time for exposure is for preseting, and the time for exposure that different jitter level is corresponding different, the concrete value of jitter level and time for exposure can be determined according to empirical value under the prerequisite that guarantees the photo image quality.
The control method of the time for exposure that present embodiment one provides, jitter level by sense terminals, and determine the time for exposure in conjunction with the corresponding relation of jitter level and time for exposure, when jitter level is lower, the corresponding time for exposure is longer, and this is equivalent to automatically enter the preferential pattern of image quality when the terminal jitter level is low, reduce photosensitivity (ISO) by elongating the time for exposure, thereby improve the image quality of photo.
Embodiment two
Fig. 2 is the control method flow chart of time for exposure of providing of the embodiment of the invention two, and this flow process comprises:
Step 21: detect the trigger event of taking pictures.
In this step, the trigger event of taking pictures can be to trigger the physical button with shutter function, or clicks the soft-key button with shutter function at touch display screen.
Step 22: the variation of sense terminals linear acceleration in setting-up time.
Optionally, the variation of the linear acceleration of this step sense terminals in setting-up time can be realized by following mode: each in setting-up time constantly, sense terminals is at the linear acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of linear acceleration component and the upper linear acceleration component constantly in each this moment of direction initialization, absolute value addition with each direction initialization, obtain terminal the motion vector in this moment and, and obtain motion vector and the change curve of terminal in setting-up time.
Cite an actual example, above-mentioned direction initialization is X, Y and Z direction as shown in Figure 3, supposes that detected linear acceleration component is respectively X ', Y ' and Z ' on these three directions.
The motion vector that terminal is carved at a time and be: S=|x|+|y|+|z|.
Wherein, x=X ' (current)-X ' (previous); Y=Y ' (current)-Y ' (previous); Z=Z ' (current)-Z ' (previous).Current in the above-mentioned formula represents current time, and previous representative upper constantly.
Motion vector and the change curve of Fig. 4 for generating, wherein the longitudinal axis represents motion vector and S, and transverse axis represents the time.
Step 23: determine jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level; Wherein, jitter level is lower, and the corresponding time for exposure is longer.
In this step, the first corresponding relation of the excursion of linear acceleration and jitter level is for preseting, and concrete value wherein can be determined according to empirical value.
It is as follows to lift two application examples.
In application example one, the first corresponding relation is specially the corresponding relation of area value scope and jitter level, the area value that the motion vector that generate in can calculation procedure 22 this moment and change curve surround, then according to the corresponding relation of area value scope and jitter level, determine the jitter level that area value is corresponding, when the area value that draws is larger, prove that user's degree of jitter is higher, corresponding jitter level is also higher.The area value here can be tried to achieve in several ways, for example change curve is carried out integration.
Change curve as shown in Figure 4, the degree of the left half of reflection user of this change curve shake is higher, and corresponding jitter level is also higher, and the degree of right half of reflection user shake is lower, and corresponding jitter level is also lower.
In application example two, the first corresponding relation is specially the corresponding relation of average value ranges and jitter level, the difference of two trough values that each crest value is adjacent in the motion vector that generate in can calculation procedure 22 this moment and the change curve, then calculate the mean value of all differences, last corresponding relation according to average value ranges and jitter level, determine jitter level corresponding to mean value that calculate, when the mean value that draws is larger, proof user's degree of jitter is higher, and corresponding jitter level is also higher.
Change curve as shown in Figure 4, the degree of the left half of reflection user of this change curve shake is higher, and corresponding jitter level is also higher, and the degree of right half of reflection user shake is lower, and corresponding jitter level is also lower.
In this step, as a kind of optional execution mode, predefined the first corresponding relation can have the first corresponding relation corresponding to a plurality of, different extraneous light intensity.Wherein, the excursion of identical linear acceleration, in the first corresponding relation corresponding to lower extraneous light intensity, corresponding jitter level is higher.At this moment, before step 23, need further comprise the step that detects extraneous light intensity.Can take into account extraneous light like this, the more rational control time for exposure.
Embodiment three
Fig. 5 is the control method flow chart of time for exposure of providing of the embodiment of the invention three, and this flow process comprises:
Step 51: detect the trigger event of taking pictures.
In this step, the trigger event of taking pictures can be to trigger the physical button with shutter function, or clicks the soft-key button with shutter function at touch display screen.
Step 52: the variation of sense terminals angular acceleration in setting-up time.
Optionally, the variation of the angular acceleration of this step sense terminals in setting-up time can be realized by following mode: each in setting-up time constantly, sense terminals is at the angular acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of angular acceleration component and the upper angular acceleration component constantly in each this moment of direction initialization, absolute value addition with each direction initialization, obtain terminal the motion vector in this moment and, and obtain motion vector and the change curve of terminal in setting-up time.
Identical among concrete application example and the embodiment two, direction initialization and change curve respectively with Fig. 3 and shown in Figure 4 similar.
Step 53: determine jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level; Wherein, jitter level is lower, and the corresponding time for exposure is longer.
In this step, the second corresponding relation of the excursion of angular acceleration and jitter level is for preseting, and concrete value wherein can be determined according to empirical value.
It is as follows to lift two application examples.
In application example one, the second corresponding relation is specially the corresponding relation of area value scope and jitter level, the area value that the motion vector that generate in can calculation procedure 52 this moment and change curve surround, then according to the corresponding relation of area value scope and jitter level, determine the jitter level that area value is corresponding, when the area value that draws is larger, prove that user's degree of jitter is higher, corresponding jitter level is also higher.The area value here can be tried to achieve in several ways, for example change curve is carried out integration.
In application example two, the second corresponding relation is specially the corresponding relation of average value ranges and jitter level, the difference of two trough values that each crest value is adjacent in the motion vector that generate in can calculation procedure 52 this moment and the change curve, then calculate the mean value of all differences, last corresponding relation according to average value ranges and jitter level, determine jitter level corresponding to mean value that calculate, when the mean value that draws is larger, proof user's degree of jitter is higher, and corresponding jitter level is also higher.
In this step, as a kind of optional execution mode, predefined the second corresponding relation can have a plurality of, the second corresponding relation that different extraneous light intensity is corresponding different, the excursion of identical angular acceleration, in the second corresponding relation corresponding to lower extraneous light intensity, corresponding jitter level is higher.At this moment, before step 53, need further comprise the step that detects extraneous light intensity.Can take into account extraneous light like this, the more rational control time for exposure.
Embodiment four
Fig. 6 is the control method flow chart of time for exposure in the embodiment of the invention four, and this flow process comprises:
Step 61: detect the trigger event of taking pictures.
In this step, the trigger event of taking pictures can be to trigger the physical button with shutter function, or clicks the soft-key button with shutter function at touch display screen.
Step 62: if detect the trigger event of taking pictures, the respectively variation of sense terminals linear acceleration in setting-up time and the variation of angular acceleration.
In this step, the variation of detection line acceleration can realize that according to the mode that embodiment two enumerates the variation that detects angular acceleration can realize according to the mode that embodiment three enumerates.
Step 63: determine jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level.
In this step, determine that according to the first corresponding relation jitter level can realize according to the mode among the embodiment two.
Step 64: determine jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level.
In this step, determine that according to the second corresponding relation jitter level can realize according to the mode among the embodiment three.
Step 65: if the jitter level of determining according to the first corresponding relation is identical with the jitter level of determining according to the second corresponding relation, with any one jitter level wherein as the jitter level of terminal; If the jitter level of determining according to the first corresponding relation is different with the jitter level of determining according to the second corresponding relation, with the jitter level of wherein higher jitter level as terminal.
In the present embodiment four, as a kind of optional execution mode, predefined the first corresponding relation can have a plurality of, identical with among the embodiment two, and predefined the second corresponding relation also can have a plurality of, identical with among the embodiment three.
Embodiment five
Fig. 7 is the structural representation of the control device of time for exposure of providing of the embodiment of the invention five, and this device comprises: the first detecting unit 71, the second detecting unit 72 and control unit 73.
The first detecting unit 71 is for detection of the trigger event of taking pictures.
The second detecting unit 72 is used for after the first detecting unit 71 detects the trigger event of taking pictures the jitter level of sense terminals.
Control unit 73 is used for the corresponding relation according to jitter level and time for exposure, determines the time for exposure corresponding with the detected jitter level of described the second detecting unit; Wherein, jitter level is lower, and the corresponding time for exposure is longer.The jitter level reflection user's here degree of jitter, jitter level is higher, and the degree of jitter of its reflection is also higher.
In the present embodiment five, the corresponding relation of jitter level and time for exposure is for preseting, and the time for exposure that different jitter level is corresponding different, the concrete value of jitter level and time for exposure can be determined according to empirical value under the prerequisite that guarantees the photo image quality.
The control device of the time for exposure that present embodiment five provides, jitter level by sense terminals, and determine the time for exposure in conjunction with the corresponding relation of jitter level and time for exposure, when jitter level is lower, the corresponding time for exposure is longer, and this is equivalent to automatically enter the preferential pattern of image quality when the terminal jitter level is low, reduce photosensitivity (ISO) by elongating the time for exposure, thereby improve the image quality of photo.
Embodiment six
Fig. 8 is the structural representation of the control device of time for exposure of providing of the embodiment of the invention six, and this device comprises: the first detecting unit 81, the second detecting unit 82 and control unit 83.
The first detecting unit 81 is for detection of the trigger event of taking pictures.
The second detecting unit 82 comprises: first detection module 821 and the first determination module 822.
First detection module 821 is used for after the first detecting unit 81 detects the trigger event of taking pictures the variation of sense terminals linear acceleration in setting-up time.
The first determination module 822 is used for determining jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level.
As a kind of optional execution mode, first detection module 821 comprises: detection sub-module and generation submodule.
Above-mentioned detection sub-module, be used for each moment in setting-up time, sense terminals is at the linear acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of linear acceleration component and the upper linear acceleration component constantly in each this moment of direction initialization, with the absolute value addition of each direction initialization, obtain terminal the motion vector in this moment and.
Above-mentioned generation submodule is used for the testing result according to detection sub-module, obtain terminal in setting-up time motion vector and change curve.
Based on the optional internal structure of first detection module 821, as the optional execution mode of the first, the first determination module 822 comprises: the first calculating sub module and first is determined submodule.
Above-mentioned the first calculating sub module is used for calculating the area value that change curve that described generation submodule obtains surrounds.
Above-mentioned first determines submodule, is used for the corresponding relation according to area value scope and jitter level, determines jitter level corresponding to area value that the first calculating sub module is calculated.
In the present embodiment, when the area value that draws is larger, prove that user's degree of jitter is higher, corresponding jitter level is also higher.
Based on the optional internal structure of first detection module 821, as the optional execution mode of the second, the first determination module 822 comprises: the first calculating sub module and first is determined submodule.
Above-mentioned the first calculating sub module is used for calculating the difference of two trough values that each peak value of the change curve that described generation submodule obtains is adjacent; Calculate the mean value of all differences.
Above-mentioned first determines submodule, is used for the corresponding relation according to average value ranges and jitter level, determines the jitter level that described mean value is corresponding.
In the present embodiment, when the mean value that draws is larger, prove that user's degree of jitter is higher, corresponding jitter level is also higher.
As a kind of optional execution mode, can also comprise in the second detecting unit 82: select module 823, for detection of current extraneous light intensity; Select the first corresponding relation corresponding to current extraneous light intensity; Wherein, the excursion of identical linear acceleration, in corresponding described the first corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.
Control unit 83 is used for the corresponding relation according to jitter level and time for exposure, determines the time for exposure corresponding with the second detecting unit 82 detected jitter level; Wherein, jitter level is lower, and the corresponding time for exposure is longer.
Embodiment seven
Fig. 9 is the structural representation of the control device of time for exposure of providing of the embodiment of the invention seven, and this device comprises: the first detecting unit 91, the second detecting unit 92 and control unit 93.
The first detecting unit 91 is for detection of the trigger event of taking pictures.
The second detecting unit 92 comprises: the second detection module 921 and the second determination module 922.
The second detection module 921 is used for after the first detecting unit 91 detects the trigger event of taking pictures the variation of sense terminals angular acceleration in setting-up time.
The second determination module 922 is used for determining jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level.
As a kind of optional execution mode, the second detection module 921 comprises: detection sub-module and generation submodule.
Above-mentioned detection sub-module, be used for each moment in setting-up time, sense terminals is at the angular acceleration component of each direction initialization respectively, calculate respectively the absolute value of difference of angular acceleration component and the upper angular acceleration component constantly in each this moment of direction initialization, with the absolute value addition of each direction initialization, obtain terminal the motion vector in this moment and.
Above-mentioned generation submodule is used for the testing result according to detection sub-module, obtain terminal in setting-up time motion vector and change curve.
Based on the optional internal structure of the second detection module 921, as a kind of optional execution mode, the second determination module 922 comprises: the second calculating sub module and second is determined submodule.
Above-mentioned the second calculating sub module, the area value that the change curve that obtains for calculating generation submodule surrounds.
Above-mentioned second determines submodule, is used for the corresponding relation according to area value scope and jitter level, determines jitter level corresponding to area value that the first calculating sub module is calculated.
In the present embodiment, when the area value that draws is larger, prove that user's degree of jitter is higher, corresponding jitter level is also higher.
Based on the optional internal structure of the second detection module 921, as the optional execution mode of another kind, the second determination module 922 comprises: the second calculating sub module and second is determined submodule.
Above-mentioned the second calculating sub module be used for to calculate generates the difference of two trough values that each peak value of the change curve that submodule obtains is adjacent; Calculate the mean value of all differences.
Above-mentioned second determines submodule, is used for the corresponding relation according to average value ranges and jitter level, determines the jitter level that described mean value is corresponding.
In the present embodiment, when the mean value that draws is larger, prove that user's degree of jitter is higher, corresponding jitter level is also higher.
As a kind of optional execution mode, can also comprise in the second detecting unit 92: select module 923, for detection of current extraneous light intensity; Select the second corresponding relation corresponding to current extraneous light intensity; Wherein, the excursion of identical angular acceleration, in corresponding the second corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.
Control unit 93 is used for the corresponding relation according to jitter level and time for exposure, determines the time for exposure corresponding with the second detecting unit 92 detected jitter level; Wherein, jitter level is lower, and the corresponding time for exposure is longer.
Embodiment eight
Figure 10 is the structural representation of the control device of time for exposure of providing of the embodiment of the invention eight, and this device comprises: the first detecting unit 1001, the second detecting unit 1002 and control unit 1003.
The first detecting unit 1001 is for detection of the trigger event of taking pictures.
The second detecting unit 1002 comprises: first detection module 111, the second detection module 112, the first determination module 113, the second determination module 114 and the 3rd determination module 115.
First detection module 111 is used for after the first detecting unit 1001 detects the trigger event of taking pictures the variation of sense terminals linear acceleration in setting-up time.
The second detection module 112 is used for after the first detecting unit 1001 detects the trigger event of taking pictures the variation of sense terminals angular acceleration in setting-up time.
The first determination module 113 is used for determining jitter level according to the excursion of linear acceleration and the first corresponding relation of jitter level.
The second determination module 114 is used for determining jitter level according to the excursion of angular acceleration and the second corresponding relation of jitter level.
The 3rd determination module 115, be used for when the jitter level of determining according to the first corresponding relation is identical with the jitter level of determining according to the second corresponding relation, with any one jitter level wherein as the jitter level of terminal, the jitter level of determining in the jitter level of determining according to the first corresponding relation with according to the second corresponding relation not simultaneously, with the jitter level of wherein higher jitter level as terminal.
As optional execution mode, the internal structure of first detection module 111 can be identical with the structure of first detection module 821 among the embodiment six, and the internal structure of further the first determination module 113 can be identical with the first determination module 822 among the embodiment six.
As optional execution mode, the internal structure of the second detection module 112 can be identical with the second detection module 921 among the embodiment seven, and the internal structure of further the second determination module 114 can be identical with the second determination module 922 among the embodiment seven.
As optional execution mode, also comprise in the second detecting unit 1002: select module 116, for detection of current extraneous light intensity; Select the first corresponding relation corresponding to current extraneous light intensity and the second corresponding relation; Wherein, the excursion of identical linear acceleration, in corresponding the first corresponding relation of lower extraneous light intensity, corresponding jitter level is higher; The excursion of identical angular acceleration, in corresponding the second corresponding relation of lower extraneous light intensity, corresponding jitter level is higher.
Those skilled in the art should understand that the embodiment of the invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The embodiment of the invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the embodiment of the invention.Like this, if these of the embodiment of the invention are revised and modification belongs within the scope of claim and equivalent technologies thereof, then the embodiment of the invention also is intended to comprise these changes and modification interior.