CN101470548A - Method for measuring object dimension and angle through touch screen - Google Patents
Method for measuring object dimension and angle through touch screen Download PDFInfo
- Publication number
- CN101470548A CN101470548A CNA2007101729752A CN200710172975A CN101470548A CN 101470548 A CN101470548 A CN 101470548A CN A2007101729752 A CNA2007101729752 A CN A2007101729752A CN 200710172975 A CN200710172975 A CN 200710172975A CN 101470548 A CN101470548 A CN 101470548A
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- angle
- axis
- transform coefficient
- 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
Abstract
A method for measuring dimensions of objects by a touch screen includes steps of 1) calculating X-axis distance conversion coefficient C1 and Y-axis distance conversion coefficient C2, 2) using a touch pen to click two endpoints of a distance to be measured, 3) using the touch screen to transmit position coordinate signals (X1,Y1) and (X2,Y2) of the two endpoints to a central processing unit by electric conversion, 4) calculating actual physical dimensions D of the two endpoints by the central processing unit, and 5) outputting the actual physical dimensions D to an output device or a memory. Compared with the method for measuring dimensions of objects by the touch screen, a method for measuring angles of objects by the same includes using the touch pen to click three points of an angle to be measured according to the sequence of edge, angle and edge to calculate the included angle. The invention combines the digital processing technology and a digital display method, expands the application of the touch screen, and is convenient in use. Users can measure the dimensions and the angles of objects just by simple operations on the touch screen.
Description
Technical field
The present invention relates to a kind of method, be applicable to the occasion of various application touch-screens based on touch-screen realization measurement size and angle.
Background technology
Along with the development of consumer electronics product, touch screen technology is widely used in portable equipment such as mobile phone, PDA, electronic game machine and the MP3/MP4 player.The principle of work of touch-screen is that the position signalling with contact point converts electric signal to and sends with certain data-interface signal format.Spread out at present thus and stretched out multiple application, as the literal hand-written input system, operation interface control, picture function etc.
In study, work and life at ordinary times, run into the occasion that some need Measuring Object size and angle through regular meeting.Because ruler, angle square generally can not carried, this has brought very big inconvenience to surveying work.But also there is not a kind of method that can utilize touch-screen to realize Measuring Object size and angle in the prior art.
Summary of the invention
The method that the purpose of this invention is to provide a kind of touch-screen Measuring Object size and angle is used simple, easy to operate.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method of touch-screen Measuring Object size, its characteristics are that it may further comprise the steps:
1) calculates X-axis distance transform coefficient C1 and Y-axis distance transform coefficient C2 according to the effective perform region physical size of touch-screen and the coordinate figure of touch-screen;
2) testee is positioned over this touch-screen top as reference, uses felt pen on this touch-screen, to click two end points of the distance that will measure;
3) (X1 is Y1) with (X2 Y2) sends to central processing unit to this touch-screen with this position coordinates signal of 2 by electric conversion;
4) this central processing unit calculates this actual physical size D of 2 by two point coordinate signals and distance transform coefficient;
5) this central processing unit outputs to output device or storer with this actual physical size D.
Wherein, this X-axis distance transform coefficient C1 and Y-axis distance transform coefficient C2 draw by following formula:
Maximum effectively perform region size/(the X-axis coordinate maximal value-X-axis coordinate minimum value) of C1=touch-screen X-axis;
Maximum effectively perform region size/(the Y-axis coordinate maximal value-Y-axis coordinate minimum value) of C2=touch-screen Y-axis.
Wherein, this actual physical size D draws by following formula:
A kind of method of touch-screen Measuring Object angle, its characteristics are that it may further comprise the steps:
1) calculates X-axis distance transform coefficient C1 and Y-axis distance transform coefficient C2 according to the effective perform region physical size of touch-screen and the coordinate figure of touch-screen;
2) testee is positioned over this touch-screen top as reference, uses felt pen on this touch-screen, to click three points of the angle that will measure according to the order on limit, angle, limit;
3) this touch-screen by electric conversion with this position coordinates signal of 3 (X1, Y1), (X2, Y2), (X3 Y3) sends to central processing unit;
4) this central processing unit calculates the angle value θ of measurement by above-mentioned coordinate signal and distance transform coefficient C1, C2 at 3;
5) this central processing unit outputs to output device or storer with this angle value θ.
Wherein, this angle value θ draws by following system of equations:
K1=C1(X1-X2)/C2(Y1-Y2);
K2=C1(X3-X2)/C2(Y3-Y2);
tanθ=|(k2-k1)/(1+k1k2)|。
Positive progressive effect of the present invention is: based on the basic function of touch screen module, in conjunction with digital processing technology and numeric displaying method, expanded the application of touch-screen, easy to use, the user only needs by size and the angle of shirtsleeve operation with regard to the energy measurement object on touch-screen.
Description of drawings
Fig. 1 is the hardware structure diagram of preferred embodiment of the present invention.
Fig. 2 is in the preferred embodiment of the present invention, the process flow diagram of Measuring Object size.
Fig. 3 is in the preferred embodiment of the present invention, the enforcement constitutional diagram of Measuring Object size.
Fig. 4 is in the preferred embodiment of the present invention, the process flow diagram of Measuring Object angle.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
One, method of the present invention based on hardware configuration
Method among the present invention based on hardware configuration simple, touch screen module 101 sends to central processing unit 102 by Data Input Interface with the position coordinates signal, it outputs to display panel module 103 or storer through calculating with the result.In addition, also comprise an electric supply system that is used to power.
Two, the method for Measuring Object size
As shown in Figures 2 and 3.
Maximum effectively perform region size/(the X-axis coordinate maximal value-X-axis coordinate minimum value) of C1=touch-screen X-axis;
Maximum effectively perform region size/(the Y-axis coordinate maximal value-Y-axis coordinate minimum value) of C2=touch-screen Y-axis.
Illustrate, the square among Fig. 3 is effective perform region of touch-screen, and its actual physical size is length of side 5cm, and establishing its X-axis coordinate maximal value is 100, and minimum value is 0.X-axis distance transform coefficient C1=5/100=0.05 then, Y-axis distance transform coefficient C2 can be with calculating with quadrat method.
Three, the method for Measuring Object angle
As shown in Figure 4.
K1=C1(X1-X2)/C2(Y1-Y2);
K2=C1(X3-X2)/C2(Y3-Y2);
tanθ=|(k2-k1)/(1+k1k2)|。
Obtain the value of tan θ herein, can obtain the concrete numerical value of angle θ.
More than measure the formula of distance between two points, the formula that takes measurement of an angle also can adopt other formula, as long as can calculate distance or angle.
Though more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite that does not deviate from principle of the present invention and essence, can make numerous variations or modification to these embodiments.Therefore, protection scope of the present invention is limited by appended claims.
Claims (5)
1, a kind of method of touch-screen Measuring Object size is characterized in that it may further comprise the steps:
1) calculates X-axis distance transform coefficient C1 and Y-axis distance transform coefficient C2 according to the effective perform region physical size of touch-screen and the coordinate figure of touch-screen;
2) testee is positioned over this touch-screen top as reference, uses felt pen on this touch-screen, to click two end points of the distance that will measure;
3) (X1 is Y1) with (X2 Y2) sends to central processing unit to this touch-screen with this position coordinates signal of 2 by electric conversion;
4) this central processing unit calculates this actual physical size D of 2 by two point coordinate signals and distance transform coefficient;
5) this central processing unit outputs to output device or storer with this actual physical size D.
2, the method for touch-screen Measuring Object size according to claim 1 is characterized in that, this X-axis distance transform coefficient C1 and Y-axis distance transform coefficient C2 draw by following formula:
Maximum effectively perform region size/(the X-axis coordinate maximal value-X-axis coordinate minimum value) of C1=touch-screen X-axis;
Maximum effectively perform region size/(the Y-axis coordinate maximal value-Y-axis coordinate minimum value) of C2=touch-screen Y-axis.
3, the method for touch-screen Measuring Object size according to claim 2 is characterized in that, this actual physical size D draws by following formula:
4, a kind of method of touch-screen Measuring Object angle is characterized in that it may further comprise the steps:
1) calculates X-axis distance transform coefficient C1 and Y-axis distance transform coefficient C2 according to the effective perform region physical size of touch-screen and the coordinate figure of touch-screen;
2) testee is positioned over this touch-screen top as reference, uses felt pen on this touch-screen, to click three points of the angle that will measure according to the order on limit, angle, limit;
3) this touch-screen by electric conversion with this position coordinates signal of 3 (X1, Y1), (X2, Y2), (X3 Y3) sends to central processing unit;
4) this central processing unit calculates the angle value θ of measurement by above-mentioned coordinate signal and distance transform coefficient C1, C2 at 3;
5) this central processing unit outputs to output device or storer with this angle value θ.
5, the method for touch-screen Measuring Object size according to claim 4 is characterized in that, this angle value θ draws by following system of equations:
K1=C1(X1-X2)/C2(Y1-Y2);
K2=C1(X3-X2)/C2(Y3-Y2);
tanθ=|(k2-k1)/(1+k1k2)|。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101729752A CN101470548B (en) | 2007-12-25 | 2007-12-25 | Method for measuring object dimension and angle through touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101729752A CN101470548B (en) | 2007-12-25 | 2007-12-25 | Method for measuring object dimension and angle through touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101470548A true CN101470548A (en) | 2009-07-01 |
CN101470548B CN101470548B (en) | 2011-03-30 |
Family
ID=40828061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101729752A Expired - Fee Related CN101470548B (en) | 2007-12-25 | 2007-12-25 | Method for measuring object dimension and angle through touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101470548B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188360A (en) * | 2013-03-25 | 2013-07-03 | 上海斐讯数据通信技术有限公司 | Intelligent mobile phone with functions of measuring length and angle, and measurement method thereof |
CN103595856A (en) * | 2012-08-18 | 2014-02-19 | 句容茂森智能机器设备有限公司 | Method for measuring object length by use of mobile phone |
CN104598228A (en) * | 2015-01-05 | 2015-05-06 | 深圳市金立通信设备有限公司 | Measuring method of size of object |
CN104679426A (en) * | 2015-01-05 | 2015-06-03 | 深圳市金立通信设备有限公司 | Terminal |
CN105333846A (en) * | 2014-06-12 | 2016-02-17 | 联想(北京)有限公司 | Length measurement method and apparatus |
CN105489071A (en) * | 2015-12-29 | 2016-04-13 | 智慧方舟科技有限公司 | Electronic ruler system and working method thereof, and component part of electronic ruler system |
CN105489070A (en) * | 2015-12-29 | 2016-04-13 | 智慧方舟科技有限公司 | Electronic semicircle ruler system and working method thereof, and component part of electric semicircle ruler system |
CN105488828A (en) * | 2015-12-29 | 2016-04-13 | 智慧方舟科技有限公司 | Electronic set square system and working method thereof, and component part of electronic set square system |
CN105513437A (en) * | 2015-12-29 | 2016-04-20 | 智慧方舟科技有限公司 | Electronic compasses system and operating method and components thereof |
CN106152923A (en) * | 2015-04-21 | 2016-11-23 | 中兴通讯股份有限公司 | Measuring method, device and equipment |
CN107246845A (en) * | 2017-05-31 | 2017-10-13 | 广州市昊翼信息科技有限公司 | The method and device of ring is measured using intelligent terminal |
CN109211115A (en) * | 2017-06-29 | 2019-01-15 | 北京搜狗科技发展有限公司 | A kind of measurement method and device |
EP3270098B1 (en) | 2015-03-10 | 2019-09-18 | Hoya Lens Thailand Ltd. | Measurement system for eyeglasses-wearing parameter, measurement program, measurement method therefor, and manufacturing method for eyeglasses lens |
WO2023151568A1 (en) * | 2022-02-08 | 2023-08-17 | 广州视源电子科技股份有限公司 | Method for measuring size of object, storage medium, and electronic device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19539955A1 (en) * | 1995-10-26 | 1997-04-30 | Sick Ag | Optical detection device |
US5999892A (en) * | 1997-05-05 | 1999-12-07 | Fan; Rodric C. | Method for providing an instant distance measurement on a map |
CN1728070A (en) * | 2005-07-28 | 2006-02-01 | 邢休东 | Laser scanning and ranging type touch screen |
-
2007
- 2007-12-25 CN CN2007101729752A patent/CN101470548B/en not_active Expired - Fee Related
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103595856A (en) * | 2012-08-18 | 2014-02-19 | 句容茂森智能机器设备有限公司 | Method for measuring object length by use of mobile phone |
CN103188360A (en) * | 2013-03-25 | 2013-07-03 | 上海斐讯数据通信技术有限公司 | Intelligent mobile phone with functions of measuring length and angle, and measurement method thereof |
CN103188360B (en) * | 2013-03-25 | 2017-11-07 | 上海斐讯数据通信技术有限公司 | It is a kind of that there is the smart mobile phone and its measuring method for measuring length and angle function |
CN105333846B (en) * | 2014-06-12 | 2019-03-08 | 联想(北京)有限公司 | A kind of length measurement method and device |
CN105333846A (en) * | 2014-06-12 | 2016-02-17 | 联想(北京)有限公司 | Length measurement method and apparatus |
CN104598228A (en) * | 2015-01-05 | 2015-05-06 | 深圳市金立通信设备有限公司 | Measuring method of size of object |
CN104679426A (en) * | 2015-01-05 | 2015-06-03 | 深圳市金立通信设备有限公司 | Terminal |
CN104679426B (en) * | 2015-01-05 | 2019-04-26 | 深圳市金立通信设备有限公司 | A kind of terminal |
EP3270098B2 (en) † | 2015-03-10 | 2022-12-07 | Hoya Lens Thailand Ltd. | Measurement system for eyeglasses-wearing parameter, measurement program, measurement method therefor, and manufacturing method for eyeglasses lens |
EP3270098B1 (en) | 2015-03-10 | 2019-09-18 | Hoya Lens Thailand Ltd. | Measurement system for eyeglasses-wearing parameter, measurement program, measurement method therefor, and manufacturing method for eyeglasses lens |
CN106152923B (en) * | 2015-04-21 | 2020-01-07 | 中兴通讯股份有限公司 | Measuring method, device and equipment |
CN106152923A (en) * | 2015-04-21 | 2016-11-23 | 中兴通讯股份有限公司 | Measuring method, device and equipment |
CN105489070A (en) * | 2015-12-29 | 2016-04-13 | 智慧方舟科技有限公司 | Electronic semicircle ruler system and working method thereof, and component part of electric semicircle ruler system |
CN105489071B (en) * | 2015-12-29 | 2019-01-22 | 智慧方舟科技有限公司 | A kind of electronics ruler system and its working method and building block |
CN105488828B (en) * | 2015-12-29 | 2019-02-19 | 智慧方舟科技有限公司 | A kind of electronic triangular ruler system and its working method and building block |
CN105489070B (en) * | 2015-12-29 | 2019-02-22 | 智慧方舟科技有限公司 | A kind of electronics semicircle ruler system and its working method and building block |
CN105513437B (en) * | 2015-12-29 | 2019-04-19 | 智慧方舟科技有限公司 | A kind of electronic compass system and its working method and building block |
CN105513437A (en) * | 2015-12-29 | 2016-04-20 | 智慧方舟科技有限公司 | Electronic compasses system and operating method and components thereof |
CN105488828A (en) * | 2015-12-29 | 2016-04-13 | 智慧方舟科技有限公司 | Electronic set square system and working method thereof, and component part of electronic set square system |
CN105489071A (en) * | 2015-12-29 | 2016-04-13 | 智慧方舟科技有限公司 | Electronic ruler system and working method thereof, and component part of electronic ruler system |
CN107246845A (en) * | 2017-05-31 | 2017-10-13 | 广州市昊翼信息科技有限公司 | The method and device of ring is measured using intelligent terminal |
CN109211115A (en) * | 2017-06-29 | 2019-01-15 | 北京搜狗科技发展有限公司 | A kind of measurement method and device |
CN109211115B (en) * | 2017-06-29 | 2021-12-28 | 北京搜狗科技发展有限公司 | Measuring method and device |
WO2023151568A1 (en) * | 2022-02-08 | 2023-08-17 | 广州视源电子科技股份有限公司 | Method for measuring size of object, storage medium, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN101470548B (en) | 2011-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101470548B (en) | Method for measuring object dimension and angle through touch screen | |
CN100377043C (en) | Three-dimensional hand-written identification process and system thereof | |
US10613666B2 (en) | Content creation using electronic input device on non-electronic surfaces | |
US8047071B2 (en) | Multifunctional electronic device and method for using the same | |
CN105487689A (en) | Ring mouse and method for operating mobile terminal through same | |
CN103257813A (en) | Determining method and file transmission method of sharing equipment and file transmission system | |
US20130271363A1 (en) | Electronic Remote Control Thimble | |
CN103019449B (en) | Three-dimensional multi-point type touch screen based on pressure transducer | |
WO2014183351A1 (en) | Handwriting input method and device | |
CN103512528B (en) | A kind of method and intelligent terminal that utilizes intelligent terminal to measure | |
CN104123072B (en) | It is a kind of for providing the method and apparatus of the dummy keyboard in mobile device | |
CN103105960A (en) | Touch-control panel and touch-control method thereof | |
US20140125636A1 (en) | Electronic pen data input system and electronic pen data input method using the same | |
JP6202874B2 (en) | Electronic device, calibration method and program | |
CN101937277A (en) | Writing type electronic input/output device | |
CN103076945A (en) | Interface editing method and device of touch-screen electronic device | |
CN104598048A (en) | Digital pen writing control method and system | |
TWI521403B (en) | Processing apparatus and processing method | |
CN104123015A (en) | System for simulating laser pen through mobile phone and achieving method of system | |
CN111610869B (en) | Touch pen, electronic device and control method | |
US9285901B2 (en) | Electronic device for recognizing asynchronous digital pen and recognizing method thereof | |
US20130201157A1 (en) | User interface device and method of providing user interface | |
CN103207686B (en) | A kind of TrackPoint, TrackPoint information conversion method, device and electronic equipment | |
CN201622540U (en) | Keyboard integrated wireless mouse | |
CN109579752B (en) | Measuring method and terminal equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110330 Termination date: 20171225 |