CN115683059B - A structured light three-dimensional vertical line measurement device and method - Google Patents

A structured light three-dimensional vertical line measurement device and method Download PDF

Info

Publication number
CN115683059B
CN115683059B CN202211374739.XA CN202211374739A CN115683059B CN 115683059 B CN115683059 B CN 115683059B CN 202211374739 A CN202211374739 A CN 202211374739A CN 115683059 B CN115683059 B CN 115683059B
Authority
CN
China
Prior art keywords
checkerboard
camera
coordinates
coordinate system
vertical line
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
CN202211374739.XA
Other languages
Chinese (zh)
Other versions
CN115683059A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN202211374739.XA priority Critical patent/CN115683059B/en
Publication of CN115683059A publication Critical patent/CN115683059A/en
Application granted granted Critical
Publication of CN115683059B publication Critical patent/CN115683059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明提出了一种结构光三维垂线测量装置及方法。本发明方法通过张正友相机标定法对CCD相机参数进行标定;通过基于棋盘格的线结构光标定方法对激光平面参数进行标定;通过竖直放置两个姿态的棋盘格的方法,计算得到垂线方向向量标定参数;计算机控制CCD相机采集全景图像,提取水平方向的激光平面与垂线相交的光点和小球中心点的图像坐标,结合标定参数,构建垂线的解析方程和小球中心点投影成像的光线方程,联立求解得到小球中心点坐标,小球中心点坐标的变化量即为垂线在X、Y、Z三个方向上的位移。本发明的优点无需分别在三个方向配置相同结构的三套光源和传感器,简化结构,提高稳定性;使用高分辨率的相机和镜头,充分利用视场,可以提高测量精度和测量范围。

The present invention proposes a structured light three-dimensional vertical line measurement device and method. The method of the present invention calibrates the CCD camera parameters by Zhang Zhengyou camera calibration method; calibrates the laser plane parameters by line structured light calibration method based on chessboard; calculates the calibration parameters of the vertical line direction vector by placing two chessboards in vertical postures; the computer controls the CCD camera to collect panoramic images, extracts the image coordinates of the light point where the laser plane in the horizontal direction intersects the vertical line and the center point of the ball, and constructs the analytical equation of the vertical line and the light equation of the projection imaging of the center point of the ball in combination with the calibration parameters, and solves them together to obtain the coordinates of the center point of the ball. The change in the coordinates of the center point of the ball is the displacement of the vertical line in the three directions of X, Y, and Z. The advantages of the present invention are that there is no need to configure three sets of light sources and sensors of the same structure in three directions, simplifying the structure and improving stability; using high-resolution cameras and lenses, making full use of the field of view, and improving measurement accuracy and measurement range.

Description

Device and method for measuring three-dimensional vertical line of structured light
Technical Field
The invention belongs to the field of computer vision, and particularly relates to a device and a method for measuring a three-dimensional vertical line of structured light.
Background
The vertical line coordinatometer is a traditional instrument for measuring horizontal displacement and (vertical displacement) of a large engineering structure, is widely used for monitoring horizontal displacement and deflection of a dam and a building, and is important instrument equipment for ensuring safe operation of the dam. In order to achieve the targets of real-time acquisition, accuracy, reliability, online monitoring and quick feedback of the observation data of the plumb line gauge, an automatic measurement mode is required. With the development of sensor technology, an automatic telemetry mode is adopted to replace a traditional manual observation mode, so that the method has become a common important development direction of safety monitoring.
The plumb line coordinatometer can be divided into capacitive type, vortex type, photoelectric type and the like according to the working principle. The traditional capacitance type plumb line coordinatometer can realize measurement of plumb lines in a large range, high sensitivity and high precision, but when the measurement environment is wet and dusty, the dielectric constant between capacitance pole plates is easy to change slowly, so that the measurement result is distorted. The CCD sensor is widely used in the vertical line coordinatometer due to the advantages of small volume, light weight, high integration level, low power consumption, good linearity, large dynamic range, long service life, strong anti-interference capability and the like, and the existing automatic vertical line coordinatometer mostly adopts a displacement measurement technology based on a linear array CCD sensor. The design method of the plumb line coordinatometer based on the CCD prepares the plumb line coordinatometer based on the linear array CCD for observing the deformation of the well wall of the mine. The development method of the novel photoelectric plumb line coordinator develops a wide-range lensless CCD plumb line coordinator. But still has the problems that only two directions of a plane can be measured, a measuring device is repeated, the measuring range is small, the measuring precision is influenced by the quality of parallel light sources, and the like. On the basis, the design method of the three-dimensional vertical line coordinator based on the CCD is characterized in that a disc vertical to the disc is fixed on a vertical reference line in the horizontal direction and used as a vertical reference in the vertical direction, and the three-dimensional vertical line coordinator is designed. In order to expand the measuring range of the plumb line gauge, the development method of the wide-range stepping plumb line gauge adopts a stepping measuring principle, a stepping motor drives a photoelectric probe to realize the laser emission and receiving of planar two-dimensional displacement measurement to detect the position, the driving pulse of the stepping motor is adopted to count, and the lead screw leads are used for calculating the movement distance to give a displacement value. The high-speed high-precision plumb line coordinator adopts a similar thought to develop a high-speed high-precision plumb line coordinator, and the high-speed high-precision plumb line coordinator uses a grating ruler to carry out displacement measurement. The plumb line instrument based on the stepping measurement principle has the advantages of complex structure and high cost because the instrument comprises a motor and a screw rod mechanism.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a device and a method for measuring a three-dimensional vertical line of structured light.
The technical scheme of the device is that the device for measuring the three-dimensional vertical line of the structured light comprises a computer, a CCD camera, a line laser transmitter, a vertical line to be measured, a bracket and a small ball;
the CCD camera is connected with the computer;
the line laser transmitter is arranged below the CCD camera, faces the vertical line to be measured and transmits a laser plane in the horizontal direction;
The ball is fixed on the vertical line to be measured, and the vertical line to be measured is suspended in front of the CCD camera through the bracket;
the technical scheme of the method is a structured light three-dimensional perpendicular line measuring method, which comprises the following steps:
The method comprises the steps that 1, a computer calibrates a CCD camera main point, a CCD camera focal length and CCD camera distortion parameters through a Zhengyou camera calibration method to obtain calibrated camera main point, calibrated camera focal length and calibrated camera distortion parameters;
step 2, calibrating the laser plane parameters by a computer through a line structure light calibration method based on a checkerboard to obtain laser plane equation parameters;
The method comprises the steps of vertically placing a checkerboard in front of a CCD camera, collecting a first-posture checkerboard image by a computer through the CCD camera, extracting first-posture image coordinates of checkerboard corner points and first-posture world coordinates under a local checkerboard world coordinate system, calculating first postures of the local checkerboard world coordinate system, calculating first-posture camera coordinates of the checkerboard corner points under the camera coordinate system, and calculating the first-posture camera coordinates of the checkerboard corner points under the camera coordinate system to obtain normal vectors of a first-posture checkerboard plane through a least square fitting method;
Step 4, after the checkerboard is rotated by a certain angle, the computer collects a second posture checkerboard image through the CCD camera, extracts a second posture image coordinate of the corner points of the checkerboard and a second posture world coordinate under a local checkerboard world coordinate system, calculates a second posture of the local checkerboard world coordinate system, calculates a second posture camera coordinate of the corner points of the checkerboard under a camera coordinate system, and calculates the second posture camera coordinate of the corner points of the checkerboard under the camera coordinate system through a least square fitting method to obtain a normal vector of a second posture checkerboard plane;
step 5, carrying out cross multiplication on the normal vector of the first gesture checkerboard plane and the normal vector of the second gesture checkerboard plane to obtain a vertical line direction vector calibration parameter;
Step 6, controlling a CCD camera to acquire a panoramic image by a computer, carrying out distortion correction on the panoramic image by combining distortion parameters of the CCD camera to obtain a distortion corrected image, extracting image coordinates of light spots where a laser plane in the horizontal direction intersects with a vertical line, extracting image coordinates of a center point of a small ball, constructing an analytical equation of the vertical line and a ray equation of projection imaging of the center point of the small ball, and solving to obtain displacement of the vertical line in the directions X, Y, Z
Preferably, the extracting the first pose image coordinates of the checkerboard corner and the first pose world coordinates under the local checkerboard world coordinate system in step 3 specifically includes:
The computer processes the first posture checkerboard image by adopting a checkerboard angular point extraction algorithm, and extracts first posture image coordinates of the checkerboard angular points and first posture world coordinates under a local checkerboard world coordinate system;
Preferably, the calculating the first pose of the local checkerboard world coordinate system in step 3 is specifically:
The computer adopts a PnP algorithm, and calculates the first gesture of the local checkerboard world coordinate system by combining the first gesture image coordinate of the checkerboard corner and the first gesture world coordinate of the checkerboard corner under the local checkerboard world coordinate system;
Preferably, in the step 3, the calculating the first pose camera coordinates of the checkerboard corner under the camera coordinate system specifically includes:
Calculating first pose camera coordinates of the checkerboard corner points under the camera coordinate system through a camera imaging model by combining the calibrated camera main points, the calibrated camera focal length, calibrated camera distortion parameters and the first pose of the local checkerboard world coordinate system;
Preferably, the extracting the second pose image coordinates of the checkerboard angular points and the second pose world coordinates under the local checkerboard world coordinate system in step 4 is specifically as follows:
the computer processes the second posture checkerboard image by adopting a checkerboard angular point extraction algorithm, and extracts second posture image coordinates of the checkerboard angular points and second posture world coordinates under a local checkerboard world coordinate system;
Preferably, the calculating of the second pose of the local checkerboard world coordinate system in step 4 is specifically as follows:
the computer adopts a PnP algorithm, and combines the second pose image coordinates of the checkerboard angular points and the second pose world coordinates of the checkerboard angular points under the local checkerboard world coordinate system to calculate the second pose of the local checkerboard world coordinate system;
preferably, in the step 4, the calculating the second pose camera coordinates of the checkerboard corner under the camera coordinate system specifically includes:
Calculating second pose camera coordinates of the checkerboard corner points under the camera coordinate system through a camera imaging model by combining the calibrated camera main points, the calibrated camera focal length, calibrated camera distortion parameters and the second pose of the local checkerboard world coordinate system;
Preferably, in the step 6, the image coordinates of the light spot where the laser plane in the horizontal direction intersects with the perpendicular line specifically include:
The image after distortion correction is processed, and the image coordinates of the light spots where the laser plane in the horizontal direction intersects with the vertical line are extracted through median filtering, binarization and gray centroid method;
Preferably, the extracting the image coordinates of the center point of the pellet in step 6 specifically includes:
the computer intercepts an image block containing the small sphere from the image after distortion correction through morphological filtering and connected domain analysis, and extracts the image coordinates of the center point of the small sphere from the image block containing the small sphere through Gaussian filtering, canny edge extraction and ellipse fitting;
Preferably, the analytical equation for constructing the perpendicular line in step 6 is specifically:
the computer is combined with the laser plane equation parameters, the coordinates of the light spots are solved through the laser triangulation principle, and an analytic equation of the vertical line is built by combining the vertical line direction vector calibration parameters;
Preferably, the light ray equation for constructing the projection imaging of the center point of the pellet in the step 6 is specifically:
the computer combines the main point of the calibrated camera, the focal length of the calibrated camera and the distortion parameters of the calibrated camera, and constructs a light ray equation of the projection imaging of the center point of the small ball according to the imaging model of the camera;
Preferably, the solving in the step 6 obtains the displacement of the perpendicular in X, Y, Z three directions, specifically:
and solving an analytic equation of the simultaneous vertical line and a light ray equation of the projection imaging of the center point of the small ball to obtain the coordinate of the center point of the small ball, wherein the variable quantity of the coordinate of the center point of the small ball is the displacement of the vertical line in three directions X, Y, Z.
The invention has the advantages that based on the laser triangulation ranging principle of line structured light, the three-dimensional displacement measurement of the vertical line can be realized by adopting a single line structured light source, three sets of light sources and sensors with the same structure are not required to be respectively configured in X, Y, Z directions, the structure is simplified, the stability is improved, and a high-resolution camera and a lens are used, so that the field of view is fully utilized, and the measurement precision and the measurement range can be improved.
Drawings
FIG. 1 is a schematic diagram of a device structure according to an embodiment of the present invention.
FIG. 2 is a flow chart of a method of an embodiment of the present invention.
FIG. 3 is a schematic diagram of a three-dimensional vertical measurement calibration vertical direction vector in accordance with an embodiment of the present invention.
FIG. 4 is a schematic diagram of three-dimensional plumb line measurement of an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In particular, the method according to the technical solution of the present invention may be implemented by those skilled in the art using computer software technology to implement an automatic operation flow, and a system apparatus for implementing the method, such as a computer readable storage medium storing a corresponding computer program according to the technical solution of the present invention, and a computer device including the operation of the corresponding computer program, should also fall within the protection scope of the present invention.
FIG. 1 is a schematic diagram of a device structure according to an embodiment of the present invention, wherein the technical scheme of the device according to the embodiment of the present invention is a device for measuring three-dimensional vertical lines of structured light, comprising a computer, a CCD camera, a line laser emitter, a vertical line to be measured, a bracket, and a small ball;
the CCD camera is connected with the computer;
the line laser transmitter is arranged below the CCD camera, faces the vertical line to be measured and transmits a laser plane in the horizontal direction;
The ball is fixed on the vertical line to be measured, and the vertical line to be measured is suspended in front of the CCD camera through the bracket.
The selection of the computer is i7-7700 CPU, 16GB memory and Windows10 operating system;
the CCD camera is selected from JAI GO-5000M-PGE;
The line laser transmitter is selected from the group consisting of permanent-100M-16A 648-50-GLXS;
The vertical line to be measured is selected from a white building string;
The bracket is a laboratory bracket with the height of 50 cm;
The pellet is a white plastic hollow pellet with the diameter of 5 mm.
The following describes a method for measuring three-dimensional plumb line of structured light according to an embodiment of the present invention with reference to fig. 2 to fig. 4, which specifically includes the following steps:
The method comprises the steps that 1, a computer calibrates a CCD camera main point, a CCD camera focal length and CCD camera distortion parameters through a Zhengyou camera calibration method to obtain calibrated camera main point, calibrated camera focal length and calibrated camera distortion parameters;
step 2, calibrating the laser plane parameters by a computer through a line structure light calibration method based on a checkerboard to obtain laser plane equation parameters;
The method comprises the steps of (3) vertically placing a checkerboard in front of a CCD camera, collecting a first posture checkerboard image by a computer through the CCD camera, processing the first posture checkerboard image by the computer through a checkerboard corner extraction algorithm, extracting first posture image coordinates of the checkerboard corner and first posture world coordinates under a local checkerboard world coordinate system, calculating a first posture of the local checkerboard world coordinate system by the computer through a PnP algorithm by combining the first posture image coordinates of the checkerboard corner and the first posture world coordinates of the checkerboard corner under the local checkerboard world coordinate system, calculating a first posture of the local checkerboard world coordinate system by combining a calibrated camera principal point, a calibrated camera focal length, calibrated camera distortion parameters and the first posture of the local checkerboard world coordinate system through a camera imaging model, and calculating the first posture camera coordinates of the checkerboard corner under the camera coordinate system through a least square fitting method to obtain a normal vector of the first posture checkerboard plane;
Step 4, after the checkerboard rotates a certain angle, the computer collects a second posture checkerboard image through the CCD camera, the computer processes the second posture checkerboard image by adopting a checkerboard angular point extraction algorithm, a second posture image coordinate of the checkerboard angular point and a second posture world coordinate under a local checkerboard world coordinate system are extracted, the computer calculates a second posture of the local checkerboard world coordinate system by adopting a PnP algorithm and combining the second posture image coordinate of the checkerboard angular point and the second posture world coordinate of the checkerboard angular point under the local checkerboard world coordinate system;
step 5, carrying out cross multiplication on the normal vector of the first gesture checkerboard plane and the normal vector of the second gesture checkerboard plane to obtain a vertical line direction vector calibration parameter;
The method comprises the steps of 6, controlling a CCD camera to collect a panoramic image by a computer, carrying out distortion correction on the panoramic image by combining distortion parameters of the CCD camera to obtain a distortion corrected image, processing the distortion corrected image, extracting image coordinates of light spots of a laser plane intersecting with a vertical line in the horizontal direction by a median filtering, binarization and gray centroid method, intercepting an image block containing a small ball by the computer through morphological filtering and connected domain analysis on the distortion corrected image, extracting image coordinates of a small ball center point by Gaussian filtering, channel edge extraction and ellipse fitting on the image block containing the small ball, solving the coordinates of the light spots by a laser plane equation parameter by a laser triangulation principle, constructing an analytic equation of the vertical line by combining the vector calibration parameters of the vertical line, constructing a ray equation of the small ball center point projection imaging according to a camera imaging model by combining camera principal point, calibrating camera focal length and calibrated camera distortion parameters, and solving the analytic equation of the small ball center point projection imaging by the computer, wherein the change quantity of the small ball center point coordinate is the displacement in X, Y, Z directions.
The principle of measuring and calibrating the vertical line direction vector by the three-dimensional vertical line in the embodiment of the invention is shown in fig. 3, wherein O-uv is a camera imaging surface, and O c-XcYcZc is a camera coordinate system. Checkerboard plane α 1 is the checkerboard plane in the first pose, and checkerboard plane α 2 is the checkerboard plane in the second pose. P c,i,j is the coordinate of an angle point on the checkerboard plane alpha 1 under the camera coordinate system, wherein the subscript c represents that the coordinate value is based on the camera coordinate system, the subscript i represents that the angle point is positioned on the ith row of the checkerboard, the subscript j represents that the angle point is positioned on the jth column of the checkerboard, the value range of the subscript i is 1-11 according to the used calibration plate size of 11 multiplied by 8, and the value range of the subscript j is 1-8. P w,i,j is the coordinate of the corner point of the ith row and jth column in the local world coordinate system, where the subscript w indicates that the coordinate value is based on the local world coordinate system. p i,j is the image coordinates of the projection points of the checkerboard corner of the ith row and the jth column. n 1 is the normal vector of the checkerboard plane α 1, n 2 is the normal vector of the checkerboard plane α 2, n is a vertical line direction vector calibration parameter, wherein the vertical line is the intersection line of the plane α 1 and the plane α 2, and then the vertical line direction vector can be obtained by the normal vector of the two planes in a cross-multiplying way, namely n=n 1×n2.
The three-dimensional plumb line measurement principle of the embodiment of the invention is shown in fig. 4, wherein O-uv is a camera imaging surface, and O c-XcYcZc is a camera coordinate system. P c is the sphere center point and P is the image point it images. P 1 is the point of light at which the laser plane intersects the vertical, and P 1 is the point of light at which it is imaged. The equation of the simultaneous ray P c P and the equation of the perpendicular line are as follows:
Wherein f x is the calibrated X-direction camera focal length, f y is the calibrated Y-direction camera focal length, u 0 is the calibrated X-direction offset of the main camera point, v 0 is the calibrated Y-direction offset of the main camera point, n x is the X-direction component of the vertical line direction vector calibration parameter n, n y is the Y-direction component of the vertical line direction vector calibration parameter n, n z is the Z-direction component of the vertical line direction vector calibration parameter n, X c is the X-coordinate value of P c in the camera coordinate system, Y c is the Y-coordinate value of P c in the camera coordinate system, and Z c is the Z-coordinate value of P c in the camera coordinate system. And solving the above overdetermined equation set by least square to obtain the coordinate value x c、yc、zc of the ball center point P c.
According to the method, a three-dimensional vertical line measuring system (hereinafter referred to as the system) based on structured light is constructed based on a Windows platform, a vertical line displacement measuring experiment is carried out on a laboratory mobile platform, a high-precision grating ruler and a guide rail are used for controlling the vertical line to move 5mm each time, the measured vertical line displacement is compared with the reading of the grating ruler, the error is calculated, and experimental data are shown in tables 1 and 2:
TABLE 1 vertical X-direction displacement measurement experiment result table (unit: mm)
TABLE 2 vertical Y-direction displacement measurement experiment result table (unit: mm)
The displacement of the vertical line in the Z direction was difficult to control precisely, so2 pellets were hung on the vertical line, the distance between the 2 pellets was measured by the above method, and experimental data are shown in table 3, in comparison with the distance measured by a vernier caliper:
TABLE 3 vertical Z-direction displacement measurement experiment result table (unit: mm)
In summary, aiming at the problems that the conventional plumb line coordinatometer can only measure the displacement of two directions of a plane, has small measuring range, complex instrument structure and the like, the invention selects a proper camera and lens based on the laser triangulation principle to construct a structured light measuring system, and simultaneously fixes a small ball on the plumb line, thereby realizing the simultaneous measurement of the displacement of the plumb line in three directions, and having high precision, large measuring range, high measuring speed, simple structure and high reliability. Experimental results prove that the method provided by the invention can be used for simultaneously measuring the displacement in three directions of the vertical line, and the measurement accuracy meets the requirement.
It should be understood that parts of the specification not specifically set forth herein are all prior art.
Although terms such as computer, CCD camera, line laser emitter, vertical line to be measured, stand, ball, etc. are used more herein, the possibility of using other terms is not excluded. These terms are only used to facilitate a more complete description of the nature of the invention and should be construed as requiring no additional limitations whatsoever.
It should be understood that the foregoing description of the preferred embodiments is not intended to limit the scope of the invention, but rather to limit the scope of the claims, and that those skilled in the art can make substitutions or modifications without departing from the scope of the invention as set forth in the appended claims.

Claims (8)

1. The structured light three-dimensional vertical line measuring method of the structured light three-dimensional vertical line measuring device is characterized by comprising a computer, a CCD camera, a line laser emitter, a vertical line to be measured, a bracket and a small ball;
the CCD camera is connected with the computer;
the line laser transmitter is arranged below the CCD camera, faces the vertical line to be measured and transmits a laser plane in the horizontal direction;
The ball is fixed on the vertical line to be measured, and the vertical line to be measured is suspended in front of the CCD camera through the bracket;
The method for measuring the three-dimensional perpendicular line of the structured light comprises the following steps:
The method comprises the steps that 1, a computer calibrates a CCD camera main point, a CCD camera focal length and CCD camera distortion parameters through a Zhengyou camera calibration method to obtain calibrated camera main point, calibrated camera focal length and calibrated camera distortion parameters;
step 2, calibrating the laser plane parameters by a computer through a line structure light calibration method based on a checkerboard to obtain laser plane equation parameters;
The method comprises the steps of vertically placing a checkerboard in front of a CCD camera, collecting a first-posture checkerboard image by a computer through the CCD camera, extracting first-posture image coordinates of checkerboard corner points and first-posture world coordinates under a local checkerboard world coordinate system, calculating first postures of the local checkerboard world coordinate system, calculating first-posture camera coordinates of the checkerboard corner points under the camera coordinate system, and calculating the first-posture camera coordinates of the checkerboard corner points under the camera coordinate system to obtain normal vectors of a first-posture checkerboard plane through a least square fitting method;
Step 4, after the checkerboard is rotated by a certain angle, the computer collects a second posture checkerboard image through the CCD camera, extracts a second posture image coordinate of the corner points of the checkerboard and a second posture world coordinate under a local checkerboard world coordinate system, calculates a second posture of the local checkerboard world coordinate system, calculates a second posture camera coordinate of the corner points of the checkerboard under a camera coordinate system, and calculates the second posture camera coordinate of the corner points of the checkerboard under the camera coordinate system through a least square fitting method to obtain a normal vector of a second posture checkerboard plane;
step 5, carrying out cross multiplication on the normal vector of the first gesture checkerboard plane and the normal vector of the second gesture checkerboard plane to obtain a vertical line direction vector calibration parameter;
And 6, controlling a CCD camera to acquire a panoramic image by a computer, carrying out distortion correction on the panoramic image by combining distortion parameters of the CCD camera to obtain a distortion corrected image, extracting image coordinates of light spots where a laser plane in the horizontal direction intersects with a vertical line, extracting image coordinates of a center point of a small ball, constructing an analytical equation of the vertical line and a ray equation of projection imaging of the center point of the small ball, and solving to obtain displacement of the vertical line in the directions X, Y, Z.
2. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
step 3, extracting first pose image coordinates of the checkerboard angular points and first pose world coordinates under a local checkerboard world coordinate system, specifically:
the computer processes the first posture checkerboard image by adopting a checkerboard corner extraction algorithm, and extracts first posture image coordinates of the checkerboard corner and first posture world coordinates under a local checkerboard world coordinate system.
3. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
step 3, calculating a first pose of the local checkerboard world coordinate system, specifically:
The computer adopts a PnP algorithm, and calculates the first gesture of the local checkerboard world coordinate system by combining the first gesture image coordinate of the checkerboard corner and the first gesture world coordinate of the checkerboard corner under the local checkerboard world coordinate system;
step 3, calculating first pose camera coordinates of the checkered corner under a camera coordinate system, specifically:
And calculating first pose camera coordinates of the checkerboard corner points under the camera coordinate system through a camera imaging model by combining the calibrated camera main points, the calibrated camera focal length, calibrated camera distortion parameters and the first pose of the local checkerboard world coordinate system.
4. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
And step 4, extracting second pose image coordinates of the checkerboard angular points and second pose world coordinates under a local checkerboard world coordinate system, wherein the second pose image coordinates and the second pose world coordinates are specifically as follows:
the computer processes the second posture checkerboard image by adopting a checkerboard angular point extraction algorithm, and extracts second posture image coordinates of the checkerboard angular points and second posture world coordinates under a local checkerboard world coordinate system.
5. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
And 4, calculating a second pose of the local checkerboard world coordinate system, wherein the second pose is specifically as follows:
the computer adopts a PnP algorithm, and combines the second pose image coordinates of the checkerboard angular points and the second pose world coordinates of the checkerboard angular points under the local checkerboard world coordinate system to calculate the second pose of the local checkerboard world coordinate system;
and step 4, calculating second posture camera coordinates of the checkered corner under a camera coordinate system, wherein the second posture camera coordinates are specifically as follows:
and calculating second pose camera coordinates of the checkerboard corner points under the camera coordinate system through a camera imaging model by combining the calibrated camera main points, the calibrated camera focal length, calibrated camera distortion parameters and the second pose of the local checkerboard world coordinate system.
6. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
and 6, the image coordinates of the light spot where the laser plane in the horizontal direction intersects with the vertical line are specifically:
The image after distortion correction is processed, and the image coordinates of the light spots where the laser plane in the horizontal direction intersects with the vertical line are extracted through median filtering, binarization and gray centroid method;
and 6, extracting the image coordinates of the center point of the small sphere, wherein the image coordinates are specifically as follows:
the computer intercepts the image block containing the small sphere from the image after distortion correction through morphological filtering and connected domain analysis, and extracts the image coordinates of the center point of the small sphere from the image block containing the small sphere through Gaussian filtering, canny edge extraction and ellipse fitting.
7. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
and 6, constructing an analytic equation of the vertical line, which specifically comprises the following steps:
the computer is combined with the laser plane equation parameters, the coordinates of the light spots are solved through the laser triangulation principle, and an analytic equation of the vertical line is built by combining the vertical line direction vector calibration parameters;
the light equation of the projection imaging of the center point of the small sphere in the step 6 is specifically as follows:
And the computer combines the main point of the calibrated camera, the focal length of the calibrated camera and the distortion parameters of the calibrated camera, and constructs a light ray equation of the projection imaging of the center point of the small ball according to the imaging model of the camera.
8. The structured light three-dimensional plumb line measuring method of the structured light three-dimensional plumb line measuring device according to claim 1, characterized by:
And step 6, solving to obtain displacement of the vertical line in X, Y, Z three directions, wherein the displacement is specifically as follows:
and solving an analytic equation of the simultaneous vertical line and a light ray equation of the projection imaging of the center point of the small ball to obtain the coordinate of the center point of the small ball, wherein the variable quantity of the coordinate of the center point of the small ball is the displacement of the vertical line in three directions X, Y, Z.
CN202211374739.XA 2022-11-04 2022-11-04 A structured light three-dimensional vertical line measurement device and method Active CN115683059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211374739.XA CN115683059B (en) 2022-11-04 2022-11-04 A structured light three-dimensional vertical line measurement device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211374739.XA CN115683059B (en) 2022-11-04 2022-11-04 A structured light three-dimensional vertical line measurement device and method

Publications (2)

Publication Number Publication Date
CN115683059A CN115683059A (en) 2023-02-03
CN115683059B true CN115683059B (en) 2025-05-13

Family

ID=85047839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211374739.XA Active CN115683059B (en) 2022-11-04 2022-11-04 A structured light three-dimensional vertical line measurement device and method

Country Status (1)

Country Link
CN (1) CN115683059B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118836767B (en) * 2024-06-14 2024-12-20 江苏信息职业技术学院 Perpendicular coordinate measuring method based on structured light image
CN118999405B (en) * 2024-07-15 2025-12-02 浙江大学 A calibration method for a 360-degree panoramic three-dimensional scanning measurement device
CN120351856A (en) * 2025-06-24 2025-07-22 长江水利委员会长江科学院 Displacement measurement method and device based on binocular vision

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106871799A (en) * 2017-04-10 2017-06-20 淮阴工学院 A kind of full-automatic crops plant height measuring method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017109039A1 (en) * 2017-04-27 2018-10-31 Sick Ag Method for calibrating a camera and a laser scanner
CN113405528B (en) * 2021-06-18 2023-02-24 天津市勘察设计院集团有限公司 Total station assisted ball machine attitude measurement and leveling method and device
CN115046498B (en) * 2022-08-11 2022-11-01 中国石油大学(华东) Calibration method for monocular rotating structure light three-dimensional measurement system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106871799A (en) * 2017-04-10 2017-06-20 淮阴工学院 A kind of full-automatic crops plant height measuring method and device

Also Published As

Publication number Publication date
CN115683059A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN115683059B (en) A structured light three-dimensional vertical line measurement device and method
CN108844459B (en) Calibration method and device of blade digital sample plate detection system
US20140132729A1 (en) Method and apparatus for camera-based 3d flaw tracking system
CN108709499A (en) A kind of structured light vision sensor and its quick calibrating method
CN104665836A (en) length measuring method and length measuring device
CN106767443B (en) A fully automatic two-dimensional image detector and measurement method
CN101650156B (en) Device and method for measuring geometric parameter of superplastic non-spherical free bulge
CN111947578A (en) A structure displacement measurement system and its measurement method
CN104535300B (en) Large-diameter collimator wavefront and image surface position calibration device and method
CN107817044A (en) The measurement apparatus and method of sheet material vibration based on machine vision
CN102419198A (en) A liquid level high-precision real-time laser triangulation measurement method and measurement device
CN111325793A (en) A spot-based dynamic calibration system and calibration method for pixel size in image measurement
CN116202423A (en) Line laser two-dimensional positioning method based on laser triangulation ranging
CN101865721A (en) New method for automatically measuring weight of propeller blades
CN109506629B (en) A method for calibrating the rotation center of an underwater nuclear fuel assembly detection device
Zexiao et al. A novel approach for the field calibration of line structured-light sensors
CN106643488B (en) A Method for Calibrating Virtual Optical Axis of Infrared CCD Camera
CN106767926B (en) Calibration method of digital calibration system of demarcation device
CN111953912A (en) A method and device for detecting the spatial position of a high-speed moving light spot
CN105891842A (en) Height and distance measuring apparatus based on camera and laser emitter
CN104567812A (en) Method and device for measuring spatial position
CN111044039A (en) Monocular target area self-adaptive high-precision distance measuring device and method based on IMU
CN114862960B (en) Image ground leveling method, device, electronic device and medium for multi-camera calibration
CN114266835B (en) A deformation monitoring control method and system for non-measuring cameras
CN201488710U (en) Measuring device for free bulging geometric parameters of superplastic aspheric surface

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