CN102857633A - Mobile phone ranging system - Google Patents

Mobile phone ranging system Download PDF

Info

Publication number
CN102857633A
CN102857633A CN2012102901126A CN201210290112A CN102857633A CN 102857633 A CN102857633 A CN 102857633A CN 2012102901126 A CN2012102901126 A CN 2012102901126A CN 201210290112 A CN201210290112 A CN 201210290112A CN 102857633 A CN102857633 A CN 102857633A
Authority
CN
China
Prior art keywords
distance
image distance
mobile phone
ccd
focusing
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
CN2012102901126A
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.)
SUZHOU QIZHI ELECTROMECHANICAL TECHNOLOGY Co Ltd
Original Assignee
SUZHOU QIZHI ELECTROMECHANICAL TECHNOLOGY 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 SUZHOU QIZHI ELECTROMECHANICAL TECHNOLOGY Co Ltd filed Critical SUZHOU QIZHI ELECTROMECHANICAL TECHNOLOGY Co Ltd
Priority to CN2012102901126A priority Critical patent/CN102857633A/en
Publication of CN102857633A publication Critical patent/CN102857633A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a mobile phone ranging system, and belongs to the field of mobile phone system processing. The mobile phone ranging system comnprises a camera lens, a charge coupled device (CCD), a CCD displacement driver, an image analysis module and a calculation module. The operating mechanism of the system comprises the following steps of: firstly, starting the camera lens; secondly, determining a main focusing point; thirdly, focusing automatically and outputting an image distance; and finally, calculating the distance of an object by using the calculation module according to the image distance and the focal distance of the lens. By using the mobile phone ranging system, the automatic ranging function can be realized by utilizing the conventional mobile phone device without adding hardware cost.

Description

The mobile phone ranging system
 
Technical field
The present invention relates to field of electronic systems, particularly, relate to the cell phone system process field.
 
Background technology
In daily life, often need judgment object and the distance of oneself, in the ordinary course of things, all adopt the range estimation mode to carry out.Yet the accuracy of range estimation is very low, can not satisfy under many circumstances people's demand; For this reason, need to adopt optical gauge to be assisted a ruler in governing a country, as, common optical rangefinder can be adopted.But this kind rangefinder belongs to the engineering mapping special equipment, in the daily life, can not carry at any time.Therefore, can not satisfy the demand of people's daily life.
For this reason, on the present daily communication apparatus such as some mobile phones, had distance measurement function, its cardinal principle is roughly to have two kinds: one, mobile phone front end are equipped with infrared transceiver, by the transmitting-receiving time of a signal of infrared transceiver, calculate the distance of testee; Two, adopt software engineering, by data such as input object heights in software, utilize trigonometric function to calculate the testee distance.For aforesaid the first technology, need to be on mobile phone the installation infrared line transceiver, cost drops into larger, present mobile phone does not generally possess this device; For aforesaid the second technology, then need to know in advance some dimensional parameters, this also is unpractical for ordinary populace.And directly adopt at present various regular handsets to carry out the software systems of automatic range, even do not propose.
 
Summary of the invention
For the problems referred to above, the object of the present invention is to provide a kind of mobile phone ranging system, this system can utilize existing mobile device, realizes the automatic range function, need not to increase hardware cost.
The technical solution adopted for the present invention to solve the technical problems is: this mobile phone ranging system comprises photographic film, CCD, CCD displacement driver, image analysis module, computing module; And the operating mechanism of this system comprises the steps:
One, opens photographic film; The object that makes the picked-up of described photographic film is shown in screen after by described CCD imaging;
Two, determine main focusing; In the mode that finger touch or directionkeys move, choose main focusing at screen, that is point is got the point on testee surface;
Three, automatically focusing, and output image distance; By described CCD displacement driver drive described CCD with respect to described photographic film from the near to the remote or by moving as far as peri position, the definition of the image at the main focusing place of being got by described image analysis module analytical procedure two mid points simultaneously, after analyzing the most clearly displaced position, send abort request to described CCD displacement driver, and by the CCD displacement driver to the distance between described computing module output CCD this moment and the described photographic film, i.e. image distance;
Four, according to described computing module according to image distance, lens focus, calculate object distance; According to Gaussian imaging equation: 1/ object distance+1/ image distance=1/ focal length calculates the testee distance, i.e. object distance.
As preferably, in step 1, comprise that also can supply the image scaling step of user selection operation; Thereby the thing far away that is crowded together can be scattered in amplification process, be beneficial to accurately choosing of required main focusing.
As preferably, in the described step 2, described main focusing is shown in screen in the mode of coloured round dot, and main focusing is being pointed in screen slip or long process by directionkeys, continuous moving on screen, thus make the positional precision of main focusing more accurate.
As preferably, in step 3, described CCD displacement driver is also focused near the more than one point the main focusing of determining in the step 2, form more than one auxiliary focusing, and export the corresponding auxiliary image distance of each described auxiliary focusing by described CCD displacement driver to described computing module; And, in step 4, described computing module at first compares each described auxiliary image distance and the corresponding main image distance of described main focusing, rejecting surpasses 10% auxiliary image distance with described main image distance difference, with remaining main image distance and the auxiliary image distance mean value that counts, and with the arithmetic mean value that obtains as the image distance parameter in the described Gaussian imaging equation; With this Reduce measurement error.
Beneficial effect of the present invention is: this mobile phone ranging system is by carrying out reasonably organization and administration to each parts in the existing regular handset photographic system, make it under the prerequisite that does not increase hardware, realize distance measurement function practical in the daily life with software mode.
 
Description of drawings
Fig. 1 is the figure of hardware organization of this mobile phone ranging system.
Fig. 2 is this mobile phone ranging system operation precedence diagram.
 
Embodiment
The present invention is further described below in conjunction with drawings and Examples:
Fig. 1, embodiment illustrated in fig. 2 in, the hardware organization of this mobile phone ranging system comprises photographic film 1, CCD2, CCD displacement driver 4, image analysis module 3, computing module 5 as shown in Figure 1.The operating mechanism of this mobile phone ranging system comprises the steps: as shown in Figure 2
Open photographic film S100: the object that makes described photographic film picked-up is shown in screen after by described CCD imaging; In this step, can also comprise that can supply the image scaling step of user selection operation; Thereby the thing far away that is crowded together can be scattered in amplification process, be beneficial to accurately choosing of required main focusing.
Determine main focusing S110: in the mode that finger touch or directionkeys move, choose main focusing at screen, that is point is got the point on testee surface; Described main focusing is shown in screen in the mode of coloured round dot, as, be shown as a green point at screen; And main focusing is being pointed in screen slip or long process by directionkeys, continuous moving on screen, thus make the positional precision of main focusing more accurate; As, when finger slided on screen from left to right continuously, main focusing was also slided from screen from left to right continuously; With respect to traditional mode of getting focusing at screen point, because continuity is selected to have in the position of main focusing in this step, therefore greatly improved and chosen precision.
Automatically focusing, and output image distance S120: by described CCD displacement driver drive described CCD with respect to described photographic film from the near to the remote or by moving as far as peri position, the definition of the image at the main focusing place of being got by described image analysis module analytical procedure S110 mid point simultaneously, after analyzing the most clearly displaced position, send abort request to described CCD displacement driver, and by the CCD displacement driver to the distance between described computing module output CCD this moment and the described photographic film, i.e. main image distance.In this step, after determining main image distance, described CCD displacement driver can also be focused near the more than one point the main focusing, as, main focusing on the mobile phone screen is as the center of circle, at radius is evenly to choose 4 points on the circumference of 0.5mm, focuses as auxiliary focusing; Focus process is identical with the focus process of described main focusing; And export the corresponding auxiliary image distance of each described auxiliary focusing by described CCD displacement driver to described computing module.
According to described computing module according to image distance, lens focus, calculate object distance S130: described computing module at first compares each described auxiliary image distance and the corresponding main image distance of described main focusing, reject with described main image distance difference and surpass 10%(take main image distance as radix) auxiliary image distance, with remaining main image distance and the auxiliary image distance mean value that counts, and with the arithmetic mean value that obtains as described Gaussian imaging equation: the image distance parameter in 1/ object distance+1/ image distance=1/ focal length, obtain object distance, i.e. the testee distance.
Among step S120, the S130, choosing of described auxiliary focusing can reduce in the Mobile phone automatic focusing process pixel analysis error of described image analysis module to a great extent; For differing the rejecting that surpasses 10% auxiliary image distance with main image distance, then can eliminate the impact that may be present near the objects testee, different with the testee distance, so that ultimate analysis image distance mean value out is more accurate.
This mobile phone ranging system makes it under the prerequisite that does not increase hardware, realize distance measurement function practical in the daily life with software mode by each parts in the existing regular handset photographic system are carried out reasonably organization and administration.Concrete software algorithm, those skilled in the art can easily write according to above-mentioned operating procedure on the one hand, and on the other hand, specific algorithm is not the object of patent protection, so locate to repeat no more.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. a mobile phone ranging system comprises photographic film, CCD, CCD displacement driver, image analysis module, computing module, and it is characterized in that: the operating mechanism of this system comprises the steps:
One, opens photographic film; The object that makes the picked-up of described photographic film is shown in screen after by described CCD imaging;
Two, determine main focusing; In the mode that finger touch or directionkeys move, choose main focusing at screen, that is point is got the point on testee surface;
Three, automatically focusing, and output image distance; By described CCD displacement driver drive described CCD with respect to described photographic film from the near to the remote or by moving as far as peri position, the definition of the image at the main focusing place of being got by described image analysis module analytical procedure two mid points simultaneously, after analyzing the most clearly displaced position, send abort request to described CCD displacement driver, and by the CCD displacement driver to the distance between described computing module output CCD this moment and the described photographic film, i.e. image distance;
Four, according to described computing module according to image distance, lens focus, calculate object distance; According to Gaussian imaging equation: 1/ object distance+1/ image distance=1/ focal length calculates the testee distance, i.e. object distance.
2. mobile phone ranging system according to claim 1 is characterized in that: in step 1, comprise that also can supply the image scaling step of user selection operation.
3. mobile phone ranging system according to claim 1, it is characterized in that: in the described step 2, described main focusing is shown in screen in the mode of coloured round dot, and main focusing is being pointed in screen slip or long process by directionkeys continuous moving on screen.
4. according to claim 1 or 3 described mobile phone ranging systems, it is characterized in that: in step 3, described CCD displacement driver is also focused near the more than one point the main focusing of determining in the step 2, form more than one auxiliary focusing, and export the corresponding auxiliary image distance of each described auxiliary focusing by described CCD displacement driver to described computing module; And, in step 4, described computing module at first compares each described auxiliary image distance and the corresponding main image distance of described main focusing, rejecting surpasses 10% auxiliary image distance with described main image distance difference, with remaining main image distance and the auxiliary image distance mean value that counts, and with the arithmetic mean value that obtains as the image distance parameter in the described Gaussian imaging equation.
CN2012102901126A 2012-08-15 2012-08-15 Mobile phone ranging system Pending CN102857633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102901126A CN102857633A (en) 2012-08-15 2012-08-15 Mobile phone ranging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102901126A CN102857633A (en) 2012-08-15 2012-08-15 Mobile phone ranging system

Publications (1)

Publication Number Publication Date
CN102857633A true CN102857633A (en) 2013-01-02

Family

ID=47403816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102901126A Pending CN102857633A (en) 2012-08-15 2012-08-15 Mobile phone ranging system

Country Status (1)

Country Link
CN (1) CN102857633A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103759701A (en) * 2014-01-13 2014-04-30 南通大学 Intelligent cell phone ranging method based on android platform
CN103837129A (en) * 2014-02-27 2014-06-04 华为终端有限公司 Distance measuring method and device in terminals and terminal
CN104359422A (en) * 2014-11-15 2015-02-18 中国科学院武汉岩土力学研究所 Device and method for detecting geometric outline of cavity through borehole camera shooting
CN104613930A (en) * 2015-01-04 2015-05-13 宇龙计算机通信科技(深圳)有限公司 Method and device for measuring distance as well as mobile terminal
CN104834523A (en) * 2015-04-30 2015-08-12 深圳市金立通信设备有限公司 Terminal
CN104931009A (en) * 2015-04-30 2015-09-23 深圳市金立通信设备有限公司 Method for measuring horizontal distance
CN104931957A (en) * 2015-06-01 2015-09-23 广东欧珀移动通信有限公司 Distance measurement method and device based on mobile terminal
CN105245768A (en) * 2014-06-30 2016-01-13 中兴通讯股份有限公司 Focal length adjustment method, focal length adjustment device and terminal
CN105588513A (en) * 2016-04-11 2016-05-18 上海斐讯数据通信技术有限公司 Object volume measuring method and object volume measuring system based on mobile terminal
CN105891813A (en) * 2016-03-30 2016-08-24 惠州Tcl移动通信有限公司 Mobile terminal and method thereof for measuring distance on the basis of focusing function of mobile terminal camera
CN105891812A (en) * 2015-11-15 2016-08-24 乐视移动智能信息技术(北京)有限公司 Distance measurement method, device and terminal device
CN106197366A (en) * 2016-08-01 2016-12-07 珠海格力电器股份有限公司 The treating method and apparatus of range information
CN106595489A (en) * 2016-10-28 2017-04-26 惠州Tcl移动通信有限公司 Mobile terminal for real-time distance measurement and method
CN106790992A (en) * 2016-11-21 2017-05-31 广东欧珀移动通信有限公司 Safety prompt function method and smart mobile phone
CN107152634A (en) * 2016-03-02 2017-09-12 上海三思电子工程有限公司 Led searchlight and led searchlight control system
CN109239698A (en) * 2018-08-02 2019-01-18 华勤通讯技术有限公司 Camera distance measuring method and electronic equipment
US10262197B2 (en) 2015-11-17 2019-04-16 Huawei Technologies Co., Ltd. Gesture-based object measurement method and apparatus
CN114071124A (en) * 2021-11-05 2022-02-18 信利光电股份有限公司 Module Peak point testing method, system and readable storage medium
EP4102827A1 (en) * 2016-08-31 2022-12-14 Canon Kabushiki Kaisha Image capture control apparatus and control method therefor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050031330A1 (en) * 2002-08-27 2005-02-10 Osamu Nonaka Camera and distance measuring method thereof
CN101567975A (en) * 2009-05-26 2009-10-28 深圳华为通信技术有限公司 Method and device for selecting focusing zone
CN102053338A (en) * 2009-10-29 2011-05-11 致伸科技股份有限公司 Portable electronic equipment capable of automatically focusing for measuring distance and method
CN102611846A (en) * 2007-12-13 2012-07-25 株式会社日立制作所 Imaging Apparatus
CN102625038A (en) * 2012-02-10 2012-08-01 明基电通有限公司 Image capturing device and image processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050031330A1 (en) * 2002-08-27 2005-02-10 Osamu Nonaka Camera and distance measuring method thereof
CN102611846A (en) * 2007-12-13 2012-07-25 株式会社日立制作所 Imaging Apparatus
CN101567975A (en) * 2009-05-26 2009-10-28 深圳华为通信技术有限公司 Method and device for selecting focusing zone
CN102053338A (en) * 2009-10-29 2011-05-11 致伸科技股份有限公司 Portable electronic equipment capable of automatically focusing for measuring distance and method
CN102625038A (en) * 2012-02-10 2012-08-01 明基电通有限公司 Image capturing device and image processing method

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103759701A (en) * 2014-01-13 2014-04-30 南通大学 Intelligent cell phone ranging method based on android platform
CN103759701B (en) * 2014-01-13 2016-03-09 南通大学 Based on the cell phone intelligent distance-finding method of Android platform
CN103837129A (en) * 2014-02-27 2014-06-04 华为终端有限公司 Distance measuring method and device in terminals and terminal
WO2015127743A1 (en) * 2014-02-27 2015-09-03 华为终端有限公司 Distance measurement method and device in terminal, and terminal
CN103837129B (en) * 2014-02-27 2016-06-08 华为终端有限公司 Distance-finding method in a kind of terminal, device and terminal
CN105245768A (en) * 2014-06-30 2016-01-13 中兴通讯股份有限公司 Focal length adjustment method, focal length adjustment device and terminal
CN104359422A (en) * 2014-11-15 2015-02-18 中国科学院武汉岩土力学研究所 Device and method for detecting geometric outline of cavity through borehole camera shooting
CN104359422B (en) * 2014-11-15 2018-02-02 中国科学院武汉岩土力学研究所 A kind of device and method of borehole camera detection cavity geometric profile
CN104613930A (en) * 2015-01-04 2015-05-13 宇龙计算机通信科技(深圳)有限公司 Method and device for measuring distance as well as mobile terminal
CN104613930B (en) * 2015-01-04 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Method and device for measuring distance as well as mobile terminal
CN104931009A (en) * 2015-04-30 2015-09-23 深圳市金立通信设备有限公司 Method for measuring horizontal distance
CN104834523A (en) * 2015-04-30 2015-08-12 深圳市金立通信设备有限公司 Terminal
CN104931957A (en) * 2015-06-01 2015-09-23 广东欧珀移动通信有限公司 Distance measurement method and device based on mobile terminal
CN105891812A (en) * 2015-11-15 2016-08-24 乐视移动智能信息技术(北京)有限公司 Distance measurement method, device and terminal device
US10262197B2 (en) 2015-11-17 2019-04-16 Huawei Technologies Co., Ltd. Gesture-based object measurement method and apparatus
CN107152634A (en) * 2016-03-02 2017-09-12 上海三思电子工程有限公司 Led searchlight and led searchlight control system
CN105891813A (en) * 2016-03-30 2016-08-24 惠州Tcl移动通信有限公司 Mobile terminal and method thereof for measuring distance on the basis of focusing function of mobile terminal camera
CN105588513A (en) * 2016-04-11 2016-05-18 上海斐讯数据通信技术有限公司 Object volume measuring method and object volume measuring system based on mobile terminal
CN106197366A (en) * 2016-08-01 2016-12-07 珠海格力电器股份有限公司 The treating method and apparatus of range information
WO2018023961A1 (en) * 2016-08-01 2018-02-08 珠海格力电器股份有限公司 Distance information processing method and device
EP4102827A1 (en) * 2016-08-31 2022-12-14 Canon Kabushiki Kaisha Image capture control apparatus and control method therefor
CN106595489A (en) * 2016-10-28 2017-04-26 惠州Tcl移动通信有限公司 Mobile terminal for real-time distance measurement and method
CN106790992A (en) * 2016-11-21 2017-05-31 广东欧珀移动通信有限公司 Safety prompt function method and smart mobile phone
CN109239698A (en) * 2018-08-02 2019-01-18 华勤通讯技术有限公司 Camera distance measuring method and electronic equipment
CN109239698B (en) * 2018-08-02 2022-12-20 华勤技术股份有限公司 Camera ranging method and electronic equipment
CN114071124A (en) * 2021-11-05 2022-02-18 信利光电股份有限公司 Module Peak point testing method, system and readable storage medium
CN114071124B (en) * 2021-11-05 2024-04-19 信利光电股份有限公司 Module Peak point testing method, system and readable storage medium

Similar Documents

Publication Publication Date Title
CN102857633A (en) Mobile phone ranging system
US10564392B2 (en) Imaging apparatus and focus control method
CN110035218B (en) Image processing method, image processing device and photographing equipment
CN108028887B (en) Photographing focusing method, device and equipment for terminal
CN103048765A (en) Camera focusing device and method
US20210158560A1 (en) Method and device for obtaining localization information and storage medium
CN102980556A (en) Distance measuring method and device
CN102053338A (en) Portable electronic equipment capable of automatically focusing for measuring distance and method
CN105627920A (en) Method and device for displaying size
US20220084249A1 (en) Method for information processing, electronic equipment, and storage medium
CN110930463A (en) Method and device for calibrating internal reference of monitoring camera and electronic equipment
CN113888452A (en) Image fusion method, electronic device, storage medium, and computer program product
CN110930351A (en) Light spot detection method and device and electronic equipment
KR100955386B1 (en) Apparatus for measuring the distance in golf course and method for measuring the distance using the same
CN104864810A (en) Digital measuring method and device thereof
CN103940344A (en) High-precision remote displacement sensor
CN105867371B (en) Control the mobile method and device of balance car
TWI392852B (en) Portable electric device using auto focus for distance measurement and distance measuring method using the same
CN112543284B (en) Focusing system, method and device
CN103376616A (en) Image acquisition device, automatic focusing method and automatic focusing system
US9462259B2 (en) Electronic device
CN115861741B (en) Target calibration method and device, electronic equipment, storage medium and vehicle
CN212301882U (en) Distance measuring device and terminal
CN105100557A (en) Portable electronic device and image extraction method
CN106871790A (en) The method and system of intelligent mobile measurement device object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130102