CN105554247B - Measurement method, measuring system and terminal - Google Patents

Measurement method, measuring system and terminal Download PDF

Info

Publication number
CN105554247B
CN105554247B CN201510896853.2A CN201510896853A CN105554247B CN 105554247 B CN105554247 B CN 105554247B CN 201510896853 A CN201510896853 A CN 201510896853A CN 105554247 B CN105554247 B CN 105554247B
Authority
CN
China
Prior art keywords
subject
virtual ruler
terminal
ruler
preview interface
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.)
Active
Application number
CN201510896853.2A
Other languages
Chinese (zh)
Other versions
CN105554247A (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 present invention provides a kind of measurement method, measuring system and terminals, wherein measurement method includes: the shooting preview interface display virtual ruler in terminal, and virtual ruler is used to measure the size of the subject shown in shooting preview interface;The distance between terminal and subject value are determined by range sensor;According to the corresponding relationship between the distance value and scale bar prestored, the corresponding scale bar of the distance between the terminal that determines and subject value is obtained, wherein ratio value of the scale bar between the reference dimension of subject and the actual size of subject;The display scale value of virtual ruler is adjusted according to scale bar, so that the size for the subject that virtual ruler is shown in preview interface is the actual size of subject.According to the technical solution of the present invention, so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the size of object, the accuracy and convenience of measurement are improved.

Description

Measurement method, measuring system and terminal
Technical field
The present invention relates to field of terminal technology, in particular to a kind of measurement method, a kind of measuring system and a kind of end End.
Background technique
In the related art, most of people are measured size using ruler, but ruler carries and inconvenience, and Measurement accuracy is not also high, with being used by more and more people for mobile phone, occurs a kind of using mobile phone for measuring dimension of object Method after saving object shooting, then realizes the measurement to dimension of object, but mobile phone can not measure measured object in real time The size of body.
Therefore, a kind of new measurement scheme how is designed to improve the convenience of measurement process and accuracy becomes and urgently solves Certainly the technical issues of.
Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of measurement method, by default in shooting Interface generates virtual ruler, so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the ruler of object It is very little, improve the accuracy and convenience of measurement.
Realize that above-mentioned purpose provides a kind of measurement method, the measurement according to the embodiment of the first aspect of the invention Method includes: the shooting preview interface display virtual ruler in the terminal, and the virtual ruler is for measuring in the shooting The size of the subject shown in preview interface;The terminal and the subject are determined by the range sensor The distance between body value;According to the corresponding relationship between the distance value and scale bar prestored, obtain with the terminal that determines with The distance between described subject is worth corresponding scale bar, wherein the scale bar is the reference of the subject Ratio value between size and the actual size of subject;It is carved according to the display that the scale bar adjusts the virtual ruler Angle value, so that the size for the subject that the virtual ruler is shown in the preview interface is the subject The actual size of body.
In the technical scheme, measured object is obtained by mobile phone or the photographing device of other terminals with camera function The picture of body improves survey so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the size of object The accuracy and convenience of amount.
Specifically, the camera of mobile phone is automatically opened when measuring size function of mobile phone of starting in mobile phone, and Display one is virtual ruler on display interface of mobile phone, and has two options of angle measurement and linear measure longimetry, passes through camera Capture function make testee picture appear in virtual ruler appearance region, allow to measure by virtual ruler Testee the picture of mobile phone preview interface size, then by range sensor measure mobile phone and testee away from From making it possible to calculate the actual size of testee, need to carry graduated scale or compasses so as to avoid people The problem of, and manual measurement bring error is avoided, improve the accuracy of measurement.
Wherein, range sensor includes infrared distance measuring from sensor, optical displacement sensor, linear proximity sensor With ultrasonic displacement sensor etc., specifically, infrared distance measuring is and to measure this light pulse by emitting light pulse from sensor From the time being reflected by the object back is emitted to, by reaching the measurement adjusted the distance to the measurement of time;Optical displacement passes The light of each pixel when sensor is by the luminous point light beam projecting to light receiving element on test object object respectively, and convert For distance;Linear proximity sensor used the changed measurement of magnetic induction to measure the distance displacement as object;Ultrasonic displacement sensing Device is to calculate distance by calculating ultrasonic wave from the time required for reception is sent to.
In the above-mentioned technical solutions, it is preferable that further include: the touch movement for receiving user for the virtual ruler refers to It enables;Display position of the virtual ruler in the shooting preview interface is adjusted according to the touch move.
In the technical scheme, by the way that the display position of virtual ruler is adjusted according to touch move, into one Step improve the flexibility of virtual ruler in use, for example, user found in shooting preview interface it is to be measured right As when, the borderline region of virtual ruler to display interface can be dragged, and after the lookup that user completes object to be measured, dragging Virtual ruler to object to be measured measurement position, to quickly read measurement data.
In the above-mentioned technical solutions, it is preferable that further include: the zoom control for receiving user for the virtual ruler refers to It enables;Display scale of the virtual ruler in the shooting preview interface is adjusted according to zoom control instruction.
In the technical scheme, by the way that the display scale of virtual ruler is adjusted according to zoom control instruction, into one When the full scale of virtual ruler is larger, unit scales value is also larger by the accuracy for improving measurement to step namely user, such as right The height of base station measures about 50 meters, and unit scales are 5 meters, and the zero graduation of virtual ruler is being directed at base station bottom When, when needing to read corresponding scale at the top of base station, it can be instructed by zoom control and further amplify virtual ruler, so that The unit scales of virtual ruler are further accurate to 1 meter, 0.5 meter, 0.1 meter etc., during scaling virtual ruler, virtually The relative position of scale and object to be measured does not change, to guarantee the accuracy of measurement.
In the above-mentioned technical solutions, it is preferable that further include: the terminal and the quilt are determined by the range sensor The distance between object value is shot, specifically includes the following steps: selecting one in the shooting preview interface according to user instructions A object, and be determined as the subject and carry out focusing process;Judge whether to complete the focusing to the subject Processing;When determining to complete the focusing process to the subject, the range sensor is controlled to the terminal and institute The distance between subject is stated to measure.
In the technical scheme, it by first carrying out focusing process to object to be measured, can be effectively avoided when mobile phone pair When burnt unsuccessful, caused by the problem of measurement accuracy is not high or measuring error, when mobile phone detects the focusing to testee When processing has been completed, range sensor measurement mobile phone is reused at a distance from testee, further increases measurement number The accuracy of value.
In the above-mentioned technical solutions, it is preferable that the display scale value that the virtual ruler is adjusted according to the scale bar makes The size for obtaining the subject that the virtual ruler is shown in the preview interface is the reality of the subject Border size, comprising the following specific steps after the display scale value for adjusting the virtual ruler according to the scale bar, according to pre- If display parameters adjust the display parameters of the virtual ruler, to highlight the virtual mark in the shooting preview interface The display scale value of ruler.
In the technical scheme, after the adjusting of completed percentage ruler, by adjusting virtual ruler according to predetermined display parameter Display parameters, wherein scale bar is adjusted so that ratio between the size and actual size of subject is 1:1, is completed After scale bar is adjusted, the display parameters of virtual ruler are adjusted to highlight to user, for example, improving the brightness of virtual ruler Value, coloration and saturation degree, and/or the contrast for improving virtual ruler and desktop etc. operate.
According to the second aspect of the invention, it is also proposed that a kind of measuring system, the measuring system include: display unit, Virtual ruler is shown for the shooting preview interface in the terminal, and the virtual ruler is for measuring in shooting preview circle The size of the subject shown in face;Determination unit, for by the range sensor determine the terminal with it is described The distance between subject value;Acquiring unit, for obtaining according to the corresponding relationship between the distance value and scale bar prestored The corresponding scale bar of the distance between the terminal and the subject for taking and determining value, wherein the scale bar is Ratio value between the reference dimension of the subject and the actual size of subject;Unit is adjusted, basis is used for The scale bar adjusts the display scale value of the virtual ruler, so that the virtual ruler was shown in the preview interface The size of the subject is the actual size of the subject.
In the technical scheme, measured object is obtained by mobile phone or the photographing device of other terminals with camera function The picture of body improves survey so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the size of object The accuracy and convenience of amount.
Specifically, the camera of mobile phone is automatically opened when measuring size function of mobile phone of starting in mobile phone, and Display one is virtual ruler on display interface of mobile phone, and has two options of angle measurement and linear measure longimetry, passes through camera Capture function make testee picture appear in virtual ruler appearance region, allow to measure by virtual ruler Testee the picture of mobile phone preview interface size, then by range sensor measure mobile phone and testee away from From making it possible to calculate the actual size of testee, need to carry graduated scale or compasses so as to avoid people The problem of, and manual measurement bring error is avoided, improve the accuracy of measurement.
Wherein, range sensor includes infrared distance measuring from sensor, optical displacement sensor, linear proximity sensor With ultrasonic displacement sensor etc., specifically, infrared distance measuring is and to measure this light pulse by emitting light pulse from sensor From the time being reflected by the object back is emitted to, by reaching the measurement adjusted the distance to the measurement of time;Optical displacement passes The light of each pixel when sensor is by the luminous point light beam projecting to light receiving element on test object object respectively, and convert For distance;Linear proximity sensor used the changed measurement of magnetic induction to measure the distance displacement as object;Ultrasonic displacement sensing Device is to calculate distance by calculating ultrasonic wave from the time required for reception is sent to.
In the above-mentioned technical solutions, it is preferable that further include: the first receiving unit, for receiving user for described virtual The touch move of scale;The adjusting unit is also used to: being adjusted the virtual ruler according to the touch move and is existed Display position in the shooting preview interface.
In the technical scheme, by the way that the display position of virtual ruler is adjusted according to touch move, into one Step improve the flexibility of virtual ruler in use, for example, user found in shooting preview interface it is to be measured right As when, the borderline region of virtual ruler to display interface can be dragged, and after the lookup that user completes object to be measured, dragging Virtual ruler to object to be measured measurement position, to quickly read measurement data.
In the above-mentioned technical solutions, it is preferable that further include: the second receiving unit, for receiving user for described virtual The zoom control of scale instructs;The adjusting unit is also used to: being adjusted the virtual ruler according to zoom control instruction and is existed Display scale in the shooting preview interface.
In the technical scheme, by the way that the display scale of virtual ruler is adjusted according to zoom control instruction, into one When the full scale of virtual ruler is larger, unit scales value is also larger by the accuracy for improving measurement to step namely user, such as right The height of base station measures about 50 meters, and unit scales are 5 meters, and the zero graduation of virtual ruler is being directed at base station bottom When, when needing to read corresponding scale at the top of base station, it can be instructed by zoom control and further amplify virtual ruler, so that The unit scales of virtual ruler are further accurate to 1 meter, 0.5 meter, 0.1 meter etc., during scaling virtual ruler, virtually The relative position of scale and object to be measured does not change, to guarantee the accuracy of measurement.
In the above-mentioned technical solutions, it is preferable that further include: focusing unit, for selecting the shooting according to user instructions An object in preview interface, and be determined as the subject and carry out focusing process;Judging unit, for judging whether Complete the focusing process to the subject;Control unit, for determining to complete the focusing to the subject When processing, controls the range sensor and the distance between the terminal and the subject are measured.
In the technical scheme, it by first carrying out focusing process to object to be measured, can be effectively avoided when mobile phone pair When burnt unsuccessful, caused by the problem of measurement accuracy is not high or measuring error, when mobile phone detects the focusing to testee When processing has been completed, range sensor measurement mobile phone is reused at a distance from testee, further increases measurement number The accuracy of value.
In the above-mentioned technical solutions, it is preferable that the adjusting unit is also used to: the void is being adjusted according to the scale bar After the display scale value of quasi- scale, the display parameters of the virtual ruler are adjusted according to predetermined display parameter, in the shooting The display scale value of the virtual ruler is highlighted in preview interface.
In the technical scheme, after the adjusting of completed percentage ruler, by adjusting virtual ruler according to predetermined display parameter Display parameters, wherein scale bar is adjusted so that ratio between the size and actual size of subject is 1:1, is completed After scale bar is adjusted, the display parameters of virtual ruler are adjusted to highlight to user, for example, improving the brightness of virtual ruler Value, coloration and saturation degree, and/or the contrast for improving virtual ruler and desktop etc. operate.
By above technical scheme, by generating virtual ruler shooting default interface so that mobile phone user do not need with Body, which carries ruler, also can fast and accurately measure the size of object, improve the accuracy and convenience of measurement.
Detailed description of the invention
Fig. 1 shows the flow diagram of measurement method according to an embodiment of the invention;
Fig. 2 shows the schematic block diagrams of the measuring system of embodiment according to the present invention;
Fig. 3 shows the schematic block diagram of the terminal of embodiment according to the present invention;
Fig. 4 shows the flow diagram of measurement method according to another embodiment of the invention;
Fig. 5 A and Fig. 5 B show the interface schematic diagram of the measurement scheme of embodiment according to the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
It is illustrated below with reference to measurement scheme of the Fig. 1 to Fig. 5 B to embodiment according to the present invention.
As shown in Figure 1, according to the embodiment of the first aspect of the invention, providing a kind of measurement method, the measurement side Method includes: step 102, shows virtual ruler in the shooting preview interface of the terminal, the virtual ruler is for measuring in institute State the size of the subject shown in shooting preview interface;Step 104, the terminal is determined by the range sensor The distance between described subject value;Step 106, according to the corresponding relationship between the distance value and scale bar prestored, Obtain the corresponding scale bar of the distance between the terminal and the subject of determination value, wherein the scale bar For the ratio value between the reference dimension of the subject and the actual size of subject;Step 108, according to described Scale bar adjusts the display scale value of the virtual ruler, so that described in the virtual ruler shows in the preview interface The size of subject is the actual size of the subject.
In the technical scheme, measured object is obtained by mobile phone or the photographing device of other terminals with camera function The picture of body improves survey so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the size of object The accuracy and convenience of amount.
Specifically, the camera of mobile phone is automatically opened when measuring size function of mobile phone of starting in mobile phone, and Display one is virtual ruler on display interface of mobile phone, and has two options of angle measurement and linear measure longimetry, passes through camera Capture function make testee picture appear in virtual ruler appearance region, allow to measure by virtual ruler Testee the picture of mobile phone preview interface size, then by range sensor measure mobile phone and testee away from From making it possible to calculate the actual size of testee, need to carry graduated scale or compasses so as to avoid people The problem of, and manual measurement bring error is avoided, improve the accuracy of measurement.
Wherein, range sensor includes infrared distance measuring from sensor, optical displacement sensor, linear proximity sensor With ultrasonic displacement sensor etc., specifically, infrared distance measuring is and to measure this light pulse by emitting light pulse from sensor From the time being reflected by the object back is emitted to, by reaching the measurement adjusted the distance to the measurement of time;Optical displacement passes The light of each pixel when sensor is by the luminous point light beam projecting to light receiving element on test object object respectively, and convert For distance;Linear proximity sensor used the changed measurement of magnetic induction to measure the distance displacement as object;Ultrasonic displacement sensing Device is to calculate distance by calculating ultrasonic wave from the time required for reception is sent to.
In the above-mentioned technical solutions, it is preferable that further include: the touch movement for receiving user for the virtual ruler refers to It enables;Display position of the virtual ruler in the shooting preview interface is adjusted according to the touch move.
In the technical scheme, by the way that the display position of virtual ruler is adjusted according to touch move, into one Step improve the flexibility of virtual ruler in use, for example, user found in shooting preview interface it is to be measured right As when, the borderline region of virtual ruler to display interface can be dragged, and after the lookup that user completes object to be measured, dragging Virtual ruler to object to be measured measurement position, to quickly read measurement data.
In the above-mentioned technical solutions, it is preferable that further include: the zoom control for receiving user for the virtual ruler refers to It enables;Display scale of the virtual ruler in the shooting preview interface is adjusted according to zoom control instruction.
In the technical scheme, by the way that the display scale of virtual ruler is adjusted according to zoom control instruction, into one When the full scale of virtual ruler is larger, unit scales value is also larger by the accuracy for improving measurement to step namely user, such as right The height of base station measures about 50 meters, and unit scales are 5 meters, and the zero graduation of virtual ruler is being directed at base station bottom When, when needing to read corresponding scale at the top of base station, it can be instructed by zoom control and further amplify virtual ruler, so that The unit scales of virtual ruler are further accurate to 1 meter, 0.5 meter, 0.1 meter etc., during scaling virtual ruler, virtually The relative position of scale and object to be measured does not change, to guarantee the accuracy of measurement.
As shown in Figure 5A, in shooting preview interface, image ratio is 1000:1, and the reference that virtual ruler measures base station is high Degree is 5cm, learns that base station height is 50m according to ratio calculating, unit scales are 10 meters at this time, and user is referred to by zoom control Order is when amplifying virtual ruler, at this point, as shown in Figure 5 B, the unit scales of virtual ruler are 2 meters, and then more accurately base station Height is 48 meters.
In the above-mentioned technical solutions, it is preferable that further include: the terminal and the quilt are determined by the range sensor The distance between object value is shot, specifically includes the following steps: selecting one in the shooting preview interface according to user instructions A object, and be determined as the subject and carry out focusing process;Judge whether to complete the focusing to the subject Processing;When determining to complete the focusing process to the subject, the range sensor is controlled to the terminal and institute The distance between subject is stated to measure.
In the technical scheme, it by first carrying out focusing process to object to be measured, can be effectively avoided when mobile phone pair When burnt unsuccessful, caused by the problem of measurement accuracy is not high or measuring error, when mobile phone detects the focusing to testee When processing has been completed, range sensor measurement mobile phone is reused at a distance from testee, further increases measurement number The accuracy of value.
In the above-mentioned technical solutions, it is preferable that the display scale value that the virtual ruler is adjusted according to the scale bar makes The size for obtaining the subject that the virtual ruler is shown in the preview interface is the reality of the subject Border size, comprising the following specific steps after the display scale value for adjusting the virtual ruler according to the scale bar, according to pre- If display parameters adjust the display parameters of the virtual ruler, to highlight the virtual mark in the shooting preview interface The display scale value of ruler.
In the technical scheme, after the adjusting of completed percentage ruler, by adjusting virtual ruler according to predetermined display parameter Display parameters, wherein scale bar is adjusted so that ratio between the size and actual size of subject is 1:1, is completed After scale bar is adjusted, the display parameters of virtual ruler are adjusted to highlight to user, for example, improving the brightness of virtual ruler Value, coloration and saturation degree, and/or the contrast for improving virtual ruler and desktop etc. operate.
Fig. 2 shows the schematic block diagrams of the measuring system of embodiment according to the present invention.
As shown in Fig. 2, the measuring system 200 of embodiment according to the present invention: display unit 202, in the terminal Shooting preview interface show that virtual ruler, the virtual ruler are used to measure being clapped of showing in the shooting preview interface Take the photograph the size of object;Determination unit 204, for by the range sensor determine the terminal and the subject it Between distance value;Acquiring unit 206, for obtaining and determining according to the corresponding relationship between the distance value and scale bar prestored The corresponding scale bar of the distance between the terminal and the subject value, wherein the scale bar is described clapped Take the photograph the ratio value between the reference dimension of object and the actual size of subject;Unit 208 is adjusted, for according to the ratio Example ruler adjusts the display scale value of the virtual ruler, so that the quilt that the virtual ruler is shown in the preview interface The size for shooting object is the actual size of the subject.
In the technical scheme, measured object is obtained by mobile phone or the photographing device of other terminals with camera function The picture of body improves survey so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the size of object The accuracy and convenience of amount.
Specifically, the camera of mobile phone is automatically opened when measuring size function of mobile phone of starting in mobile phone, and Display one is virtual ruler on display interface of mobile phone, and has two options of angle measurement and linear measure longimetry, passes through camera Capture function make testee picture appear in virtual ruler appearance region, allow to measure by virtual ruler Testee the picture of mobile phone preview interface size, then by range sensor measure mobile phone and testee away from From making it possible to calculate the actual size of testee, need to carry graduated scale or compasses so as to avoid people The problem of, and manual measurement bring error is avoided, improve the accuracy of measurement.
Wherein, range sensor includes infrared distance measuring from sensor, optical displacement sensor, linear proximity sensor With ultrasonic displacement sensor etc., specifically, infrared distance measuring is and to measure this light pulse by emitting light pulse from sensor From the time being reflected by the object back is emitted to, by reaching the measurement adjusted the distance to the measurement of time;Optical displacement passes The light of each pixel when sensor is by the luminous point light beam projecting to light receiving element on test object object respectively, and convert For distance;Linear proximity sensor used the changed measurement of magnetic induction to measure the distance displacement as object;Ultrasonic displacement sensing Device is to calculate distance by calculating ultrasonic wave from the time required for reception is sent to.
In the above-mentioned technical solutions, it is preferable that further include: the first receiving unit 210, for receiving user for the void The touch move of quasi- scale;The adjusting unit 208 is also used to: adjusting the virtual mark according to the touch move Display position of the ruler in the shooting preview interface.
In the technical scheme, by the way that the display position of virtual ruler is adjusted according to touch move, into one Step improve the flexibility of virtual ruler in use, for example, user found in shooting preview interface it is to be measured right As when, the borderline region of virtual ruler to display interface can be dragged, and after the lookup that user completes object to be measured, dragging Virtual ruler to object to be measured measurement position, to quickly read measurement data.
In the above-mentioned technical solutions, it is preferable that further include: the second receiving unit 212, for receiving user for the void The zoom control instruction of quasi- scale;The adjusting unit 208 is also used to: adjusting the virtual mark according to zoom control instruction Display scale of the ruler in the shooting preview interface.
In the technical scheme, by the way that the display scale of virtual ruler is adjusted according to zoom control instruction, into one When the full scale of virtual ruler is larger, unit scales value is also larger by the accuracy for improving measurement to step namely user, such as right The height of base station measures about 50 meters, and unit scales are 5 meters, and the zero graduation of virtual ruler is being directed at base station bottom When, when needing to read corresponding scale at the top of base station, it can be instructed by zoom control and further amplify virtual ruler, so that The unit scales of virtual ruler are further accurate to 1 meter, 0.5 meter, 0.1 meter etc., during scaling virtual ruler, virtually The relative position of scale and object to be measured does not change, to guarantee the accuracy of measurement.
As shown in Figure 5A, in shooting preview interface, image ratio is 1000:1, and the reference that virtual ruler measures base station is high Degree is 5cm, learns that base station height is 50m according to ratio calculating, unit scales are 10 meters at this time, and user is referred to by zoom control Order is when amplifying virtual ruler, at this point, as shown in Figure 5 B, the unit scales of virtual ruler are 2 meters, and then more accurately base station Height is 48 meters.
In the above-mentioned technical solutions, it is preferable that further include: focusing unit 214, for selecting the bat according to user instructions An object in preview interface is taken the photograph, and is determined as the subject and carries out focusing process;Judging unit 216, for sentencing The disconnected focusing process whether completed to the subject;Control unit 218, for determining to complete to the subject When the focusing process of body, controls the range sensor and the distance between the terminal and the subject are surveyed Amount.
In the technical scheme, it by first carrying out focusing process to object to be measured, can be effectively avoided when mobile phone pair When burnt unsuccessful, caused by the problem of measurement accuracy is not high or measuring error, when mobile phone detects the focusing to testee When processing has been completed, range sensor measurement mobile phone is reused at a distance from testee, further increases measurement number The accuracy of value.
In the above-mentioned technical solutions, it is preferable that the adjusting unit 208 is also used to: institute is being adjusted according to the scale bar After the display scale value for stating virtual ruler, the display parameters of the virtual ruler are adjusted according to predetermined display parameter, described The display scale value of the virtual ruler is highlighted in shooting preview interface.
In the technical scheme, after the adjusting of completed percentage ruler, by adjusting virtual ruler according to predetermined display parameter Display parameters, wherein scale bar is adjusted so that ratio between the size and actual size of subject is 1:1, is completed After scale bar is adjusted, the display parameters of virtual ruler are adjusted to highlight to user, for example, improving the brightness of virtual ruler Value, coloration and saturation degree, and/or the contrast for improving virtual ruler and desktop etc. operate.
Fig. 3 shows the schematic block diagram of the terminal of embodiment according to the present invention.
As shown in figure 3, according to the third aspect of the invention we, it is also proposed that a kind of terminal 300, comprising: any of the above-described skill Measuring system 200 described in art scheme.
As shown in figure 4, in the above-mentioned technical solutions, it is preferable that according to the reference dimension a, the terminal and it is described to The distance between measurement object L determines the actual size b of the object to be measured, specifically includes the following steps: according to the ginseng Examine the distance between size a, the terminal and the object to be measured L determine the reference dimension and the actual size b it Between ratio value;By the reference dimension a multiplied by the product of the ratio value, as the actual size b.
In the technical scheme, measured object is obtained by mobile phone or the photographing device of other terminals with camera function The picture of body, such as in mobile phone, when measuring size function of mobile phone of starting, the camera of mobile phone is automatically opened, and in hand Display one is virtual ruler on machine display interface, and has two options of angle measurement and linear measure longimetry, specifically, by taking the photograph As the capture function of head make testee picture appear in virtual ruler appearance region, allow to survey by virtual ruler Testee is measured in the size of the picture of mobile phone preview interface, it is assumed that the reference scale modest ability for the picture that mobile phone preview interface is shown Degree is a, and measuring mobile phone at a distance from testee by range sensor is L, and due to that can pass through mobile phone camera lens Mapping table determine image distance L1, therefore the actual size b, i.e. b=of testee can be calculated by corresponding mathematical method AL/L1 allows users to the size for measuring object as ruler by the intrinsic hardware device of mobile phone, convenient, fast and quasi- The true size for measuring testee.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, it is contemplated that how what the relevant technologies proposed designs one The technical issues of planting convenience and accuracy of the new measurement scheme to improve measurement process, the invention proposes a kind of measurement sides Case and a kind of terminal mention so that mobile phone user does not need to carry ruler yet and can fast and accurately measure the size of object The high accuracy and convenience of measurement.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of measurement method, is suitable for terminal, the terminal is provided with range sensor, which is characterized in that the measurement side Method includes:
Virtual ruler is shown in the shooting preview interface of the terminal, and the virtual ruler is for measuring in shooting preview circle The size of the subject shown in face;
The distance between the terminal and the subject value are determined by the range sensor;
According to the corresponding relationship between the distance value and scale bar prestored, obtain and the determining terminal and the subject The distance between body is worth corresponding scale bar, wherein the scale bar be the subject reference dimension be taken Ratio value between the actual size of object;
The display scale value of the virtual ruler is adjusted according to the scale bar, so that the virtual ruler is in the preview interface The size of the subject of upper display is the actual size of the subject;
Receive the touch move that user is directed to the virtual ruler;
Display position of the virtual ruler in the shooting preview interface is adjusted according to the touch move.
2. measurement method according to claim 1, which is characterized in that further include:
The zoom control that user is received for the virtual ruler instructs;
Display scale of the virtual ruler in the shooting preview interface is adjusted according to zoom control instruction.
3. measurement method according to claim 1, which is characterized in that by the range sensor determine the terminal with The distance between described subject value, specifically includes the following steps:
An object in the shooting preview interface is selected according to user instructions, and is determined as the subject and is carried out pair Coke processing;
Judge whether to complete the focusing process to the subject;
When determining to complete to the focusing process of the subject, the range sensor is controlled to the terminal and described The distance between subject measures.
4. measurement method according to claim 3, which is characterized in that adjust the virtual ruler according to the scale bar Scale value is shown, so that the size for the subject that the virtual ruler is shown in the preview interface is the quilt The actual size of object is shot, comprising the following specific steps
After the display scale value for adjusting the virtual ruler according to the scale bar, the void is adjusted according to predetermined display parameter The display parameters of quasi- scale, to highlight the display scale value of the virtual ruler in the shooting preview interface.
5. a kind of measuring system, is suitable for terminal, the terminal is provided with range sensor, which is characterized in that the measurement system System includes:
Display unit shows virtual ruler for the shooting preview interface in the terminal, and the virtual ruler is for measuring The size of the subject shown in the shooting preview interface;
Determination unit, for determining the distance between the terminal and the subject value by the range sensor;
Acquiring unit, the terminal for according to the corresponding relationship between the distance value and scale bar prestored, obtaining with determining The distance between described subject is worth corresponding scale bar, wherein the scale bar is the ginseng of the subject Examine the ratio value between size and the actual size of subject;
Unit is adjusted, for adjusting the display scale value of the virtual ruler according to the scale bar, so that the virtual ruler The size of the subject shown in the preview interface is the actual size of the subject;
First receiving unit, the touch move for being directed to the virtual ruler for receiving user;
The adjusting unit is also used to: adjusting the virtual ruler in the shooting preview interface according to the touch move On display position.
6. measuring system according to claim 5, which is characterized in that further include:
Second receiving unit is instructed for receiving user for the zoom control of the virtual ruler;
The adjusting unit is also used to: adjusting the virtual ruler in the shooting preview interface according to zoom control instruction On display scale.
7. measuring system according to claim 5, which is characterized in that further include:
Focusing unit for selecting an object in the shooting preview interface according to user instructions, and is determined as the quilt It shoots object and carries out focusing process;
Judging unit completes the focusing process to the subject for judging whether;
Control unit, for controlling the range sensor pair when determining to complete the focusing process to the subject The distance between the terminal and the subject measure.
8. measuring system according to claim 7, which is characterized in that
The adjusting unit is also used to: after the display scale value for adjusting the virtual ruler according to the scale bar, according to pre- If display parameters adjust the display parameters of the virtual ruler, to highlight the virtual mark in the shooting preview interface The display scale value of ruler.
9. a kind of terminal characterized by comprising the measuring system as described in any one of claim 5 to 8.
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 CN105554247A (en) 2016-05-04
CN105554247B true 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)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106500658B (en) * 2016-09-18 2019-03-29 珠海格力电器股份有限公司 A kind of distance measuring method, device and terminal
CN107218887B (en) * 2017-04-24 2020-04-17 亮风台(上海)信息科技有限公司 Method and apparatus for measuring dimensions of an object
WO2019090556A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Method for measuring size of object and mobile terminal
DK201870351A1 (en) 2018-05-07 2020-01-13 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
US10785413B2 (en) 2018-09-29 2020-09-22 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
CN115756167A (en) * 2020-02-03 2023-03-07 苹果公司 Systems, methods, and user interfaces for annotating, measuring, and modeling an environment
US11138771B2 (en) 2020-02-03 2021-10-05 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
CN111462089B (en) * 2020-04-01 2023-07-11 深圳市瑞立视多媒体科技有限公司 Virtual scene precision testing method based on optical dynamic capturing system and related equipment
CN113763495A (en) * 2020-06-10 2021-12-07 北京沃东天骏信息技术有限公司 Distance measuring method, device, equipment and storage medium
CN111970454B (en) * 2020-09-10 2023-01-13 青岛鳍源创新科技有限公司 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
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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200804947A (en) * 2006-07-06 2008-01-16 Asia Optical Co Inc Method of distance estimation to be implemented using a digital camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105554247A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105554247B (en) Measurement method, measuring system and terminal
CN108389212A (en) To measure the method and computer-readable media of foot size
JP6736423B2 (en) Three-dimensional measuring device
US10506225B2 (en) Method of calibrating a camera
CN103591894B (en) The method and apparatus of object length is measured by camera
EP3080550B1 (en) Laser receiver using a smart device
CN103438904B (en) A kind of inertial positioning method and system using vision auxiliary corrective
CN104487800A (en) Portable three-dimensional metrology with data displayed on the measured surface
CN204305233U (en) 3 d display device calibration equipment
JP2009210388A5 (en)
CN106666903A (en) Method and device utilizing images to measure human body shape parameter
CN109377551A (en) A kind of three-dimensional facial reconstruction method, device and its storage medium
CN104833342B (en) Mobile terminal and method of establishing stereoscopic model through multipoint distance measurement
US20170026636A1 (en) Method for the positionally accurate projection of a mark onto an object, and projection apparatus
CN106705860B (en) A kind of laser distance measurement method
CN108709502A (en) Crack vision measurement device based on parallel laser and measurement method
CN107504902A (en) A kind of length measurement method, device, mobile terminal and storage medium
EP3317609A1 (en) Measuring device, system, method, and program
JP2016048239A (en) Method and device for measuring 3-d coordinates of object
CN105511092A (en) Correction device of stereo display device
TW201312080A (en) Non-contact method for measuring dimensions of objects
CN103791841A (en) Magnification measurement method for handheld electronic terminal with imagery function
CN110118646A (en) A kind of glasses parameter detection device and method based on synthesis Moire fringe technology
JP2016048195A (en) Image measuring device
KR101924302B1 (en) Projection mapping system and apparatus

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

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.

CP03 Change of name, title or address