Summary of the invention
In view of above content, be necessary to provide a kind of camera system, it can work as camera arrangement when taking pictures, and realizes the autozoom of camera arrangement by the mode that moves forward and backward camera arrangement.
Also be necessary to provide a kind of photographic method, it can work as camera arrangement when taking pictures, and realizes the autozoom of camera arrangement by the mode that moves forward and backward camera arrangement.
Described photographic method is applied to be equipped with in the camera arrangement of acceleration transducer, and the method comprising the steps of: (a1) when described camera arrangement enters exposal model, focus automatically in the focusing unit of this camera arrangement; (a2) whether the shutter of taking pictures that detects described camera arrangement is pressed, if be pressed, and execution in step (a7) then, otherwise execution in step (a3); (a3) acceleration and the direction that move in the direction of taking pictures of the described camera arrangement of the real-time sensing of described acceleration transducer; (a4) acceleration and the direction that move in the direction of taking pictures of the camera arrangement that obtains described acceleration transducer in real time and sensed; (a5) judge that whether the above-mentioned acceleration that obtains surpasses default acceleration threshold value, if surpass, execution in step (a6) then, otherwise, return step (a2); (a6) if the above-mentioned acceleration that obtains is a negativeacceleration, the zoom unit that then triggers described camera arrangement amplifies zoom to described camera arrangement, if be positive acceleration, then trigger described zoom unit described camera arrangement is dwindled zoom, return step (a1); (a7) triggering described camera arrangement takes pictures.
Described camera system runs in the camera arrangement that is equipped with acceleration transducer, and this system comprises: acquisition module is used for obtaining in real time acceleration and direction that camera arrangement that described acceleration transducer senses moves in the direction of taking pictures; Judge module is used to judge whether the above-mentioned acceleration that obtains surpasses default acceleration threshold value, when this acceleration that obtains surpasses this default acceleration threshold value, judges that again this acceleration is positive acceleration or negativeacceleration; Trigger module is used for when the above-mentioned acceleration that obtains surpasses default acceleration threshold value, and the zoom unit that triggers camera arrangement according to the direction of this acceleration carries out autozoom to this camera arrangement; Detection module is used for focusing unit when camera arrangement and finishes automatically defocused, and whether the shutter of taking pictures that detects this camera arrangement is pressed; Described trigger module also is used for when the shutter of taking pictures is pressed, and triggers this camera arrangement and takes pictures.
Compared to prior art, described camera system and method, when the user when using camera arrangement to take pictures, can carry out autozoom at the acceleration that the direction of taking pictures moves to this camera arrangement according to camera arrangement, make that the operation of camera arrangement is more humane.
Embodiment
As shown in Figure 1, be the environment architecture figure of camera system operation of the present invention.This camera system 10 runs in the camera arrangement 1, and this camera arrangement 1 also comprises focusing unit 11, zoom unit 12 and acceleration transducer 13.
In the present embodiment, described focusing unit 11 is the unit of focusing automatically, is used for focusing automatically when described camera arrangement 1 enters exposal model, and carries out focusing automatically again behind the zoom at this camera arrangement 1 at every turn.
Described acceleration transducer 13 is used for finishing automatically defocused when described focusing unit 11, in real time the acceleration that moves in the direction of taking pictures of this camera arrangement 1 of sensing.The described direction of taking pictures is meant the direction vertical with the interface of taking pictures of described camera arrangement 1.For example, as shown in Figure 2, be the synoptic diagram of place, the interface three-dimensional system of coordinate of taking pictures of this camera arrangement 1.Among Fig. 2, rectangle OABC is the interface of taking pictures of described camera arrangement 1, suppose that this interface OABC that takes pictures is among the three-dimensional system of coordinate XYZ, the Z axle of this three-dimensional system of coordinate XYZ is vertical with this interface OABC that takes pictures, in the present embodiment, the described direction of taking pictures is the direction at this Z axle place, and described camera arrangement 1 is called positive acceleration at the acceleration of OZ direction, then is called negativeacceleration at the acceleration of OZ negative direction.
Described zoom unit 12 carries out autozoom at the acceleration that the described direction of taking pictures moves to this camera arrangement 1 according to the described camera arrangement 1 that described acceleration transducer 13 is sensed.This zoom unit 12 can be Digital Zoom unit or optical zoom unit, for ease of explanation, is that the optical zoom unit carries out representative illustration with this zoom unit 12 in the present embodiment.Particularly, if this zoom unit 12 is an optical zoom unit, then this zoom unit 12 comprises that at least zoom lens and these zoom lens of control amplify or dwindle the actuator that both direction moves to optical zoom, and this actuator amplifies or the direction of dwindling moves to optical zoom at these zoom lens of Acceleration Control of the described direction of taking pictures according to described camera arrangement 1.As when as described in acceleration be positive acceleration, then control these zoom lens and move, if negativeacceleration is then controlled these zoom lens and moved to the direction that optical zoom amplifies, to realize the autozoom of this camera arrangement 1 to the direction that optical zoom dwindles.
Described camera system 10 comprises acquisition module 101, judge module 102, trigger module 103 and detection module 104.
Described acquisition module 101 is used for obtaining in real time acceleration and the direction that described camera arrangement 1 that described acceleration transducer 13 sensed moves in the described direction of taking pictures.
Described judge module 102 is used to judge whether the above-mentioned acceleration that obtains surpasses a default acceleration threshold value, when this acceleration that obtains surpasses this default acceleration threshold value, judges the direction of this acceleration again.Described default acceleration threshold value is the minimum value that the described zoom of triggering unit 12 carries out autozoom, as this default acceleration threshold value is 0.3N/KG, when the acceleration that moves in the described direction of taking pictures when described camera arrangement 1 surpassed this default acceleration threshold value, described trigger module 103 promptly triggered 12 pairs of these camera arrangements 1 in described zoom unit according to the direction of this acceleration and carries out autozoom.
After autozoom is finished in this zoom unit 12, focus again automatically in described focusing unit 11 again.
Described detection module 104 is used for finishing automatically defocused when described focusing unit 11, and whether the shutter of taking pictures that detects this camera arrangement 1 is pressed, and when the shutter of taking pictures was pressed, described trigger module 103 triggered these camera arrangements 1 and takes pictures.
As shown in Figure 3, be the process flow diagram of photographic method preferred embodiment of the present invention.
When described camera arrangement 1 entered exposal model, in step S00, focused automatically in described focusing unit 11.
Step S01, whether the shutter of taking pictures that described detection module 104 detects described camera arrangement 1 is pressed, if be pressed, execution in step S08 then, otherwise execution in step S02.
Step S02, acceleration and direction that the described camera arrangement 1 of described acceleration transducer 13 real-time sensings moves in the described direction of taking pictures.
Step S03, described acquisition module 101 obtain acceleration and the direction that described camera arrangement 1 that described acceleration transducer 13 sensed moves in the described direction of taking pictures in real time.
Step S04, described judge module 102 judge that whether the above-mentioned acceleration that obtains surpasses default acceleration threshold value, if surpass, and execution in step S05 then, otherwise, return step S01.
Step S05, described judge module 102 judges that the direction of the above-mentioned acceleration that obtains is positive acceleration or negativeacceleration, if negativeacceleration, execution in step S06 then, otherwise execution in step S07.
Step S06, described trigger module 103 triggers the 12 pairs of described camera arrangements 1 in described zoom unit and amplifies zoom, returns step S00.
Step S07, described trigger module 103 triggers the 12 pairs of described camera arrangements 1 in described zoom unit and dwindles zoom, returns step S00.
Step S08, described trigger module 103 triggers described camera arrangement 1 and takes pictures.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.