Summary of the invention
In view of above content, be necessary to provide a kind of camera system, it can work as camera arrangement while taking pictures, and realizes the autozoom of camera arrangement by moving forward and backward the mode of camera arrangement.
Also be necessary to provide a kind of photographic method, it can work as camera arrangement while taking pictures, and realizes the autozoom of camera arrangement by moving forward and backward the mode of 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 space shooting shutter that detects described camera arrangement is pressed, if be pressed, and execution step (a7), otherwise execution step (a3); (a3) described in the real-time sensing of described acceleration transducer, camera arrangement moves in the direction of taking pictures acceleration and direction; (a4) acceleration and direction that the camera arrangement that described in Real-time Obtaining, acceleration transducer senses moves in the direction of taking pictures; (a5) judge whether the above-mentioned acceleration obtaining surpasses default acceleration threshold value, if surpass, perform step (a6), otherwise, step (a2) returned to; (a6) if the above-mentioned acceleration obtaining is negativeacceleration, the zoom unit that triggers described camera arrangement amplifies zoom to described camera arrangement, positive acceleration, triggers described zoom unit described camera arrangement is dwindled to zoom if, returns to 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, the acceleration that the camera arrangement sensing for acceleration transducer described in Real-time Obtaining moves in the direction of taking pictures and direction; Judge module, for judging that whether the above-mentioned acceleration obtaining surpasses default acceleration threshold value, when this acceleration obtaining surpasses this default acceleration threshold value, then judges that this acceleration is positive acceleration or negativeacceleration; Trigger module, for when the above-mentioned acceleration obtaining surpasses default acceleration threshold value, the zoom unit that triggers camera arrangement according to the direction of this acceleration carries out autozoom to this camera arrangement; Detection module, for completing when the focusing unit of camera arrangement automatically defocused, whether the space shooting shutter that detects this camera arrangement is pressed; Described trigger module, also for when space shooting shutter is pressed, triggers this camera arrangement and takes pictures.
Compared to prior art, described camera system and method, when user is when using camera arrangement to take pictures, the acceleration that can move in the direction of taking pictures according to camera arrangement carries out autozoom to this camera arrangement, makes the operation of camera arrangement 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 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 automatically focusing, and for when described camera arrangement 1 enters exposal model, automatically focuses, and re-start automatic focusing at every turn after this camera arrangement 1 carries out zoom.
Described acceleration transducer 13 is for completing automatically defocused when described focusing unit 11, the acceleration that this camera arrangement 1 of sensing moves in the direction of taking pictures in real time.The described direction of taking pictures refers to the direction vertical with the interface of taking pictures of described camera arrangement 1.For example, as shown in Figure 2, be the schematic diagram of place, the interface three-dimensional system of coordinate of taking pictures of this camera arrangement 1.In Fig. 2, rectangle OABC is the interface of taking pictures of described camera arrangement 1, suppose that this interface OABC that takes pictures is in three-dimensional system of coordinate XYZ, the Z axis 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 axis place, and described camera arrangement 1 is called positive acceleration at the acceleration of OZ direction, at the acceleration of OZ negative direction, is called negativeacceleration.
The acceleration that the described camera arrangement 1 that described zoom unit 12 senses according to described acceleration transducer 13 moves in the described direction of taking pictures carries out autozoom to this camera arrangement 1.This zoom unit 12 can be Digital Zoom unit or optical zoom unit, and for ease of explanation, take in the present embodiment this zoom unit 12 carries out representative illustration as optical zoom unit.Particularly, if this zoom unit 12 is an optical zoom unit, this zoom unit 12 at least comprises that zoom lens and control these zoom lens and zoom in or out to optical zoom the actuator that both direction moves, and the direction that this actuator zooms in or out to optical zoom at these zoom lens of Acceleration Control of the described direction of taking pictures according to described camera arrangement 1 moves.As when as described in acceleration be positive acceleration, control the direction that these zoom lens dwindle to optical zoom and move, if negativeacceleration is controlled the direction that these zoom lens amplify to optical zoom and moved, to realize the autozoom of this camera arrangement 1.
Described camera system 10 comprises acquisition module 101, judge module 102, trigger module 103 and detection module 104.
Acceleration and direction that the described camera arrangement 1 that described acquisition module 101 senses for acceleration transducer described in Real-time Obtaining 13 moves in the described direction of taking pictures.
Whether described judge module 102 surpasses a default acceleration threshold value for judging the above-mentioned acceleration obtaining, and when this acceleration obtaining surpasses this default acceleration threshold value, then judges the direction of this acceleration.Described default acceleration threshold value is the minimum value that the described zoom of triggering unit 12 carries out autozoom, acceleration threshold value as default in this is 0.3N/KG, when the acceleration moving in the described direction of taking pictures when described camera arrangement 1 surpasses this default acceleration threshold value, described trigger module 103 triggers 12 pairs of described zoom unit this camera arrangement 1 according to the direction of this acceleration and carries out autozoom.
When this zoom unit 12 completes after autozoom, described focusing unit 11 re-starts automatic focusing again.
Described detection module 104 is for completing automatically defocused when described focusing unit 11, and whether the space shooting shutter that detects this camera arrangement 1 is pressed, and when space shooting shutter is pressed, described trigger module 103 triggers 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 enters exposal model, in step S00, focus automatically in described focusing unit 11.
Step S01, whether the space shooting shutter that described detection module 104 detects described camera arrangement 1 is pressed, if be pressed, performs step S08, otherwise execution step S02.
Step S02, camera arrangement 1 moves in the described direction of taking pictures described in the real-time sensing of described acceleration transducer 13 acceleration and direction.
Step S03, acceleration and direction that the described camera arrangement 1 that acceleration transducer 13 senses described in described acquisition module 101 Real-time Obtainings moves in the described direction of taking pictures.
Step S04, described judge module 102 judges whether the above-mentioned acceleration obtaining surpasses default acceleration threshold value, if surpass, performs step S05, otherwise, return to step S01.
Step S05, the direction of the above-mentioned acceleration obtaining of described judge module 102 judgement is positive acceleration or negativeacceleration, if negativeacceleration performs step S06, otherwise execution step S07.
Step S06, described trigger module 103 triggers the described camera arrangement 1 in 12 pairs of described zoom unit and amplifies zoom, returns to step S00.
Step S07, described trigger module 103 triggers the described camera arrangement 1 in 12 pairs of described zoom unit and dwindles zoom, returns to 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 modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.