CN108548485B - A kind of image measuring method and system - Google Patents

A kind of image measuring method and system Download PDF

Info

Publication number
CN108548485B
CN108548485B CN201810342639.6A CN201810342639A CN108548485B CN 108548485 B CN108548485 B CN 108548485B CN 201810342639 A CN201810342639 A CN 201810342639A CN 108548485 B CN108548485 B CN 108548485B
Authority
CN
China
Prior art keywords
video camera
camera
dimensional image
shooting area
laser
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810342639.6A
Other languages
Chinese (zh)
Other versions
CN108548485A (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.)
Jinqianmao Technology Co Ltd
Original Assignee
Jinqianmao Technology 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 Jinqianmao Technology Co Ltd filed Critical Jinqianmao Technology Co Ltd
Priority to CN201810342639.6A priority Critical patent/CN108548485B/en
Publication of CN108548485A publication Critical patent/CN108548485A/en
Application granted granted Critical
Publication of CN108548485B publication Critical patent/CN108548485B/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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration

Abstract

The present invention relates to fields of measurement, more particularly to a kind of image measuring method based on laser, system and device, comprising steps of the initial position of default video camera, rotary camera, so that shooting area is located in the display area of video camera, camera angle of rotation value is obtained;The beam direction that the laser being arranged on video camera projects is adjusted, so that the laser point being located in shooting area is located at the center of the display area of video camera, shooting obtains two dimensional image;Video camera is obtained to the ranging distance of shooting area according to laser, and the shift value of video camera is calculated;Preset intrinsic parameters of the camera is obtained, according to camera angle of rotation value, the shift value of video camera and intrinsic parameters of the camera, the two dimensional image of shooting area and the mapping relations of D world space is calculated;The coordinate value of determinand on two dimensional image is obtained, substitutes into the mapping relations of two dimensional image and D world space, determinand is calculated in the measured value of D world space.

Description

A kind of image measuring method and system
This case is with the applying date on May 18th, 2017, and application No. is 201710353553.9, entitled " one kind is based on The divisional application that the patent of invention of image measuring method, system and the device of laser " carries out for female case.
Technical field
The present invention relates to fields of measurement more particularly to a kind of image measuring methods based on laser, system and device.
Background technique
With the development of science and technology, measurement means also change.Conventional measuring methods need artificial race point, efficiency Low, low precision, time are long, and using the novel measurement method such as ultrasonic wave, laser, measurement for different target object needs artificial It carries out different laser positioning operations and calculates, error is big, complex steps, and for needing as construction site to construction Live material (such as reinforcing bar etc.) is detected, since there are many live material, laser measurement needs to expend the longer time, but Duration can not stop again, once cement casting covers, then can not be detected again by laser measurement to live material.It is based on The measuring technique of image, because of the only scene image needed for it, so more flexible, conveniently, accurately, for whenever having access to and going through History image completes measurement.
Image measurement is it needs to be determined that the three-dimensional geometry position of space object and its mutual pass between corresponding points in the picture System, it is necessary to establish the geometrical model of video camera imaging, and geometrical model parameter is demarcated.Traditional calibration process needs prior The information at the multiple control points of manual measurement in the scene, or be placed through known to Precision Machining, structure in the scene in advance Calibrating template as space object of reference, demarcated by the three-dimensional coordinate by establishing known point in control point or template.Disadvantage That calibration process is time-consuming and laborious, be not suitable for on-line proving and can not manual measurement or using calibrating template occasion.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of image measuring method based on laser, system and device.
In order to solve the above-mentioned technical problem, the first technical solution that the present invention uses are as follows:
A kind of image measuring method based on laser, comprising steps of
The initial position of S1, default video camera, rotary camera, so that shooting area is located at the display area of video camera It is interior, obtain camera angle of rotation value;
The beam direction that the laser that S2, adjusting are arranged on video camera projects, so that being located at the laser in shooting area Point is located at the center of the display area of video camera, and shooting obtains two dimensional image;
S3, video camera is obtained to the ranging distance of shooting area according to laser, the shift value of video camera is calculated;
S4, preset intrinsic parameters of the camera is obtained, according to camera angle of rotation value, the shift value of video camera and camera shooting The two dimensional image of the shooting area and the mapping relations of D world space is calculated in machine inner parameter;
S5, the coordinate value for obtaining determinand on two dimensional image substitute into the mapping relations of two dimensional image and D world space In, the determinand is calculated in the measured value of D world space.
The second technical solution that the present invention uses are as follows:
A kind of measuring system of picture based on laser, including rotary module, adjustment module, the first computing module, the second meter Calculate module and third computing module;
The rotary module, for presetting the initial position of video camera, rotary camera, so that shooting area is located at camera shooting In the display area of machine, camera angle of rotation value is obtained;
The adjustment module, the beam direction projected for adjusting the laser being arranged on video camera, is clapped so that being located at The laser point taken the photograph in region is located at the center of the display area of video camera, and shooting obtains two dimensional image;
First computing module is calculated for obtaining video camera to the ranging distance of shooting area according to laser The shift value of video camera;
Second computing module according to camera angle of rotation value, is taken the photograph for obtaining preset intrinsic parameters of the camera The two dimensional image of the shooting area and reflecting for D world space is calculated in the shift value and intrinsic parameters of the camera of camera Penetrate relationship;
The third computing module substitutes into two dimensional image and three-dimensional for obtaining the coordinate value of determinand on two dimensional image In the mapping relations of world space, the determinand is calculated in the measured value of D world space.
The third technical solution that the present invention uses are as follows:
A kind of image measuring apparatus based on laser, including measurement end;The measurement end includes laser, video camera, angle modulation Device and processor;The laser is arranged on video camera, and the laser, video camera and angle adjustor are connect with processor respectively, institute It states laser and video camera is connect with angle adjustor respectively.
The beneficial effects of the present invention are: a kind of image measuring method based on laser, system and dress provided by the invention It sets, completes the calibration of video camera mapping model by video camera and laser, then reflecting by two dimensional image and D world space Relation and function is penetrated in whole picture two dimensional image, transformation distortion effect is eliminated with this, two o'clock is taken to appoint in two dimensional image, can survey The distance that point-to-point transmission is corresponded in corresponding three-dimensional scene is measured, calibration process is quick, easy, can be flexibly applied to various scenes.It is logical The method is crossed, no matter when needs to measure the full-size(d) of other determinands on two dimensional image, is all only needed through the two dimension Image can measure, and measures in the scene that no longer needs to come back to earth, since reality scene is real-time change, can not return reality It is measured in scene, that is, allows to rebuild scene and also cannot keep consistency, and then lead to not accurately measure.
Detailed description of the invention
Fig. 1 is the step flow chart of the image measuring method of the invention based on laser;
Fig. 2 is that video camera of the invention shoots pose schematic diagram;
Fig. 3 is the structural schematic diagram of the measuring system of picture of the invention based on laser;
Label declaration:
1, rotary module;2, adjustment module;3, the first computing module;4, the second computing module;5, third computing module.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
Please refer to Fig. 1, a kind of image measuring method based on laser provided by the invention, comprising steps of
The initial position of S1, default video camera, rotary camera, so that shooting area is located at the display area of video camera It is interior, obtain camera angle of rotation value;
The beam direction that the laser that S2, adjusting are arranged on video camera projects, so that being located at the laser in shooting area Point is located at the center of the display area of video camera, and shooting obtains two dimensional image;
S3, video camera is obtained to the ranging distance of shooting area according to laser, the shift value of video camera is calculated;
S4, preset intrinsic parameters of the camera is obtained, according to camera angle of rotation value, the shift value of video camera and camera shooting The two dimensional image of the shooting area and the mapping relations of D world space is calculated in machine inner parameter;
S5, the coordinate value for obtaining determinand on two dimensional image substitute into the mapping relations of two dimensional image and D world space In, the determinand is calculated in the measured value of D world space.
The beneficial effects of the present invention are: a kind of image measuring method based on laser provided by the invention passes through camera shooting Machine and laser complete the calibration of video camera mapping model, then are acted on by the mapping relations of two dimensional image and D world space Whole picture two dimensional image eliminates transformation distortion effect with this, takes two o'clock to appoint in two dimensional image, can measure corresponding three-dimensional The distance of point-to-point transmission is corresponded in scene, calibration process is quick, easy, can be flexibly applied to various scenes.By the method, no matter When need to measure the full-size(d) of other determinands on two dimensional image, all only need to can measure by the two dimensional image, It no longer needs to come back to earth and measure in scene, since reality scene is real-time change, can not return in reality scene and measure, i.e., Allow to rebuild scene and also cannot keep consistency, and then leads to not accurately measure.
It should be noted that image measurement of the invention refers to the parameter for acquiring true scenery by the image of scenery.It takes the photograph Camera is a kind of mapping between 3D world of bodies space and 2D image, and video camera mapping model may be expressed as:
The model indicates that the world 3D reference coordinate fastens the homogeneous coordinates (X of certain pointw, Yw, Zw, 1) with the point be mapped to 2D figure The relationship between homogeneous coordinates (u, v, 1) fastened as reference coordinate, can be by outside intrinsic parameters of the camera K and video camera Parameter (rotation R and translation t) obtains.
Wherein, intrinsic parameters of the cameraIt is the intrinsic matrix of video camera, (u0, v0) it is projected position of the camera optics center on CCD imaging plane, f is the focal length of video camera, dxAnd dyIt is that CCD is every respectively The physical size of a pixel in the horizontal direction and the vertical direction.
Further, step S1 specifically:
Video camera is put, keeps the optical axis of video camera parallel with the ground ρ of shooting area, as the initial position of video camera, Using the optical axis starting point of video camera as origin Oc, the optical axis with video camera is ZcAxis establishes the first reference frame of video camera XcYcZc;Rotary camera obtains camera rotation so that shooting area is located in the display area of video camera to shooting area Angle value, the camera angle of rotation value include vertical angle α and level angle β;
Step S2 specifically:
The beam direction that the laser being arranged on video camera projects is adjusted, so that being located at the laser point in shooting area In the center of the display area of video camera, shooting obtains two dimensional image;Establish the Plane reference coordinate of the two dimensional image System;The Plane reference coordinate system of the two dimensional image is using the upper left corner of two dimensional image as origin, is to the right u axis, is downwards v axis The coordinate system Ouv created.
Using the optical axis starting point of video camera as origin Oc', the optical axis with video camera is Zc' axis establishes the second ginseng of video camera Examine coordinate system Xc′Yc′Zc′;Using the laser point on the ground ρ of shooting area as origin Ow, with the first reference frame XcYcZc's Change in coordinate axis direction is reference direction, establishes three-dimensional world reference frame XwYwZw
Step S3 specifically:
According to the ranging distance of laser acquisition video camera to shooting areaVertical angle α that step S1 is obtained and Level angle β substitutes into the external parameter rotation R and video camera external parameter translation t of video camera;
The external parameter of video camera is rotated into R and video camera external parameter translation t substitutes into the second reference frame Xc′Yc′ Zc' and three-dimensional world reference frame XwYwZwBetween transformation model;The transformation model are as follows:
Step S4 specifically:
Preset intrinsic parameters of the camera K is obtained, it is flat to rotate R, video camera external parameter according to the external parameter of video camera T and intrinsic parameters of the camera K is moved, the two dimensional image of the shooting area and the mapping relations of D world space is calculated; The mapping relations indicate that three-dimensional world reference coordinate fastens the homogeneous coordinates (X of a bitw, Yw, Zw, 1) with the point be mapped to two dimension The association between homogeneous coordinates (u, v, 1) on the Plane reference coordinate system of image;The mapping relations are as follows:
Wherein intrinsic parameters of the camera K is obtained by laboratory, is known parameters, passes through camera rotation angle with scene The video camera external parameter (Rt) that degree and laser ranging distance obtain in real time, so that it may find out the world 3D reference coordinate and fasten certain point Homogeneous coordinates (Xw, Yw, Zw, 1) and it is associated between the homogeneous coordinates (u, v, 1) that are mapped on 2D image reference coordinate system with the point Video camera mapping model;The video camera mapping model are as follows:
Due to Y on the ground ρ of shooting areaw=0, so meeting between ρ and image:
Such as Fig. 2, in practical applications, it is also necessary to the size for the reinforcing bar that measurement is inserted on the ground of building site, it is assumed that with vertical Zw The plane of axis direction on the ground of building site, is deposited as vertical reference plane (plane where the reinforcing bar being inserted on the ground of building site) In infinite such vertical reference plane (plane π such as vertical with plane ρ1, plane π2Etc.).Plane π1It was origin Ow A vertical reference plane, due to plane π1Upper Zw=0, so plane π1Meet between imageOther vertical reference planes, such as plane π2, due toIt can be by Plane ρ is obtained, so plane π2Meet between image
Further, before step S1 further include: receive measurement instruction, the measurement instruction includes to be measured on two dimensional image The coordinate value of object.
After step S5 further include:
The determinand is sent in the measured value of D world space.
Seen from the above description, measurement instruction can be sent by the mobile terminal of peripheral hardware to above-mentioned image measuring apparatus, When receiving measurement instruction, above-mentioned measurement operation, and feedback measurement are executed, as sends the determinand in three-dimensional generation The measured value in boundary space.
Further, further includes:
It is associated with two dimensional image and its mapping relations with D world space and storage.
Seen from the above description, by association two dimensional image and its mapping relations and store, when in different times to the bat When the determinand or other determinands taken the photograph in scene measure again, since reality scene is real-time change, it can not return again It is measured into reality scene, that is, allows to rebuild scene and also cannot keep consistency, and then lead to not accurately measure, because This by storage two dimensional image and its mapping relations, can make no matter when can by the two dimensional image in scene to It surveys object to measure, obtains the true measurement in spatial scene.
Refering to Fig. 3, the present invention also provides a kind of measuring system of picture based on laser, including rotary module 1, adjust mould Block 2, the first computing module 3, the second computing module 4 and third computing module 5;
The rotary module 1, for presetting the initial position of video camera, rotary camera is taken the photograph so that shooting area is located at In the display area of camera, camera angle of rotation value is obtained;
The adjustment module 2, the beam direction projected for adjusting the laser being arranged on video camera, is clapped so that being located at The laser point taken the photograph in region is located at the center of the display area of video camera, and shooting obtains two dimensional image;
First computing module 3 is calculated for obtaining video camera to the ranging distance of shooting area according to laser The shift value of video camera;
Second computing module 4, for obtaining preset intrinsic parameters of the camera, according to camera angle of rotation value, The two dimensional image and D world space of the shooting area is calculated in the shift value and intrinsic parameters of the camera of video camera Mapping relations;
The third computing module 5 substitutes into two dimensional image and three-dimensional for obtaining the coordinate value of determinand on two dimensional image In the mapping relations of world space, the determinand is calculated in the measured value of D world space.
A kind of measuring system of picture based on laser provided by the invention completes video camera mapping by video camera and laser The calibration of model, then whole picture two dimensional image is acted on by the mapping relations of two dimensional image and D world space, it is eliminated with this Convert distortion effect, thus in two dimensional image appoint take two o'clock, can measure corresponded in corresponding three-dimensional scene point-to-point transmission away from From calibration process is quick, easy, can be flexibly applied to various scenes.By the method, no matter when need to measure two dimensional image On other determinands full-size(d), all only need to can measure by the two dimensional image, in the scene that no longer needs to come back to earth Measurement, since reality scene is real-time change, can not return in reality scene and measure, that is, allow to rebuild scene It cannot keep consistency, and then lead to not accurately measure.
Further, the rotary module makes the optical axis of video camera and the ground of shooting area specifically for putting video camera Face ρ is parallel, as the initial position of video camera, using the optical axis starting point of video camera as origin Oc, the optical axis with video camera is Zc Axis establishes the first reference frame X of video cameracYcZc;Rotary camera is to shooting area, so that shooting area is located at camera shooting In the display area of machine, camera angle of rotation value is obtained, the camera angle of rotation value includes vertical angle α and horizontal angle Spend β;
The adjustment module, the beam direction projected specifically for adjusting the laser being arranged on video camera, so that position It is located at the center of the display area of video camera in the laser point in shooting area, shooting obtains two dimensional image;Described in foundation The Plane reference coordinate system of two dimensional image;The Plane reference coordinate system of the two dimensional image is with the upper left corner of two dimensional image for original Point is to the right u axis, the coordinate system Ouv created by v axis downwards.
Using the optical axis starting point of video camera as origin Oc', the optical axis with video camera is Zc' axis establishes the second ginseng of video camera Examine coordinate system Xc′Yc′Zc′;Using the laser point on the ground ρ of shooting area as origin Ow, with the first reference frame XcYcZc's Change in coordinate axis direction is reference direction, establishes three-dimensional world reference frame XwYwZw
First computing module, specifically for the ranging distance according to laser acquisition video camera to shooting areaThe vertical angle α and level angle β that step S1 is obtained are substituted into outside the external parameter rotation R and video camera of video camera Parameter translational t;
The external parameter of video camera is rotated into R and video camera external parameter translation t substitutes into the second reference frame Xc′Yc′ Zc' and three-dimensional world reference frame XwYwZwBetween transformation model;The transformation model are as follows:
Second computing module is specifically used for obtaining preset intrinsic parameters of the camera K, and external according to video camera is joined Number rotation R, video camera external parameter translate t and intrinsic parameters of the camera K, be calculated the two dimensional image of the shooting area with The mapping relations of D world space;The mapping relations indicate that three-dimensional world reference coordinate fastens the homogeneous coordinates (X of a bitw, Yw, Zw, 1) with the point be mapped to the association between the homogeneous coordinates on the Plane reference coordinate system of two dimensional image (u, v, 1);It is described Mapping relations are as follows:
It further, further include receiving module and sending module;
The receiving module, for receiving measurement instruction, the measurement instruction includes the coordinate of determinand on two dimensional image Value;
The sending module, for sending the determinand in the measured value of D world space.
It further, further include relating module, for being associated with the mapping relations of two dimensional image and itself and D world space And it stores.
The present invention also provides a kind of image measuring apparatus based on laser, including measurement end;The measurement end includes swashing Light, video camera, angle adjustor and processor;The laser is arranged on video camera, the laser, video camera and angle adjustor respectively with Processor connection, the laser and video camera are connect with angle adjustor respectively.
It further, further include the terminal of server-side and at least more than one;The measurement end by server-side respectively with Terminal connection.
In a specific embodiment, the present apparatus further includes server-side and terminal.Server-side is logical with measurement end and terminal respectively Cross network connection.Server-side provides the communication interface between measurement end and terminal, and server-side, which receives to come from/send, goes to measurement end Or the electric signal of terminal.Terminal shows visual output to user, including 2D image to be measured, measurement process/result text information, Graphical information and any combination thereof.Terminal receives the control input of user, sends control signal to server-side, executes 2D image and survey Amount obtains the measured value of determinand in image.
In conclusion a kind of image measuring method based on laser, system and device provided by the invention, pass through video camera The calibration of video camera mapping model is completed with laser, then is acted on by the mapping relations of two dimensional image and D world space whole Width two dimensional image eliminates transformation distortion effect with this, takes two o'clock to appoint in two dimensional image, can measure corresponding three-dimensional field The distance of point-to-point transmission is corresponded in scape, calibration process is quick, easy, can be flexibly applied to various scenes.By the method, no matter what When need to measure the full-size(d)s of other determinands on two dimensional image, all only need to can measure by the two dimensional image, nothing It need to return in reality scene and measure, since reality scene is real-time change, can not return in reality scene and measure, even if Scene, which can be rebuild, also cannot keep consistency, and then lead to not accurately measure.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (4)

1. a kind of image measuring method, which is characterized in that comprising steps of
The initial position of S1, default video camera, rotary camera obtain so that shooting area is located in the display area of video camera To camera angle of rotation value;
The beam direction that the laser that S2, adjusting are arranged on video camera projects, so that being located at the laser point in shooting area In the center of the display area of video camera, shooting obtains two dimensional image;
S3, video camera is obtained to the ranging distance of shooting area according to laser, the shift value of video camera is calculated;
S4, preset intrinsic parameters of the camera is obtained, according in camera angle of rotation value, the shift value and video camera of video camera The two dimensional image of the shooting area and the mapping relations of D world space is calculated in portion's parameter;
S5, the coordinate value for obtaining determinand on two dimensional image are substituted into the mapping relations of two dimensional image and D world space, meter Calculation obtains the determinand in the measured value of D world space;
Wherein, the step S1 specifically:
Video camera is put, keeps the optical axis of video camera parallel with the ground ρ of shooting area, as the initial position of video camera, to take the photograph The optical axis starting point of camera is origin Oc, the optical axis with video camera is ZcAxis establishes the first reference frame X of video cameracYcZc; Rotary camera obtains camera angle of rotation value so that shooting area is located in the display area of video camera to shooting area, The camera angle of rotation value includes vertical angle α and level angle β;
Step S2 specifically:
The beam direction that the laser being arranged on video camera projects is adjusted, is taken the photograph so that the laser point being located in shooting area is located at The center of the display area of camera, shooting obtain two dimensional image;Establish the Plane reference coordinate system of the two dimensional image;
Using the optical axis starting point of video camera as origin Oc', the optical axis with video camera is Zc' axis, the second reference for establishing video camera are sat Mark system Xc′Yc′Zc′;Using the laser point on the ground ρ of shooting area as origin Ow, with the first reference frame XcYcZcCoordinate Axis direction is reference direction, establishes three-dimensional world reference frame XwYwZw
Step S3 specifically:
According to the ranging distance of laser acquisition video camera to shooting areaThe vertical angle α and level that step S1 is obtained Angle beta substitutes into the external parameter rotation R and video camera external parameter translation t of video camera;
The external parameter of video camera is rotated into R and video camera external parameter translation t substitutes into the second reference frame Xc′Yc′Zc' with Three-dimensional world reference frame XwYwZwBetween transformation model;The transformation model are as follows:
Step S4 specifically:
Obtain preset intrinsic parameters of the camera K, according to the external parameter of video camera rotate R, video camera external parameter translation t and The two dimensional image of the shooting area and the mapping relations of D world space is calculated in intrinsic parameters of the camera K;It is described to reflect Penetrating relationship indicates that three-dimensional world reference coordinate fastens the homogeneous coordinates (X of a bitw, Yw, Zw, 1) with the point be mapped to two dimensional image The association between homogeneous coordinates (u, v, 1) on Plane reference coordinate system;The mapping relations are as follows:
Wherein, intrinsic parameters of the cameraIt is the intrinsic matrix of video camera, (u0, v0) be Projected position of the camera optics center on CCD imaging plane, f are the focal length of video camera, dxAnd dyIt is each picture of CCD respectively The physical size of element in the horizontal direction and the vertical direction;
Before step S1 further include: receive the measurement instruction that the mobile terminal of peripheral hardware is sent, the measurement instruction includes X-Y scheme As the coordinate value of upper determinand;And when receiving measurement instruction, measurement operation is executed;
After step S5 further include:
Send the determinand D world space measured value to peripheral hardware mobile terminal.
2. image measuring method according to claim 1, which is characterized in that further include:
It is associated with two dimensional image and its mapping relations with D world space and storage.
3. a kind of measuring system of picture, which is characterized in that calculated including rotary module, adjustment module, the first computing module, second Module and third computing module;
The rotary module, for presetting the initial position of video camera, rotary camera, so that shooting area is located at video camera In display area, camera angle of rotation value is obtained;
The adjustment module, the beam direction projected for adjusting the laser being arranged on video camera, so that being located at shooting area Laser point in domain is located at the center of the display area of video camera, and shooting obtains two dimensional image;
Camera shooting is calculated for obtaining video camera to the ranging distance of shooting area according to laser in first computing module The shift value of machine;
Second computing module, for obtaining preset intrinsic parameters of the camera, according to camera angle of rotation value, video camera Shift value and intrinsic parameters of the camera, be calculated the shooting area two dimensional image and D world space mapping close System;
The third computing module substitutes into two dimensional image and three-dimensional world for obtaining the coordinate value of determinand on two dimensional image In the mapping relations in space, the determinand is calculated in the measured value of D world space;
Wherein, the rotary module keeps the optical axis of video camera parallel with the ground ρ of shooting area specifically for putting video camera, As the initial position of video camera, using the optical axis starting point of video camera as origin Oc, the optical axis with video camera is ZcAxis, foundation are taken the photograph First reference frame X of cameracYcZc;Rotary camera is to shooting area, so that shooting area is located at the viewing area of video camera In domain, camera angle of rotation value is obtained, the camera angle of rotation value includes vertical angle α and level angle β;
The adjustment module, the beam direction projected specifically for adjusting the laser being arranged on video camera, is clapped so that being located at The laser point taken the photograph in region is located at the center of the display area of video camera, and shooting obtains two dimensional image;Establish the two dimension The Plane reference coordinate system of image;
Using the optical axis starting point of video camera as origin Oc', the optical axis with video camera is Zc' axis, the second reference for establishing video camera are sat Mark system Xc′Yc′Zc′;Using the laser point on the ground ρ of shooting area as origin Ow, with the first reference frame XcYcZcCoordinate Axis direction is reference direction, establishes three-dimensional world reference frame XwYwZw
First computing module, specifically for the ranging distance according to laser acquisition video camera to shooting areaStep The vertical angle α and level angle β that rapid S1 is obtained substitute into external parameter rotation R and the translation of video camera external parameter of video camera t;
The external parameter of video camera is rotated into R and video camera external parameter translation t substitutes into the second reference frame Xc′Yc′Zc' with Three-dimensional world reference frame XwYwZwBetween transformation model;The transformation model are as follows:
Second computing module is specifically used for obtaining preset intrinsic parameters of the camera K, be revolved according to the external parameter of video camera Turn R, video camera external parameter translation t and intrinsic parameters of the camera K, the two dimensional image and three-dimensional of the shooting area is calculated The mapping relations of world space;The mapping relations indicate that three-dimensional world reference coordinate fastens the homogeneous coordinates (X of a bitw, Yw, Zw, 1) with the point be mapped to the association between the homogeneous coordinates on the Plane reference coordinate system of two dimensional image (u, v, 1);It is described to reflect Penetrate relationship are as follows:
Wherein, intrinsic parameters of the cameraIt is the intrinsic matrix of video camera, (u0, v0) be Projected position of the camera optics center on CCD imaging plane, f are the focal length of video camera, dxAnd dyIt is each picture of CCD respectively The physical size of element in the horizontal direction and the vertical direction;
It further include receiving module and sending module;
The receiving module, the measurement instruction that the mobile terminal for receiving peripheral hardware is sent, the measurement instruction includes X-Y scheme As the coordinate value of upper determinand;And when receiving measurement instruction, measurement operation is executed;
The sending module, for send the determinand D world space measured value to peripheral hardware mobile terminal.
4. measuring system of picture according to claim 3, which is characterized in that further include relating module, for being associated with two dimension Image and its mapping relations with D world space and storage.
CN201810342639.6A 2017-05-18 2017-05-18 A kind of image measuring method and system Active CN108548485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810342639.6A CN108548485B (en) 2017-05-18 2017-05-18 A kind of image measuring method and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710353553.9A CN107101580B (en) 2017-05-18 2017-05-18 A kind of image measuring method based on laser, system and device
CN201810342639.6A CN108548485B (en) 2017-05-18 2017-05-18 A kind of image measuring method and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710353553.9A Division CN107101580B (en) 2017-05-18 2017-05-18 A kind of image measuring method based on laser, system and device

Publications (2)

Publication Number Publication Date
CN108548485A CN108548485A (en) 2018-09-18
CN108548485B true CN108548485B (en) 2019-03-12

Family

ID=59669245

Family Applications (5)

Application Number Title Priority Date Filing Date
CN201810342206.0A Active CN108827147B (en) 2017-05-18 2017-05-18 Image measuring method and system based on rapid calibration
CN201810341995.6A Active CN108844456B (en) 2017-05-18 2017-05-18 Rapid image measuring method and system
CN201810342639.6A Active CN108548485B (en) 2017-05-18 2017-05-18 A kind of image measuring method and system
CN201710353553.9A Active CN107101580B (en) 2017-05-18 2017-05-18 A kind of image measuring method based on laser, system and device
CN201810342175.9A Active CN108844457B (en) 2017-05-18 2017-05-18 A kind of exact image measurement method and system

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201810342206.0A Active CN108827147B (en) 2017-05-18 2017-05-18 Image measuring method and system based on rapid calibration
CN201810341995.6A Active CN108844456B (en) 2017-05-18 2017-05-18 Rapid image measuring method and system

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN201710353553.9A Active CN107101580B (en) 2017-05-18 2017-05-18 A kind of image measuring method based on laser, system and device
CN201810342175.9A Active CN108844457B (en) 2017-05-18 2017-05-18 A kind of exact image measurement method and system

Country Status (1)

Country Link
CN (5) CN108827147B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108827147B (en) * 2017-05-18 2020-06-26 金钱猫科技股份有限公司 Image measuring method and system based on rapid calibration
CN107607095A (en) * 2017-09-22 2018-01-19 义乌敦仁智能科技有限公司 A kind of house measurement method of view-based access control model and laser
CN109444163B (en) * 2018-08-24 2023-07-14 辽宁省交通规划设计院有限责任公司 System for obtaining perspective distortion inverse transformation matrix
CN110954013B (en) * 2018-09-26 2023-02-07 深圳中科飞测科技股份有限公司 Detection method and detection system thereof
CN109712197B (en) * 2018-12-20 2023-06-30 珠海瑞天安科技发展有限公司 Airport runway gridding calibration method and system
CN111220130B (en) * 2019-01-31 2022-09-13 金钱猫科技股份有限公司 Focusing measurement method and terminal capable of measuring object at any position in space
JP7162989B2 (en) * 2019-02-04 2022-10-31 株式会社ミツトヨ One-dimensional measuring machine and program
CN109975759B (en) * 2019-03-30 2023-03-17 广东工业大学 Underwater unmanned aerial vehicle positioning method and device based on three-color laser
CN112797897B (en) * 2019-04-15 2022-12-06 Oppo广东移动通信有限公司 Method and device for measuring geometric parameters of object and terminal
CN111076712B (en) * 2019-04-29 2021-08-31 金钱猫科技股份有限公司 Automatic building method, system and device of space three-dimensional model
CN110081861B (en) * 2019-06-03 2021-06-29 淮南矿业(集团)有限责任公司 Laser rapid mapping system and mapping method based on image recognition
CN110807413B (en) * 2019-10-30 2022-08-09 浙江大华技术股份有限公司 Target display method and related device
CN113362386B (en) * 2020-03-06 2024-03-22 上海西门子医疗器械有限公司 Method, apparatus and storage medium for determining an irradiation area of an X-ray radiography system
CN111429589B (en) * 2020-03-11 2023-09-19 上海嘉奥信息科技发展有限公司 Method and system for three-dimensional space division based on two-dimensional view
CN111442721B (en) * 2020-03-16 2021-07-27 天目爱视(北京)科技有限公司 Calibration equipment and method based on multi-laser ranging and angle measurement
CN111491157B (en) * 2020-04-21 2021-09-07 青岛联合创智科技有限公司 Method for constructing mobile phone 3D model to guide comprehensive image acquisition
CN113689368A (en) * 2020-05-18 2021-11-23 上海赫千电子科技有限公司 Automatic illumination consistency adjusting method applied to vehicle-mounted all-around image
CN111637837B (en) * 2020-06-03 2022-04-08 龙永南 Method and system for measuring size and distance of object by monocular camera
CN112556614B (en) * 2020-09-30 2023-06-27 深圳中科飞测科技股份有限公司 Conversion relation acquisition method, conversion relation measurement method and conversion relation measurement system
CN112268524B (en) * 2020-10-09 2023-03-10 华中科技大学鄂州工业技术研究院 Laser three-dimensional measuring instrument and measuring method
CN114688996B (en) * 2020-12-31 2023-11-03 北京华航无线电测量研究所 Method for measuring rotation precision angle of turntable
CN112862938B (en) * 2021-01-15 2022-06-03 湖北理工学院 Environment design display device and method
CN113017625B (en) * 2021-02-26 2023-01-31 北京伟浩君智能技术有限公司 Control method and device of blood sampling robot
CN114712734B (en) * 2022-05-05 2022-11-18 上海伽玛星科技发展有限公司 Radiotherapy ray shooting device

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7429999B2 (en) * 2004-05-24 2008-09-30 CENTRE DE RECHERCHE INDUSTRIELLE DU QUéBEC Camera calibrating apparatus and method
CN100585343C (en) * 2006-01-25 2010-01-27 刘海英 Over-limit measuring instrument and method of railway transportation equipment
CN100504299C (en) * 2007-02-06 2009-06-24 华中科技大学 Method for obtaining three-dimensional information of space non-cooperative object
CN101750012A (en) * 2008-12-19 2010-06-23 中国科学院沈阳自动化研究所 Device for measuring six-dimensional position poses of object
CN101839721B (en) * 2010-03-12 2012-03-28 西安电子科技大学 Visual navigation method in autonomous rendezvous and docking
CN101832773B (en) * 2010-04-12 2012-01-04 大连理工大学 Three-dimensional landform observing device
CN102322816B (en) * 2011-06-13 2013-11-27 北京航空航天大学 Calibration target device and calibration method for three-dimensional ice-shaped digital image system
JP5999615B2 (en) * 2011-10-07 2016-09-28 国立研究開発法人情報通信研究機構 Camera calibration information generating apparatus, camera calibration information generating method, and camera calibration information generating program
US20140376821A1 (en) * 2011-11-07 2014-12-25 Dimensional Perception Technologies Ltd. Method and system for determining position and/or orientation
CN103578133B (en) * 2012-08-03 2016-05-04 浙江大华技术股份有限公司 A kind of method and apparatus that two-dimensional image information is carried out to three-dimensional reconstruction
CN102840948B (en) * 2012-09-28 2014-02-12 长庆石油勘探局技术监测中心 Batch calibration equipment and batch calibration method for intelligent pointer-type pressure gages
CN103198524B (en) * 2013-04-27 2015-08-12 清华大学 A kind of three-dimensional reconstruction method for large-scale outdoor scene
CN103673893B (en) * 2013-11-22 2016-05-04 国核电站运行服务技术有限公司 Pipeline three direction displacement laser measuring device for measuring and method
JP2015172493A (en) * 2014-03-11 2015-10-01 株式会社東芝 Range-finding device
CN103971406B (en) * 2014-05-09 2017-12-08 青岛大学 Submarine target three-dimensional rebuilding method based on line-structured light
CN104501779A (en) * 2015-01-09 2015-04-08 中国人民解放军63961部队 High-accuracy target positioning method of unmanned plane on basis of multi-station measurement
CN105391927A (en) * 2015-12-11 2016-03-09 天津十彩动画科技有限公司 3D camera with automatic tracking and positioning functions
CN108827147B (en) * 2017-05-18 2020-06-26 金钱猫科技股份有限公司 Image measuring method and system based on rapid calibration

Also Published As

Publication number Publication date
CN108844457A (en) 2018-11-20
CN108844456B (en) 2020-06-02
CN107101580A (en) 2017-08-29
CN108827147A (en) 2018-11-16
CN108827147B (en) 2020-06-26
CN107101580B (en) 2018-04-20
CN108844457B (en) 2019-05-28
CN108844456A (en) 2018-11-20
CN108548485A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN108548485B (en) A kind of image measuring method and system
CN106949845B (en) Two dimension laser galvanometer scanning system and scaling method based on binocular stereo vision
CN105157566A (en) Color three-dimensional laser scanner and three-dimensional color point cloud scanning method
CN110838164B (en) Monocular image three-dimensional reconstruction method, system and device based on object point depth
US20050190181A1 (en) Image processing method and apparatus
CN109215108A (en) Panorama three-dimensional reconstruction system and method based on laser scanning
CN110458932B (en) Image processing method, device, system, storage medium and image scanning apparatus
CN108288291A (en) Polyphaser calibration based on single-point calibration object
RU2734115C2 (en) Method and device for generating data characterizing a pixel beam
CN104463969B (en) A kind of method for building up of the model of geographical photo to aviation tilt
CN108709542A (en) Method for fast measuring, system based on coordinate transform and device
CN114066983A (en) Intelligent supplementary scanning method based on two-axis rotary table and computer readable storage medium
RU2479828C2 (en) Stereoscopic measurement system and method
CN115880344A (en) Binocular stereo matching data set parallax truth value acquisition method
CN109708618A (en) A kind of combined type determines the scaling method of photographic scale after three-dimensional reconstruction
CN111627100A (en) Numerical simulation method for evaluating photogrammetry precision
RU2729698C2 (en) Apparatus and method for encoding an image captured by an optical system for acquiring data
Ji et al. Calibration method of light-field camera for photogrammetry application
Al-Zahrani et al. Applications of a direct algorithm for the rectification of uncalibrated images
RU2471147C2 (en) Stereoscopic measuring system and method
Sergiyenko et al. Multi-view 3D data fusion and patching to reduce Shannon entropy in Robotic Vision
CN113776505B (en) Method for realizing close-range photogrammetry and three-dimensional visualization
Wong et al. View-synthesized ‘re-calibration’of an array projector for 3D measurement from an arbitrary monocular view
Meierhold et al. Line-based referencing between images and laser scanner data for image-based point cloud interpretation in a CAD-environment
Behan et al. Close-range photogrammetric measurement and 3d modelling for irish medieval architectural studies

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and system for image measurement

Granted publication date: 20190312

Pledgee: China Minsheng Banking Corp Fuzhou branch

Pledgor: JINQIANMAO TECHNOLOGY Co.,Ltd.

Registration number: Y2024980005129

PE01 Entry into force of the registration of the contract for pledge of patent right