CN105423916A - Measurement method and measurement system for object dimension - Google Patents

Measurement method and measurement system for object dimension Download PDF

Info

Publication number
CN105423916A
CN105423916A CN201510855966.8A CN201510855966A CN105423916A CN 105423916 A CN105423916 A CN 105423916A CN 201510855966 A CN201510855966 A CN 201510855966A CN 105423916 A CN105423916 A CN 105423916A
Authority
CN
China
Prior art keywords
image
focus
photo
pixel dimensions
physical size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510855966.8A
Other languages
Chinese (zh)
Other versions
CN105423916B (en
Inventor
胡昌玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510855966.8A priority Critical patent/CN105423916B/en
Publication of CN105423916A publication Critical patent/CN105423916A/en
Application granted granted Critical
Publication of CN105423916B publication Critical patent/CN105423916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques

Abstract

The invention, which belongs to the field of the electronic technology, provides a measurement method and measurement system for an object dimension. Therefore, problems that the existing method for measuring the dimension of the object in a picture is complicated, the identification rate is low, and the universality is poor can be solved. The measurement method comprises: a distance between a focus and an object in a picture is measured; a pixel dimension of the object is generated; an actual dimension of a reference image is generated; and according to the distance between the focus and the object in the picture, the pixel dimension of the object, and the actual dimension of the reference image, the actual dimension of the object is generated.

Description

A kind of measuring method of dimension of object and measuring system
Technical field
The invention belongs to electronic technology field, be specifically related to a kind of measuring method and measuring system of dimension of object.
Background technology
In general, be difficult to the size measuring a certain certain objects on photo exactly on a photo, can only by the object of reference in this certain objects and scene being carried out contrast the size estimating this certain objects, but when the depth of field of the object in photo is different, namely object of reference and this certain objects be not in same level, but when being in front and back position relation, want the size measuring this certain objects just to become more difficult.
At present, in measurement picture, the size of certain objects is all the knowledge such as projection, geometry projective transformation by complexity, in conjunction with the algorithm of complicated computer vision, realizes the measurement of the size to certain objects in picture.
But at least there are the following problems in prior art: active computer field judges the method for photo dimension of object, substantially theory and the algorithm of complicated perspective geometry and machine vision is depended on, and the object of reference be limited in photo is not enough, the identification rate variance of the size of object in comparison film, and versatility is low.
Summary of the invention
The method that the present invention is directed to dimension of object in existing measurement photo is complicated, identify rate variance and the low problem of versatility, provide a kind of can quick, easy and method that is dimension of object in the measurement photo that versatility is high.
The technical scheme that solution the technology of the present invention problem adopts is a kind of measuring method of dimension of object, comprising:
Measure the distance between object in focus and photo;
Generate the Pixel Dimensions of object;
Generate the physical size with reference to image;
The physical size of described object is generated according to the Pixel Dimensions of the distance in described focus and photo between object, described object and the physical size of described reference image.
Wherein, before the distance in described measurement focus and photo between object, also comprise:
Described object is taken pictures, draws described photo;
A focus is selected according to described object.
Wherein, before the distance in described measurement focus and photo between object, also comprise:
To described object shooting visible images or invisible light image;
Described visible images or described invisible light image are carried out matching, draws described photo;
A focus is selected according to described object.
Wherein, the Pixel Dimensions of described generation object comprises:
The border of described object is identified, draws the Boundary Recognition result of described object;
The Pixel Dimensions of described object is calculated according to described recognition result.
Wherein, after the described physical size generated with reference to image, also comprise:
Generate the minimum pixel size with reference to image;
Judge whether to carry out dimensional measurement to described object with reference to the minimum pixel size of image and the Pixel Dimensions of described object according to described, if the described minimum pixel size with reference to image is less than the Pixel Dimensions of described object, then the physical size performing the described Pixel Dimensions according to the distance between described focus and object, described object and described reference image generates the physical size of described object;
Identify the color of described object, and with reference to the color of image according to the color adaptation of described object, to make the described color with reference to image different from the color of described object.
Wherein, after the described physical size generated with reference to image, also comprise:
Record the distance between object in described focus and photo;
Record the Pixel Dimensions of described object;
Record the described physical size with reference to image.
As another technical scheme, the present invention also provides a kind of measuring system of dimension of object, comprising:
Range finder module, for measuring the distance in focus and photo between object;
Pixel Dimensions generation module, for generating the Pixel Dimensions of object; For generating the minimum pixel size with reference to image;
Picture size generation module, for generating the physical size with reference to image; For calculating the physical size of described object according to the Pixel Dimensions of the distance in described focus and photo between object, described object and the physical size of described reference image.
Wherein, described measuring system also comprises:
Taking module, for taking pictures to object, draws described photo; A focus is selected according to described object.
Wherein, described measuring system also comprises: taking module and picture fitting module;
Described taking module, for taking visible images or invisible light image to described object; A focus is selected according to described object;
Described picture fitting module, for described visible images or described invisible light image are carried out matching, draws described photo.
Wherein, described Pixel Dimensions generation module comprises picture recognition module;
Described picture recognition module, for identifying the border of described object, draws the Boundary Recognition result of described object;
Described Pixel Dimensions generation module, specifically for calculating the Pixel Dimensions of described object according to described recognition result.
Wherein, described measuring system also comprises judge module and colour recognition module;
Described judge module, for judging whether to carry out dimensional measurement to described object with reference to the minimum pixel size of image and the Pixel Dimensions of described object according to described, if the described minimum pixel size with reference to image is less than the Pixel Dimensions of described object, then the physical size performing the described Pixel Dimensions according to the distance between described focus and object, described object and described reference image generates the physical size of described object;
Described colour recognition module, for identifying the color of described object, and with reference to the color of image according to the color adaptation of described object, to make the described color with reference to image different from the color of described object.
Wherein, described measuring system also comprises logging modle:
Described logging modle, for recording the distance in described focus and photo between object; Record the Pixel Dimensions of described object; Record the described physical size with reference to image.
In the measuring method of dimension of object of the present invention and measuring system, the measuring method of this dimension of object, Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale.
The measuring method of dimension of object of the present invention and measuring system be applicable to the modeling of three-dimensional body, map, streetscape, to fields such as the size modelings of object.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the measuring method of the dimension of object of embodiments of the invention 1;
Fig. 2 is the schematic flow sheet of the measuring method of the dimension of object of embodiments of the invention 2
Fig. 3 is the schematic flow sheet of the measuring method of the dimension of object of embodiments of the invention 3;
Fig. 4 is the structural representation of the measuring system of the dimension of object of embodiments of the invention 4;
Fig. 5 is the structural representation of the measuring system of the dimension of object of embodiments of the invention 5;
Fig. 6 is the structural representation of the measuring system of the dimension of object of embodiments of the invention 6;
Wherein, Reference numeral is: 1, range finder module; 2, Pixel Dimensions generation module; 21, picture recognition module; 3, picture size generation module; 4, taking module; 5, picture fitting module; 6, judge module; 7, colour recognition module; 8, logging modle.
Embodiment
For making those skilled in the art understand technical scheme of the present invention better, below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Embodiment 1:
Please refer to Fig. 1, the present embodiment provides a kind of measuring method of dimension of object, comprising:
Step 101, measures the distance between object in focus and photo.
Step 102, generates the Pixel Dimensions of object.
Step 103, generates the physical size with reference to image.
Step 104, the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object.
The measuring method of the dimension of object of the present embodiment, Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale.
Embodiment 2:
Please refer to Fig. 2, the present embodiment provides a kind of measuring method of dimension of object, comprising:
Step 201, takes pictures to object, draws photo.
Photo in the present embodiment is entity photo, i.e. in esse photo, certainly, also after taking pictures to object, can not draw entity photo, but must generating pictures data, i.e. generating virtual photo, for for needing the object of measurement size to focus.
Step 202, selects a focus according to object.
When unique for the focus needing the object of measurement size automatically to generate, this focus is directly selected to focus; When not unique for the focus needing the object of measurement size automatically to generate, user needs to select a focus to focus in the focus automatically generated at these.
Step 203, measures the distance between object in focus and photo.
Be understandable that, because the equipment for taking pictures is in user's hand, therefore, the distance in focus and photo between object is the distance between user and object.
Step 204, generates the Pixel Dimensions of object.
Step 2041, identifies the border of object, draws the Boundary Recognition result of object.
Step 2042, calculates the Pixel Dimensions of object according to recognition result.
That is, first the border of object is identified, namely obtain the profile of this object, then calculate the Pixel Dimensions of object according to the profile of this object.
Step 205, generates the physical size with reference to image.
Wherein, be generally circle, the rule such as square, symmetrical figure with reference to image, to calculate the physical size with reference to image, certainly, the shape with reference to image is not limited thereto, and can also be other shapes, not repeat them here.
Step 206, generates the minimum pixel size with reference to image.
Minimum pixel size with reference to image draws when minimum transmitting angle, and so-called minimum transmitting angle is the special parameter for the equipment of taking pictures, and is a definite value.
Step 207, judge whether to carry out dimensional measurement to object according to reference to the minimum pixel size of image and the Pixel Dimensions of object, if the minimum pixel size of reference image is less than the Pixel Dimensions of object, then perform the physical size of the Pixel Dimensions according to the distance between focus and object, object and the generation of the physical size with reference to image object.
If the size with reference to image is significantly less than the size of object, Size calculation error can be there is, cause the actual measured results of object inaccurate, therefore, when the size with reference to image is significantly less than the size of object, the size with reference to image can be regulated, for reference image for circle, amplify circular size, diametrically two of this circle respectively with focus line, the angle being positioned at focus place is actual transmission angle, regulates actual transmission angle, makes circular border close to the border of object.It should be noted that the border with reference to image can not exceed the border of object.
Be understandable that, when the minimum pixel size with reference to image is less than the Pixel Dimensions of object, then carry out dimensional measurement to object, the physical size namely performing the Pixel Dimensions according to the distance between focus and object, object and the generation of the physical size with reference to image object obtains step; When the minimum pixel size with reference to image is greater than the Pixel Dimensions of object, then dimensional measurement is not carried out to object.
Step 208, the color of recognition object, and according to the color adaptation of the object color with reference to image, to make with reference to the color of image and the color of object.
Why so arrange, be due to when the color of reference image is different from the color of object, be conducive to the binaryzation of photograph image, namely form black white image; And, if close with reference to the color of color and the object of image, then cannot find out the position of reference image, be unfavorable for the measurement of object physical size.
Step 209, records the distance between object in focus and photo; The Pixel Dimensions of record object; Record is with reference to the physical size of image.
Why record the distance in focus and photo between object, the Pixel Dimensions of object and the physical size with reference to image, due to after these data are recorded, when using other image processing softwares to read the photo (comprising entity photo and virtual photo) that this method photographs, the distance in the focus of this photo and photo between object, the Pixel Dimensions of object and the physical size with reference to image can be read, thus the physical size of object in photo can be gone out according to these data estimations.
Certainly, this step 209 can perform as a step, also can be divided into three steps and perform, and after the distance namely measured in focus and photo between object in step 203, directly records the distance in focus and photo between object; Generate the Pixel Dimensions of object in step 204 after, directly record the Pixel Dimensions of object; After the physical size that step 205 generates with reference to image, directly record is with reference to the physical size of image.
In the present embodiment, the step recording the distance in focus and photo between object, the Pixel Dimensions of object and the physical size of reference image can overall perform, also multistep can be divided to perform, do not limit at this, as long as can distance in focusing and photo between object, object Pixel Dimensions and carry out recording with reference to the physical size of image, for for carrying out subsequent treatment to picture.
Step 210, the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object.
Step 2101, the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image, adopt triangle principle to calculate the physical size of object.
Certainly, the mode that the Pixel Dimensions according to the distance between focus and object, object and the physical size with reference to image generate the physical size of object is not limited to triangle principle, can also adopt additive method, not repeat them here.
The measuring method of the dimension of object of the present embodiment, Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale.
Embodiment 3:
Please refer to Fig. 3, the present embodiment provides a kind of measuring method of dimension of object, comprising:
Step 301, to object shooting visible images or invisible light image.
When environment residing for object be incandescent or extremely dark time, need object shooting visible images or invisible light image.For pole dark situation, when environment residing for object is extremely dark, shooting invisible light image, as infrared image.
Step 302, carries out matching by visible images or invisible light image, draws photo.
Photo in the present embodiment is entity photo, i.e. in esse photo, certainly, after visible images or invisible light image are carried out matching, also can not draw entity photo, but necessary generating pictures data, i.e. generating virtual photo, for for needing the object of measurement size to focus.
Step 303, selects a focus according to object.
When unique for the focus needing the object of measurement size automatically to generate, this focus is directly selected to focus; When not unique for the focus needing the object of measurement size automatically to generate, user needs to select a focus to focus in the focus automatically generated at these.
Step 304, measures the distance between object in focus and photo.
Be understandable that, because the equipment for taking pictures is in user's hand, therefore, the distance in focus and photo between object is the distance between user and object.
Step 305, generates the Pixel Dimensions of object.
Step 3051, identifies the border of object, draws the Boundary Recognition result of object.
Step 3052, calculates the Pixel Dimensions of object according to recognition result.
That is, first the border of object is identified, namely obtain the profile of this object, then calculate the Pixel Dimensions of object according to the profile of this object.
Step 306, generates the physical size with reference to image.
Wherein, be generally circle, the rule such as square, symmetrical figure with reference to image, to calculate the physical size with reference to image, certainly, the shape with reference to image is not limited thereto, and can also be other shapes, not repeat them here.
Step 307, generates the minimum pixel size with reference to image.
Minimum pixel size with reference to image draws when minimum transmitting angle, and so-called minimum transmitting angle is the special parameter for the equipment of taking pictures, and is a definite value.
Step 308, judge whether to carry out dimensional measurement to object according to reference to the minimum pixel size of image and the Pixel Dimensions of object, if the minimum pixel size of reference image is less than the Pixel Dimensions of object, then perform the physical size of the Pixel Dimensions according to the distance between focus and object, object and the generation of the physical size with reference to image object.
If the size with reference to image is significantly less than the size of object, Size calculation error can be there is, cause the actual measured results of object inaccurate, therefore, when the size with reference to image is significantly less than the size of object, the size with reference to image can be regulated, for reference image for circle, amplify circular size, diametrically two of this circle respectively with focus line, the angle being positioned at focus place is actual transmission angle, regulates actual transmission angle, makes circular border close to the border of object.It should be noted that the border with reference to image can not exceed the border of object.
Be understandable that, when the minimum pixel size with reference to image is less than the Pixel Dimensions of object, then carry out dimensional measurement to object, the physical size namely performing the Pixel Dimensions according to the distance between focus and object, object and the generation of the physical size with reference to image object obtains step; When the minimum pixel size with reference to image is greater than the Pixel Dimensions of object, then dimensional measurement is not carried out to object.
Step 309, the color of recognition object, and according to the color adaptation of the object color with reference to image, to make the color with reference to image different from the color of object.
Why so arrange, be due to when the color of reference image is different from the color of object, be conducive to the binaryzation of photograph image, namely form black white image; And, if close with reference to the color of color and the object of image, then cannot find out the position of reference image, be unfavorable for the measurement of object physical size.
Step 310, records the distance between object in focus and photo; The Pixel Dimensions of record object; Record is with reference to the physical size of image.
Why record the distance in focus and photo between object, the Pixel Dimensions of object and the physical size with reference to image, due to after these data are recorded, when using other image processing softwares to read the photo (comprising entity photo and virtual photo) that this method photographs, the distance in the focus of this photo and photo between object, the Pixel Dimensions of object and the physical size with reference to image can be read, thus the physical size of object in photo can be gone out according to these data estimations.
Certainly, this step 310 can perform as a step, also can be divided into three steps and perform, and after the distance namely measured in focus and photo between object in step 303, directly records the distance in focus and photo between object; Generate the Pixel Dimensions of object in step 305 after, directly record the Pixel Dimensions of object; After the physical size that step 306 generates with reference to image, directly record is with reference to the physical size of image.
In the present embodiment, the step recording the distance in focus and photo between object, the Pixel Dimensions of object and the physical size of reference image can overall perform, also multistep can be divided to perform, do not limit at this, as long as can distance in focusing and photo between object, object Pixel Dimensions and carry out recording with reference to the physical size of image, for for carrying out subsequent treatment to picture.
Step 311, the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object.
Step 3111, the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image, adopt triangle principle to calculate the physical size of object.
Certainly, the mode that the Pixel Dimensions according to the distance between focus and object, object and the physical size with reference to image generate the physical size of object is not limited to triangle principle, can also adopt additive method, not repeat them here.
The measuring method of the dimension of object of the present embodiment, Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image generate the physical size of object, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale; And, in the measuring method of this dimension of object, visible images or invisible light image are carried out matching, draw the photo that can be used in measuring dimension of object, expand the range of application of the measuring method of this dimension of object.
Embodiment 4:
Please refer to Fig. 4, present embodiments provide a kind of measuring system of dimension of object, comprising: range finder module 1, Pixel Dimensions generation module 2 and picture size generation module 3.
Range finder module 1 is for measuring the distance in focus and photo between object.
Pixel Dimensions generation module 2 is for generating the Pixel Dimensions of object; For generating the minimum pixel size with reference to image.
Picture size generation module 3 is for generating the physical size with reference to image; The physical size of object is calculated for the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image.
The measuring system of the dimension of object that the present embodiment provides can be used for the measuring method of the dimension of object realizing above-described embodiment 1, specifically describes and please refer to above-described embodiment 1.
In the measuring system of the dimension of object of the present embodiment, picture size generation module 3 is according to the Pixel Dimensions of the distance in focus and photo between object, object and the physical size generating object with reference to the physical size of image, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale.
Embodiment 5:
Please refer to Fig. 5, present embodiments provide a kind of measuring system of dimension of object, comprising: range finder module 1, Pixel Dimensions generation module 2, picture size generation module 3, taking module 4, judge module 6, colour recognition module 7 and logging modle 8.
Range finder module 1 is for measuring the distance in focus and photo between object.
Be understandable that, because the equipment for taking pictures is in user's hand, therefore, the distance in focus and photo between object is the distance between user and object.
Pixel Dimensions generation module 2 is for generating the Pixel Dimensions of object; For generating the minimum pixel size with reference to image.
Wherein, be generally circle, the rule such as square, symmetrical figure with reference to image, to calculate the minimum pixel size with reference to image, certainly, the shape with reference to image is not limited thereto, and can also be other shapes, not repeat them here.
Wherein, the minimum pixel size with reference to image draws when minimum transmitting angle, and so-called minimum transmitting angle is the special parameter for the equipment of taking pictures, and is a definite value.
Picture size generation module 3 is for generating the physical size with reference to image; The physical size of object is calculated for the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image.
Wherein, picture size generation module 3, specifically for the Pixel Dimensions according to the distance between focus and object, object and the physical size with reference to image, adopts triangle principle to calculate the physical size of object.
Certainly, the mode that the Pixel Dimensions according to the distance between focus and object, object and the physical size with reference to image generate the physical size of object is not limited to triangle principle, can also adopt additive method, not repeat them here.
Taking module 4, for taking pictures to object, draws photo; A focus is selected according to object.
Wherein, Pixel Dimensions generation module 2 comprises picture recognition module 21.
Picture recognition module 21, for identifying the border of object, draws the Boundary Recognition result of object.
Pixel Dimensions generation module, specifically for calculating the Pixel Dimensions of object according to recognition result.
Wherein, measuring system also comprises: judge module 6 and colour recognition module 7.
Judge module 6 is for judging whether to carry out dimensional measurement to object according to reference to the minimum pixel size of image and the Pixel Dimensions of object, if the minimum pixel size of reference image is less than the Pixel Dimensions of object, then perform the physical size of the Pixel Dimensions according to the distance between focus and object, object and the generation of the physical size with reference to image object.
Colour recognition module 7 for the color of recognition object, and according to the color adaptation of the object color with reference to image, to make the color with reference to image different from the color of object.
Wherein, measuring system also comprises logging modle 8.
Logging modle 8 is for recording the distance in described focus and photo between object; Record the Pixel Dimensions of described object; Record the described physical size with reference to image.
The measuring system of the dimension of object that the present embodiment provides can be used for the measuring method of the dimension of object realizing above-described embodiment 2, specifically describes and please refer to above-described embodiment 2.
In the measuring system of the dimension of object of the present embodiment, picture size generation module 3 is according to the Pixel Dimensions of the distance in focus and photo between object, object and the physical size generating object with reference to the physical size of image, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale.
Embodiment 6:
Please refer to Fig. 6, present embodiments provide a kind of measuring system of dimension of object, comprising: range finder module 1, Pixel Dimensions generation module 2, picture size generation module 3, taking module 4, picture fitting module 5, judge module 6, colour recognition module 7 and logging modle 8.
Range finder module 1 is for measuring the distance in focus and photo between object.
Be understandable that, because the equipment for taking pictures is in user's hand, therefore, the distance in focus and photo between object is the distance between user and object.
Pixel Dimensions generation module 2 is for generating the Pixel Dimensions of object; For generating the minimum pixel size with reference to image.
Wherein, be generally circle, the rule such as square, symmetrical figure with reference to image, to calculate the minimum pixel size with reference to image, certainly, the shape with reference to image is not limited thereto, and can also be other shapes, not repeat them here.
Wherein, the minimum pixel size with reference to image draws when minimum transmitting angle, and so-called minimum transmitting angle is the special parameter for the equipment of taking pictures, and is a definite value.
Picture size generation module 3 is for generating the physical size with reference to image; The physical size of object is calculated for the Pixel Dimensions according to the distance in focus and photo between object, object and the physical size with reference to image.
Wherein, picture size generation module 3, specifically for the Pixel Dimensions according to the distance between focus and object, object and the physical size with reference to image, adopts triangle principle to calculate the physical size of object.
Certainly, the mode that the Pixel Dimensions according to the distance between focus and object, object and the physical size with reference to image generate the physical size of object is not limited to triangle principle, can also adopt additive method, not repeat them here.
Taking module 4 is for taking visible images or invisible light image to object; A focus is selected according to object.
Picture fitting module 5, for visible images or invisible light image are carried out matching, draws photo.
Wherein, Pixel Dimensions generation module 2 comprises picture recognition module 21.
Picture recognition module 21, for identifying the border of object, draws the Boundary Recognition result of object.
Pixel Dimensions generation module, specifically for calculating the Pixel Dimensions of object according to recognition result.
Wherein, measuring system also comprises: judge module 6 and colour recognition module 7.
Judge module 6 is for judging whether to carry out dimensional measurement to object according to reference to the minimum pixel size of image and the Pixel Dimensions of object, if the minimum pixel size of reference image is less than the Pixel Dimensions of object, then perform the physical size of the Pixel Dimensions according to the distance between focus and object, object and the generation of the physical size with reference to image object.
Colour recognition module 7 for the color of recognition object, and according to the color adaptation of the object color with reference to image, to make the color with reference to image different from the color of object.
Wherein, measuring system also comprises logging modle 8.
Logging modle 8 is for recording the distance in described focus and photo between object; Record the Pixel Dimensions of described object; Record the described physical size with reference to image.
The measuring system of the dimension of object that the present embodiment provides can be used for the measuring method of the dimension of object realizing above-described embodiment 3, specifically describes and please refer to above-described embodiment 3.
In the measuring system of the dimension of object of the present embodiment, picture size generation module 3 is according to the Pixel Dimensions of the distance in focus and photo between object, object and the physical size generating object with reference to the physical size of image, without the need to depending on theory and the algorithm of complicated perspective geometry and machine vision, and not by the restriction of the object of reference deficiency in photo, effectively can improve the discrimination of the size of object in comparison film, and versatility is high, be applicable to the testee of difformity, scale; And visible images or invisible light image can be carried out matching by picture fitting module 5, draw the photo that can be used in measuring dimension of object, expand the range of application of the measuring system of this dimension of object.
Be understandable that, the illustrative embodiments that above embodiment is only used to principle of the present invention is described and adopts, but the present invention is not limited thereto.For those skilled in the art, without departing from the spirit and substance in the present invention, can make various modification and improvement, these modification and improvement are also considered as protection scope of the present invention.

Claims (12)

1. a measuring method for dimension of object, is characterized in that, comprising:
Measure the distance between object in focus and photo;
Generate the Pixel Dimensions of object;
Generate the physical size with reference to image;
The physical size of described object is generated according to the Pixel Dimensions of the distance in described focus and photo between object, described object and the physical size of described reference image.
2. the measuring method of dimension of object according to claim 1, is characterized in that, before the distance in described measurement focus and photo between object, also comprises:
Described object is taken pictures, draws described photo;
A focus is selected according to described object.
3. the measuring method of dimension of object according to claim 1, is characterized in that, before the distance in described measurement focus and photo between object, also comprises:
To described object shooting visible images or invisible light image;
Described visible images or described invisible light image are carried out matching, draws described photo;
A focus is selected according to described object.
4. the measuring method of dimension of object according to claim 1, is characterized in that, the Pixel Dimensions of described generation object comprises:
The border of described object is identified, draws the Boundary Recognition result of described object;
The Pixel Dimensions of described object is calculated according to described recognition result.
5. the measuring method of dimension of object according to claim 1, is characterized in that, after the described physical size generated with reference to image, also comprises:
Generate the minimum pixel size with reference to image;
Judge whether to carry out dimensional measurement to described object according to reference to the minimum pixel size of image and the Pixel Dimensions of described object, if the described minimum pixel size with reference to image is less than the Pixel Dimensions of described object, then the physical size performing the described Pixel Dimensions according to the distance between described focus and object, described object and described reference image generates the physical size of described object;
Identify the color of described object, and with reference to the color of image according to the color adaptation of described object, to make the described color with reference to image different from the color of described object.
6. the measuring method of dimension of object according to claim 1, is characterized in that, after the described physical size generated with reference to image, also comprises:
Record the distance between object in described focus and photo;
Record the Pixel Dimensions of described object;
Record the described physical size with reference to image.
7. a measuring system for dimension of object, is characterized in that, comprising:
Range finder module, for measuring the distance in focus and photo between object;
Pixel Dimensions generation module, for generating the Pixel Dimensions of object; For generating the minimum pixel size with reference to image;
Picture size generation module, for generating the physical size with reference to image; For calculating the physical size of described object according to the Pixel Dimensions of the distance in described focus and photo between object, described object and the physical size of described reference image.
8. the measuring system of dimension of object according to claim 7, is characterized in that, also comprises:
Taking module, for taking pictures to object, draws described photo; A focus is selected according to described object.
9. the measuring system of dimension of object according to claim 7, is characterized in that, also comprises: taking module and picture fitting module;
Described taking module, for taking visible images or invisible light image to described object; A focus is selected according to described object;
Described picture fitting module, for described visible images or described invisible light image are carried out matching, draws described photo.
10. the measuring system of dimension of object according to claim 7, is characterized in that, described Pixel Dimensions generation module comprises picture recognition module;
Described picture recognition module, for identifying the border of described object, draws the Boundary Recognition result of described object;
Described Pixel Dimensions generation module, specifically for calculating the Pixel Dimensions of described object according to described recognition result.
The measuring system of 11. dimension of object according to claim 7, is characterized in that, also comprises judge module and colour recognition module;
Described judge module, for judging whether to carry out dimensional measurement to described object with reference to the minimum pixel size of image and the Pixel Dimensions of described object according to described, if the described minimum pixel size with reference to image is less than the Pixel Dimensions of described object, then the physical size performing the described Pixel Dimensions according to the distance between described focus and object, described object and described reference image generates the physical size of described object;
Described colour recognition module, for identifying the color of described object, and with reference to the color of image according to the color adaptation of described object, to make the described color with reference to image different from the color of described object.
The measuring system of 12. dimension of object according to claim 7, is characterized in that, also comprise logging modle:
Described logging modle, for recording the distance in described focus and photo between object; Record the Pixel Dimensions of described object; Record the described physical size with reference to image.
CN201510855966.8A 2015-11-30 2015-11-30 A kind of measurement method and measuring system of dimension of object Active CN105423916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510855966.8A CN105423916B (en) 2015-11-30 2015-11-30 A kind of measurement method and measuring system of dimension of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510855966.8A CN105423916B (en) 2015-11-30 2015-11-30 A kind of measurement method and measuring system of dimension of object

Publications (2)

Publication Number Publication Date
CN105423916A true CN105423916A (en) 2016-03-23
CN105423916B CN105423916B (en) 2018-10-30

Family

ID=55502297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510855966.8A Active CN105423916B (en) 2015-11-30 2015-11-30 A kind of measurement method and measuring system of dimension of object

Country Status (1)

Country Link
CN (1) CN105423916B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106091929A (en) * 2016-07-27 2016-11-09 乐视控股(北京)有限公司 A kind of method utilizing mobile terminal Measuring Object and measurement apparatus
CN110349154A (en) * 2019-07-26 2019-10-18 浙江医院 A kind of pressure sore wound measurement methods and device based on machine vision
CN110772258A (en) * 2019-11-07 2020-02-11 中国石油大学(华东) Multi-view ranging method for measuring human body size

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000131064A (en) * 1998-10-29 2000-05-12 Japan Aviation Electronics Industry Ltd Height measurement method
WO2007032136A1 (en) * 2005-09-15 2007-03-22 Kansai Kouji Sokuryou Co., Ltd. Optical device, and method of measuring the dimension of object using optical device
CN101636632A (en) * 2007-01-26 2010-01-27 特里伯耶拿有限公司 Optical instrument and method for obtaining distance and image information
JP2011123008A (en) * 2009-12-14 2011-06-23 Nexco-East Engineering Co Ltd Measuring method, measuring program, and measuring device
CN102538693A (en) * 2012-02-14 2012-07-04 北京林业大学 Vertical wood diameter detection method based on laser and vision technology
CN102564311A (en) * 2012-01-13 2012-07-11 常州环视高科电子科技有限公司 Method and system for measuring size of object by using traditional camera
CN102607423A (en) * 2011-03-03 2012-07-25 裵相模 Method for measuring real size of object using camera of mobile terminal
CN103196382A (en) * 2013-04-22 2013-07-10 北京林业大学 Standing-tree diameter measuring device based on laser ranging and image technologies
CN103206919A (en) * 2012-07-31 2013-07-17 广州三星通信技术研究有限公司 Device and method used for measuring object size in portable terminal
CN105043252A (en) * 2015-06-01 2015-11-11 重庆交通大学 Image processing based size measuring method without reference object

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000131064A (en) * 1998-10-29 2000-05-12 Japan Aviation Electronics Industry Ltd Height measurement method
WO2007032136A1 (en) * 2005-09-15 2007-03-22 Kansai Kouji Sokuryou Co., Ltd. Optical device, and method of measuring the dimension of object using optical device
CN101263362A (en) * 2005-09-15 2008-09-10 关西工事测量株式会社 Optical device, and method of measuring the dimension of object using optical device
CN101636632A (en) * 2007-01-26 2010-01-27 特里伯耶拿有限公司 Optical instrument and method for obtaining distance and image information
JP2011123008A (en) * 2009-12-14 2011-06-23 Nexco-East Engineering Co Ltd Measuring method, measuring program, and measuring device
CN102607423A (en) * 2011-03-03 2012-07-25 裵相模 Method for measuring real size of object using camera of mobile terminal
CN102564311A (en) * 2012-01-13 2012-07-11 常州环视高科电子科技有限公司 Method and system for measuring size of object by using traditional camera
CN102538693A (en) * 2012-02-14 2012-07-04 北京林业大学 Vertical wood diameter detection method based on laser and vision technology
CN103206919A (en) * 2012-07-31 2013-07-17 广州三星通信技术研究有限公司 Device and method used for measuring object size in portable terminal
CN103196382A (en) * 2013-04-22 2013-07-10 北京林业大学 Standing-tree diameter measuring device based on laser ranging and image technologies
CN105043252A (en) * 2015-06-01 2015-11-11 重庆交通大学 Image processing based size measuring method without reference object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
关强 等: "基于超声测距的定高树径测量仪的研究", 《东北林业大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106091929A (en) * 2016-07-27 2016-11-09 乐视控股(北京)有限公司 A kind of method utilizing mobile terminal Measuring Object and measurement apparatus
CN110349154A (en) * 2019-07-26 2019-10-18 浙江医院 A kind of pressure sore wound measurement methods and device based on machine vision
CN110772258A (en) * 2019-11-07 2020-02-11 中国石油大学(华东) Multi-view ranging method for measuring human body size

Also Published As

Publication number Publication date
CN105423916B (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN109405765B (en) High-precision depth calculation method and system based on speckle structured light
WO2018161877A1 (en) Processing method, processing device, electronic device and computer readable storage medium
EP3020023B1 (en) Systems and methods for producing a three-dimensional face model
KR101893771B1 (en) Apparatus and method for processing 3d information
TW201118791A (en) System and method for obtaining camera parameters from a plurality of images, and computer program products thereof
US20190325608A1 (en) Calibration apparatus, calibration method and storage medium
CN111028205B (en) Eye pupil positioning method and device based on binocular distance measurement
CN109934873B (en) Method, device and equipment for acquiring marked image
CN103544492B (en) Target identification method and device based on depth image three-dimension curved surface geometric properties
CN105934757A (en) Method and apparatus for detecting incorrect associations between keypoints of first image and keypoints of second image
CN109640066A (en) The generation method and device of high-precision dense depth image
CN111630524A (en) Method and device for measuring object parameters
CN105423916A (en) Measurement method and measurement system for object dimension
CN110345875A (en) Calibration and distance measuring method, device, electronic equipment and computer readable storage medium
WO2022218161A1 (en) Method and apparatus for target matching, device, and storage medium
JP2018195070A (en) Information processing apparatus, information processing method, and program
CN113902652A (en) Speckle image correction method, depth calculation method, device, medium, and apparatus
CN111553969B (en) Texture mapping method, medium, terminal and device based on gradient domain
WO2023185375A1 (en) Depth map generation system and method, and autonomous mobile device
CN108780572A (en) The method and device of image rectification
TWI658431B (en) Image processing method, image processing device and computer readable storage medium
EP3676801B1 (en) Electronic devices, methods, and computer program products for controlling 3d modeling operations based on pose metrics
JP2020034525A (en) Information processing apparatus and method, and computer program
WO2022011560A1 (en) Image cropping method and apparatus, electronic device, and storage medium
CN112262411B (en) Image association method, system and device

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