CN105554247A - Measuring method, measuring system and terminal - Google Patents

Measuring method, measuring system and terminal Download PDF

Info

Publication number
CN105554247A
CN105554247A CN201510896853.2A CN201510896853A CN105554247A CN 105554247 A CN105554247 A CN 105554247A CN 201510896853 A CN201510896853 A CN 201510896853A CN 105554247 A CN105554247 A CN 105554247A
Authority
CN
China
Prior art keywords
virtual ruler
subject
scale
preview interface
display
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
Application number
CN201510896853.2A
Other languages
Chinese (zh)
Other versions
CN105554247B (en
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology China 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 Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510896853.2A priority Critical patent/CN105554247B/en
Publication of CN105554247A publication Critical patent/CN105554247A/en
Application granted granted Critical
Publication of CN105554247B publication Critical patent/CN105554247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/022Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by means of tv-camera scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention provides a measuring method, a measuring system and a terminal, wherein the measuring method comprises the steps of: displaying a virtual scale on a shooting preview interface of the terminal, wherein the virtual scale is used for measuring the size of a shot object displayed in the shooting preview interface; determining the distance value between the terminal and the shot object through a distance sensor; according to corresponding relations between distance values and proportional scales, obtaining the proportional scale corresponding to the determined distance value between the terminal and the shot object, wherein the proportional scale is a proportional value between a reference size of the shot object and a practical size of the shot object; and according to the proportional scale, adjusting the display scale values of the virtual scale so as to enable the virtual scale to display the practical size of the shot object on the preview interface. According to the technical scheme provided by the invention, a mobile phone user can rapidly and accurately measure the size of an object without carrying a ruler, and the accuracy and the convenience of measurement are improved.

Description

Method of measurement, measuring system and terminal
Technical field
The present invention relates to field of terminal technology, in particular to a kind of method of measurement, a kind of measuring system and a kind of terminal.
Background technology
In the related, people's great majority use ruler measurement size, but ruler carries and inconvenience, and certainty of measurement is not high yet, along with being used by increasing people of mobile phone, there is a kind of method using mobile phone for measuring dimension of object, after preserving by object shooting, realize the measurement to dimension of object again, but mobile phone can not measure the size of testee in real time.
Therefore, how to design a kind of new measurement scheme and become technical problem urgently to be resolved hurrily with the convenience and accuracy that improve measuring process.
Summary of the invention
The present invention just based on above-mentioned technical problem one of at least, propose a kind of method of measurement, by presetting Interface debond virtual ruler in shooting, making cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
Realize above-mentioned purpose, embodiment according to a first aspect of the invention, provide a kind of method of measurement, described method of measurement comprises: in the shooting preview interface display virtual ruler of described terminal, described virtual ruler is for measuring the size of the subject shown in described shooting preview interface; The distance value between described terminal and described subject is determined by described range sensor; According to the corresponding relation between the distance value prestored and engineer's scale, obtain the engineer's scale corresponding with the distance value between described subject with the described terminal determined, wherein, described engineer's scale is the ratio value between the reference dimension of described subject and the actual size of subject; Regulate the display scale value of described virtual ruler according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject.
In this technical scheme, the photographing device by mobile phone or other with the terminal of camera function obtains the picture of testee, make cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
Particularly, in mobile phone when starting the measurement size function of mobile phone, automatically the camera of mobile phone is opened, and on display interface of mobile phone, show one virtual ruler, and there are angular surveying and linear measure longimetry two options, the picture of testee is made to appear at the region of virtual ruler appearance by the capture function of camera, make it possible to measure the size of testee at the picture of mobile phone preview interface by virtual ruler, the distance of mobile phone and testee is measured again by range sensor, make it possible to the actual size calculating testee, thus avoid the problem that people need to carry with ruler or compasses, and avoid the error that manual measurement brings, improve the accuracy of measurement.
Wherein, range sensor comprises infrared distance measuring from transducer, optical displacement sensor, linear proximity transducer and ultrasonic displacement sensor etc., particularly, infrared distance measuring is by utilizing emitted light pulse from transducer, and measure this light pulse from being transmitted into the time being reflected by the object, by reaching the measurement of adjusting the distance to the measurement of time; Optical displacement sensor be by the luminous point light beam projecting on respectively detected object object to photo detector time the light of each pixel, and be scaled distance; Linear proximity transducer used the changed measurement of magnetic induction to measure the distance displacement of picture thing; Ultrasonic displacement sensor calculates distance by calculating ultrasonic wave from the time delivered to required for reception.
In technique scheme, preferably, also comprise: receive the touch move of user for described virtual ruler; The display position of described virtual ruler in described shooting preview interface is regulated according to described touch move.
In this technical scheme, by regulating according to the display position of touch move to virtual ruler, improve virtual ruler flexibility in use further, such as, when user finds object to be measured in shooting preview interface, the borderline region of virtual ruler to display interface can be dragged, and after user completes searching of object to be measured, drag the measuring position of virtual ruler to object to be measured, thus read measurement data fast.
In technique scheme, preferably, also comprise: receive the convergent-divergent control command of user for described virtual ruler; The displaying ratio of described virtual ruler in described shooting preview interface is regulated according to described convergent-divergent control command.
In this technical scheme, by regulating according to the displaying ratio of convergent-divergent control command to virtual ruler, improve the accuracy of measurement further, also be that user is when the full scale of virtual ruler is larger, unit scales value is also larger, 50 meters are approximately as carried out measurement to the height of base station, unit scales is 5 meters, when the zero graduation of virtual ruler is aimed at bottom base station, during the scale needing reading top, base station corresponding, virtual ruler can be amplified further by convergent-divergent control command, the unit scales of virtual ruler is made to be accurate to 1 meter further, 0.5 meter, 0.1 meter etc., in the process of convergent-divergent virtual ruler, the relative position of virtual ruler and object to be measured does not change, to ensure the accuracy measured.
In technique scheme, preferably, also comprise: determine the distance value between described terminal and described subject by described range sensor, specifically comprise the following steps: select an object in described shooting preview interface according to user instruction, and be defined as described subject and carry out focusing process; Judge whether the focusing process to described subject; When having judged the focusing process to described subject, controlling described range sensor and the distance between described terminal and described subject has been measured.
In this technical scheme, by first carrying out focusing process to object to be measured, can effectively avoid when mobile phone focusing is unsuccessful, the problem of the not high or measuring error of the certainty of measurement caused, when mobile phone detect the focusing process of testee is completed time, re-use the distance that range sensor measures mobile phone and testee, further increasing the accuracy measuring numerical value.
In technique scheme, preferably, the display scale value of described virtual ruler is regulated according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject, comprise following concrete steps: after the display scale value regulating described virtual ruler according to described engineer's scale, the display parameters of described virtual ruler are regulated, to highlight the display scale value of described virtual ruler in described shooting preview interface according to predetermined display parameter.
In this technical scheme, after completed percentage chi regulates, by regulating the display parameters of virtual ruler according to predetermined display parameter, wherein, engineer's scale regulates and makes the ratio between the size of subject and actual size be 1:1, after completed percentage chi regulates, regulate the display parameters of virtual ruler to highlight to user, such as, improve the brightness value of virtual ruler, colourity and saturation, and/or improve the operation such as contrast of virtual ruler and desktop.
According to a second aspect of the invention, also proposed a kind of measuring system, described measuring system comprises: display unit, and for the shooting preview interface display virtual ruler in described terminal, described virtual ruler is for measuring the size of the subject shown in described shooting preview interface; Determining unit, for determining the distance value between described terminal and described subject by described range sensor; Acquiring unit, corresponding relation between the distance value prestored for basis and engineer's scale, obtain the engineer's scale corresponding with the distance value between described subject with the described terminal determined, wherein, described engineer's scale is the ratio value between the reference dimension of described subject and the actual size of subject; Regulon, for regulating the display scale value of described virtual ruler according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject.
In this technical scheme, the photographing device by mobile phone or other with the terminal of camera function obtains the picture of testee, make cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
Particularly, in mobile phone when starting the measurement size function of mobile phone, automatically the camera of mobile phone is opened, and on display interface of mobile phone, show one virtual ruler, and there are angular surveying and linear measure longimetry two options, the picture of testee is made to appear at the region of virtual ruler appearance by the capture function of camera, make it possible to measure the size of testee at the picture of mobile phone preview interface by virtual ruler, the distance of mobile phone and testee is measured again by range sensor, make it possible to the actual size calculating testee, thus avoid the problem that people need to carry with ruler or compasses, and avoid the error that manual measurement brings, improve the accuracy of measurement.
Wherein, range sensor comprises infrared distance measuring from transducer, optical displacement sensor, linear proximity transducer and ultrasonic displacement sensor etc., particularly, infrared distance measuring is by utilizing emitted light pulse from transducer, and measure this light pulse from being transmitted into the time being reflected by the object, by reaching the measurement of adjusting the distance to the measurement of time; Optical displacement sensor be by the luminous point light beam projecting on respectively detected object object to photo detector time the light of each pixel, and be scaled distance; Linear proximity transducer used the changed measurement of magnetic induction to measure the distance displacement of picture thing; Ultrasonic displacement sensor calculates distance by calculating ultrasonic wave from the time delivered to required for reception.
In technique scheme, preferably, also comprise: the first receiving element, for receiving the touch move of user for described virtual ruler; Described regulon also for: regulate the display position of described virtual ruler in described shooting preview interface according to described touch move.
In this technical scheme, by regulating according to the display position of touch move to virtual ruler, improve virtual ruler flexibility in use further, such as, when user finds object to be measured in shooting preview interface, the borderline region of virtual ruler to display interface can be dragged, and after user completes searching of object to be measured, drag the measuring position of virtual ruler to object to be measured, thus read measurement data fast.
In technique scheme, preferably, also comprise: the second receiving element, for receiving the convergent-divergent control command of user for described virtual ruler; Described regulon also for: regulate the displaying ratio of described virtual ruler in described shooting preview interface according to described convergent-divergent control command.
In this technical scheme, by regulating according to the displaying ratio of convergent-divergent control command to virtual ruler, improve the accuracy of measurement further, also be that user is when the full scale of virtual ruler is larger, unit scales value is also larger, 50 meters are approximately as carried out measurement to the height of base station, unit scales is 5 meters, when the zero graduation of virtual ruler is aimed at bottom base station, during the scale needing reading top, base station corresponding, virtual ruler can be amplified further by convergent-divergent control command, the unit scales of virtual ruler is made to be accurate to 1 meter further, 0.5 meter, 0.1 meter etc., in the process of convergent-divergent virtual ruler, the relative position of virtual ruler and object to be measured does not change, to ensure the accuracy measured.
In technique scheme, preferably, also comprise: focusing unit, for selecting an object in described shooting preview interface according to user instruction, and is defined as described subject and carries out focusing process; Judging unit, for having judged whether the focusing process to described subject; Control unit, for when having judged the focusing process to described subject, having controlled described range sensor and having measured the distance between described terminal and described subject.
In this technical scheme, by first carrying out focusing process to object to be measured, can effectively avoid when mobile phone focusing is unsuccessful, the problem of the not high or measuring error of the certainty of measurement caused, when mobile phone detect the focusing process of testee is completed time, re-use the distance that range sensor measures mobile phone and testee, further increasing the accuracy measuring numerical value.
In technique scheme, preferably, described regulon also for: after the display scale value regulating described virtual ruler according to described engineer's scale, the display parameters of described virtual ruler are regulated, to highlight the display scale value of described virtual ruler in described shooting preview interface according to predetermined display parameter.
In this technical scheme, after completed percentage chi regulates, by regulating the display parameters of virtual ruler according to predetermined display parameter, wherein, engineer's scale regulates and makes the ratio between the size of subject and actual size be 1:1, after completed percentage chi regulates, regulate the display parameters of virtual ruler to highlight to user, such as, improve the brightness value of virtual ruler, colourity and saturation, and/or improve the operation such as contrast of virtual ruler and desktop.
By above technical scheme, by presetting Interface debond virtual ruler in shooting, making cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
Accompanying drawing explanation
Fig. 1 shows the schematic flow sheet of method of measurement according to an embodiment of the invention;
Fig. 2 shows the schematic block diagram of measuring system according to an embodiment of the invention;
Fig. 3 shows the schematic block diagram of terminal according to an embodiment of the invention;
Fig. 4 shows the schematic flow sheet of method of measurement according to another embodiment of the invention;
Fig. 5 A and Fig. 5 B shows the interface schematic diagram of measurement scheme according to an embodiment of the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Below in conjunction with Fig. 1 to Fig. 5 B, measurement scheme is according to an embodiment of the invention described.
As shown in Figure 1, embodiment according to a first aspect of the invention, provide a kind of method of measurement, described method of measurement comprises: step 102, in the shooting preview interface display virtual ruler of described terminal, described virtual ruler is for measuring the size of the subject shown in described shooting preview interface; Step 104, determines the distance value between described terminal and described subject by described range sensor; Step 106, according to the corresponding relation between the distance value prestored and engineer's scale, obtain the engineer's scale corresponding with the distance value between described subject with the described terminal determined, wherein, described engineer's scale is the ratio value between the reference dimension of described subject and the actual size of subject; Step 108, regulates the display scale value of described virtual ruler according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject.
In this technical scheme, the photographing device by mobile phone or other with the terminal of camera function obtains the picture of testee, make cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
Particularly, in mobile phone when starting the measurement size function of mobile phone, automatically the camera of mobile phone is opened, and on display interface of mobile phone, show one virtual ruler, and there are angular surveying and linear measure longimetry two options, the picture of testee is made to appear at the region of virtual ruler appearance by the capture function of camera, make it possible to measure the size of testee at the picture of mobile phone preview interface by virtual ruler, the distance of mobile phone and testee is measured again by range sensor, make it possible to the actual size calculating testee, thus avoid the problem that people need to carry with ruler or compasses, and avoid the error that manual measurement brings, improve the accuracy of measurement.
Wherein, range sensor comprises infrared distance measuring from transducer, optical displacement sensor, linear proximity transducer and ultrasonic displacement sensor etc., particularly, infrared distance measuring is by utilizing emitted light pulse from transducer, and measure this light pulse from being transmitted into the time being reflected by the object, by reaching the measurement of adjusting the distance to the measurement of time; Optical displacement sensor be by the luminous point light beam projecting on respectively detected object object to photo detector time the light of each pixel, and be scaled distance; Linear proximity transducer used the changed measurement of magnetic induction to measure the distance displacement of picture thing; Ultrasonic displacement sensor calculates distance by calculating ultrasonic wave from the time delivered to required for reception.
In technique scheme, preferably, also comprise: receive the touch move of user for described virtual ruler; The display position of described virtual ruler in described shooting preview interface is regulated according to described touch move.
In this technical scheme, by regulating according to the display position of touch move to virtual ruler, improve virtual ruler flexibility in use further, such as, when user finds object to be measured in shooting preview interface, the borderline region of virtual ruler to display interface can be dragged, and after user completes searching of object to be measured, drag the measuring position of virtual ruler to object to be measured, thus read measurement data fast.
In technique scheme, preferably, also comprise: receive the convergent-divergent control command of user for described virtual ruler; The displaying ratio of described virtual ruler in described shooting preview interface is regulated according to described convergent-divergent control command.
In this technical scheme, by regulating according to the displaying ratio of convergent-divergent control command to virtual ruler, improve the accuracy of measurement further, also be that user is when the full scale of virtual ruler is larger, unit scales value is also larger, 50 meters are approximately as carried out measurement to the height of base station, unit scales is 5 meters, when the zero graduation of virtual ruler is aimed at bottom base station, during the scale needing reading top, base station corresponding, virtual ruler can be amplified further by convergent-divergent control command, the unit scales of virtual ruler is made to be accurate to 1 meter further, 0.5 meter, 0.1 meter etc., in the process of convergent-divergent virtual ruler, the relative position of virtual ruler and object to be measured does not change, to ensure the accuracy measured.
As shown in Figure 5A, in shooting preview interface, image ratio is 1000:1, and the reference altitude that virtual ruler measures base station is 5cm, calculates learn that base station height is 50m according to ratio, now unit scales is 10 meters, and user is when amplifying virtual ruler by convergent-divergent control command, now, as shown in Figure 5 B, the unit scales of virtual ruler is 2 meters, and then the height of base station is more accurately 48 meters.
In technique scheme, preferably, also comprise: determine the distance value between described terminal and described subject by described range sensor, specifically comprise the following steps: select an object in described shooting preview interface according to user instruction, and be defined as described subject and carry out focusing process; Judge whether the focusing process to described subject; When having judged the focusing process to described subject, controlling described range sensor and the distance between described terminal and described subject has been measured.
In this technical scheme, by first carrying out focusing process to object to be measured, can effectively avoid when mobile phone focusing is unsuccessful, the problem of the not high or measuring error of the certainty of measurement caused, when mobile phone detect the focusing process of testee is completed time, re-use the distance that range sensor measures mobile phone and testee, further increasing the accuracy measuring numerical value.
In technique scheme, preferably, the display scale value of described virtual ruler is regulated according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject, comprise following concrete steps: after the display scale value regulating described virtual ruler according to described engineer's scale, the display parameters of described virtual ruler are regulated, to highlight the display scale value of described virtual ruler in described shooting preview interface according to predetermined display parameter.
In this technical scheme, after completed percentage chi regulates, by regulating the display parameters of virtual ruler according to predetermined display parameter, wherein, engineer's scale regulates and makes the ratio between the size of subject and actual size be 1:1, after completed percentage chi regulates, regulate the display parameters of virtual ruler to highlight to user, such as, improve the brightness value of virtual ruler, colourity and saturation, and/or improve the operation such as contrast of virtual ruler and desktop.
Fig. 2 shows the schematic block diagram of measuring system according to an embodiment of the invention.
As shown in Figure 2, measuring system 200 according to an embodiment of the invention: display unit 202, for the shooting preview interface display virtual ruler in described terminal, described virtual ruler is for measuring the size of the subject shown in described shooting preview interface; Determining unit 204, for determining the distance value between described terminal and described subject by described range sensor; Acquiring unit 206, corresponding relation between the distance value prestored for basis and engineer's scale, obtain the engineer's scale corresponding with the distance value between described subject with the described terminal determined, wherein, described engineer's scale is the ratio value between the reference dimension of described subject and the actual size of subject; Regulon 208, for regulating the display scale value of described virtual ruler according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject.
In this technical scheme, the photographing device by mobile phone or other with the terminal of camera function obtains the picture of testee, make cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
Particularly, in mobile phone when starting the measurement size function of mobile phone, automatically the camera of mobile phone is opened, and on display interface of mobile phone, show one virtual ruler, and there are angular surveying and linear measure longimetry two options, the picture of testee is made to appear at the region of virtual ruler appearance by the capture function of camera, make it possible to measure the size of testee at the picture of mobile phone preview interface by virtual ruler, the distance of mobile phone and testee is measured again by range sensor, make it possible to the actual size calculating testee, thus avoid the problem that people need to carry with ruler or compasses, and avoid the error that manual measurement brings, improve the accuracy of measurement.
Wherein, range sensor comprises infrared distance measuring from transducer, optical displacement sensor, linear proximity transducer and ultrasonic displacement sensor etc., particularly, infrared distance measuring is by utilizing emitted light pulse from transducer, and measure this light pulse from being transmitted into the time being reflected by the object, by reaching the measurement of adjusting the distance to the measurement of time; Optical displacement sensor be by the luminous point light beam projecting on respectively detected object object to photo detector time the light of each pixel, and be scaled distance; Linear proximity transducer used the changed measurement of magnetic induction to measure the distance displacement of picture thing; Ultrasonic displacement sensor calculates distance by calculating ultrasonic wave from the time delivered to required for reception.
In technique scheme, preferably, also comprise: the first receiving element 210, for receiving the touch move of user for described virtual ruler; Described regulon 208 also for: regulate the display position of described virtual ruler in described shooting preview interface according to described touch move.
In this technical scheme, by regulating according to the display position of touch move to virtual ruler, improve virtual ruler flexibility in use further, such as, when user finds object to be measured in shooting preview interface, the borderline region of virtual ruler to display interface can be dragged, and after user completes searching of object to be measured, drag the measuring position of virtual ruler to object to be measured, thus read measurement data fast.
In technique scheme, preferably, also comprise: the second receiving element 212, for receiving the convergent-divergent control command of user for described virtual ruler; Described regulon 208 also for: regulate the displaying ratio of described virtual ruler in described shooting preview interface according to described convergent-divergent control command.
In this technical scheme, by regulating according to the displaying ratio of convergent-divergent control command to virtual ruler, improve the accuracy of measurement further, also be that user is when the full scale of virtual ruler is larger, unit scales value is also larger, 50 meters are approximately as carried out measurement to the height of base station, unit scales is 5 meters, when the zero graduation of virtual ruler is aimed at bottom base station, during the scale needing reading top, base station corresponding, virtual ruler can be amplified further by convergent-divergent control command, the unit scales of virtual ruler is made to be accurate to 1 meter further, 0.5 meter, 0.1 meter etc., in the process of convergent-divergent virtual ruler, the relative position of virtual ruler and object to be measured does not change, to ensure the accuracy measured.
As shown in Figure 5A, in shooting preview interface, image ratio is 1000:1, and the reference altitude that virtual ruler measures base station is 5cm, calculates learn that base station height is 50m according to ratio, now unit scales is 10 meters, and user is when amplifying virtual ruler by convergent-divergent control command, now, as shown in Figure 5 B, the unit scales of virtual ruler is 2 meters, and then the height of base station is more accurately 48 meters.
In technique scheme, preferably, also comprise: focusing unit 214, for selecting an object in described shooting preview interface according to user instruction, and is defined as described subject and carries out focusing process; Judging unit 216, for having judged whether the focusing process to described subject; Control unit 218, for when having judged the focusing process to described subject, having controlled described range sensor and having measured the distance between described terminal and described subject.
In this technical scheme, by first carrying out focusing process to object to be measured, can effectively avoid when mobile phone focusing is unsuccessful, the problem of the not high or measuring error of the certainty of measurement caused, when mobile phone detect the focusing process of testee is completed time, re-use the distance that range sensor measures mobile phone and testee, further increasing the accuracy measuring numerical value.
In technique scheme, preferably, described regulon 208 also for: after the display scale value regulating described virtual ruler according to described engineer's scale, the display parameters of described virtual ruler are regulated, to highlight the display scale value of described virtual ruler in described shooting preview interface according to predetermined display parameter.
In this technical scheme, after completed percentage chi regulates, by regulating the display parameters of virtual ruler according to predetermined display parameter, wherein, engineer's scale regulates and makes the ratio between the size of subject and actual size be 1:1, after completed percentage chi regulates, regulate the display parameters of virtual ruler to highlight to user, such as, improve the brightness value of virtual ruler, colourity and saturation, and/or improve the operation such as contrast of virtual ruler and desktop.
Fig. 3 shows the schematic block diagram of terminal according to an embodiment of the invention.
As shown in Figure 3, according to a third aspect of the invention we, also proposed a kind of terminal 300, comprising: the measuring system 200 described in above-mentioned any one technical scheme.
As shown in Figure 4, in technique scheme, preferably, determine the actual size b of described object to be measured according to described reference dimension a, distance L between described terminal and described object to be measured, specifically comprise the following steps: determine the ratio value between described reference dimension and described actual size b according to described reference dimension a, distance L between described terminal and described object to be measured; Described reference dimension a is multiplied by the product of described ratio value, as described actual size b.
In this technical scheme, the photographing device by mobile phone or other with the terminal of camera function obtains the picture of testee, such as in mobile phone, when starting the measurement size function of mobile phone, automatically the camera of mobile phone is opened, and on display interface of mobile phone, show one virtual ruler, and there are angular surveying and linear measure longimetry two options, particularly, the picture of testee is made to appear at the region of virtual ruler appearance by the capture function of camera, make it possible to measure the size of testee at the picture of mobile phone preview interface by virtual ruler, the reference dimension length supposing the picture that mobile phone preview interface shows is a, the distance being measured mobile phone and testee by range sensor is L, again due to the mapping table determination image distance L1 of mobile phone camera lens can be passed through, therefore the actual size b of testee can be calculated by corresponding mathematical method, i.e. b=aL/L1, make user can by the size of the intrinsic hardware device of mobile phone as ruler measurement object, convenient, fast and accurately measure the size of testee.
More than be described with reference to the accompanying drawings technical scheme of the present invention, how that considers that correlation technique proposes designs a kind of new measurement scheme with the technical problem of the convenience and accuracy that improve measuring process, the present invention proposes a kind of measurement scheme and a kind of terminal, make cellphone subscriber not need to carry with the size that ruler also can measure object fast and accurately, improve accuracy and the convenience of measurement.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a method of measurement, is applicable to terminal, and described terminal is provided with range sensor, it is characterized in that, described method of measurement comprises:
In the shooting preview interface display virtual ruler of described terminal, described virtual ruler is for measuring the size of the subject shown in described shooting preview interface;
The distance value between described terminal and described subject is determined by described range sensor;
According to the corresponding relation between the distance value prestored and engineer's scale, obtain the engineer's scale corresponding with the distance value between described subject with the described terminal determined, wherein, described engineer's scale is the ratio value between the reference dimension of described subject and the actual size of subject;
Regulate the display scale value of described virtual ruler according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject.
2. method of measurement according to claim 1, is characterized in that, also comprises:
Receive the touch move of user for described virtual ruler;
The display position of described virtual ruler in described shooting preview interface is regulated according to described touch move.
3. method of measurement according to claim 1, is characterized in that, also comprises:
Receive the convergent-divergent control command of user for described virtual ruler;
The displaying ratio of described virtual ruler in described shooting preview interface is regulated according to described convergent-divergent control command.
4. method of measurement according to claim 1 and 2, is characterized in that, determines the distance value between described terminal and described subject, specifically comprise the following steps by described range sensor:
Select an object in described shooting preview interface according to user instruction, and be defined as described subject and carry out focusing process;
Judge whether the focusing process to described subject;
When having judged the focusing process to described subject, controlling described range sensor and the distance between described terminal and described subject has been measured.
5. method of measurement according to claim 4, it is characterized in that, the display scale value of described virtual ruler is regulated according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject, comprises following concrete steps:
After the display scale value regulating described virtual ruler according to described engineer's scale, regulate the display parameters of described virtual ruler according to predetermined display parameter, to highlight the display scale value of described virtual ruler in described shooting preview interface.
6. a measuring system, is applicable to terminal, and described terminal is provided with range sensor, it is characterized in that, described measuring system comprises:
Display unit, for the shooting preview interface display virtual ruler in described terminal, described virtual ruler is for measuring the size of the subject shown in described shooting preview interface;
Determining unit, for determining the distance value between described terminal and described subject by described range sensor;
Acquiring unit, corresponding relation between the distance value prestored for basis and engineer's scale, obtain the engineer's scale corresponding with the distance value between described subject with the described terminal determined, wherein, described engineer's scale is the ratio value between the reference dimension of described subject and the actual size of subject;
Regulon, for regulating the display scale value of described virtual ruler according to described engineer's scale, the described subject that described virtual ruler is shown in described preview interface is of a size of the actual size of described subject.
7. measuring system according to claim 6, is characterized in that, also comprises:
First receiving element, for receiving the touch move of user for described virtual ruler;
Described regulon also for: regulate the display position of described virtual ruler in described shooting preview interface according to described touch move.
8. measuring system according to claim 6, is characterized in that, also comprises:
Second receiving element, for receiving the convergent-divergent control command of user for described virtual ruler;
Described regulon also for: regulate the displaying ratio of described virtual ruler in described shooting preview interface according to described convergent-divergent control command.
9. the measuring system according to claim 6 or 7, is characterized in that, also comprises:
Focusing unit, for selecting an object in described shooting preview interface according to user instruction, and is defined as described subject and carries out focusing process;
Judging unit, for having judged whether the focusing process to described subject;
Control unit, for when having judged the focusing process to described subject, having controlled described range sensor and having measured the distance between described terminal and described subject.
10. measuring system according to claim 9, is characterized in that,
Described regulon also for: after the display scale value regulating described virtual ruler according to described engineer's scale, the display parameters of described virtual ruler are regulated, to highlight the display scale value of described virtual ruler in described shooting preview interface according to predetermined display parameter.
11. 1 kinds of terminals, is characterized in that, comprising: the measuring system according to any one of claim 6 to 10.
CN201510896853.2A 2015-12-07 2015-12-07 Measurement method, measuring system and terminal Active CN105554247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510896853.2A CN105554247B (en) 2015-12-07 2015-12-07 Measurement method, measuring system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510896853.2A CN105554247B (en) 2015-12-07 2015-12-07 Measurement method, measuring system and terminal

Publications (2)

Publication Number Publication Date
CN105554247A true CN105554247A (en) 2016-05-04
CN105554247B CN105554247B (en) 2019-05-14

Family

ID=55833178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510896853.2A Active CN105554247B (en) 2015-12-07 2015-12-07 Measurement method, measuring system and terminal

Country Status (1)

Country Link
CN (1) CN105554247B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106500658A (en) * 2016-09-18 2017-03-15 珠海格力电器股份有限公司 A kind of distance-finding method, device and terminal
CN107218887A (en) * 2017-04-24 2017-09-29 亮风台(上海)信息科技有限公司 A kind of method and apparatus for being used to measure dimension of object
CN109059758A (en) * 2018-06-27 2018-12-21 武汉华星光电技术有限公司 The measurement method and measuring device of colloid size
CN109579752A (en) * 2018-11-20 2019-04-05 维沃移动通信有限公司 A kind of measurement method and terminal device
WO2019090556A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Method for measuring size of object and mobile terminal
CN111462089A (en) * 2020-04-01 2020-07-28 深圳市瑞立视多媒体科技有限公司 Virtual scene precision testing method based on optical dynamic capture system and related equipment
CN111970454A (en) * 2020-09-10 2020-11-20 青岛鳍源创新科技有限公司 Shot picture display method, device, equipment and storage medium
CN112762790A (en) * 2020-12-24 2021-05-07 中国林业科学研究院资源信息研究所 Method for measuring crown width in three-dimensional virtual scene
WO2021158427A1 (en) * 2020-02-03 2021-08-12 Apple Inc. Systems, methods, and graphical user interfaces for annotating, measuring, and modeling environments
CN113340199A (en) * 2018-05-07 2021-09-03 苹果公司 Apparatus and method for measurement using augmented reality
US11138771B2 (en) 2020-02-03 2021-10-05 Apple Inc. Systems, methods, and graphical user interfaces for annotating, measuring, and modeling environments
CN113763495A (en) * 2020-06-10 2021-12-07 北京沃东天骏信息技术有限公司 Distance measuring method, device, equipment and storage medium
CN114166187A (en) * 2021-11-17 2022-03-11 深圳市宝尔爱迪科技有限公司 Mobile terminal-based quadratic element image measuring method and device
US11615595B2 (en) 2020-09-24 2023-03-28 Apple Inc. Systems, methods, and graphical user interfaces for sharing augmented reality environments
US11727650B2 (en) 2020-03-17 2023-08-15 Apple Inc. Systems, methods, and graphical user interfaces for displaying and manipulating virtual objects in augmented reality environments
US11818455B2 (en) 2018-09-29 2023-11-14 Apple Inc. Devices, methods, and graphical user interfaces for depth-based annotation
US11941764B2 (en) 2021-04-18 2024-03-26 Apple Inc. Systems, methods, and graphical user interfaces for adding effects in augmented reality environments
US12020380B2 (en) 2022-01-04 2024-06-25 Apple Inc. Systems, methods, and graphical user interfaces for modeling, measuring, and drawing using augmented reality

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080007627A1 (en) * 2006-07-06 2008-01-10 Dong Huang Method of distance estimation to be implemented using a digital camera
CN103591894A (en) * 2013-11-05 2014-02-19 广东欧珀移动通信有限公司 Method and device for measuring length of object through camera
CN103604371A (en) * 2013-12-06 2014-02-26 上海华勤通讯技术有限公司 Mobile terminal and object measurement method thereof
CN103791841A (en) * 2012-11-02 2014-05-14 深圳市亚美斯达科技有限公司 Magnification measurement method for handheld electronic terminal with imagery function
CN104598228A (en) * 2015-01-05 2015-05-06 深圳市金立通信设备有限公司 Measuring method of size of object

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080007627A1 (en) * 2006-07-06 2008-01-10 Dong Huang Method of distance estimation to be implemented using a digital camera
CN103791841A (en) * 2012-11-02 2014-05-14 深圳市亚美斯达科技有限公司 Magnification measurement method for handheld electronic terminal with imagery function
CN103591894A (en) * 2013-11-05 2014-02-19 广东欧珀移动通信有限公司 Method and device for measuring length of object through camera
CN103604371A (en) * 2013-12-06 2014-02-26 上海华勤通讯技术有限公司 Mobile terminal and object measurement method thereof
CN104598228A (en) * 2015-01-05 2015-05-06 深圳市金立通信设备有限公司 Measuring method of size of object

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106500658A (en) * 2016-09-18 2017-03-15 珠海格力电器股份有限公司 A kind of distance-finding method, device and terminal
CN107218887A (en) * 2017-04-24 2017-09-29 亮风台(上海)信息科技有限公司 A kind of method and apparatus for being used to measure dimension of object
WO2019090556A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Method for measuring size of object and mobile terminal
CN113340199A (en) * 2018-05-07 2021-09-03 苹果公司 Apparatus and method for measurement using augmented reality
CN113340199B (en) * 2018-05-07 2023-06-20 苹果公司 Apparatus and method for making measurements using augmented reality
US11391561B2 (en) 2018-05-07 2022-07-19 Apple Inc. Devices and methods for measuring using augmented reality
US11808562B2 (en) 2018-05-07 2023-11-07 Apple Inc. Devices and methods for measuring using augmented reality
CN109059758A (en) * 2018-06-27 2018-12-21 武汉华星光电技术有限公司 The measurement method and measuring device of colloid size
US11818455B2 (en) 2018-09-29 2023-11-14 Apple Inc. Devices, methods, and graphical user interfaces for depth-based annotation
CN109579752B (en) * 2018-11-20 2021-07-23 维沃移动通信有限公司 Measuring method and terminal equipment
CN109579752A (en) * 2018-11-20 2019-04-05 维沃移动通信有限公司 A kind of measurement method and terminal device
WO2021158427A1 (en) * 2020-02-03 2021-08-12 Apple Inc. Systems, methods, and graphical user interfaces for annotating, measuring, and modeling environments
US11138771B2 (en) 2020-02-03 2021-10-05 Apple Inc. Systems, methods, and graphical user interfaces for annotating, measuring, and modeling environments
US11797146B2 (en) 2020-02-03 2023-10-24 Apple Inc. Systems, methods, and graphical user interfaces for annotating, measuring, and modeling environments
US11727650B2 (en) 2020-03-17 2023-08-15 Apple Inc. Systems, methods, and graphical user interfaces for displaying and manipulating virtual objects in augmented reality environments
CN111462089A (en) * 2020-04-01 2020-07-28 深圳市瑞立视多媒体科技有限公司 Virtual scene precision testing method based on optical dynamic capture system and related equipment
CN113763495A (en) * 2020-06-10 2021-12-07 北京沃东天骏信息技术有限公司 Distance measuring method, device, equipment and storage medium
CN111970454A (en) * 2020-09-10 2020-11-20 青岛鳍源创新科技有限公司 Shot picture display method, device, equipment and storage medium
US11615595B2 (en) 2020-09-24 2023-03-28 Apple Inc. Systems, methods, and graphical user interfaces for sharing augmented reality environments
CN112762790B (en) * 2020-12-24 2022-05-10 中国林业科学研究院资源信息研究所 Method for measuring crown width in three-dimensional virtual scene
CN112762790A (en) * 2020-12-24 2021-05-07 中国林业科学研究院资源信息研究所 Method for measuring crown width in three-dimensional virtual scene
US11941764B2 (en) 2021-04-18 2024-03-26 Apple Inc. Systems, methods, and graphical user interfaces for adding effects in augmented reality environments
CN114166187A (en) * 2021-11-17 2022-03-11 深圳市宝尔爱迪科技有限公司 Mobile terminal-based quadratic element image measuring method and device
US12020380B2 (en) 2022-01-04 2024-06-25 Apple Inc. Systems, methods, and graphical user interfaces for modeling, measuring, and drawing using augmented reality

Also Published As

Publication number Publication date
CN105554247B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN105554247A (en) Measuring method, measuring system and terminal
KR101582179B1 (en) Calibrated hardware sensors for estimating realworld distances
CN103591894B (en) The method and apparatus of object length is measured by camera
EP3080550B1 (en) Laser receiver using a smart device
CN104079927B (en) A kind of angle of visual field measurement mechanism
CN101769723B (en) Electronic device and object shape parameter measurement method thereof
TWI420081B (en) Distance measuring system and distance measuring method
US9667955B2 (en) Method of calibrating a camera
WO2015073548A2 (en) Point-to-point measurements using a handheld device
CN102147281A (en) Machine-vision based liquid level detection device and method
CN104534992A (en) Length measurement method and terminal
CN105403146A (en) Object size measurement method and system and intelligent terminal
CN104833342B (en) Mobile terminal and method of establishing stereoscopic model through multipoint distance measurement
CN102564313A (en) Electronic device with measurement function and method
CN105571561A (en) Method and device for collecting stumpage information
CN107504902A (en) A kind of length measurement method, device, mobile terminal and storage medium
CN110260889B (en) Automatic calibrating device and method for handheld range finder
CN111854966A (en) Temperature measurement method, device, wearable equipment and medium
CN103505218B (en) Method for measuring focus tissue size through endoscope
EP2905595A1 (en) Gauge Testing Device
CN104732955A (en) Brightness adjusting method and electronic device
CN103791841A (en) Magnification measurement method for handheld electronic terminal with imagery function
CN102572066A (en) Handheld electronic device with distance measurement function and distance measurement method of handheld electronic device
KR20130142533A (en) Real size measurement device of smart phone
KR102129954B1 (en) Mobile terminal capable of 3D scanning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee after: MEIZU TECHNOLOGY Co.,Ltd.

Address before: 519085 Technology Innovation Coast Meizu science and technology building, Zhuhai High-tech Zone, Guangdong

Patentee before: Meizu Technology (China) Co.,Ltd.