CN103697820A - Method for measuring sizes based on terminal and terminal equipment - Google Patents
Method for measuring sizes based on terminal and terminal equipment Download PDFInfo
- Publication number
- CN103697820A CN103697820A CN201310699630.8A CN201310699630A CN103697820A CN 103697820 A CN103697820 A CN 103697820A CN 201310699630 A CN201310699630 A CN 201310699630A CN 103697820 A CN103697820 A CN 103697820A
- Authority
- CN
- China
- Prior art keywords
- image height
- image
- attribute information
- straight line
- angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to the technical field of measurement and discloses a method for measuring sizes based on a terminal and terminal equipment. In the first method, a first image height is converted when an included angle exists between the plane of where a terminal screen is positioned and a target object, so that the converted first image height is substantially equal to the image height when the plane of where the terminal screen is positioned is parallel to the target object, the converted first image height is accurate at the moment, and therefore by the method, the errors of measuring results are avoided, and the accuracy of the measuring results is improved. In the second method for measuring the sizes based on the terminal, the image height included in shooting attribute information adopted by an image corresponding to the maximum shooting pixel value is substantially equal to the image height when the plane where the terminal screen is positioned is parallel to the target object, and the length value of the target object is further calculated according to the image height which is equal to the image height when the plane where the terminal screen is positioned is parallel to the target object; thus, the errors of the measuring results are avoided, and the accuracy of the measuring results is improved.
Description
Technical field
The present invention relates to field of measuring technique, particularly a kind of method and terminal device based on terminal measurement size.
Background technology
Along with scientific and technological development, terminal has become mobile communication facility more and more important in life, along with the function of terminal from strength to strength, the function that terminal is different plays an important role in life, at present, terminal is except completing basic communication function, various new functions have also been added, such as, by terminal, realize the location to user, realize the remote control to remote equipment, even realize the monitoring to health index, or realize simple and easy office, etc., the difference in functionality of terminal has brought the facility in different uses to user.
At present, the concept of object is not only rested on visually, sometimes need to know the size of object, in this case, conventionally need be with utilizing survey instrument object to be measured to obtain the size of this object, survey instrument on market has a lot, for example, ruler, tape measure, set square, vernier caliper, and scale etc., because survey instrument is generally special-purpose equipment, as needed, use, need user to carry specially, as user did not have this type of survey instrument, the demand of more difficult satisfied measurement object length at one's side at that time.
In order to measure at any time the size of object, some terminal can test object size, and as shown in Figure 1A, for example, while using terminal to measure user's height, the measuring process of terminal is substantially as follows for measuring process:
Step a: take user's height image when the plane at the screen place of terminal and the plane parallel at user's body place;
In the process of photographic images, image distance, focal length and image height when terminal can be obtained user's photographic images.
Step b: the object distance while getting it right user's photographic images according to image distance and focometer;
Step c: calculate again object height (being user's height values) according to image distance, image height and the object distance that calculates.
But, there are the following problems for above-mentioned measuring process: when angle between terminal and user place plane is against regulation, terminal can cause anamorphose to a certain degree when taking, wherein, Figure 1B is the schematic diagram of terminal based on different visual angles measurement target dimension of object, now, the image height that shooting image is out corresponding is inaccurate, cause user's height values and the actual height values error of user finally measured larger, that is to say, there is the defect that scale error is large, accuracy is lower measuring in said method.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal device based on terminal measurement size, while object being carried out to measurement size in order to solve to a certain extent the use terminal existing in prior art, and the problem that measuring result error is large, accuracy is lower.
First aspect, provides a kind of method based on terminal measurement size, comprising:
Straight line object for length value to be measured on target object, while forming the first angle between described straight line object and the plane at terminal screen place, described straight line object is taken to the first image, and obtain first while taking described the first image and take attribute information;
While forming the second angle between described straight line object and the plane at terminal screen place, described straight line object is taken to the second image, and obtain the differential seat angle of described the first angle and described the second angle, and second while taking described the second image taken attribute information;
According to described first, take attribute information, described second and take attribute information and described differential seat angle, the first image height that described the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with described target object with described terminal screen place plane is equated, and according to the first image height after described the first shooting attribute information and described conversion, calculate the length value of described straight line object.
In conjunction with first aspect, in the possible implementation of the first, described first takes attribute information also comprises the first image distance and the first focal length; Described second takes attribute information comprises the second image height, the second image distance and the second focal length; Described according to described the first shooting attribute information, described the second shooting attribute information and described differential seat angle, the first image height that described the first shooting attribute information is comprised is changed, and comprising:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the first angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the first angle, described the first image height is changed to the first image height after being changed;
The described length value that calculates described straight line object according to the first image height after described the first shooting attribute information and described conversion, comprising:
The first object distance that the first image distance comprising according to described the first shooting attribute information and the first focal length are determined described straight line object;
According to described the first object distance, described the first image distance, and the first image height after described conversion calculates the length value of described straight line object.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, according to the angle value of described the first angle, adopt following formula that described the first image height is changed, the first image height after being changed:
A
1=a
1/cosα
Wherein, A
1for the first image height, a after described conversion
1for described the first image height, α are the angle value of described the first angle.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, according to described the first object distance, described the first image distance, and the first image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
1×A
1)/y
1
Wherein, L is length value, the u of described straight line object
1for described the first object distance, A
1for the first image height, the y after described conversion
1it is the first image distance.
In conjunction with first aspect, in the 4th kind of possible implementation, the method also comprises: according to described first, take attribute information, described second and take attribute information and described differential seat angle, the second image height that described the second shooting attribute information is comprised is changed, the second image height after conversion image height essence when parallel with described target object with described terminal screen place plane is equated, and according to the length value of the described straight line object of the second image height calculating after described the second shooting attribute information and described conversion.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, described first takes attribute information also comprises the first image distance and the first focal length; Described second takes attribute information comprises the second image height, the second image distance and the second focal length; According to described first, take attribute information, described second and take attribute information and described differential seat angle, the second image height that described the second shooting attribute information is comprised is changed, and comprising:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the second angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the second angle, described the second image height is changed to the second image height after being changed;
The described length value that calculates described straight line object according to the second image height after described the second shooting attribute information and described conversion, comprising:
The second object distance that the second image distance comprising according to described the second shooting attribute information and described the second focal length are determined described straight line object;
According to described the second object distance, described the second image distance, and the second image height after described conversion calculates the length value of described straight line object.
In conjunction with the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, according to the angle value of described the second angle, adopt following formula that described the second image height is changed, the second image height after being changed:
A
2=a
2/cos?m
Wherein, A
2for the second image height, a after described conversion
2for described the second image height, m are the angle value of described the second angle.
In conjunction with the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation, according to described the second object distance, described the second image distance, and the second image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
2×A
2)/y
2
Wherein, L is length value, the u of described straight line object
2for described the second object distance, A
2for the second image height, the y after described conversion
2it is the second image distance.
Second aspect, provides a kind of method based on terminal measurement size, comprising:
Straight line object for length value to be measured on target object, the straight line object vertical with described straight line object of take is turning axle, when parallel with described straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, take continuously described straight line object and obtain at least one image; And
Obtain the pixel count that described at least one image comprises respectively;
Determine the image that maximum pixel number is corresponding, and obtain the shooting attribute information adopting while taking image corresponding to maximum pixel number, wherein, described shooting attribute information comprises image height, and image height essence when described image height is parallel with described target object with terminal screen place plane equates;
According to described shooting attribute information, determine the length value of described straight line object.
In conjunction with second aspect, in the possible implementation of the first, described shooting attribute information also comprises image distance and focal length.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, according to described shooting attribute information, determine the length value of described straight line object, comprising:
According to described image distance and described focal length, determine object distance;
Based on described image height, described image distance and described object distance, calculate the length value of described straight line object; Wherein, described image height and described object distance are all proportionate with the length value of described straight line object, and the length value of described image height and described straight line object is negative correlation.
In conjunction with second aspect, first to two kind of possible implementation of second aspect, in the third possible implementation, described predetermined angle scope is (15 °, 15 °).
The third aspect, provides a kind of terminal device, comprising:
Take unit, for the straight line object to length value to be measured on target object, take;
The first acquiring unit, for the straight line object for length value to be measured on target object, while forming the first angle between described straight line object and the plane at terminal screen place, call described shooting unit described straight line object is taken to the first image, and obtain first while taking described the first image and take attribute information;
Second acquisition unit, when forming the second angle between described straight line object and the plane at terminal screen place, calls described shooting unit described straight line object is taken to the second image, and obtains second while taking described the second image and take attribute information;
Differential seat angle determining unit, for obtaining the differential seat angle of described the first angle and described the second angle;
Converting unit, for taking attribute information, described second according to described first, take attribute information and described differential seat angle, by described first, take the first image height that attribute information comprises and change, the image height essence while making the first image height after conversion parallel with described target object with described terminal screen place plane equates;
Computing unit, for calculating the length value of described straight line object according to the first image height after described the first shooting attribute information and described conversion.
In conjunction with the third aspect, in the possible implementation of the first, the first shooting attribute information that described the first acquiring unit obtains also comprises the first image distance and the first focal length; The second shooting attribute information that described second acquisition unit obtains comprises the second image height, the second image distance and the second focal length; Described converting unit specifically for:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the first angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the first angle, described the first image height is changed to the first image height after being changed;
Described computing unit specifically for: according to described first, take the first object distance that the first image distance that attribute information comprises and the first focal length are determined described straight line object;
According to described the first object distance, described the first image distance, and the first image height after described conversion calculates the length value of described straight line object.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second, aspect described the first image height being changed according to the angle value of described the first angle, described converting unit specifically for: according to the angle value of described the first angle, adopt following formula that described the first image height is changed, the first image height after being changed:
A
1=a
1/cosα
Wherein, A
1for the first image height, a after described conversion
1for described the first image height, α are the angle value of described the first angle.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation, according to described the first object distance, described the first image distance, and the first image height after described conversion calculates the aspect of the length value of described straight line object, described computing unit specifically for: according to described the first object distance, described the first image distance, and the first image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
1×A
1)/y
1
Wherein, L is length value, the u of described straight line object
1for described the first object distance, A
1for the first image height, the y after described conversion
1it is the first image distance.
In conjunction with the third aspect, in the 4th kind of possible implementation, described converting unit also for:
According to described first, take attribute information, described second and take attribute information and described differential seat angle, by described second, take the second image height that attribute information comprises and change, the image height essence while making the second image height after conversion parallel with described target object with described terminal screen place plane equates;
Described computing unit also for: according to described second, take the length value that the second image height after attribute information and described conversion calculates described straight line object.
In conjunction with the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation, the first shooting attribute information that described the first acquiring unit obtains also comprises the first image distance and the first focal length; The second shooting attribute information that described second acquisition unit obtains comprises the second image height, the second image distance and the second focal length; Described converting unit also for:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the second angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the second angle, described the second image height is changed to the second image height after being changed;
Described computing unit also for: according to described second, take the second object distance that the second image distance that attribute information comprises and described the second focal length are determined described straight line object;
According to described the second object distance, described the second image distance, and the second image height after described conversion calculates the length value of described straight line object.
The 5th kind of possible implementation in conjunction with the third aspect, in the 6th kind of possible implementation, according to the angle value of described the second angle, described the second image height is being changed, the aspect of the second image height after being changed, described converting unit specifically for: according to the angle value of described the second angle, adopt following formula that described the second image height is changed, the second image height after being changed:
A
2=a
2/cos?m
Wherein, A
2for the second image height, a after described conversion
2for described the second image height, m are the angle value of described the second angle.
The 6th kind of possible implementation in conjunction with the third aspect, in the 7th kind of possible implementation, according to described the second object distance, described the second image distance, and the second image height after described conversion calculates the aspect of the length value of described straight line object, described computing unit specifically for: according to described the second object distance, described the second image distance, and the second image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
2×A
2)/y
2
Wherein, L is length value, the u of described straight line object
2for described the second object distance, A
2for the second image height, the y after described conversion
2it is the second image distance.
Fourth aspect, provides a kind of terminal device, comprising:
Take unit, for the straight line object to length value to be measured on target object, take;
Take control module, for the straight line object for length value to be measured on target object, the straight line object vertical with described straight line object of take is turning axle, when parallel with described straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, call described shooting unit and take continuously described straight line object and obtain at least one image;
The first acquiring unit, the pixel count comprising respectively for obtaining described at least one image;
Second acquisition unit, for determining image corresponding to maximum pixel number, and obtain the shooting attribute information adopting while taking image corresponding to maximum pixel number, wherein, described shooting attribute information comprises image height, and image height essence when described image height is parallel with described target object with terminal screen place plane equates;
Determining unit, for determining the length value of described straight line object according to described shooting attribute information.
In conjunction with fourth aspect, in the possible implementation of the first, the shooting attribute information that described second acquisition unit obtains also comprises image distance and focal length.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second, described determining unit specifically for:
According to described image distance and described focal length, determine object distance;
Based on described image height, described image distance and described object distance, calculate the length value of described straight line object; Wherein, described image height and described object distance are all proportionate with the length value of described straight line object, and the length value of described image height and described straight line object is negative correlation.
In conjunction with fourth aspect, first to two kind of possible implementation of fourth aspect, in the third possible implementation, the predetermined angle scope that described shooting control module is controlled described shooting unit photographs image is (15 °, 15 °).
Beneficial effect of the present invention is as follows:
In prior art, while there is angle between the plane at the screen place of terminal and target object, terminal can cause anamorphose to a certain degree when taking, now, the image height that shooting image is out corresponding is inaccurate, cause the scale error that measures larger, accuracy is lower, and in the method for the first that the embodiment of the present invention provides based on terminal measurement size, when obtaining the screen place plane of terminal and target object and having the first angle first taken attribute information, when obtaining the screen place plane of terminal and target object again and having the second angle second taken the differential seat angle of attribute information and the first angle and the second angle, then, according to the first shooting attribute information, second takes attribute information and differential seat angle, the first image height when the screen place plane of terminal and target object are existed to angle is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, now, the first image height after conversion is accurately, therefore, the method has been avoided the error of measurement result, improved the accuracy of measurement result, in method at the second based on terminal measurement size, during from the screen place plane of terminal and straight line parallel, be that starting point is rotated within the scope of predetermined angle, take continuously, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoided the error of measurement result, improved the accuracy of measurement result.
Accompanying drawing explanation
Figure 1A is the schematic diagram of terminal measurement target dimension of object in prior art;
Figure 1B is the schematic diagram of terminal based on different visual angles measurement target dimension of object in prior art;
Fig. 2 is the schematic flow sheet of a kind of method based on terminal measurement size in the embodiment of the present invention;
Fig. 3 A is the schematic flow sheet of the another kind of method based on terminal measurement size in the embodiment of the present invention;
Fig. 3 B is the another kind of instrumentation plan based on terminal measurement size in the embodiment of the present invention;
Fig. 4 is a kind of embodiment schematic diagram based on terminal measurement size in the embodiment of the present invention;
Fig. 5 is the another kind of embodiment schematic diagram based on terminal measurement size in the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of terminal device in the embodiment of the present invention;
Fig. 7 is the structural representation of another kind of terminal device in the embodiment of the present invention;
Fig. 8 is the first instance structural representation of a kind of terminal device in the embodiment of the present invention;
Fig. 9 is the first instance structural representation of another kind of terminal device in the embodiment of the present invention;
Figure 10 is the second instance structural representation of a kind of terminal device in the embodiment of the present invention;
Figure 11 is the second instance structural representation of another kind of terminal device in the embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In addition, term " system " and " network " are often used interchangeably in this article herein.Term "and/or", is only a kind of incidence relation of describing affiliated partner herein, and expression can exist three kinds of relations, and for example, A and/or B, can represent: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, alphabetical "/", generally represents that forward-backward correlation is to liking a kind of relation of "or" herein.
Error for fear of measurement result, improve the accuracy of measurement result, in the embodiment of the present invention, two kinds of methods based on terminal measurement size are proposed, in first method, when obtaining the screen place plane of terminal and target object and having the first angle first taken attribute information, when obtaining the screen place plane of terminal and target object again and having the second angle second taken the differential seat angle of attribute information and the first angle and the second angle, then, according to the first shooting attribute information, second takes attribute information and differential seat angle, the first image height when the screen place plane of terminal and target object are existed to angle is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, now, the first image height after conversion is accurately, therefore, the method has been avoided the error of measurement result, improved the accuracy of measurement result, in method at the second based on terminal measurement size, during from the screen place plane of terminal and straight line parallel, be that starting point is rotated within the scope of predetermined angle, take continuously, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoided the error of measurement result, improved the accuracy of measurement result.
Below in conjunction with Figure of description, the preferred embodiment of the present invention is elaborated, be to be understood that, preferred embodiment described herein is only for description and interpretation the present invention, be not intended to limit the present invention, and in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
Embodiment mono-:
Consult shown in Fig. 2, in the embodiment of the present invention, the flow process of a kind of method based on terminal measurement size is as follows:
Step 200: for the straight line object of length value to be measured on target object, while forming the first angle between straight line object and the plane at terminal screen place, straight line object is taken to the first image, and obtain first while taking the first image and take attribute information;
Step 210: while forming the second angle between straight line object and the plane at terminal screen place, straight line object is taken to the second image, and obtain the differential seat angle of the first angle and the second angle, and second while taking the second image taken attribute information;
Step 220: take attribute information and differential seat angle according to the first shooting attribute information, second, the first image height that the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and the length value of the first image height calculated line object according to the first shooting attribute information and after changing.
In the embodiment of the present invention, the image height essence when screen place plane of the first image height after conversion and terminal is parallel with target object equates, comprises following situation:
Image height when the screen place plane of the first image height after conversion and terminal is parallel with target object equates completely; Or
Difference between image height when the screen place plane of the first image height after conversion and terminal is parallel with target object, in preset range, now, also can be understood as the screen place plane of image height and terminal image height when parallel with target object and equates.
Certainly, along with the difference of application scenarios, the situation that essence is equal also may be different, and above-mentioned two embodiment that just essence equates, in actual applications, also have multiple other situations, at this, no longer describe in detail.
In the embodiment of the present invention, optional, first takes attribute information also comprises the first image distance, the first focal length; Optionally, second takes attribute information comprises the second image distance, the second focal length and the second image height, and the first shooting attribute information and second is taken in attribute information and also may be comprised other information, at this, no longer describes in detail.
In actual applications, the length value of straight line object can represent with formula one:
L=(u * a)/(v * cos A) (formula one)
Wherein, L is that length value, the u of straight line object are that object distance, a are that angle, y between the straight line object of image height, A terminal and length value to be measured is image distance.
When there is angle between the straight line object of terminal and length value to be measured, there is distortion in the straight line object obtaining due to terminal, therefore, cause the length value that terminal cannot Obtaining Accurate reality, in the embodiment of the present invention, according to the first shooting attribute information, when the second shooting attribute information and differential seat angle are determined the length value of straight line object, can be first according to the first shooting attribute information, second takes attribute information and differential seat angle, the first image height that the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and according to the length value of the first image height calculated line object after the first shooting attribute information and conversion, the length value of the straight line object of now determining, the length value of the straight line object obtaining when parallel between the plane at the screen place of terminal and straight line object equates, like this, avoided the error of measurement result, improved the accuracy of measurement result, in like manner, also can be first according to the first shooting attribute information, second takes attribute information and differential seat angle, the second image height that the second shooting attribute information is comprised is changed, the second image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and according to the length value of the second image height calculated line object after the second shooting attribute information and conversion, the length value of the straight line object of now determining, the length value of the straight line object obtaining when parallel between the plane at the screen place of terminal and straight line object equates, like this, avoided the error of measurement result, improved the accuracy of measurement result like this, avoided the error of measurement result, improved the accuracy of measurement result.
Therefore, according to the first shooting attribute information, second, take attribute information and differential seat angle, the first image height conversion that the first shooting attribute information is comprised can adopt various ways.
For example: the first image distance based in the first shooting attribute information, the first focal length, the first image height, second are taken the angle value of definite the first angle forming of the second image distance, the second focal length, the second image height and differential seat angle in attribute information;
According to the angle value of the first angle, the first image height is changed to the first image height after being changed.
Now, the mode of the length value of the first image height calculated line object according to the first shooting attribute information and after changing also has multiple, for example:
The first image distance comprising according to the first shooting attribute information and the first focal length are determined the first object distance of straight line object;
According to the first object distance, the first image distance, and the length value of the first image height calculated line object after conversion.
In the embodiment of the present invention, according to the first image distance and the first focal length, determine that the first object distance of straight line object can determine according to formula two:
1/t=1/u+1/y (formula two)
Wherein, t is focal length.
In said method, by differential seat angle and the first image distance, the first focal length, the first image height, the second image distance, the second focal length, the second image height calculates the angle value of the first angle, due to the first image distance, the first image height, the first focal length terminal can be obtained, therefore, in the time of can drawing terminal taking the first image by said method and form the angle value of the first angle between straight line object, the image height when angle value of the first image height when taking the first image and the first angle is converted to the plane parallel at straight line object and terminal screen place by the first image height again, the object height (the namely length value of straight line object) calculating according to the first image height after conversion is accurately, therefore, avoided the error of measurement result, improved the accuracy of measurement result.
In said method, according to the angle value of the first angle, the first image height to be changed, the mode of the first image height after being changed has multiple, for example, adopts following formula three to change:
A
1=a
1/ cos α (formula three)
Wherein, A
1for the first image height, a after conversion
1be that the first image height, α are the angle value of the first angle.
In the embodiment of the present invention, according to the first object distance, the first image distance, and during the length value of the first image height calculated line object after conversion, optional, can adopt formula four to determine the length value of straight line objects:
L=(u
1* A
1)/y
1(formula four)
Wherein, L is length value, the u of straight line object
1be the first object distance, A
1for the first image height, the y after conversion
1it is the first image distance.
Said process has just been discussed according to the first image height and has been changed, and according to the length value of the first image height calculated line object after the first shooting attribute information and conversion, certainly, in actual applications, can also be in the following way, first according to the first shooting attribute information, second takes attribute information and differential seat angle, the second image height that the second shooting attribute information is comprised is changed, the second image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, then, again according to the length value of the second image height calculated line object after the second shooting attribute information and conversion.
Now, the first shooting attribute information also comprises the first image distance and the first focal length; Second takes attribute information comprises the second image height, the second image distance and the second focal length.
According to the first shooting attribute information, second, take attribute information and differential seat angle, the second image height that the second shooting attribute information is comprised change with the process that the first image height is changed similar, optionally, and can be in the following way:
The first image distance based in the first shooting attribute information, the first focal length, the first image height, second are taken the angle value of definite the second angle forming of the second image distance, the second focal length, the second image height and differential seat angle in attribute information;
According to the angle value of the second angle, the second image height is changed to the second image height after being changed.
In like manner, according to the length value of the second image height calculated line object after the second shooting attribute information and conversion, with similar according to the process of length value of the first image height calculated line object after the first shooting attribute information and conversion, optional, can be in the following way:
The second image distance comprising according to the second shooting attribute information and the second focal length are determined the second object distance of straight line object;
According to the second object distance, the second image distance, and the length value of the second image height calculated line object after conversion.
In the embodiment of the present invention, during the second image height after the second image height being changed according to the angle value of the second angle, being changed, optional, can adopt following formula five to calculate:
A
2=a
2/ cos m (formula five)
Wherein, A
2for the second image height, a after conversion
2be that the second image height, m are the angle value of the second angle.
In the embodiment of the present invention, according to the second object distance, the second image distance, and there is a various ways during the second image height after conversion, optional, adopt the length value of following formula six calculated line objects:
L=(u
2* A
2)/y
2(formula six)
Wherein, L is length value, the u of straight line object
2be the second object distance, A
2for the second image height, the y after conversion
2it is the second image distance.
For determining two embodiment of the length value of straight line object, in real process, also there is multiple implementation in two kinds of above-mentioned methods, at this, no longer describes in detail.
For example: when the angle value of the angle of terminal between straight line object and the plane at terminal screen place is A °, straight line object is taken to the first image, the y obtaining
1for 80cm, the first focal length b
1for 60cm, a
1for 50cm, when the angle of terminal between straight line object and the plane at terminal screen place is (A+30) °, straight line object is taken to the second image, the y obtaining
2for 100cm, the second focal length b
2for 60cm, a
2for 60cm.According to y
1, b
1, a
1based on formula two, can draw u
1for 240cm, in like manner, according to y
2, b
2, a
2based on formula two, can draw u
2for 150cm.Again by y
1, u
1, a
1, A ° brings formula one into, by y
2, u
2, a
2,, (A+30) ° bring formula one into, according to above-mentioned two formula, can show that A is 28 °, next can be by y
1, u
1, a
1, A ° brings formula one into and draws L; Also can be by y
2, u
2, a
2, (A+30) ° bring formula one into and draw L, last, show that L is 169.89cm.
In the method shown in step 200-step 220, when first obtaining the screen place plane of terminal and target object and having the first angle first taken attribute information, when obtaining the screen place plane of terminal and target object again and having the second angle second taken the differential seat angle of attribute information and the first angle and the second angle, then, the first image height that the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and according to the length value of the first image height calculated line object after the first shooting attribute information and conversion, object height when the screen place plane of the terminal of now calculating and target object exist angle (the namely length value of straight line object), object height when parallel with target object with the screen place plane of terminal equates, and the object height that the screen place plane of terminal is measured when parallel with target object is the physical length value of the straight line object of target object, therefore, method shown in step 200-step 220 has been avoided the error of measurement result, improved the accuracy of measurement result.
Consult shown in Fig. 3 A, in the embodiment of the present invention, the flow process of the another kind of method based on terminal measurement size following (Fig. 3 B is instrumentation plan):
Embodiment bis-:
Step 300: for the straight line object of length value to be measured on target object, the straight line object vertical with straight line object of take is turning axle, when parallel with straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, take continuously straight line object and obtain at least one image;
Step 310: obtain the pixel count that at least one image comprises respectively;
Step 320: determine the image that maximum pixel number is corresponding, and obtain the shooting attribute information adopting while taking image corresponding to maximum pixel number, wherein, take attribute information and comprise image height, the image height essence when screen place plane of image height and terminal is parallel with target object equates;
Step 330: the length value of determining straight line object according to shooting attribute information.
In the embodiment of the present invention, take attribute information and also comprise image distance and focal length, certainly, in actual applications, also may comprise other information, at this, no longer describe in detail.
In the embodiment of the present invention, the image height essence when screen place plane of image height and terminal is parallel with target object equates, comprises following situation:
Image height when the screen place plane of image height and terminal is parallel with target object equates completely; Or
Difference between image height when the screen place plane of image height and terminal is parallel with target object, in preset range, now, also can be understood as the screen place plane of image height and terminal image height when parallel with target object and equates.
Certainly, along with the difference of application scenarios, the situation that essence is equal also may be different, and above-mentioned two embodiment that just essence equates, in actual applications, also have multiple other situations, at this, no longer describe in detail.
In the embodiment of the present invention, according to shooting attribute information, determine that the mode of the length value of straight line object has multiple, for example, according to image distance and focal length, determine object distance; Length value based on image height, image distance and object distance calculated line object; Wherein, image height and object distance are all proportionate with the length value of straight line object, and the length value of image height and straight line object is negative correlation, in actual applications, can also have other implementations, at this, no longer describe in detail.
Wherein, during length value based on image height, image distance and object distance calculated line object, specifically can adopt formula five to calculate:
L=(u
1* a
1)/y
1(formula seven)
Wherein, L is length value, the u of straight line object
1for object distance, a
1for image height, y
1for image distance.
In the embodiment of the present invention, in the accuracy for the length value of the straight line object determined in raising, also reduce consuming timely, in the embodiment of the present invention, optional, predetermined angle scope is (15 °, 15 °).
During from the screen place plane of terminal and straight line parallel, be that starting point is rotated within the scope of predetermined angle, take continuously, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoided the error of measurement result, improved the accuracy of measurement result.
In order to understand better the embodiment of the present invention, below provide concrete application scenarios, for the process based on terminal measurement size, make and describing in further detail:
Embodiment tri-: specifically as shown in Figure 4
Step 400: when terminal forms the first angle between straight line object and the plane at terminal screen place, straight line object is taken to the first image;
Step 410: terminal is obtained the first image distance, the first image height and the first focal length, and based on formula two, determine the first object distance according to the first image distance and the first focal length;
Step 420: when terminal forms the second angle between straight line object and the plane at terminal screen place, straight line object is taken to the first image;
Step 430: terminal is obtained the differential seat angle of the first angle and the second angle, and obtain the second image distance, the second image height and the second focal length, and based on formula two, determine the second object distance according to the second image distance and the second focal length;
Step 440: terminal is determined the angle value of the first angle according to the first object distance, the first image distance, the first image height, differential seat angle, the second object distance, the second image distance, the second image height;
Step 450: terminal adopts formula 3 that the first image height is changed according to the angle value of the first angle and the first image height, the image height essence while making the first image height after conversion parallel with target object with terminal screen place plane equates;
Step 460: terminal is calculated object height (the namely length value of straight line object to be measured) according to the first image distance after the first object distance, conversion, the first image height based on formula four.
In this step, terminal also can be calculated object height (the namely length value of straight line object to be measured) according to the angle value of the second object distance, the second image distance, the second image height and the second angle.
In this embodiment, terminal is according to the first shooting attribute information, second takes attribute information and differential seat angle, the first image height that the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and according to the length value of the first image height calculated line object after the first shooting attribute information and conversion, the length value of the straight line object now calculating, be converted to the length value of screen place plane with terminal straight line object when parallel with target object, and the length value of the straight line object that the screen place plane of terminal is measured when parallel with target object is the physical size of target object, therefore, this embodiment has avoided the error of measurement result, improved the accuracy of measurement result.
Embodiment tetra-: specifically as shown in Figure 5
Step 500: it is turning axle that terminal be take the straight line object vertical with straight line object is that starting point is rotated within the scope of predetermined angle when parallel with straight line object from the screen place plane of terminal;
Step 510: terminal is taken continuously straight line object and obtained 10 images;
Step 520: terminal is determined the 8th pixel count that image comprises maximum in 10 images;
Step 530: terminal is obtained image height, focal length and the image distance while taking the 8th image;
Step 540: terminal draws object distance based on formula two according to focal length and image distance;
Step 550: terminal draws object height based on formula seven according to object distance, image height and image distance, draws the size of straight line object to be measured.
In this embodiment, the 8th pixel count that image comprises is maximum, that is to say, image height essence when the image height that the shooting attribute information of the 8th image employing comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoid the error of measurement result, improved the accuracy of measurement result.
As shown in Figure 6, the embodiment of the present invention provides a kind of terminal device, comprising:
Take unit 600, for the straight line object to length value to be measured on target object, take;
The first acquiring unit 610, for the straight line object for length value to be measured on target object, while forming the first angle between straight line object and the plane at terminal screen place, call 600 pairs of unit of shooting straight line object and take the first image, and obtain first while taking the first image and take attribute information;
Differential seat angle determining unit 630, for obtaining the differential seat angle of the first angle and the second angle;
Converting unit 640, for taking attribute information and differential seat angle according to the first shooting attribute information, second, the first image height that the first shooting attribute information is comprised is changed, and the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated;
Optionally, in the embodiment of the present invention, the first shooting attribute information that the first acquiring unit 610 obtains also comprises the first image distance and the first focal length; The second shooting attribute information that second acquisition unit 620 obtains comprises the second image height, the second image distance and the second focal length; Converting unit 640 specifically for:
The first image distance based in the first shooting attribute information, the first focal length, the first image height, second are taken the angle value of definite the first angle forming of the second image distance, the second focal length, the second image height and differential seat angle in attribute information;
According to the angle value of the first angle, the first image height is changed to the first image height after being changed;
According to the first object distance, the first image distance, and the length value of the first image height calculated line object after conversion.
Optionally, in the embodiment of the present invention, aspect the first image height being changed according to the angle value of the first angle, converting unit 640 specifically for: according to the angle value of the first angle, adopt following formula that the first image height is changed, the first image height after being changed:
A
1=a
1/cosα
Wherein, A
1for the first image height, a after conversion
1be that the first image height, α are the angle value of the first angle.
Optionally, in the embodiment of the present invention, according to the first object distance, the first image distance, and the aspect of the length value of the first image height calculated line object after conversion, computing unit 650 specifically for: according to the first object distance, the first image distance, and the first image height after conversion adopts the length value of following formula calculated line object:
L=(u
1×A
1)/y
1
Wherein, L is length value, the u of straight line object
1be the first object distance, A
1for the first image height, the y after conversion
1it is the first image distance.
Further, in the embodiment of the present invention, converting unit 640 also for:
According to the first shooting attribute information, second, take attribute information and differential seat angle, the second image height that the second shooting attribute information is comprised is changed, and the image height essence while making the second image height after conversion parallel with target object with terminal screen place plane equates;
Optionally, in the embodiment of the present invention, the first shooting attribute information that the first acquiring unit 610 obtains also comprises the first image distance and the first focal length; The second shooting attribute information that second acquisition unit 620 obtains comprises the second image height, the second image distance and the second focal length; Converting unit 640 also for:
The first image distance based in the first shooting attribute information, the first focal length, the first image height, second are taken the angle value of definite the second angle forming of the second image distance, the second focal length, the second image height and differential seat angle in attribute information;
According to the angle value of the second angle, the second image height is changed to the second image height after being changed;
According to the second object distance, the second image distance, and the length value of the second image height calculated line object after conversion.
Optionally, in the embodiment of the present invention, according to the angle value of the second angle, the second image height is being changed, the aspect of the second image height after being changed, converting unit 640 specifically for: according to the angle value of the second angle, adopt following formula that the second image height is changed, the second image height after being changed:
A
2=a
2/cos?m
Wherein, A
2for the second image height, a after conversion
2be that the second image height, m are the angle value of the second angle.
Optionally, in the embodiment of the present invention, according to the second object distance, the second image distance, and the aspect of the length value of the second image height calculated line object after conversion, computing unit 640 specifically for: according to the second object distance, the second image distance, and the second image height after conversion adopts the length value of following formula calculated line object:
L=(u
2×A
2)/y
2
Wherein, L is length value, the u of straight line object
2be the second object distance, A
2for the second image height, the y after conversion
2it is the second image distance.
In the embodiment of the present invention, taking unit 600 has polytype, as is camera, certainly, in actual applications, can also, for other equipment, at this, no longer describe in detail.
In like manner, differential seat angle determining unit 630 also has polytype, as is three-axis gyroscope, certainly, in actual applications, can also, for other equipment, at this, no longer describe in detail.
In the embodiment of the present invention, can also comprise storage unit 660, for store that the first acquiring unit 610 obtains first take that attribute information, second acquisition unit 620 obtain second take attribute information, and the differential seat angle that obtains of differential seat angle determining unit 630; Now, during the length value of computing unit 650 calculated line objects, can from storage unit 660, obtain first of storage and take attribute information, the second shooting attribute information differential seat angle and calculate.
In this scheme, according to obtain first, take attribute information, second takes attribute information and differential seat angle, the first image height comprising with the first shooting attribute information is changed, the image height essence measuring when the first image height after conversion is parallel with target object with terminal screen place plane equates, then, by the length value of the image height calculated line object after conversion, that is to say, the first image height computation and measurement result when terminal screen place plane is parallel with target object, and first image height of terminal screen place plane when parallel with target object is accurately, therefore, avoided the error of measurement result, improved the accuracy of measurement result.
As shown in Figure 7, the embodiment of the present invention is carried another kind of terminal device, comprising:
Take unit 700, for the straight line object to length value to be measured on target object, take;
Take control module 710, for the straight line object for length value to be measured on target object, the straight line object vertical with straight line object of take is turning axle, when parallel with straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, call and take unit 700 and take continuously straight line object and obtain at least one image;
The first acquiring unit 720, the pixel count comprising respectively for obtaining at least one image;
Determining unit 740, for determining the length value of straight line object according to shooting attribute information.
Optionally, in the embodiment of the present invention, the shooting attribute information that second acquisition unit 730 obtains also comprises image distance and focal length.
Further, in the embodiment of the present invention, determining unit 740 specifically for:
According to image distance and focal length, determine object distance;
Length value based on image height, image distance and object distance calculated line object; Wherein, image height and object distance are all proportionate with the length value of straight line object, and the length value of image height and straight line object is negative correlation.
Optionally, in the embodiment of the present invention, the predetermined angle scope of taking control module 710 control shooting unit 700 photographic images is (15 °, 15 °).
In inventive embodiments, can also comprise storage unit 750, the pixel count obtaining from taking the image analysis of unit 700 shootings for storing the first acquiring unit 720, and the shooting attribute information that obtains of storage second acquisition unit 730, now, during the length value of determining unit 740 calculated line objects, the shooting attribute information that can obtain storage from storage unit 750 calculates.
In the embodiment of the present invention, taking unit 700 has polytype, as is camera, certainly, in actual applications, can also, for other equipment, at this, no longer describe in detail.
In the method, during from the screen place plane of terminal and straight line parallel, be that starting point is rotated within the scope of predetermined angle, take continuously, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoided the error of measurement result, improved the accuracy of measurement result.
As shown in Figure 8, the embodiment of the present invention provides a kind of first instance structural drawing of terminal device 800, terminal device 800 at least one processor 801, at least one communication bus 802, at least one network interface 804 or other user interfaces 803, storer 805, wherein, communication bus 802 is for realizing the connection communication between these assemblies.
This terminal device 800 optionally comprises user interface 803, comprises three-axis gyroscope, shoot function hardware (for example camera), display screen (for example, touch-screen), keyboard or pointing device are (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc.).
In some embodiments, storer 805 has been stored following element, executable module or data structure, or their subset, or their superset:
In embodiments of the present invention, by calling program or the instruction of storer 805 storages, processor 801 for: for the straight line object of length value to be measured on target object, while forming the first angle between straight line object and the plane at terminal screen place, call shoot function hardware straight line object is taken to the first image, and obtain first while taking the first image and take attribute information;
While forming the second angle between straight line object and the plane at terminal screen place, call shoot function hardware straight line object is taken to the second image, and call the differential seat angle that three-axis gyroscope obtains the first angle and the second angle, and second while taking the second image taken attribute information;
According to the first shooting attribute information, second, take attribute information and differential seat angle, the first image height that the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and the length value of the first image height calculated line object according to the first shooting attribute information and after changing.
Optionally, processor 801 also for: first takes attribute information also comprises the first image distance and the first focal length; When the second shooting attribute information comprises the second image height, the second image distance and the second focal length;
The first image distance based in the first shooting attribute information, the first focal length, the first image height, second are taken the angle value of definite the first angle forming of the second image distance, the second focal length, the second image height and differential seat angle in attribute information;
According to the angle value of the first angle, the first image height is changed to the first image height after being changed;
Length value according to the first image height calculated line object after the first shooting attribute information and conversion, comprising:
The first image distance comprising according to the first shooting attribute information and the first focal length are determined the first object distance of straight line object;
According to the first object distance, the first image distance, and the length value of the first image height calculated line object after conversion.
Optionally, aspect the first image height being changed according to the angle value of the first angle, processor 801 specifically for: according to the angle value of the first angle, adopt following formula that the first image height is changed, the first image height after being changed:
A
1=a
1/cosα
Wherein, A
1for the first image height, a after conversion
1be that the first image height, α are the angle value of the first angle.
Optionally, according to the first object distance, the first image distance, and the aspect of length value of the first image height calculated line object after conversion, processor 801 specifically for: according to the first object distance, the first image distance, and the first image height after conversion adopts the length value of following formula calculated line object:
L=(u
1×A
1)/y
1
Wherein, L is length value, the u of straight line object
1be the first object distance, A
1for the first image height, the y after conversion
1it is the first image distance.
Optionally, processor 801 also for: also comprise:
According to the first shooting attribute information, second, take attribute information and differential seat angle, the second image height that the second shooting attribute information is comprised is changed, the second image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, and the length value of the second image height calculated line object according to the second shooting attribute information and after changing.
Optionally, processor 801 also for: first takes attribute information also comprises the first image distance and the first focal length; When the second shooting attribute information comprises the second image height, the second image distance and the second focal length, the first image distance based in the first shooting attribute information, the first focal length, the first image height, second are taken the angle value of definite the second angle forming of the second image distance, the second focal length, the second image height and differential seat angle in attribute information;
According to the angle value of the second angle, the second image height is changed to the second image height after being changed;
Length value according to the second image height calculated line object after the second shooting attribute information and conversion, comprising:
The second image distance comprising according to the second shooting attribute information and the second focal length are determined the second object distance of straight line object;
According to the second object distance, the second image distance, and the length value of the second image height calculated line object after conversion.
Optionally, according to the angle value of the second angle, the second image height is being changed, the aspect of the second image height after being changed, processor 801 specifically for: the angle value of the second angle adopts following formula that the second image height is changed, the second image height after being changed:
A
2=a
2/cos?m
Wherein, A
2for the second image height, a after conversion
2be that the second image height, m are the angle value of the second angle.
Optionally, according to the second object distance, the second image distance, and the aspect of length value of the second image height calculated line object after conversion, processor 801 specifically for: according to the second object distance, the second image distance, and the second image height after conversion adopts the length value of following formula calculated line object:
L=(u
2×A
2)/y
2
Wherein, L is length value, the u of straight line object
2be the second object distance, A
2for the second image height, the y after conversion
2it is the second image distance.
In addition, terminal device 800 also can execution graph 2 with method and the embodiment of Fig. 4, the embodiment of the present invention does not repeat them here.
Visible, adopt after such scheme, owing to taking attribute information and differential seat angle according to the first shooting attribute information, second, the first image height when the screen place plane of terminal and target object are existed to angle is changed, and the image height essence while making the first image height after conversion parallel with target object with terminal screen place plane equates, now, the first image height after conversion is accurately, therefore, the method has been avoided the error of measurement result, has improved the accuracy of measurement result.
As shown in Figure 9, the embodiment of the present invention provides the first instance structural drawing of another kind of terminal device, terminal device 900 at least one processor 901, at least one communication bus 902, at least one network interface 904 or other user interfaces 903, storer 905, wherein, communication bus 902 is for realizing the connection communication between these assemblies.
This terminal device 900 optionally comprises user interface 903, comprises three-axis gyroscope, shoot function hardware (for example camera), display screen (for example, touch-screen), keyboard or pointing device are (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc.).
In some embodiments, storer 905 has been stored following element, executable module or data structure, or their subset, or their superset:
In embodiments of the present invention, by calling program or the instruction of storer 905 storages, processor 901 for: for the straight line object of length value to be measured on target object, the straight line object vertical with straight line object of take is turning axle, when parallel with straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, call shoot function hardware and take continuously straight line object and obtain at least one image; And
Obtain the pixel count that at least one image comprises respectively;
Determine the image that maximum pixel number is corresponding, and obtain the shooting attribute information adopting while taking image corresponding to maximum pixel number, wherein, take attribute information and comprise image height, image height essence when image height is parallel with target object with terminal screen place plane equates;
According to shooting attribute information, determine the length value of straight line object.
Further, processor 901 also for: obtain and take image distance and the focal length that attribute information comprises.
Further, processor 901 also for: according to image distance and focal length, determine object distance;
Length value based on image height, image distance and object distance calculated line object; Wherein, image height and object distance are all proportionate with the length value of straight line object, and the length value of image height and straight line object is negative correlation.
Further, the predetermined angle scope of processor 901 rotations is (15 °, 15 °).
In addition, terminal device 900 also can execution graph 3A, Fig. 3 B and method and the embodiment of Fig. 5, and the embodiment of the present invention does not repeat them here.
Visible, adopt after such scheme, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoid the error of measurement result, improved the accuracy of measurement result.
As shown in figure 10, the embodiment of the present invention provides a kind of embodiment of second instance structural drawing of terminal device.In this embodiment, terminal device 100 comprises radiating circuit 1002, receiving circuit 1003, power controller 1004, processor 1006, storer 1007 and antenna 1001.The operation of processor 1006 control terminals 100.Storer 1007 can comprise ROM (read-only memory) and random access memory, and provides instruction and data to processor 1006.A part for storer 1007 can also comprise non-volatile row random access memory (NVRAM).In concrete application, terminal device 100 can embed or itself can be exactly the Wireless Telecom Equipment of mobile phone and so on for example, can also comprise the carrier that holds radiating circuit 1002 and receiving circuit 1003, to allow carrying out data transmission and reception between terminal device 100 and remote location.Radiating circuit 1002 and receiving circuit 1003 can be coupled to antenna 1001.Each assembly of terminal device 100 is coupled by bus system 3100, and wherein, bus system 3100, except comprising data bus, also comprises power bus, control bus and status signal bus in addition.But for the purpose of clearly demonstrating, in the drawings various buses are all designated as to bus system 3100.Terminal device 100 can also comprise decoding processor 1005.
The method that the invention described above embodiment mono-discloses can be applied in processor 1006, in other words by processor 1006 to realize, terminal device in the invention described above embodiment can be specially the terminal device shown in above-mentioned Figure 10 and realize, and the processing module in above-mentioned terminal device can be understood as the processor in terminal device 1006 in Figure 10.Processor 1006 may be a kind of integrated circuit (IC) chip, has the executive capability of instruction and data, and the processing power of signal.In implementation procedure, each step of said method can complete by the integrated logic circuit of the hardware in processor 1006 or the instruction of form of software.Above-mentioned processor can be general processor (CPU), digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic device, discrete hardware components.Can realize or carry out disclosed each method, step and logic diagram in the embodiment of the present invention.General processor can be that microprocessor or this processor can be also the processors of any routine etc.Step in conjunction with the embodiment of the present invention one disclosed method can directly be presented as that hardware processor is complete, or complete with the hardware in processor and software module combination.Software module can be positioned at random access memory, and flash memory, ROM (read-only memory), in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable storer, register.This storage medium is positioned at storer 1007, and the information in processor read memory 1007 completes the step of said method in conjunction with its hardware.
Because this terminal device 100 is corresponding with embodiment mono-, and in embodiment mono-owing to taking attribute information and differential seat angle according to the first shooting attribute information, second, the first image height when the screen place plane of terminal and target object are existed to angle is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, now, the first image height after conversion is accurately, therefore, the method has been avoided the error of measurement result, has improved the accuracy of measurement result.
As shown in figure 11, the embodiment of the present invention provides the embodiment of the second instance structural drawing of another kind of terminal device.In this embodiment, terminal device 110 comprises radiating circuit 1102, receiving circuit 1103, power controller 1104, processor 1106, storer 1107 and antenna 1101.The operation of processor 1106 control terminals 110.Storer 1107 can comprise ROM (read-only memory) and random access memory, and provides instruction and data to processor 1106.A part for storer 1107 can also comprise non-volatile row random access memory (NVRAM).In concrete application, terminal device 110 can embed or itself can be exactly the Wireless Telecom Equipment of mobile phone and so on for example, can also comprise the carrier that holds radiating circuit 1102 and receiving circuit 1103, to allow carrying out data transmission and reception between terminal device 110 and remote location.Radiating circuit 1102 and receiving circuit 1103 can be coupled to antenna 1101.Each assembly of terminal device 110 is coupled by bus system 4100, and wherein, bus system 4100, except comprising data bus, also comprises power bus, control bus and status signal bus in addition.But for the purpose of clearly demonstrating, in the drawings various buses are all designated as to bus system 4100.Terminal device 110 can also comprise decoding processor 1105.
The method that the invention described above embodiment bis-discloses can be applied in processor 1106, in other words by processor 1106 to realize, terminal device in the invention described above embodiment can be specially the terminal device shown in above-mentioned Figure 11 and realize, and the processing module in above-mentioned terminal device can be understood as the processor in terminal device 1106 in Figure 11.Processor 1106 may be a kind of integrated circuit (IC) chip, has the executive capability of instruction and data, and the processing power of signal.In implementation procedure, each step of said method can complete by the integrated logic circuit of the hardware in processor 1106 or the instruction of form of software.Above-mentioned processor can be general processor (CPU), digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic device, discrete hardware components.Can realize or carry out disclosed each method, step and logic diagram in the embodiment of the present invention two.General processor can be that microprocessor or this processor can be also the processors of any routine etc.Step in conjunction with the embodiment of the present invention two disclosed methods can directly be presented as that hardware processor is complete, or complete with the hardware in processor and software module combination.Software module can be positioned at random access memory, and flash memory, ROM (read-only memory), in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable storer, register.This storage medium is positioned at storer 1107, and the information in processor read memory 1107 completes the step of said method in conjunction with its hardware.
Because this terminal device 110 is corresponding with embodiment bis-, and in embodiment bis-, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoided the error of measurement result, improved the accuracy of measurement result.
In sum, in the embodiment of the present invention, two kinds of methods based on terminal measurement size are proposed, in first method, owing to taking attribute information and differential seat angle according to the first shooting attribute information, second, the first image height when the screen place plane of terminal and target object are existed to angle is changed, the first image height after conversion image height essence when parallel with target object with terminal screen place plane is equated, now, the first image height after conversion is accurately, therefore, the method has been avoided the error of measurement result, has improved the accuracy of measurement result, in method at the second based on terminal measurement size, during from the screen place plane of terminal and straight line parallel, be that starting point is rotated within the scope of predetermined angle, take continuously, the shooting attribute information that the image that in the image of shooting, maximum pixel number is corresponding is adopted is determined the length value of target object, wherein, image height essence when the image height that the shooting attribute information that the maximum corresponding image of shooting pixel value adopts comprises is parallel with target object with the screen place plane of terminal equates, and then the image height that equates of image height when parallel with target object according to the screen place plane with terminal calculates the length value of target object, like this, just avoided the error of measurement result, improved the accuracy of measurement result.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or a square frame of block scheme or a plurality of square frames.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the embodiment of the present invention the embodiment of the present invention.Like this, if within these of the embodiment of the present invention are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (24)
1. the method based on terminal measurement size, is characterized in that, comprising:
Straight line object for length value to be measured on target object, while forming the first angle between described straight line object and the plane at terminal screen place, described straight line object is taken to the first image, and obtain first while taking described the first image and take attribute information;
While forming the second angle between described straight line object and the plane at terminal screen place, described straight line object is taken to the second image, and obtain the differential seat angle of described the first angle and described the second angle, and second while taking described the second image taken attribute information;
According to described first, take attribute information, described second and take attribute information and described differential seat angle, the first image height that described the first shooting attribute information is comprised is changed, the first image height after conversion image height essence when parallel with described target object with described terminal screen place plane is equated, and according to the first image height after described the first shooting attribute information and described conversion, calculate the length value of described straight line object.
2. the method for claim 1, is characterized in that, described first takes attribute information also comprises the first image distance and the first focal length; Described second takes attribute information comprises the second image height, the second image distance and the second focal length; Described according to described the first shooting attribute information, described the second shooting attribute information and described differential seat angle, the first image height that described the first shooting attribute information is comprised is changed, and comprising:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the first angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the first angle, described the first image height is changed to the first image height after being changed;
The described length value that calculates described straight line object according to the first image height after described the first shooting attribute information and described conversion, comprising:
The first object distance that the first image distance comprising according to described the first shooting attribute information and the first focal length are determined described straight line object;
According to described the first object distance, described the first image distance, and the first image height after described conversion calculates the length value of described straight line object.
3. method as claimed in claim 2, is characterized in that, adopts following formula that described the first image height is changed, the first image height after being changed according to the angle value of described the first angle:
A
1=a
1/cosα
Wherein, A
1for the first image height, a after described conversion
1for described the first image height, α are the angle value of described the first angle.
4. method as claimed in claim 3, is characterized in that, according to described the first object distance, described the first image distance, and the first image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
1×A
1)/y
1
Wherein, L is length value, the u of described straight line object
1for described the first object distance, A
1for the first image height, the y after described conversion
1it is the first image distance.
5. the method for claim 1, is characterized in that, also comprises:
According to described first, take attribute information, described second and take attribute information and described differential seat angle, the second image height that described the second shooting attribute information is comprised is changed, the second image height after conversion image height essence when parallel with described target object with described terminal screen place plane is equated, and according to the length value of the described straight line object of the second image height calculating after described the second shooting attribute information and described conversion.
6. method as claimed in claim 5, is characterized in that, described first takes attribute information also comprises the first image distance and the first focal length; Described second takes attribute information comprises the second image height, the second image distance and the second focal length; According to described first, take attribute information, described second and take attribute information and described differential seat angle, the second image height that described the second shooting attribute information is comprised is changed, and comprising:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the second angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the second angle, described the second image height is changed to the second image height after being changed;
The described length value that calculates described straight line object according to the second image height after described the second shooting attribute information and described conversion, comprising:
The second object distance that the second image distance comprising according to described the second shooting attribute information and described the second focal length are determined described straight line object;
According to described the second object distance, described the second image distance, and the second image height after described conversion calculates the length value of described straight line object.
7. method as claimed in claim 6, is characterized in that, adopts following formula that described the second image height is changed, the second image height after being changed according to the angle value of described the second angle:
A
2=a
2/cos?m
Wherein, A
2for the second image height, a after described conversion
2for described the second image height, m are the angle value of described the second angle.
8. method as claimed in claim 7, is characterized in that, according to described the second object distance, described the second image distance, and the second image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
2×A
2)/y
2
Wherein, L is length value, the u of described straight line object
2for described the second object distance, A
2for the second image height, the y after described conversion
2it is the second image distance.
9. the method based on terminal measurement size, is characterized in that, comprising:
Straight line object for length value to be measured on target object, the straight line object vertical with described straight line object of take is turning axle, when parallel with described straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, take continuously described straight line object and obtain at least one image; And
Obtain the pixel count that described at least one image comprises respectively;
Determine the image that maximum pixel number is corresponding, and obtain the shooting attribute information adopting while taking image corresponding to maximum pixel number, wherein, described shooting attribute information comprises image height, and image height essence when described image height is parallel with described target object with terminal screen place plane equates;
According to described shooting attribute information, determine the length value of described straight line object.
10. method as claimed in claim 9, is characterized in that, described shooting attribute information also comprises image distance and focal length.
11. methods as claimed in claim 10, is characterized in that, determine the length value of described straight line object according to described shooting attribute information, comprising:
According to described image distance and described focal length, determine object distance;
Based on described image height, described image distance and described object distance, calculate the length value of described straight line object; Wherein, described image height and described object distance are all proportionate with the length value of described straight line object, and the length value of described image height and described straight line object is negative correlation.
12. methods as described in claim 9-11 any one, is characterized in that, described predetermined angle scope is (15 °, 15 °).
13. 1 kinds of terminal devices, is characterized in that, comprising:
Take unit, for the straight line object to length value to be measured on target object, take;
The first acquiring unit, for the straight line object for length value to be measured on target object, while forming the first angle between described straight line object and the plane at terminal screen place, call described shooting unit described straight line object is taken to the first image, and obtain first while taking described the first image and take attribute information;
Second acquisition unit, when forming the second angle between described straight line object and the plane at terminal screen place, calls described shooting unit described straight line object is taken to the second image, and obtains second while taking described the second image and take attribute information;
Differential seat angle determining unit, for obtaining the differential seat angle of described the first angle and described the second angle;
Converting unit, for taking attribute information, described second according to described first, take attribute information and described differential seat angle, by described first, take the first image height that attribute information comprises and change, the image height essence while making the first image height after conversion parallel with described target object with described terminal screen place plane equates;
Computing unit, for calculating the length value of described straight line object according to the first image height after described the first shooting attribute information and described conversion.
14. terminal devices as claimed in claim 13, is characterized in that, the first shooting attribute information that described the first acquiring unit obtains also comprises the first image distance and the first focal length; The second shooting attribute information that described second acquisition unit obtains comprises the second image height, the second image distance and the second focal length; Described converting unit specifically for:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the first angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the first angle, described the first image height is changed to the first image height after being changed;
Described computing unit specifically for: according to described first, take the first object distance that the first image distance that attribute information comprises and the first focal length are determined described straight line object;
According to described the first object distance, described the first image distance, and the first image height after described conversion calculates the length value of described straight line object.
15. terminal devices as claimed in claim 14, it is characterized in that, aspect described the first image height being changed according to the angle value of described the first angle, described converting unit specifically for: according to the angle value of described the first angle, adopt following formula that described the first image height is changed, the first image height after being changed:
A
1=a
1/cosα
Wherein, A
1for the first image height, a after described conversion
1for described the first image height, α are the angle value of described the first angle.
16. terminal devices as claimed in claim 15, it is characterized in that, according to described the first object distance, described the first image distance, and the first image height after described conversion calculates the aspect of the length value of described straight line object, described computing unit specifically for: according to described the first object distance, described the first image distance, and the first image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
1×A
1)/y
1
Wherein, L is length value, the u of described straight line object
1for described the first object distance, A
1for the first image height, the y after described conversion
1it is the first image distance.
17. terminal devices as claimed in claim 13, is characterized in that, described converting unit also for:
According to described first, take attribute information, described second and take attribute information and described differential seat angle, by described second, take the second image height that attribute information comprises and change, the image height essence while making the second image height after conversion parallel with described target object with described terminal screen place plane equates;
Described computing unit also for: according to described second, take the length value that the second image height after attribute information and described conversion calculates described straight line object.
18. terminal devices as claimed in claim 17, is characterized in that, the first shooting attribute information that described the first acquiring unit obtains also comprises the first image distance and the first focal length; The second shooting attribute information that described second acquisition unit obtains comprises the second image height, the second image distance and the second focal length; Described converting unit also for:
The first image distance, the first focal length, the first image height, described second based in described the first shooting attribute information taken the angle value of definite described the second angle forming of the second image distance, the second focal length, the second image height and described differential seat angle in attribute information;
According to the angle value of described the second angle, described the second image height is changed to the second image height after being changed;
Described computing unit also for: according to described second, take the second object distance that the second image distance that attribute information comprises and described the second focal length are determined described straight line object;
According to described the second object distance, described the second image distance, and the second image height after described conversion calculates the length value of described straight line object.
19. terminal devices as claimed in claim 18, it is characterized in that, according to the angle value of described the second angle, described the second image height is being changed, the aspect of the second image height after being changed, described converting unit specifically for: according to the angle value of described the second angle, adopt following formula that described the second image height is changed, the second image height after being changed:
A
2=a
2/cos?m
Wherein, A
2for the second image height, a after described conversion
2for described the second image height, m are the angle value of described the second angle.
20. terminal devices as claimed in claim 19, it is characterized in that, according to described the second object distance, described the second image distance, and the second image height after described conversion calculates the aspect of the length value of described straight line object, described computing unit specifically for: according to described the second object distance, described the second image distance, and the second image height after described conversion adopts following formula to calculate the length value of described straight line object:
L=(u
2×A
2)/y
2
Wherein, L is length value, the u of described straight line object
2for described the second object distance, A
2for the second image height, the y after described conversion
2it is the second image distance.
21. 1 kinds of terminal devices, is characterized in that, comprising:
Take unit, for the straight line object to length value to be measured on target object, take;
Take control module, for the straight line object for length value to be measured on target object, the straight line object vertical with described straight line object of take is turning axle, when parallel with described straight line object from the screen place plane of terminal, be that starting point is rotated within the scope of predetermined angle, call described shooting unit and take continuously described straight line object and obtain at least one image;
The first acquiring unit, the pixel count comprising respectively for obtaining described at least one image;
Second acquisition unit, for determining image corresponding to maximum pixel number, and obtain the shooting attribute information adopting while taking image corresponding to maximum pixel number, wherein, described shooting attribute information comprises image height, and image height essence when described image height is parallel with described target object with terminal screen place plane equates;
Determining unit, for determining the length value of described straight line object according to described shooting attribute information.
22. terminal devices as claimed in claim 21, is characterized in that, the shooting attribute information that described second acquisition unit obtains also comprises image distance and focal length.
23. terminal devices as claimed in claim 22, is characterized in that, described determining unit specifically for:
According to described image distance and described focal length, determine object distance;
Based on described image height, described image distance and described object distance, calculate the length value of described straight line object; Wherein, described image height and described object distance are all proportionate with the length value of described straight line object, and the length value of described image height and described straight line object is negative correlation.
24. terminal devices as described in claim 21-23 any one, is characterized in that, the predetermined angle scope that described shooting control module is controlled described shooting unit photographs image is (15 °, 15 °).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310699630.8A CN103697820B (en) | 2013-12-17 | 2013-12-17 | Method for measuring sizes based on terminal and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310699630.8A CN103697820B (en) | 2013-12-17 | 2013-12-17 | Method for measuring sizes based on terminal and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103697820A true CN103697820A (en) | 2014-04-02 |
CN103697820B CN103697820B (en) | 2017-04-12 |
Family
ID=50359432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310699630.8A Active CN103697820B (en) | 2013-12-17 | 2013-12-17 | Method for measuring sizes based on terminal and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103697820B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104279960A (en) * | 2014-10-14 | 2015-01-14 | 安徽大学 | Method for measuring size of object by mobile equipment |
CN104534992A (en) * | 2014-12-23 | 2015-04-22 | 广东欧珀移动通信有限公司 | Length measurement method and terminal |
CN105894545A (en) * | 2016-03-31 | 2016-08-24 | 维沃移动通信有限公司 | Length measuring method and mobile terminal |
CN105973140A (en) * | 2016-04-29 | 2016-09-28 | 维沃移动通信有限公司 | Method of measuring object spatial parameters and mobile terminal |
CN106338248A (en) * | 2016-09-30 | 2017-01-18 | 宇龙计算机通信科技(深圳)有限公司 | Terminal-based distance detection method and apparatus |
CN107280118A (en) * | 2016-03-30 | 2017-10-24 | 深圳市祈飞科技有限公司 | A kind of Human Height information acquisition method and the fitting cabinet system using this method |
CN107753028A (en) * | 2017-09-19 | 2018-03-06 | 努比亚技术有限公司 | Take pictures and survey method, mobile terminal and the computer-readable recording medium of height |
CN109269402A (en) * | 2017-07-17 | 2019-01-25 | 天津玛特检测设备有限公司 | The detection system of view-based access control model measurement |
CN109520419A (en) * | 2018-12-06 | 2019-03-26 | 闻泰通讯股份有限公司 | Pass through the method, device and mobile terminal of image measurement dimension of object |
CN110596660A (en) * | 2019-10-09 | 2019-12-20 | 富临精工先进传感器科技(成都)有限责任公司 | Method and system for improving accuracy of radar measurement object size |
CN112418025A (en) * | 2020-11-10 | 2021-02-26 | 广州富港万嘉智能科技有限公司 | Weight detection method and device based on deep learning |
CN112464747A (en) * | 2020-11-10 | 2021-03-09 | 广州富港万嘉智能科技有限公司 | Height detection method and device based on image acquisition equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1148316A1 (en) * | 1998-12-03 | 2001-10-24 | Technowave, Ltd. | Information reader |
JP2005249438A (en) * | 2004-03-02 | 2005-09-15 | Nec Corp | Mobile communication terminal with camera and height measuring method by the same |
CN101539422A (en) * | 2009-04-22 | 2009-09-23 | 北京航空航天大学 | Monocular vision real time distance measure method |
CN102102978A (en) * | 2009-12-16 | 2011-06-22 | Tcl集团股份有限公司 | Handheld terminal, and method and device for measuring object by using same |
CN102607423A (en) * | 2011-03-03 | 2012-07-25 | 裵相模 | Method for measuring real size of object using camera of mobile terminal |
CN103063138A (en) * | 2013-01-24 | 2013-04-24 | 惠州Tcl移动通信有限公司 | Methods for measuring size and speed of object by camera of mobile terminal, and mobile terminal |
CN103206919A (en) * | 2012-07-31 | 2013-07-17 | 广州三星通信技术研究有限公司 | Device and method used for measuring object size in portable terminal |
-
2013
- 2013-12-17 CN CN201310699630.8A patent/CN103697820B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1148316A1 (en) * | 1998-12-03 | 2001-10-24 | Technowave, Ltd. | Information reader |
JP2005249438A (en) * | 2004-03-02 | 2005-09-15 | Nec Corp | Mobile communication terminal with camera and height measuring method by the same |
CN101539422A (en) * | 2009-04-22 | 2009-09-23 | 北京航空航天大学 | Monocular vision real time distance measure method |
CN102102978A (en) * | 2009-12-16 | 2011-06-22 | Tcl集团股份有限公司 | Handheld terminal, and method and device for measuring object by using same |
CN102607423A (en) * | 2011-03-03 | 2012-07-25 | 裵相模 | Method for measuring real size of object using camera of mobile terminal |
CN103206919A (en) * | 2012-07-31 | 2013-07-17 | 广州三星通信技术研究有限公司 | Device and method used for measuring object size in portable terminal |
CN103063138A (en) * | 2013-01-24 | 2013-04-24 | 惠州Tcl移动通信有限公司 | Methods for measuring size and speed of object by camera of mobile terminal, and mobile terminal |
Non-Patent Citations (1)
Title |
---|
孙振路等: "便携式CCD尺寸检测技术研究", 《长春理工大学学报》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104279960B (en) * | 2014-10-14 | 2017-01-25 | 安徽大学 | Method for measuring size of object by mobile equipment |
CN104279960A (en) * | 2014-10-14 | 2015-01-14 | 安徽大学 | Method for measuring size of object by mobile equipment |
CN104534992A (en) * | 2014-12-23 | 2015-04-22 | 广东欧珀移动通信有限公司 | Length measurement method and terminal |
CN104534992B (en) * | 2014-12-23 | 2018-01-19 | 广东欧珀移动通信有限公司 | A kind of length measurement method and terminal |
CN108050943A (en) * | 2014-12-23 | 2018-05-18 | 广东欧珀移动通信有限公司 | A kind of length measurement method and terminal |
CN107280118B (en) * | 2016-03-30 | 2019-11-12 | 深圳市祈飞科技有限公司 | A kind of Human Height information acquisition method and the fitting cabinet system using this method |
CN107280118A (en) * | 2016-03-30 | 2017-10-24 | 深圳市祈飞科技有限公司 | A kind of Human Height information acquisition method and the fitting cabinet system using this method |
CN105894545A (en) * | 2016-03-31 | 2016-08-24 | 维沃移动通信有限公司 | Length measuring method and mobile terminal |
CN105973140A (en) * | 2016-04-29 | 2016-09-28 | 维沃移动通信有限公司 | Method of measuring object spatial parameters and mobile terminal |
CN106338248A (en) * | 2016-09-30 | 2017-01-18 | 宇龙计算机通信科技(深圳)有限公司 | Terminal-based distance detection method and apparatus |
CN106338248B (en) * | 2016-09-30 | 2019-01-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and device of the detecting distance based on terminal |
CN109269402A (en) * | 2017-07-17 | 2019-01-25 | 天津玛特检测设备有限公司 | The detection system of view-based access control model measurement |
CN107753028A (en) * | 2017-09-19 | 2018-03-06 | 努比亚技术有限公司 | Take pictures and survey method, mobile terminal and the computer-readable recording medium of height |
CN109520419A (en) * | 2018-12-06 | 2019-03-26 | 闻泰通讯股份有限公司 | Pass through the method, device and mobile terminal of image measurement dimension of object |
CN110596660A (en) * | 2019-10-09 | 2019-12-20 | 富临精工先进传感器科技(成都)有限责任公司 | Method and system for improving accuracy of radar measurement object size |
CN112418025A (en) * | 2020-11-10 | 2021-02-26 | 广州富港万嘉智能科技有限公司 | Weight detection method and device based on deep learning |
CN112464747A (en) * | 2020-11-10 | 2021-03-09 | 广州富港万嘉智能科技有限公司 | Height detection method and device based on image acquisition equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103697820B (en) | 2017-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103697820A (en) | Method for measuring sizes based on terminal and terminal equipment | |
CN102901473B (en) | Measure coordinates correction system and method | |
KR101690965B1 (en) | Machine vision system calibration using inaccurate calibration targets | |
CN105444678B (en) | Handset size measuring method and system | |
CN103578133B (en) | A kind of method and apparatus that two-dimensional image information is carried out to three-dimensional reconstruction | |
CN111179339A (en) | Coordinate positioning method, device and equipment based on triangulation and storage medium | |
US20150170399A1 (en) | Method and apparatus for calibrating a three-dimensional (3d) image in a tiled display | |
CN112825190B (en) | Precision evaluation method, system, electronic equipment and storage medium | |
CN103438826B (en) | The three-dimension measuring system of the steel plate that laser combines with vision and method | |
CN111189403B (en) | Tunnel deformation monitoring method and device and computer readable storage medium | |
US20190287257A1 (en) | Method and system for measuring the distance to remote objects | |
CN106570907B (en) | Camera calibration method and device | |
US20100061622A1 (en) | Method for aligning objects | |
CN108235777B (en) | Calibration method and device of ADAS camera, storage medium and terminal equipment | |
CN106643518A (en) | Methods and apparatuses for measuring distance and size by using binocular image pickup device | |
CN112486093A (en) | Method, apparatus, device and medium for compensating for platform accuracy | |
CN104913775A (en) | Method for measuring height of transmission line of unmanned aerial vehicle and method and device for positioning unmanned aerial vehicle | |
CN103940375A (en) | Angle measuring method and device and electronic equipment | |
CN114049401A (en) | Binocular camera calibration method, device, equipment and medium | |
CN107504959B (en) | Method for measuring house wall base outline by utilizing inclined aerial image | |
CN112504156A (en) | Structural surface strain measurement system and measurement method based on foreground grid | |
CN117252837A (en) | Data processing method and device for wafer test, medium and electronic equipment | |
CN113628284B (en) | Pose calibration data set generation method, device and system, electronic equipment and medium | |
CN110675445B (en) | Visual positioning method, device and storage medium | |
CN117115233B (en) | Dimension measurement method and device based on machine vision and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200415 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd. Address before: 301, A building, room 3, building 301, foreshore Road, No. 310052, Binjiang District, Zhejiang, Hangzhou Patentee before: Huawei Technologies Co.,Ltd. |
|
TR01 | Transfer of patent right |