CN104506766A - Photographic device and focusing compensation method - Google Patents

Photographic device and focusing compensation method Download PDF

Info

Publication number
CN104506766A
CN104506766A CN201410710117.9A CN201410710117A CN104506766A CN 104506766 A CN104506766 A CN 104506766A CN 201410710117 A CN201410710117 A CN 201410710117A CN 104506766 A CN104506766 A CN 104506766A
Authority
CN
China
Prior art keywords
gravity
acceleration
camera head
control signal
changing 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.)
Pending
Application number
CN201410710117.9A
Other languages
Chinese (zh)
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 CN201410710117.9A priority Critical patent/CN104506766A/en
Publication of CN104506766A publication Critical patent/CN104506766A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a photographic device and a focusing compensation method. The photographic device comprises a sensor module, a motor control module, and a motor, wherein the sensor module is used for acquiring change value of acceleration of gravity of the photographic device, the motor control module is connected with the sensor module, and is used for acquiring the change value of acceleration of gravity from the sensor module, and judging whether the change value of the acceleration of gravity is greater than a default threshold value, if yes, the motor control module generates a control signal, the motor is connected with the motor control module, and the motor performs compensatory movement according to the control signal. Through adoption of the method, the photographic device is prevented from losing focus when holding gesture of a user changes, so that the experience effect of the user is improved.

Description

A kind of method that camera head and focusing thereof compensate
Technical field
The present invention relates to camera head technical field, particularly relate to a kind of method of camera head and focusing compensation thereof.
Background technology
Current mobile phone has camera function, wherein mobile phone comprises camera head, when mobile phone is undertaken recording a video/taking pictures by camera head, due to camera head camera lens towards difference, offset under gravity, cause producing out of focus with the object of focal length under different gestures.Such as, user utilizes the camera head of mobile phone to take the distant view photograph of a sky to ground, in scene from sky toward the conversion process of ground, sky and ground are burnt object far away, when camera head and sky are to upper defocused, when scene changes ground into, due to the reason of gravity, the camera lens of camera head can stretch out, and causes camera head to take the apparent of sky, and takes the photographic fog on ground.
Summary of the invention
Embodiments provide a kind of method of camera head and focusing compensation thereof, camera head different gestures can be avoided to cause the object of same focal length to produce out of focus.
The invention provides a kind of camera head, it comprises: sensor assembly, for obtaining the changing value of the acceleration of gravity of camera head; Motor control module, is connected with sensor assembly, and for obtaining the changing value of acceleration of gravity from sensor assembly, and judge whether the changing value of acceleration of gravity is greater than default threshold value, if so, then motor control module produces control signal; Motor, is connected with motor control module, and motor compensates movement according to control signal.
Wherein, camera head also comprises image sensing module, is connected with motor control module, and when motor compensates mobile according to control signal, image sensing module suspends acquisition image; After motor compensates movement according to control signal, image sensing module continues to obtain image.
Wherein, the changing value of the acceleration of gravity of sensor assembly acquisition camera head comprises: sensor assembly obtains the acceleration of gravity of camera head every the time of presetting; Sensor assembly obtains the changing value of acceleration of gravity according to current acceleration of gravity and the last acceleration of gravity obtained.
Wherein, the time of presetting is 33ms.
Wherein, control signal comprises compensation step number, and motor control module obtains according to the compensation meter that the changing value inquiry of acceleration of gravity is preset and compensates step number.
A kind of method that the present invention also provides focusing of camera head to compensate, it comprises: the changing value obtaining the acceleration of gravity of camera head; Judge whether the changing value of acceleration of gravity is greater than default threshold value; If so, then produce control signal, compensate movement according to control signal.
Wherein, when compensating mobile according to control signal, suspending and obtaining image; After compensate movement according to control signal, continue to obtain image.
Wherein, the changing value obtaining the acceleration of gravity of camera head comprises: the acceleration of gravity obtaining camera head every the time of presetting; The changing value of acceleration of gravity is obtained according to current acceleration of gravity and the last acceleration of gravity obtained.
Wherein, the time of presetting is 33ms.
Wherein, control signal comprises compensation step number, compensates mobile comprising according to control signal: obtain compensation step number according to the compensation meter that the changing value inquiry of acceleration of gravity is preset.
By such scheme, the invention has the beneficial effects as follows: the present invention obtains the changing value of the acceleration of gravity of camera head by sensor assembly; Motor control module judges whether the changing value of acceleration of gravity is greater than default threshold value, and if so, then motor control module produces control signal; Motor compensates movement according to control signal, camera head can be avoided to produce when the hand-held postural change of user out of focus, improves the experience effect of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.Wherein:
Fig. 1 is the structural representation of one embodiment of the invention camera head;
Fig. 2 is the schematic diagram that in Fig. 1, sensor assembly obtains the acceleration of camera head;
Fig. 3 is the flow chart of the method that the focusing of one embodiment of the invention camera head compensates.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under performing creative labour prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the structural representation of one embodiment of the invention camera head.The camera head 10 that the present embodiment discloses comprises sensor assembly 11, motor control module 12, motor 13 and image sensing module 14.
In the present embodiment, sensor assembly 11 is for obtaining the changing value of the acceleration of gravity of camera head 10.Wherein, sensor assembly 11 can obtain the acceleration information of camera head 10 on X-axis, Y-axis and Z axis, and wherein Z axis is acceleration of gravity, as shown in Figure 2.Sensor assembly 11 obtains the acceleration of gravity of camera head 10 every the time of presetting, and sensor assembly 11 obtains the changing value of acceleration of gravity according to current acceleration of gravity and the last acceleration of gravity obtained, and the default time is preferably 33ms.
Wherein, sensor assembly 11 is preferably gravity sensor, and gravity sensor is for obtaining the positional information of camera head 10, and 33ms of being separated by records the changing value of acceleration of gravity.When the posture of the hand-held camera head 10 of user is different, the direction of the acceleration of gravity that camera head 10 is subject in the direction of movement and size are different.Be described for the camera head 10 of mobile phone, sensor assembly 11 utilizes the sensorListener object acquisition G-sensor information (i.e. the changing value of acceleration of gravity) of Android, particularly: pSensorListener=new SensorListener () for opening the G-sensor information of Listener, and arranges notification function (function namely performed when sensor changes); Open Sensor and monitor pSensorListener->enableSensor (SersorListener::SensorType_Gravity, 33), the unit of 33 is ms, in 33ms, namely carry out the situation of change of poll G-Sensor; PSensorListener->setListener (sensorListener), sensorListener function catches G-sensor information (i.e. the changing value of acceleration of gravity).
In the present embodiment, motor control module 12 is connected with sensor assembly 11, motor 13 and image sensing module 14 respectively.When camera head 10 is opened, motor control module 12 notifies that sensor assembly 11 obtains the changing value of the acceleration of gravity of camera head 10.Motor control module 12 obtains the changing value of acceleration of gravity from sensor assembly 11, and judge whether change in gravitational acceleration value is greater than default threshold value, if, then motor control module 12 produces control signal, and control signal is sent to motor 13, motor 13 compensates movement according to control signal.Such as, the threshold value preset is 0.3, if change in gravitational acceleration value is greater than 0.3, then motor control module 12 produces control signal.
Wherein, control signal also comprises compensation step number, and motor control module 12 obtains according to the compensation meter (as table 1) that the changing value inquiry of acceleration of gravity is preset and compensates step number, and motor 13 compensates movement according to the compensation step number of control signal.
Table 1
G-sensor information Compensate step number
<-7.5 49
-6.5~--7.5 49
-5.5~--6.5 45
-4.5~--5.5 41
-3.5~-4.5 31
-2.5~-3.5 27
-1.5~--2.5 17
-0.5~--1.5 11
0.5~-0.5 7
1.5~0.5 2
2.25~1.5 -4
2.75~2.25 -8
3.25~2.75 -14
3.75~3.25 -17
4.25~3.75 -22
5~4.25 -26
6~5 -31
7~6 -33
8~7 -44
>8 -53
As shown in table 1, such as: when the changing value (G-sensor information) that sensor assembly 11 obtains the acceleration of gravity of camera head 10 is 4.5, it is-26 that motor control module 12 question blank 1 can compensate step number; The changing value (G-sensor information) that sensor assembly 11 obtains the acceleration of gravity of camera head 10 for-4.5 time, it is 31 that motor control module 12 question blank 1 can compensate step number.In other embodiments, those skilled in the art can preset other compensation meters as required, and motor control module 12 obtains according to the compensation meter that the changing value inquiry of acceleration of gravity is preset and compensates step number.
In the present embodiment, camera head 10 obtains image by image sensing module 14.Motor controller 12 is when transmitting control signal to motor 13, and notice image sensing module 14 stops obtaining image, and namely when motor 13 compensates mobile according to control signal, image sensing module 14 suspends acquisition image; Motor 13 to compensate according to control signal mobile after, image sensing module 14 continues to obtain image, and image sensing module 14 pairs of images show, record a video or the operation such as panoramic mosaic.By the way, image sensing module 14 can be avoided in motor 13 moving process to get fuzzy image.
Wherein, camera head 10 is preferably the equipment that mobile phone or panel computer etc. have camera head 10.
The present embodiment obtains the changing value of the acceleration of gravity of camera head 10 by sensor assembly 11; Motor control module 12 judges whether the changing value of acceleration of gravity is greater than default threshold value, and if so, then motor control module 12 produces control signal; Motor 13 compensates movement according to control signal, camera head 10 can be avoided to produce when the hand-held postural change of user out of focus, improves the experience effect of user.
Refer to Fig. 3, Fig. 3 is the flow chart of the method that the focusing of one embodiment of the invention camera head compensates.The basis of the camera head 10 that the present embodiment institute revealing method connects at above-described embodiment is described, and the method comprises:
S301: sensor assembly 11 obtains the changing value of the acceleration of gravity of camera head 10;
S302: motor control module 12 judges whether the changing value of acceleration of gravity is greater than default threshold value;
S303: if so, then motor control module 12 produces control signal, motor 13 compensates movement according to control signal.
In S301, when camera head 10 is opened, motor control module 12 notifies that sensor assembly 11 obtains the changing value of the acceleration of gravity of camera head 10.Sensor assembly 11 obtains the acceleration of gravity of camera head 10 every the time of presetting, and sensor assembly 11 obtains the changing value of acceleration of gravity according to current acceleration of gravity and the last acceleration of gravity obtained, and the default time is preferably 33ms.Sensor assembly 11 is preferably gravity sensor, and gravity sensor is for obtaining the positional information of camera head 10, and 33ms of being separated by records the changing value of acceleration of gravity.When the posture of the hand-held camera head 10 of user is different, the direction of the acceleration of gravity that camera head 10 is subject in the direction of movement and size are different.
In S302, motor control module 12 obtains the changing value of acceleration of gravity from sensor assembly 11, and judges whether change in gravitational acceleration value is greater than default threshold value.
In S303, motor control module 12 produces control signal, and control signal is sent to motor 13, and motor 13 compensates movement according to control signal.
Wherein, control signal also comprises compensation step number, and motor control module 12 obtains according to the compensation meter (as table 1) that the changing value inquiry of acceleration of gravity is preset and compensates step number, and motor 13 compensates movement according to the compensation step number of control signal.
When motor 13 compensates mobile according to control signal, image sensing module 14 suspends acquisition image; Motor 13 to compensate according to control signal mobile after, image sensing module 14 continues to obtain image, and image sensing module 14 pairs of images show, record a video or the operation such as panoramic mosaic.By the way, image sensing module 14 can be avoided in motor 13 moving process to get fuzzy image.
In sum, the present invention obtains the changing value of the acceleration of gravity of camera head by sensor assembly; Motor control module judges whether the changing value of acceleration of gravity is greater than default threshold value, and if so, then motor control module produces control signal; Motor compensates movement according to control signal, camera head can be avoided to produce when the hand-held postural change of user out of focus, improves the experience effect of user.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a camera head, is characterized in that, described camera head comprises:
Sensor assembly, for obtaining the changing value of the acceleration of gravity of described camera head;
Motor control module, be connected with described sensor assembly, for obtaining the changing value of described acceleration of gravity from described sensor assembly, and judge whether the changing value of described acceleration of gravity is greater than default threshold value, if so, then described motor control module produces control signal;
Motor, is connected with described motor control module, and described motor compensates movement according to described control signal.
2. camera head according to claim 1, it is characterized in that, described camera head also comprises image sensing module, is connected with described motor control module, when described motor compensates mobile according to described control signal, described image sensing module suspends acquisition image; After described motor compensates movement according to described control signal, described image sensing module continues to obtain image.
3. camera head according to claim 2, is characterized in that, the changing value that described sensor assembly obtains the acceleration of gravity of described camera head comprises:
Described sensor assembly obtains the acceleration of gravity of described camera head every the time of presetting;
Described sensor assembly obtains the changing value of described acceleration of gravity according to described current acceleration of gravity and the last acceleration of gravity obtained.
4. camera head according to claim 3, is characterized in that, the described default time is 33ms.
5. camera head according to claim 1, is characterized in that, described control signal comprises compensation step number, and the compensation meter that described motor control module is preset according to the changing value inquiry of described acceleration of gravity obtains described compensation step number.
6. a method for the focusing compensation of camera head, it is characterized in that, described method comprises:
Obtain the changing value of the acceleration of gravity of described camera head;
Judge whether the changing value of described acceleration of gravity is greater than default threshold value;
If so, then produce control signal, compensate movement according to described control signal.
7. method according to claim 6, is characterized in that, when compensating mobile according to described control signal, suspending and obtaining image; After compensate movement according to described control signal, continue to obtain image.
8. method according to claim 7, is characterized in that, the changing value of the acceleration of gravity of the described camera head of described acquisition comprises:
The acceleration of gravity of described camera head is obtained every the time of presetting;
The changing value of described acceleration of gravity is obtained according to described current acceleration of gravity and the last acceleration of gravity obtained.
9. method according to claim 8, is characterized in that, the described default time is 33ms.
10. method according to claim 6, is characterized in that, described control signal comprises compensation step number, describedly compensates mobile comprising according to described control signal:
Described compensation step number is obtained according to the compensation meter that the changing value inquiry of described acceleration of gravity is preset.
CN201410710117.9A 2014-11-27 2014-11-27 Photographic device and focusing compensation method Pending CN104506766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410710117.9A CN104506766A (en) 2014-11-27 2014-11-27 Photographic device and focusing compensation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410710117.9A CN104506766A (en) 2014-11-27 2014-11-27 Photographic device and focusing compensation method

Publications (1)

Publication Number Publication Date
CN104506766A true CN104506766A (en) 2015-04-08

Family

ID=52948480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410710117.9A Pending CN104506766A (en) 2014-11-27 2014-11-27 Photographic device and focusing compensation method

Country Status (1)

Country Link
CN (1) CN104506766A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391943A (en) * 2015-12-03 2016-03-09 广东欧珀移动通信有限公司 Rapid focusing method and system of shooting device
CN106357973A (en) * 2016-08-26 2017-01-25 深圳市金立通信设备有限公司 Focusing method and terminal thereof
CN110456602A (en) * 2019-08-22 2019-11-15 歌尔股份有限公司 A kind of projection pattern means for correcting of optical projection system, method and system
CN113038003A (en) * 2021-02-26 2021-06-25 上海精测半导体技术有限公司 Automatic focusing device and method, and detection device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104723A (en) * 2009-12-22 2011-06-22 深圳富泰宏精密工业有限公司 Focusing function enabling system and method
CN102147556A (en) * 2011-03-09 2011-08-10 华为终端有限公司 Focusing method and device for mobile device and mobile device
CN102611849A (en) * 2012-03-20 2012-07-25 深圳市金立通信设备有限公司 Anti-shaking system and anti-shaking method for mobile phone photographing
CN103870257A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Continuous focusing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104723A (en) * 2009-12-22 2011-06-22 深圳富泰宏精密工业有限公司 Focusing function enabling system and method
CN102147556A (en) * 2011-03-09 2011-08-10 华为终端有限公司 Focusing method and device for mobile device and mobile device
CN102611849A (en) * 2012-03-20 2012-07-25 深圳市金立通信设备有限公司 Anti-shaking system and anti-shaking method for mobile phone photographing
CN103870257A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Continuous focusing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391943A (en) * 2015-12-03 2016-03-09 广东欧珀移动通信有限公司 Rapid focusing method and system of shooting device
CN105391943B (en) * 2015-12-03 2019-04-26 Oppo广东移动通信有限公司 The quick focusing method and system of filming apparatus
CN106357973A (en) * 2016-08-26 2017-01-25 深圳市金立通信设备有限公司 Focusing method and terminal thereof
CN110456602A (en) * 2019-08-22 2019-11-15 歌尔股份有限公司 A kind of projection pattern means for correcting of optical projection system, method and system
CN110456602B (en) * 2019-08-22 2021-06-18 歌尔股份有限公司 Projection pattern correction device, method and system of projection system
CN113038003A (en) * 2021-02-26 2021-06-25 上海精测半导体技术有限公司 Automatic focusing device and method, and detection device and method
CN113038003B (en) * 2021-02-26 2023-11-14 上海精测半导体技术有限公司 Automatic focusing device and method, and detection device and method

Similar Documents

Publication Publication Date Title
US10623626B2 (en) Multiple lenses system, operation method and electronic device employing the same
KR102143456B1 (en) Depth information acquisition method and apparatus, and image collection device
US10638046B2 (en) Wearable device, control apparatus, photographing control method and automatic imaging apparatus
US10609273B2 (en) Image pickup device and method of tracking subject thereof
EP3067746B1 (en) Photographing method for dual-camera device and dual-camera device
CN104205804B (en) Image processing apparatus, filming apparatus and image processing method
US9641751B2 (en) Imaging apparatus, imaging method thereof, and computer readable recording medium
KR102249831B1 (en) image generation apparatus and method for generating 3D panorama image
US20150281553A1 (en) Image-capturing apparatus
JP2019030007A (en) Electronic device for acquiring video image by using plurality of cameras and video processing method using the same
US9854151B2 (en) Imaging device and focusing control method
CN103905735B (en) The mobile terminal and its dynamic for chasing after shooting function with dynamic chase after shooting method
EP3136708A3 (en) Mobile terminal and controlling method thereof
CN103312972B (en) Electronic installation and its its focalization method
US9924087B2 (en) Information terminal apparatus, information acquisition apparatus, information support method, and recording medium recording information support program
US20150304574A1 (en) Imaging apparatus, camera unit, display unit, image-taking method, display method and computer readable recording medium recording program thereon
CN101621619A (en) Shooting method for simultaneously focusing various faces and digital image capture device thereof
CN104506766A (en) Photographic device and focusing compensation method
KR20170009089A (en) Method and photographing device for controlling a function based on a gesture of a user
JP2018152787A (en) Imaging device, external device, imaging system, imaging method, operation method, and program
US9300860B2 (en) Image-capturing apparatus
CN105472245A (en) Photographing method and electronic device
CN101470248B (en) Focusing apparatus and method
CN103167141A (en) Continuous focalizing system and method of mobile phone camera
CN105210362B (en) Image adjusting apparatus, image adjusting method, and image capturing apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408

RJ01 Rejection of invention patent application after publication