CN110068269A - The method and system of article size to be measured in a kind of determining image - Google Patents
The method and system of article size to be measured in a kind of determining image Download PDFInfo
- Publication number
- CN110068269A CN110068269A CN201910301962.3A CN201910301962A CN110068269A CN 110068269 A CN110068269 A CN 110068269A CN 201910301962 A CN201910301962 A CN 201910301962A CN 110068269 A CN110068269 A CN 110068269A
- Authority
- CN
- China
- Prior art keywords
- measured
- picture
- size
- location information
- lab
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G01C11/04—Interpretation of pictures
Abstract
The invention discloses a kind of method and system of article size to be measured in determining image, this method comprises the following steps: obtaining the first picture comprising subject image to be measured and records current shooting location information A, determines the size La of object to be measured in the first picture;It obtains the second picture comprising subject image to be measured and simultaneously records current shooting location information B, determine the size Lb of object to be measured in second picture;Obtain the shooting spacing Lab of the first picture and second picture;Calculate the size L, L=of object to be measured | Lb-La | * H/Lab, wherein camera lens is at a distance from object to be measured when H is equal proportion imaging.Present invention determine that in image article size to be measured method, only need the shooting relative distance of two measurement pictures and two pictures that can obtain the size of measurement object, calculate simple, measurement is accurately.
Description
Technical field
The present invention relates to technical field of image detection, in particular to the method for article size to be measured in a kind of determining image
And system.
Background technique
With the development of the technologies such as computer vision, image procossing and artificial intelligence, the skills such as object tracking, object detection
Art, which achieves, to be constantly progressive, and based on image object size detection method also have received widespread attention, such as
" a kind of image object size based on logarithm pole space and rotation estimation calculation method " is disclosed in CN107516322A, at this
In method, log-polar transform is carried out by input testing image and template image, and to testing image, by transformed figure
Shape image carries out feature extraction, obtains characteristic image, image object is calculated by phase correlation method using the feature of extraction
Size and rotationally-varying response diagram relative to template image.Although the prevention can be realized the measurement of article size, still
It the processing such as needs to set up template image, and needs polar coordinate transform, feature extraction, calculate complicated, be unsuitable for detection scene
Quickly application.
Summary of the invention
The present invention is directed at least solve the technical problems existing in the prior art, especially innovatively propose in a kind of image
The measurement method and system of article size to be measured.
In order to realize above-mentioned purpose of the invention, according to the first aspect of the invention, the present invention provides a kind of determinations
The method of article size to be measured in image comprising following steps:
S1 obtains the first picture comprising subject image to be measured and records current shooting location information A, described first
Object to be measured is selected in picture, determines the size La of object to be measured in the first picture, and the size is object to be measured
The maximum distance of point-to-point transmission on periphery;
S2 obtains the second picture comprising subject image to be measured and records current shooting location information B, described second
The object to be measured is determined in picture, if the object shape to be measured in the object to be measured and the first picture in second picture
Shape is similar, it is determined that in second picture on object direction corresponding with article size La to be measured in the first picture to be measured
Size Lb executes step S3;Otherwise, the maximum data Lb for obtaining the size of the object to be measured in second picture, executes step
S3;
S3 obtains the shooting spacing of the first picture and second picture according to taking location information A, taking location information B
Lab;
S4 calculates the size L, L=of object to be measured | Lb-La | * H/Lab, wherein H be equal proportion be imaged when camera lens with
The distance of object to be measured.
Present invention determine that in image article size to be measured method, only need the bats of two measurement pictures and two pictures
The size of measurement object can be obtained by taking the photograph relative distance, be calculated simply, measurement is accurate.
A kind of preferred embodiment according to the present invention, the maximum data of dimension of object to be measured in the second picture
Are as follows: the maximum distance between any two parallel tangents of object to be measured.In picture pick-up device angle change, also can be realized accurate
Measurement.
The preferred embodiment of another kind according to the present invention, in the object to be measured and the first picture in the second picture
Body form to be measured similar refer to: the maximum data of dimension of object to be measured in two width pictures is adjusted to same size,
The outer peripheral lines of object to be measured have 50% or more coincidence and object area ratio p to be measured meets 0.5≤p≤2.To realize standard
True size measurement, guarantees the accuracy of detection.
In order to realize above-mentioned purpose of the invention, according to the second aspect of the invention, the present invention provides a kind of determinations
The measuring system of article size to be measured in image comprising picture pick-up device and controller, the picture pick-up device acquisition include
First picture of subject image to be measured simultaneously records current shooting location information A, and picture pick-up device acquisition includes object to be measured
The second picture of image simultaneously records current shooting location information B, and picture pick-up device transmits the picture of acquisition and taking location information
To controller, the controller determines the size La of object to be measured in the first picture;Determination is to be measured in second picture
The size Lb of object;The shooting spacing of the first picture and second picture is obtained according to taking location information A, taking location information B
Lab;Calculate size L, L=(Lb-La) the * H/Lab of object to be measured, wherein H is camera lens and object to be measured when equal proportion is imaged
The distance of body.
The measuring system of article size to be measured in determination image of the invention, structure is simple, easy to operate, only needs to measure
The shooting relative distance of two pictures and two pictures can be achieved with the calculating with measurement object size, and measurement is accurate.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Specific embodiment
In the description of the present invention, unless otherwise specified and limited, it should be noted that term " installation ", " connected ",
" connection " shall be understood in a broad sense, for example, it may be mechanical connection or electrical connection, the connection being also possible to inside two elements can
, can also indirectly connected through an intermediary, for the ordinary skill in the art to be to be connected directly, it can basis
Concrete condition understands the concrete meaning of above-mentioned term.
The present invention provides a kind of methods of article size to be measured in determining image comprising following steps:
S1 obtains the first picture comprising subject image to be measured and records current shooting location information A, described first
Object to be measured is selected in picture, determines the size La of object to be measured in the first picture, and the size is object to be measured
The maximum distance of point-to-point transmission on periphery.For example, La is diameter of a circle when object to be measured is round;When object to be measured is
When rectangle, La is the distance of two opposed apexes.
S2 obtains the second picture comprising subject image to be measured and records current shooting location information B, described second
The object to be measured is determined in picture, if the object shape to be measured in the object to be measured and the first picture in second picture
Shape is similar (), it is determined that the object direction corresponding with article size La to be measured in the first picture to be measured in second picture
On size Lb (i.e. at a distance from the point-to-point transmission on the contour that line segment La or its extension line intersect), execute step S3;Otherwise,
The maximum data Lb of the size of the object to be measured in second picture is obtained, step S3, in the present embodiment, the second figure are executed
The maximum data of dimension of object to be measured in piece are as follows: the maximum distance between any two parallel tangents of object to be measured.
In the present embodiment, the object to be measured in second picture is similar to the body form to be measured in the first picture
Refer to: the maximum data of dimension of object to be measured in two width pictures being adjusted to same size, the outer peripheral lines of object to be measured have
50% or more coincidence and object area ratio p to be measured satisfaction 0.5≤p≤2.
S3 obtains the shooting spacing of the first picture and second picture according to taking location information A, taking location information B
Lab。
In present embodiment, the first picture and second picture are shot using controlled picture pick-up device, on the picture pick-up device
It is provided with position detecting device.Position detecting device is preferably gyroscope, and posture when measuring shooting picture by gyroscope is believed
Breath calculates two picture shooting spacing, uses the prior art using the specific method that gyroscope calculates distance.It is of course also possible to adopt
The movement of controlled picture pick-up device is predicted with other methods, such as magnet is set on picture pick-up device, using it in external magnetic field
Motion detection position movement.
S4 calculates the size L, L=of object to be measured | Lb-La | * H/Lab, wherein H be equal proportion be imaged when camera lens with
The distance of object to be measured.
The present invention also provides a kind of measuring systems of article size to be measured in determining image comprising picture pick-up device and
Controller, the picture pick-up device, which obtains, to be included the first picture of subject image to be measured and records current shooting location information A,
Picture pick-up device, which obtains, to be included the second picture of subject image to be measured and records current shooting location information B, and picture pick-up device will
The picture and taking location information of acquisition are transferred to controller, and the controller determines the big of object to be measured in the first picture
Small La;Determine the size Lb of object to be measured in second picture;The is obtained according to taking location information A, taking location information B
The shooting spacing Lab of one picture and second picture;Calculate size L, L=(Lb-La) the * H/Lab of object to be measured, wherein H is
Camera lens is at a distance from object to be measured when equal proportion is imaged.
The present invention can be used for the field of medical instrument technology, such as make a definite diagnosis size of tumor using capsule acquisition image, thus
Foundation is provided to lesion diagnosis for doctor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this
The range of invention is defined by the claims and their equivalents.
Claims (6)
1. a kind of method of article size to be measured in determining image, which comprises the steps of:
S1 obtains the first picture comprising subject image to be measured and records current shooting location information A, in first picture
In select object to be measured, determine the size La of object to be measured in the first picture, the size is object periphery to be measured
The maximum distance of upper point-to-point transmission;
S2 obtains the second picture comprising subject image to be measured and records current shooting location information B, in the second picture
The middle determination object to be measured, if the object to be measured in second picture and the body form phase to be measured in the first picture
Seemingly, it is determined that the size in second picture on object direction corresponding with article size La to be measured in the first picture to be measured
Lb executes step S3;Otherwise, the maximum data Lb for obtaining the size of the object to be measured in second picture, executes step S3;
S3 obtains the shooting spacing Lab of the first picture and second picture according to taking location information A, taking location information B;
S4 calculates the size L, L=of object to be measured | Lb-La | * H/Lab, wherein H be equal proportion be imaged when camera lens with it is to be measured
Measure the distance of object.
2. the method for article size to be measured in determining image according to claim 1, which is characterized in that using controlled
Picture pick-up device shoots the first picture and second picture, is provided with position detecting device on the picture pick-up device.
3. the method for article size to be measured in determining image according to claim 1, which is characterized in that the position inspection
Survey device is gyroscope.
4. the method for article size to be measured in determining image according to claim 1, which is characterized in that second figure
The maximum data of dimension of object to be measured in piece are as follows: the maximum distance between any two parallel tangents of object to be measured.
5. the method for article size to be measured in determining image according to claim 1, which is characterized in that second figure
Object to be measured in piece is similar to the body form to be measured in the first picture to be referred to: by object ruler to be measured in two width pictures
Very little maximum data is adjusted to same size, the outer peripheral lines of object to be measured have 50% or more coincidence and object area to be measured it
Meet 0.5≤p≤2 than p.
6. the measuring system of article size to be measured in a kind of determining image, which is characterized in that including picture pick-up device and controller,
The picture pick-up device, which obtains, to be included the first picture of subject image to be measured and records current shooting location information A, and camera shooting is set
Standby obtain includes the second picture of subject image to be measured and records current shooting location information B, and picture pick-up device is by acquisition
Picture and taking location information are transferred to controller, and the controller determines the size La of object to be measured in the first picture;
Determine the size Lb of object to be measured in second picture;The first figure is obtained according to taking location information A, taking location information B
The shooting spacing Lab of piece and second picture;Calculate size L, L=(Lb-La) the * H/Lab of object to be measured, wherein H is to wait ratios
Camera lens is at a distance from object to be measured when example imaging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910301962.3A CN110068269A (en) | 2019-04-16 | 2019-04-16 | The method and system of article size to be measured in a kind of determining image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910301962.3A CN110068269A (en) | 2019-04-16 | 2019-04-16 | The method and system of article size to be measured in a kind of determining image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110068269A true CN110068269A (en) | 2019-07-30 |
Family
ID=67367732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910301962.3A Pending CN110068269A (en) | 2019-04-16 | 2019-04-16 | The method and system of article size to be measured in a kind of determining image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110068269A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4385796B2 (en) * | 2004-03-02 | 2009-12-16 | 日本電気株式会社 | Mobile communication terminal with camera and height measurement method using mobile communication terminal with camera |
CN103206919A (en) * | 2012-07-31 | 2013-07-17 | 广州三星通信技术研究有限公司 | Device and method used for measuring object size in portable terminal |
CN103604371A (en) * | 2013-12-06 | 2014-02-26 | 上海华勤通讯技术有限公司 | Mobile terminal and object measurement method thereof |
CN105136042A (en) * | 2015-08-20 | 2015-12-09 | 广东欧珀移动通信有限公司 | Height measuring method and apparatus, and mobile terminal |
CN105486234A (en) * | 2015-11-11 | 2016-04-13 | 丁克金 | Method for measuring length of object by using relation of camera pixel and reference object |
CN206411983U (en) * | 2016-07-28 | 2017-08-15 | 柴浩 | A kind of new pinhole imaging system experimental box |
CN109520419A (en) * | 2018-12-06 | 2019-03-26 | 闻泰通讯股份有限公司 | Pass through the method, device and mobile terminal of image measurement dimension of object |
-
2019
- 2019-04-16 CN CN201910301962.3A patent/CN110068269A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4385796B2 (en) * | 2004-03-02 | 2009-12-16 | 日本電気株式会社 | Mobile communication terminal with camera and height measurement method using mobile communication terminal with camera |
CN103206919A (en) * | 2012-07-31 | 2013-07-17 | 广州三星通信技术研究有限公司 | Device and method used for measuring object size in portable terminal |
CN103604371A (en) * | 2013-12-06 | 2014-02-26 | 上海华勤通讯技术有限公司 | Mobile terminal and object measurement method thereof |
CN105136042A (en) * | 2015-08-20 | 2015-12-09 | 广东欧珀移动通信有限公司 | Height measuring method and apparatus, and mobile terminal |
CN105486234A (en) * | 2015-11-11 | 2016-04-13 | 丁克金 | Method for measuring length of object by using relation of camera pixel and reference object |
CN206411983U (en) * | 2016-07-28 | 2017-08-15 | 柴浩 | A kind of new pinhole imaging system experimental box |
CN109520419A (en) * | 2018-12-06 | 2019-03-26 | 闻泰通讯股份有限公司 | Pass through the method, device and mobile terminal of image measurement dimension of object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4809291B2 (en) | Measuring device and program | |
JP6734940B2 (en) | Three-dimensional measuring device | |
WO2016199605A1 (en) | Image processing device, method, and program | |
Zhang et al. | A robust and rapid camera calibration method by one captured image | |
WO2016155074A1 (en) | Correcting and focusing method and system for included angle of optical axis, and dual-camera equipment | |
CN110617814A (en) | Monocular vision and inertial sensor integrated remote distance measuring system and method | |
TW201101812A (en) | Derivation of 3D information from single camera and movement sensors | |
US10841570B2 (en) | Calibration device and method of operating the same | |
CN110440747B (en) | Distance assessment using multiple camera devices | |
CN104111059A (en) | Distance measuring and locating device and method and terminal | |
CN109730683A (en) | Endoscope object size calculation method and analysis system | |
CN110194173A (en) | Occupant's monitoring arrangement | |
CN105717511A (en) | Multipoint distance measurement apparatus and method based on line beam laser and common camera chip | |
CN107945166B (en) | Binocular vision-based method for measuring three-dimensional vibration track of object to be measured | |
JP4227037B2 (en) | Imaging system and calibration method | |
JP2002232869A (en) | Calibration method for camera | |
CN108881883A (en) | Information processing unit | |
CN110068269A (en) | The method and system of article size to be measured in a kind of determining image | |
US10432916B2 (en) | Measurement apparatus and operation method of measurement apparatus | |
Hol et al. | Relative pose calibration of a spherical camera and an IMU | |
TW200915852A (en) | Object corresponding method capable of real-time and accurate operating for multi-camera construction | |
JP4918675B2 (en) | 3D coordinate measurement method | |
WO2019186677A1 (en) | Robot position/posture estimation and 3d measurement device | |
KR101763294B1 (en) | Shooting Control System and Method Using Thereof | |
KR20110078655A (en) | A method and a system of filming using multiple camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190730 |