CN103024267A - Method and system for enhancing automatic focusing as well as mobile terminal - Google Patents
Method and system for enhancing automatic focusing as well as mobile terminal Download PDFInfo
- Publication number
- CN103024267A CN103024267A CN2012105052253A CN201210505225A CN103024267A CN 103024267 A CN103024267 A CN 103024267A CN 2012105052253 A CN2012105052253 A CN 2012105052253A CN 201210505225 A CN201210505225 A CN 201210505225A CN 103024267 A CN103024267 A CN 103024267A
- Authority
- CN
- China
- Prior art keywords
- focusing
- automatically
- portable terminal
- numerical value
- 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.)
- Granted
Links
Images
Landscapes
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method and a system for enhancing automatic focusing as well as a mobile terminal, which are applicable to the technical field of automatic focusing. The method comprises the following steps: allowing the mobile terminal to enter a camera shooting function and reading the value of a sensor when automatic focusing is finished and stopped; comparing the read value with a preset value; when judging that the mobile terminal is at a moving state during focusing, re-starting automatic focusing; and when judging that the mobile terminal is not at a moving state during focusing, keeping the original focusing state. The sensitivity of automatic focusing of the mobile terminal is enhanced by the method and the system.
Description
Technical field
The invention belongs to the Autofocus Technology field, relate in particular to a kind of method, system and portable terminal that strengthens automatic focusing.
Background technology
At present, the mobile phone on the market is mostly all with automatic focusing function, and they can be divided into two large classes by principle: a class is based on camera lens and the range finding of range measurement that is taken between the target is focused automatically; The another kind of focus detection of imaging clearly that is based on the focusing screen is focused automatically.
1. automatically focusing of range finding
Range finding automatically focusing mainly contains infrared distance measuring method and ultrasonic ranging method.The infrared distance measuring ratio juris is initiatively to launch infrared ray as the range finding light source by camera, and by the geometrical relationship that consists of between infrarede emitting diode, then calculate focusing from.The ultrasonic ranging method is to find range according to the time that ultrasonic wave is propagated between camera and object.
2. focus detection is focused automatically
Focus detection methods mainly contains contrast method and phase method.The contrast method is to realize automatically focusing by the contour edge of detected image.The contour edge of image is more clear, and then its brightness step is just larger, and the contrast between edge's scenery and the background is just larger in other words.Otherwise, image out of focus, contour edge is smudgy, and brightness step or contrast descend; Out of focus far away, contrast is lower.Utilize this principle, two photoelectric detectors are placed on equidistance place, CCD front and back, the image of the thing of being photographed is created on these two detectors simultaneously through light splitting, exports respectively the contrast of its imaging.The absolute value that the contrast of exporting when two detectors differs hour, just in the middle of two detectors, namely the imaging surface with CCD approaches the image planes that focusing is described, so focusing is finished.Phase method is to realize automatically focusing by the side-play amount that detects picture.A waffle slab that is comprised of parallel lines is placed in position at sensitization CCD, and lines are printing opacity and light tight in succession.Place two photo detectors with symmetrical ground on the appropriate location behind the network board.Network board with the optical axis vertical direction on double vibrations.When focusing surface overlaps with network board, arrive simultaneously two photo detectors of its back by the light of waffle slab printing opacity lines.And when out of focus, light beam can only successively arrive two photo detectors, so between their output signal phase difference is arranged.Dephased two signals can be controlled the position that actuator regulates object lens after processing of circuit, make the planes overlapping of focusing surface and waffle slab.
But various automatic focusing modes respectively have its limitation.The focusing method of infrared distance measurement and supersonic sounding for example when measured target has stronger absorption to infrared light or ultrasonic wave, will make ranging system malfunctioning or focus inaccurate; And contrast method focus detection is subjected to the restriction of illumination condition, and when dark weak or subject and background light and shade difference were very little when light, focusing will be had any problem, even ineffective.
When user's use has the mobile phone photograph of automatic focusing function, mobile phone begins first automatic focusing, at this moment mobile phone constantly calculates various parameters according to the focus algorithm of self, whether finish focusing and whether need to continue focusing to judge, but occasional runs into following situation---during shooting at close range scenery, trickle cell phone is clapped different minutiae point, and this moment, the automatic focusing of mobile phone was also insensitive, not even automatically focusing.Such as when adept machine is closely clapped a blank sheet of paper, Mobile phone automatic focusing at the beginning, horizontal cell phone slowly then, this moment, mobile phone was constant apart from the distance of blank sheet of paper, as a result automatically focusing of mobile phone.
Summary of the invention
The object of the present invention is to provide a kind of method, system and portable terminal of strengthening the sensitivity of Mobile phone automatic focusing.
The present invention is achieved in that a kind of method that strengthens automatic focusing, said method comprising the steps of:
Portable terminal enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads inductor numerical value;
The numerical value and the default initial value that read are compared;
When judging in focusing, moving end in mobile status, then again start automatically focusing;
When portable terminal is not in mobile status when judging in focusing, then keep original focusing state.
Another object of the present invention is to provide a kind of system that strengthens automatic focusing, described system comprises:
Read module is used for portable terminal and enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads inductor numerical value;
The contrast module is used for numerical value and the default initial value that reads compared;
The focusing control module when being used for moving end in mobile status when judging in focusing, then starts automatically focusing again; When portable terminal is not in mobile status when judging in focusing, then keep original focusing state.
Another object of the present invention is to provide a kind of automatically portable terminal of the system of focusing of enhancing recited above that comprises.
In the present invention, portable terminal enters camera function, finishes automatically and, to read inductor numerical value, and its and default initial value are compared when no longer continuing automatically focusing defocused, when judging portable terminal and be in mobile status, then again starts automatically and focuses; When judging portable terminal and be not in mobile status, then keep original focusing state.Thereby the technical scheme according to the embodiment of the invention judges whether that needs start automatic focusing again, thereby when having solved the shooting at close range scenery of prior art existence, trickle cell phone is clapped different minutiae point, and this moment, the automatic focusing of mobile phone was also insensitive, not even automatically focusing.Such as when adept machine is closely clapped a blank sheet of paper, Mobile phone automatic focusing at the beginning, horizontal cell phone slowly then, this moment, mobile phone was constant apart from the distance of blank sheet of paper, as a result the mobile phone automatic problem of focusing not.The embodiment of the invention has been strengthened the automatically sensitivity of focusing of portable terminal.
Description of drawings
Fig. 1 is the automatically realization flow schematic diagram of the method for focusing of the enhancing that provides of the embodiment of the invention.
Fig. 2 is the automatically structural representation of the system of focusing of the enhancing that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, portable terminal enters camera function, finishes when automatically defocused no longer continuation being focused automatically, read inductor numerical value, and itself and default initial value compared, when judging portable terminal and be in mobile status, then again start automatically focusing; When judging portable terminal and be not in mobile status, then keep original focusing state.Thereby the technical scheme according to the embodiment of the invention judges whether that needs start automatic focusing again, thereby when having solved the shooting at close range scenery of prior art existence, trickle cell phone is clapped different minutiae point, and this moment, the automatic focusing of mobile phone was also insensitive, not even automatically focusing.Such as when adept machine is closely clapped a blank sheet of paper, Mobile phone automatic focusing at the beginning, horizontal cell phone slowly then, this moment, mobile phone was constant apart from the distance of blank sheet of paper, as a result the mobile phone automatic problem of focusing not.The embodiment of the invention has been strengthened the automatically sensitivity of focusing of portable terminal.
See also Fig. 1, the enhancing that provides for the embodiment of the invention is the realization flow of the method for focusing automatically, and it mainly may further comprise the steps:
In step S101, portable terminal enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads inductor numerical value;
In embodiments of the present invention, described inductor is gyroscope.
In embodiments of the present invention, portable terminal enters camera function, and beginning is focusing automatically, and focusing is finished, and whether the automatic focus algorithm of portable terminal is calculated needs to continue focusing, if need then to continue automatically focusing, if do not need, then reads inductor numerical value.
In step S102, numerical value and the default initial value that reads compared;
In embodiments of the present invention, initial value is definite, specific as follows by testing---and when user's hand-held mobile terminal was taken pictures, hand meeting slight jitter tested out inductor numerical value this moment, and it is designated as A; When the horizontal slight mobile portable terminal of user just occurs testing out inductor numerical value when automatically not focusing, it is designated as B; Default initial value then is certain value of getting between A and the B, A<B generally, and concrete value is decided on actual conditions.
In step S 103, when when judging in focusing, moving end in mobile status, then again start automatically focusing;
In step S104, when portable terminal is not in mobile status when judging in focusing, then keep original focusing state.
In embodiments of the present invention, when the numerical value that reads during greater than default initial value, then judge when focusing and move end in mobile status; When the numerical value that reads during less than default initial value, judge then that portable terminal is not in mobile status when focusing.
In embodiments of the present invention, in the mobile terminal camera driver, add the function read relevant inductor numerical value and this numerical value and default initial value are compared, thereby judge whether whether user mobile phone is in mobile status when focusing, need again to start automatic focusing thereby judge.
See also Fig. 2, the enhancing that provides for the embodiment of the invention is the structure of the system of focusing automatically.For convenience of explanation, only show the part relevant with the embodiment of the invention.The described enhancing automatically system of focusing mainly comprises: read module 101, contrast module 102 and focusing control module 103.
Read module 101 is used for portable terminal and enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads inductor numerical value;
Focusing control module 103 when being used for moving end in mobile status when judging in focusing, then starts automatically focusing again; When portable terminal is not in mobile status when judging in focusing, then keep original focusing state.
In embodiments of the present invention, when the numerical value that reads during greater than default initial value, then judge when focusing and move end in mobile status; When the numerical value that reads during less than default initial value, judge then that portable terminal is not in mobile status when focusing.
In sum, the portable terminal of the embodiment of the invention enters camera function, finishes when automatically defocused no longer continuation being focused automatically, read inductor numerical value, and itself and default initial value compared, when judging portable terminal and be in mobile status, then again start automatically focusing; When judging portable terminal and be not in mobile status, then keep original focusing state.Thereby the technical scheme according to the embodiment of the invention judges whether that needs start automatic focusing again, thereby when having solved the shooting at close range scenery of prior art existence, trickle cell phone is clapped different minutiae point, and this moment, the automatic focusing of mobile phone was also insensitive, not even automatically focusing.Such as when adept machine is closely clapped a blank sheet of paper, Mobile phone automatic focusing at the beginning, horizontal cell phone slowly then, this moment, mobile phone was constant apart from the distance of blank sheet of paper, as a result the mobile phone automatic problem of focusing not.The embodiment of the invention has been strengthened the automatically sensitivity of focusing of portable terminal.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in the computer read/write memory medium, described storage medium is such as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. one kind strengthens the automatically method of focusing, it is characterized in that, said method comprising the steps of:
Portable terminal enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads inductor numerical value;
The numerical value and the default initial value that read are compared;
When judging in focusing, moving end in mobile status, then again start automatically focusing;
When portable terminal is not in mobile status when judging in focusing, then keep original focusing state.
2. the method for claim 1 is characterized in that, described portable terminal enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads the step of inductor numerical value, is specially:
Portable terminal enters camera function, and beginning is focusing automatically, and focusing is finished, and whether the automatic focus algorithm of portable terminal is calculated needs to continue focusing, if need then to continue automatically focusing, if do not need, then reads inductor numerical value.
3. the method for claim 1 is characterized in that, described inductor is gyroscope.
4. the method for claim 1 is characterized in that, the value of described default initial value is specific as follows: when user's hand-held mobile terminal was taken pictures, hand meeting slight jitter tested out inductor numerical value this moment, and it is designated as A; When the horizontal slight mobile portable terminal of user just occurs testing out inductor numerical value when automatically not focusing, it is designated as B; Default initial value then is certain value of getting between A and the B, A<B generally, and concrete value is decided on actual conditions.
5. the method for claim 1 is characterized in that, when the numerical value that reads during greater than default initial value, then judges when focusing and moves end in mobile status; When the numerical value that reads during less than default initial value, judge then that portable terminal is not in mobile status when focusing.
6. one kind strengthens the automatically system of focusing, it is characterized in that described system comprises:
Read module is used for portable terminal and enters camera function, finishes when automatically defocused no longer continuation being focused automatically, reads inductor numerical value;
The contrast module is used for numerical value and the default initial value that reads compared;
The focusing control module when being used for moving end in mobile status when judging in focusing, then starts automatically focusing again; When portable terminal is not in mobile status when judging in focusing, then keep original focusing state.
7. system as claimed in claim 6 is characterized in that, described inductor is gyroscope.
8. system as claimed in claim 6 is characterized in that, the value of described default initial value is specific as follows: when user's hand-held mobile terminal was taken pictures, hand meeting slight jitter tested out inductor numerical value this moment, and it is designated as A; When the horizontal slight mobile portable terminal of user just occurs testing out inductor numerical value when automatically not focusing, it is designated as B; Default initial value then is certain value of getting between A and the B, A<B generally, and concrete value is decided on actual conditions.
9. system as claimed in claim 6 is characterized in that, when the numerical value that reads during greater than default initial value, then judges when focusing and moves end in mobile status; When the numerical value that reads during less than default initial value, judge then that portable terminal is not in mobile status when focusing.
10. one kind comprises the automatically portable terminal of the system of focusing of each described enhancing of claim 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210505225.3A CN103024267B (en) | 2012-11-30 | 2012-11-30 | A kind of strengthen the method for auto-focusing, system and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210505225.3A CN103024267B (en) | 2012-11-30 | 2012-11-30 | A kind of strengthen the method for auto-focusing, system and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103024267A true CN103024267A (en) | 2013-04-03 |
CN103024267B CN103024267B (en) | 2016-08-03 |
Family
ID=47972359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210505225.3A Active CN103024267B (en) | 2012-11-30 | 2012-11-30 | A kind of strengthen the method for auto-focusing, system and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103024267B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994298A (en) * | 2015-07-14 | 2015-10-21 | 厦门美图之家科技有限公司 | Focusing triggering method and system capable of intelligently selecting focusing mode |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053458A (en) * | 2009-10-30 | 2011-05-11 | 宏达国际电子股份有限公司 | Method for capturing image and portable communication device |
CN102104723A (en) * | 2009-12-22 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Focusing function enabling system and method |
CN102122107A (en) * | 2010-01-08 | 2011-07-13 | 深圳富泰宏精密工业有限公司 | Photographing system and method |
US20110211822A1 (en) * | 2010-02-26 | 2011-09-01 | Tetsuo Kikuchi | Focus control apparatus and focus control method |
-
2012
- 2012-11-30 CN CN201210505225.3A patent/CN103024267B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053458A (en) * | 2009-10-30 | 2011-05-11 | 宏达国际电子股份有限公司 | Method for capturing image and portable communication device |
CN102104723A (en) * | 2009-12-22 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Focusing function enabling system and method |
CN102122107A (en) * | 2010-01-08 | 2011-07-13 | 深圳富泰宏精密工业有限公司 | Photographing system and method |
US20110211822A1 (en) * | 2010-02-26 | 2011-09-01 | Tetsuo Kikuchi | Focus control apparatus and focus control method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994298A (en) * | 2015-07-14 | 2015-10-21 | 厦门美图之家科技有限公司 | Focusing triggering method and system capable of intelligently selecting focusing mode |
Also Published As
Publication number | Publication date |
---|---|
CN103024267B (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10944901B2 (en) | Real time assessment of picture quality | |
JP6946188B2 (en) | Methods and equipment for multi-technology depth map acquisition and fusion | |
KR102604336B1 (en) | Methods and apparatus for performing exposure estimation using a time-of-flight sensor | |
KR101853864B1 (en) | Mems scanning mirror light pattern generation | |
WO2016000330A1 (en) | Focal length adjustment method, device and terminal, and computer storage medium | |
JP5979967B2 (en) | Image pickup apparatus having subject detection function, image pickup apparatus control method, and program | |
US10218905B2 (en) | Sliding accessory lens mount with automatic mode adjustment | |
CN102883104A (en) | Automatic image capture | |
CN104253947A (en) | Intelligent camera flash | |
CN106226976A (en) | A kind of dual camera image pickup method, system and terminal | |
KR20140140855A (en) | Method and Apparatus for controlling Auto Focus of an photographing device | |
US9055237B1 (en) | Projection autofocus | |
CN105915803B (en) | Photographing method and system based on sensor | |
CN104580901A (en) | Shooting parameter determining method and terminal | |
CN104683693A (en) | Automatic focusing method | |
CN105872355A (en) | Focus adjustment device and focus adjustment method | |
WO2016197494A1 (en) | Method and device for adjusting focusing area | |
CN105025219A (en) | Image acquisition method | |
US10880536B2 (en) | Three-dimensional image capturing device and method | |
US20130259459A1 (en) | Lens position based on focus scores of objects | |
CN103024267A (en) | Method and system for enhancing automatic focusing as well as mobile terminal | |
CN107332990A (en) | Control method and projectable's mobile terminal | |
CN105704378A (en) | Control method, control device and electronic device | |
CN108604041A (en) | terminal device, focusing method and device | |
CN113992837A (en) | Automatic focusing method based on object size and digital image acquisition device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |