CN101340664A - Method for measurement by mobile terminal and mobile terminal - Google Patents

Method for measurement by mobile terminal and mobile terminal Download PDF

Info

Publication number
CN101340664A
CN101340664A CNA2008101346887A CN200810134688A CN101340664A CN 101340664 A CN101340664 A CN 101340664A CN A2008101346887 A CNA2008101346887 A CN A2008101346887A CN 200810134688 A CN200810134688 A CN 200810134688A CN 101340664 A CN101340664 A CN 101340664A
Authority
CN
China
Prior art keywords
portable terminal
horizontal range
measured object
distance
point
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
CNA2008101346887A
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.)
Huawei Device Shenzhen Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies 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 Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CNA2008101346887A priority Critical patent/CN101340664A/en
Publication of CN101340664A publication Critical patent/CN101340664A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for measuring by utilizing a mobile terminal, and the mobile terminal thereof, which relates to the mobile terminal and can be convenient for users to use. The method for measuring by utilizing the mobile terminal, which is provided by the embodiment of the invention, includes that at least one measuring point in an image formed by an object to be measured in an image device of the mobile terminal is selected; the image distance of the measuring point is acquired; according to the image distance, the horizontal distance between the object to be measured and the mobile terminal is acquired.

Description

The method and the portable terminal that utilize portable terminal to measure
Technical field
The present invention relates to portable terminal, relate in particular to a kind of method and portable terminal that utilizes portable terminal to measure.
Background technology
Along with the develop rapidly of the communication technology, communication equipment, particularly mobile phone, universalness, extensiveization day by day, and the user is also increasing day by day to the requirement of the function that communication equipment possessed, therefore the camera function of mobile phone also arises at the historic moment.
The camera function of mobile phone is that camera and mobile phone are combined, and makes mobile phone possess camera function.The user only need carry a mobile phone, just can enjoy simultaneously and communicate by letter and take a picture two kinds and serve, and is very convenient, practical.The camera function of mobile phone has utilized a kind of image-forming principle of convex lens, it is the real image that object becomes to dwindle, stand upside down beyond two times of focal lengths of convex lens, as shown in Figure 1, AB represents actual object among the figure, F represents the focus of convex lens, the real image that dwindles, stands upside down that A ' B ' expression object becomes on the image device of mobile phone.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: the camera function of mobile phone in the prior art, can only carry out imaging to object, can not obtain the information such as distance between object size, object and the mobile phone, the information that obtains is not accurate enough, concrete, in a lot of actual applicable cases, can not be user-friendly to.
Summary of the invention
At above-mentioned problems of the prior art, embodiments of the invention provide a kind of method and portable terminal that utilizes portable terminal to measure, and can be user-friendly to.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of utilizing portable terminal to measure comprises:
Choose measured object at least one measurement point in described portable terminal image device imaging;
Obtain the image distance of described measurement point;
According to described image distance, obtain the horizontal range between described measured object and the portable terminal.
A kind of portable terminal comprises:
Choose the unit, be used for choosing measured object at least one measurement point in described portable terminal image device imaging;
Acquiring unit, the image distance or the picture between wantonly two measurement points that are used to obtain the described measurement point of choosing unit selection are long;
The horizontal range acquiring unit is used to utilize the image distance of the measurement point that described acquiring unit obtains, and obtains the horizontal range between described measured object and the portable terminal
The technical scheme that the embodiment of the invention provides makes portable terminal when obtaining the picture of object, can also obtain the horizontal range of this portable terminal to object, and the information of acquisition is concrete more, accurate, thereby has guaranteed and can be user-friendly to.
Description of drawings
Fig. 1 is a convex lens imaging schematic diagram;
The method flow diagram that utilizes portable terminal to measure that Fig. 2 provides for the embodiment of the invention;
The take up an official post schematic diagram of distance between two object points of the measurement measured object that Fig. 3 provides for the embodiment of the invention;
The structure chart of the portable terminal that Fig. 4 provides for the embodiment of the invention.
Embodiment
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, below in conjunction with accompanying drawing embodiments of the invention are described in detail, following description only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other execution mode of the present invention according to these embodiment.
The embodiment of the invention provides a kind of method of utilizing portable terminal to measure, as shown in Figure 2, comprising:
Step 201, choose measured object at least one measurement point in described portable terminal image device imaging;
Step 202, obtain the image distance of described measurement point;
Step 203, according to described image distance, obtain the horizontal range between described measured object and the portable terminal.
The technical scheme that the embodiment of the invention provides makes portable terminal when obtaining the picture of object, can also obtain the horizontal range of this portable terminal to object, and the information of acquisition is concrete more, accurate, thereby has guaranteed and can be user-friendly to.
Described portable terminal in embodiments of the present invention comprises mobile phone, PDA(Personal Digital Assistant) etc., is that example describes below with the mobile phone.
Step 201, choose measured object at least one measurement point in described portable terminal image device imaging.
The method of choosing measurement point has multiple, can set in advance the optimum measurement point of at least one, for example, the central point of measured object imaging or boundary point, image device in the portable terminal (comprises charge coupled device ccd, or CMOS (Complementary Metal Oxide Semiconductor) conductor device CMOS etc.) obtain after the picture of this measured object, portable terminal just automatically should the optimum measurement point as the above-mentioned measurement point of choosing; Perhaps, to a mobile phone, image device can be presented at the picture of measured object on the display screen of mobile phone, utilizes the touch-screen or the writing pen of mobile phone, and portable terminal is chosen at least one measurement point by receiving the triggering of this touch-screen or writing pen; Perhaps, pre-establish out the control command in expression orientation, portable terminal is chosen at least one measurement point by receiving the control command of cell phone keyboard input.
Step 202, obtain the image distance of described measurement point.
Is the method that the measurement point image distance is obtained in the example explanation to adopt CCD as the portable terminal of image device, CCD adopts the semi-conducting material of ISO to make usually, the minimum photosensitive unit of implanting on the CCD photographic plate is pixel (Pixel), and the pixel count quality of many CCD imaging more is good more.CCD converts the light that portable terminal receives to electric charge earlier, this electric charge has carried the information of corresponding luminous point, by analog to digital converter charge conversion is become digital signal then, the processing unit in the portable terminal obtains out the image distance of this luminous point by carrying the digital signal of luminous point information.
Step 203, according to described image distance, obtain the horizontal range between described measured object and the portable terminal.
The horizontal range of utilizing the convex lens image-forming principle can obtain between described measured object and the portable terminal is: v=fu/ (u-f), and wherein, v represents horizontal range, and f represents focal length, and u represents the image distance of measurement point.From the above, measured object and the horizontal range between the portable terminal obtained of the embodiment of the invention is the object distance of measured object to image device.
Further, when the residing position of measured object is not parallel with the image device of portable terminal, in order to make the horizontal range of obtaining more accurate, can adopt the embodiment of the invention and to choose two or more measurement points, focal length according to image device in the image distance of described each measurement point and the portable terminal obtains each horizontal range v ' to be selected i=fu i/ (u i-f), and wherein, v ' iRepresent horizontal range to be selected, u iThe expression image distance, i represents the sequence number of measurement point, f represents focal length; Obtain the mean value of described each horizontal range to be selected, with this mean value as the horizontal range between described measured object and the portable terminal.
For example, can choose 5 measurement points by the method for describing in the above-mentioned steps 201, be respectively first to the 5th measurement point, corresponding image distance is respectively u 1To u 5, utilize v ' i=fu i/ (u i-each horizontal range to be selected of f) obtaining is respectively v ' 1To v ' 5, according to this horizontal range utilization to be selected v = 1 5 Σ 1 5 v i ′ Obtain mean value,, but be not limited thereto, can adopt other similarity method to utilize above-mentioned horizontal range to be selected, obtain the horizontal range between described measured object and the portable terminal as above-mentioned horizontal range v.
Use in order to further facilitate the user, can adopt several different methods that above-mentioned horizontal range is fed back to the user, for example, utilize the loud speaker in the mobile phone, the numerical value of the horizontal range obtained is play, or more for the measurement task, under the situation that accuracy of measurement can suitably reduce, the type of the numerical value of the horizontal range in the different range and corresponding mobile phone indicator light is carried out corresponding etc.
Preferably, in embodiments of the present invention, described horizontal range is presented on the display screen of portable terminal.Like this, not only the user can conveniently be known the concrete numerical value of above-mentioned horizontal range, and has the mistake of being difficult for, non-instantaneous characteristics, and is more reasonable.
Further, the embodiment of the invention also can be preserved this horizontal range, so that reuse.
The embodiment of the invention can also be measured take up an official post actual range between 2 of measured object, thereby knows the actual size of measured object, specifically comprises:
Utilize described horizontal range, and the picture between any two measurement points is long in the picture of described measured object, obtain on the described measured object and corresponding two object points of described two measurement points between distance.
Is example to adopt CCD as the portable terminal of image device, illustrates to look like long method in the picture that obtains measured object between any two measurement points.According to the size of CCD sensitization panel (for example, 1/1.8 inch, 1/2.7 inch etc.) or pixel count is (for example, 5,000,000 pixels, 8,000,000 pixels etc.) and the size of measured object imaging on this photographic plate or the pixel count of covering, according to predetermined proportionate relationship, can obtain out the distance between any two measurement points in the picture, promptly as length.
Be that example describes with the residing position of the measured object situation parallel below, as shown in Figure 3 with the image device of portable terminal.
Measured object is expressed as AB, and the picture of this measured object is expressed as CD, and two measurement points choosing on picture are D, F, and this measurement point D, F two corresponding object points on measured object are respectively B, E.Picture is long to be FD, and image distance is OD, and object distance is that the horizontal range between measured object and the portable terminal is OB, utilizes EB/OB=FD/OD, knows that the actual range between two object points of B on the measured object, E is EB=OB (FD/OD).
Utilize the method for foregoing description, when the pairing object point of the measurement point of choosing is the end points of measured object, can obtain the size of measured object, the size that refers to is here mainly considered the height and/or the width of measured object.For example, utilize said method, choose C point, D point, can obtain the height of measured object as measurement point, i.e. AB among Fig. 3, and can obtain the distance between object point A, the E in the measured object by simple plus and minus calculation.
When the position of the image device of measured object and portable terminal concerned as shown in Figure 3, when promptly the residing position of measured object was parallel with the image device of portable terminal, the embodiment of the invention also provided a kind of method of obtaining on the described measured object distance between two object points.
To ask for the height of the measured object shown in Fig. 3, promptly the distance between A point and the B point is that example describes.
Choose C point, D point as measurement point, known image distance is OD, and focal length is OF, can know the value of FD, utilizes OA '/OF=CD/FD, can obtain the height A B of measured object, i.e. OA '=OF (CD/FD).Utilize the method for foregoing description, need not to obtain earlier the horizontal range (be object distance) of measured object, utilize this horizontal range to ask for distance between the object point again, can obtain above-mentioned horizontal range and the actual range between the object point simultaneously to portable terminal.
Fig. 3 is a kind of rough schematic view, but, when the residing position of measured object is not parallel with the image device of portable terminal etc. than complicated situation, adopt above-mentioned similar methods can obtain the distance between any two object points on the measured object equally, thereby know the actual size of measured object, in actual applications, for example, during reversing, measure the space and whether can pass through vehicle body; During removal of home, measure door and whether can pass through certain part article, need not the device that the spy is ready for use on measurement, can realize with the portable terminal of carrying, convenient for users to use.
Preferably, for convenience the user uses, the embodiment of the invention with the distance display between the described object point on the display screen of portable terminal.
Further, the embodiment of the invention also can be preserved the distance between this object point, so that reuse.
The embodiment of the invention also provides a kind of portable terminal, as shown in Figure 4, comprising:
Choose unit 401, be used for choosing measured object at least one measurement point in described portable terminal image device imaging;
Acquiring unit 402 is used to obtain the described image distance of the measurement point of choosing unit 401 or the picture length between wantonly two measurement points chosen;
Horizontal range acquiring unit 403 is used to utilize the image distance of the measurement point that described acquiring unit 402 obtains, and obtains the horizontal range between described measured object and the portable terminal.
The technical scheme that the embodiment of the invention provides makes portable terminal when obtaining the picture of object, can also obtain the horizontal range of this portable terminal to object, and the information of acquisition is concrete more, accurate, thereby has guaranteed and can be user-friendly to.
The portable terminal that the embodiment of the invention provides also comprises: the object point distance acquiring unit, be used to utilize described horizontal range, and the picture between any two measurement points is long in the picture of described measured object, obtain on the described measured object and corresponding two object points of described two measurement points between distance.
Utilize above-mentioned object point distance acquiring unit, can obtain the actual range between any two object points on the measured object, thereby know the actual size of measured object, greatly convenient for users to use.
Further, above-mentioned portable terminal also comprises display unit, is used for the display screen of the distance display between described horizontal range and/or the object point at portable terminal.
Memory cell is used to store the distance between described horizontal range and/or the object point.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description, can finish by the program command related hardware.The software of described embodiment correspondence can be stored in a computer and can store in the medium that reads.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (11)

1, a kind of method of utilizing portable terminal to measure is characterized in that, comprising:
Choose measured object at least one measurement point in described portable terminal image device imaging;
Obtain the image distance of described measurement point;
According to described image distance, obtain the horizontal range between described measured object and the portable terminal.
2, the method for utilizing portable terminal to measure according to claim 1 is characterized in that, also comprises:
Show that described horizontal range is on the display screen of portable terminal.
3, the method for utilizing portable terminal to measure according to claim 1 and 2 is characterized in that, chooses at least two measurement points, and the step that the described image distance of utilizing described measurement point is obtained the horizontal range between described measured object and the portable terminal comprises:
Focal length according to image device in the image distance of described each measurement point and the portable terminal obtains each horizontal range v ' to be selected i=fu i/ (u i-f), and wherein, v ' iRepresent horizontal range to be selected, u iThe expression image distance, i represents the sequence number of measurement point, f represents focal length;
Obtain the mean value of described each horizontal range to be selected, with this mean value as the horizontal range between described measured object and the portable terminal.
4, the method for utilizing portable terminal to measure according to claim 1 is characterized in that, also comprises after the described step of utilizing described image distance to obtain the horizontal range between described measured object and the portable terminal:
Utilize described horizontal range, and the picture between any two measurement points is long in the picture of described measured object, obtain on the described measured object and corresponding two object points of described two measurement points between distance.
5, the method for utilizing portable terminal to measure according to claim 4 is characterized in that, described measurement point is the end points of at least two measured objects,
Utilize described horizontal range, and the picture between described two end points is long, obtains the size of described measured object, described measured object is of a size of the height and/or the width of this measured object.
6, according to claim 4 or the 5 described methods of utilizing portable terminal to measure, it is characterized in that, utilize described horizontal range described, and the picture between any two measurement points is long in the picture of described measured object, obtain on the described measured object and corresponding two object points of described two measurement points between the step of distance after also comprise:
With the distance display between the described object point on the display screen of portable terminal.
7, according to claim 1 or the 4 described methods of utilizing portable terminal to measure, it is characterized in that, also comprise:
Distance between described horizontal range and/or the object point is preserved.
8, a kind of portable terminal is characterized in that, comprising:
Choose the unit, be used for choosing measured object at least one measurement point in described portable terminal image device imaging;
Acquiring unit, the image distance or the picture between wantonly two measurement points that are used to obtain the described measurement point of choosing unit selection are long;
The horizontal range acquiring unit is used to utilize the image distance of the measurement point that described acquiring unit obtains, and obtains the horizontal range between described measured object and the portable terminal.
9, portable terminal according to claim 8 is characterized in that, also comprises:
The object point distance acquiring unit is used to utilize described horizontal range, and the picture between any two measurement points is long in the picture of described measured object, obtain on the described measured object and corresponding two object points of described two measurement points between distance.
10, according to Claim 8 or 9 described portable terminals, it is characterized in that, also comprise:
Display unit is used for the display screen of the distance display between described horizontal range and/or the object point at portable terminal.
11, according to Claim 8 or 9 described portable terminals, it is characterized in that, also comprise:
Memory cell is used to store the distance between described horizontal range and/or the object point.
CNA2008101346887A 2008-08-15 2008-08-15 Method for measurement by mobile terminal and mobile terminal Pending CN101340664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101346887A CN101340664A (en) 2008-08-15 2008-08-15 Method for measurement by mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101346887A CN101340664A (en) 2008-08-15 2008-08-15 Method for measurement by mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN101340664A true CN101340664A (en) 2009-01-07

Family

ID=40214595

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101346887A Pending CN101340664A (en) 2008-08-15 2008-08-15 Method for measurement by mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN101340664A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572066A (en) * 2010-12-15 2012-07-11 沈阳新邮通信设备有限公司 Handheld electronic device with distance measurement function and distance measurement method of handheld electronic device
CN102853810A (en) * 2012-09-04 2013-01-02 广东欧珀移动通信有限公司 Method for measuring object distance through mobile terminal, and system thereof
CN106546169A (en) * 2016-10-12 2017-03-29 上海斐讯数据通信技术有限公司 Using the method and device of mobile device Measuring Object size
CN107529020A (en) * 2017-09-11 2017-12-29 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107730590A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107753028A (en) * 2017-09-19 2018-03-06 努比亚技术有限公司 Take pictures and survey method, mobile terminal and the computer-readable recording medium of height

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572066A (en) * 2010-12-15 2012-07-11 沈阳新邮通信设备有限公司 Handheld electronic device with distance measurement function and distance measurement method of handheld electronic device
CN102572066B (en) * 2010-12-15 2016-02-10 沈阳新邮通信设备有限公司 There is hand-hold electronic device and the distance-finding method thereof of distance measurement function
CN102853810A (en) * 2012-09-04 2013-01-02 广东欧珀移动通信有限公司 Method for measuring object distance through mobile terminal, and system thereof
CN106546169A (en) * 2016-10-12 2017-03-29 上海斐讯数据通信技术有限公司 Using the method and device of mobile device Measuring Object size
CN107529020A (en) * 2017-09-11 2017-12-29 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107730590A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107529020B (en) * 2017-09-11 2020-10-13 Oppo广东移动通信有限公司 Image processing method and apparatus, electronic apparatus, and computer-readable storage medium
CN107753028A (en) * 2017-09-19 2018-03-06 努比亚技术有限公司 Take pictures and survey method, mobile terminal and the computer-readable recording medium of height

Similar Documents

Publication Publication Date Title
EP3687158A1 (en) Image processing method and device
CN105447864B (en) Processing method, device and the terminal of image
KR20190127838A (en) Method, apparatus and device, and storage medium for determining camera pose information
CN101340664A (en) Method for measurement by mobile terminal and mobile terminal
CN104205804A (en) Image processing device, photographing device, program, and image processing method
CN104285435A (en) Imaging device and signal correction method
CN103019537B (en) A kind of image preview method and device
CN104111778B (en) Image display method and device
CN103813108A (en) Array camera, mobile terminal, and methods for operating the same
CN105611181A (en) Multi-frame photographed image synthesizer and method
CN105074528A (en) Imaging device, and focus control method
CN108510955A (en) Adjust the method and Related product of brightness of display screen
US20160014327A1 (en) Imaging device, signal processing method, and signal processing program
US20110102466A1 (en) System and method for zooming images
CN109788262A (en) Optical projection system and its image projecting method
CN103685909A (en) Image capture method and system
US20190215443A1 (en) Imaging device and focusing control method
US20160080713A1 (en) Pixel mixing device and method for controlling operation of same
CN103973965A (en) Image capture apparatus, image capture method, and image capture program
CN105183755A (en) Picture display method and apparatus
US20160073077A1 (en) Color-image-data contamination correction device and imaging device, and method for controlling operation thereof
CN104221149A (en) Imaging element and imaging device
CN112929563B (en) Focusing method and device and electronic equipment
CN113866782A (en) Image processing method and device and electronic equipment
CN107179596B (en) Focusing method and Related product

Legal Events

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

Application publication date: 20090107