A method for measuring influence line of bridge structure displacement based on computer vision technology

Through the corner detection method and feature matching method combined with transformation matrix technology, the accuracy problem of bridge structure displacement measurement in a noisy environment in the existing technology is solved, high-precision displacement measurement and load analysis are achieved, and provide safety management for the bridge. important reference.

CN118376162BActive Publication Date: 2024-10-15LANZHOU UNIVERSITY OF TECHNOLOGY
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410797336.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-15
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

The existing actual measurement method of bridge structure displacement influence line based on computer vision technology has reduced accuracy in a noisy environment. The optical flow algorithm is sensitive to illumination changes, resulting in inaccurate feature point identification and tracking, affecting measurement accuracy and accuracy of data processing. sex.

Method used

The corner detection method and feature matching method are used to extract and track the feature points of the bridge structure from the video. The displacement vector in the image coordinates is mapped to the bridge structure coordinates through the transformation matrix, and a load matrix is ​​constructed to solve the displacement influence line and establish the load and model of the relationship between displacements.

Benefits of technology

It improves the accuracy of bridge displacement measurement and data processing, reduces human errors, reduces costs, improves work efficiency, and provides a scientific basis for bridge structural analysis and monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118376162B_ABST
    Figure CN118376162B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of bridge structure detection, and specifically relates to a method for measuring the displacement influence line of a bridge structure based on computer vision technology. It includes: setting up a high-definition camera on the bridge, extracting an image sequence of the bridge structure at different time points from the collected video; using a corner detection method to identify the characteristic points of the bridge structure in the image sequence; extracting the coordinates of continuous characteristic points in two frames of images, and summarizing the displacement vectors of all characteristic points; using a transformation matrix to map the displacement vector in the image coordinates to the bridge structure coordinates; graphically representing the mapped displacement vector on the bridge structure diagram; and solving the displacement influence line based on the actual traffic load on the bridge using the constructed load matrix and the structural displacement data. The present invention provides a method for measuring the displacement influence line of a bridge structure based on computer vision technology, which improves the accuracy of regular inspection and maintenance of bridges and provides important reference data for bridge design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of bridge structure detection, and in particular relates to a method for measuring displacement influence lines of a bridge structure based on computer vision technology. Background Art

[0002] A Chinese patent discloses a method for measuring the displacement influence line of a bridge structure based on computer vision technology (CN109580137B), which uses an optical flow algorithm in video data and image processing; however, the accuracy of the optical flow algorithm will be reduced in images with large noise. The optical flow algorithm is only applicable to small feature points and is not accurate enough for large-area motion or deformation. In addition, the optical flow algorithm is sensitive to changes in illumination, resulting in tracking failure; therefore, it is easily affected by weather conditions (such as rain, fog, and changes in illumination), resulting in a decrease in measurement quality and affecting the accuracy of data processing. Once the data processing is inaccurate, the key feature points in the bridge structure cannot be accurately identified and tracked, and the accuracy of displacement measurement cannot be guaranteed.

[0003] In addition, the traditional method of measuring displacement influence lines requires obtaining them through static load tests or calibrating vehicles passing the bridge at a constant speed. These methods may affect the daily operation of the bridge structure, and have high test costs and low work efficiency. Summary of the invention

[0004] In order to achieve the above objectives, the present invention adopts the following technical solutions:

[0005] The purpose of the present invention is to provide a method for measuring the displacement influence line of a bridge structure based on computer vision technology, so as to solve the problem of inaccurate identification and tracking of feature points in the prior art.

[0006] A method for measuring the influence line of bridge structure displacement based on computer vision technology:

[0007] S1. Set up high-definition cameras at key locations on the bridge and extract image sequences of the bridge structure at different time points from the collected videos;

[0008] S2. Utilization The corner point detection method is used to identify the characteristic points of the bridge structure in the image sequence, and the feature matching method is used to track the continuous characteristic points among the identified characteristic points to determine the position of the continuous characteristic points in the next frame;

[0009] S3. Extract the coordinates of the continuous feature points in the two frames, calculate the position change of the feature points between the continuous frames, obtain the displacement vector, summarize the displacement vectors of all feature points, and calculate the displacement amplitude and direction;

[0010] S4. Mapping the displacement vector in the image coordinates to the bridge structure coordinates using a transformation matrix;

[0011] S5. The mapped displacement vector Graphically represent the construction of displacement influence lines on the structural diagram of the bridge;

[0012] S6. According to the actual traffic load on the bridge, the actual load data of each load point on the displacement influence line constructed in step S5 is collected, a load matrix is ​​constructed, and the displacement influence line is solved using the constructed load matrix and the structural displacement data.

[0013] In step 2, using Corner detection method to identify the characteristic points of bridge structures in image sequences:

[0014] Step 21. Grayscale the image, converting the color video frame into a grayscale image, because the grayscale image reduces the complexity of processing while retaining the necessary brightness information;

[0015] Image grayscale is achieved by converting RGB color images into grayscale values. The formula is as follows:

[0016] ;

[0017] is a grayscale image, , , are the intensity values ​​of the red, green and blue channels respectively,

[0018] Step 22. Calculate the gradient for each pixel in the grayscale image and The first-order derivative (gradient) of the direction is used to obtain the gradient image of the image. The gradient reflects the amplitude and direction of the image brightness change and is the basis for corner point detection.

[0019] Calculate the grayscale image for each pixel and First derivative of direction:

[0020] ;

[0021] ;

[0022] in, is the image brightness function, and Along and Direction gradient.

[0023] Step 23. Calculate the second-order derivative, calculate the second-order derivative of the gradient image, and get the image matrix;

[0024] The gradient image in step 22 is differentiated again to obtain the second-order derivative:

[0025] ;

[0026] Use the obtained second-order derivative to construct Matrix, the constructed second-order matrix is:

[0027] ;

[0028] Step 24. Eigenvalue calculation, The eigenvalues ​​of the matrix reflect the local geometric structure of the image at a specific point. Calculate eigenvalues ​​of a matrix:

[0029] ;

[0030] in, is the eigenvalue, and is the corresponding eigenvector.

[0031] Step 25. Use The formula calculates the corner point response:

[0032] ;

[0033] in, , Each pixel The eigenvalues ​​of a matrix, is an empirical constant, Usually 0.04 is taken.

[0034] In step 2, the feature matching method is used to track the identified continuous feature points. To match the feature point descriptor of the previous frame with the feature point descriptor of the current frame, the best match is found by comparing all possible descriptors. The matching score is determined by calculating the distance between the descriptors. The distance between the descriptors is determined using the Euclidean distance, and the determination formula is:

[0035] ;

[0036] in, and is the descriptor of two feature points, is the length of the descriptor.

[0037] Step 3. For the matched feature points, extract their coordinates in the two frames, calculate the position change of the feature points between consecutive frames, obtain the displacement vector, summarize the displacement vectors of all feature points, and calculate the displacement amplitude and direction;

[0038] First, extract the coordinates of the matched feature points in the two frames, and record the coordinates of the feature points in the first frame as , the coordinates of the feature points in the second frame are ,

[0039] Calculate the position change of feature points between consecutive frames and obtain the displacement vector :

[0040] ;

[0041] in, is along The displacement of the axis, is along Displacement of the axis;

[0042] Secondly, summarize the displacement vectors of all feature points to get the displacement vector set ,

[0043] ;

[0044] For each feature point Analyze and calculate its displacement amplitude and displacement direction ,

[0045] ;

[0046] ;

[0047] and The displacement vectors are Axis and The weight on the axis, is an inverse tangent function that takes the quadrant into account to ensure the correct direction.

[0048] Step 4. Transform the displacement vector in image coordinates using the transformation matrix Mapped to the bridge structure coordinates,

[0049] Using the Transformation Matrix The image coordinates are converted to bridge structure coordinates, and the displacement vector in the image coordinates is transformed using the transformation matrix Mapped to the bridge structure coordinates, the converted displacement vector Used to represent the actual displacement of the bridge structure and directly used for structural analysis and monitoring of the bridge;

[0050] Transformation Matrix Combines rotation, scaling, and translation operations;

[0051] The rotation matrix is ​​expressed as :

[0052] ;

[0053] In the formula, is the rotation angle, which indicates how many degrees the displacement vector needs to be rotated to align with the bridge structure coordinate system. The rotation matrix is ​​used to adjust the direction of the displacement vector to make it consistent with the direction of the bridge coordinate system.

[0054] The scaling matrix is :

[0055] ;

[0056] and Respectively indicate along Axis and The scaling factor of the axis, and They are used to adjust the horizontal and vertical sizes of the displacement vector to make them proportional to the actual size of the bridge.

[0057] The translation vector is: , and Respectively indicate along Axis and The translation distance of the axis is used to move the displacement vector from the origin of the image coordinate system to the corresponding position of the bridge structure coordinate system.

[0058] Transformation Matrix :

[0059] ;

[0060] After transformation matrix Transformed displacement vector :

[0061] ;

[0062] Applying a transformation matrix To the original displacement vector On the left, the transformation from image coordinates to bridge structure coordinates is completed.

[0063] Step 5. Construct the displacement influence line and map the displacement vector It is represented graphically on the structural diagram of the bridge to generate a visual graph to intuitively show the displacement of the bridge structure under the load. Arrows are drawn to represent the displacement of each feature point. The starting point of the arrow is the position of the feature point, and the length and direction of the arrow represent the magnitude and direction of the displacement respectively.

[0064] Step 6. Construction of load matrix and solution of displacement influence line. According to the actual traffic load on the bridge, collect the actual load data of each load point on the displacement influence line constructed in step S5, and construct the load matrix. , using the constructed load matrix and structural displacement data, the displacement influence line is solved by linear regression method, the relationship model between load and displacement is established, and the displacement response of the bridge under different load conditions is predicted, which provides a scientific basis for the design, maintenance and safety assessment of the bridge.

[0065] In step 6, the load matrix :

[0066] ;

[0067] is the number of load points, is the number of observation points, It represents the load of the i-th load point on the The impact of each observation point;

[0068] By linear regression method, the load matrix and the transformed matrix are solved. The relationship between the transformed displacement vector sets and the displacement influence lines obtained can be used for structural analysis and monitoring of bridges, helping engineers evaluate the health and safety of bridges, and solving the load matrix and the transformed matrix The formula for the relationship between the transformed displacement vector sets is:

[0069] ;

[0070] is the transformed matrix The transformed displacement vector set includes the displacement vectors of all observation points; is the load vector, which represents the load condition on the bridge;

[0071] , It is Load magnitude at each load point, load vector It is solved by the least squares method or other linear regression techniques.

[0072] The solution is to find the optimal load vector , so that and The error between them is the smallest, and the solution formula is:

[0073] ;

[0074] In the formula, yes The inverse matrix of yes The transposed matrix of .

[0075] By constructing the load matrix and solving the displacement influence line, it can more directly support the location of structural damage and the quantitative analysis of the damage degree.

[0076] In summary, due to the adoption of the above technical solution, the beneficial technical effects of the invention are:

[0077] A method for measuring the displacement influence line of a bridge structure based on computer vision technology uses corner point detection and feature matching methods to automatically extract and track the feature points of the bridge structure from the video, reducing human errors and improving accuracy.

[0078] A method for measuring the displacement influence line of a bridge structure based on computer vision technology calculates the position change of feature points between consecutive frames to obtain the displacement vector, and summarizes the displacement vectors of all feature points to achieve accurate measurement of bridge displacement.

[0079] A method for measuring the displacement influence line of a bridge structure based on computer vision technology uses a transformation matrix to convert the displacement vector in the image coordinate system into the bridge structure coordinate system, ensuring the accuracy and practicality of the data.

[0080] A method for measuring the displacement influence line of bridge structure based on computer vision technology establishes a relationship model between load and displacement by constructing a load matrix and solving the displacement influence line, providing a scientific basis for the structural analysis and monitoring of bridges.

[0081] Through the above method, a bridge structure displacement influence line measurement method based on computer vision technology reduces the complexity of data processing and improves the efficiency of data processing through automation. Compared with traditional sensor deployment, it has lower cost and higher scalability. At the same time, accurate displacement monitoring and load analysis help to timely discover potential problems of bridge structures and improve the safety management level of bridges.

[0082] Application prospects:

[0083] A method for measuring the displacement influence line of a bridge structure based on computer vision technology provides an efficient and accurate method for the regular inspection and maintenance of bridges. Secondly, through real-time monitoring of bridge displacement, abnormal changes can be discovered in time and possible disasters can be warned. Finally, displacement data and load analysis can provide important reference data for bridge design and help optimize bridge structures. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 This is a flow chart of a method for measuring influence lines of bridge structure displacement based on computer vision technology. DETAILED DESCRIPTION

[0085] In order to make the purpose, technical solution and advantages of the invention more clear, the invention is further described in detail below in combination with the embodiments. It should be understood that the specific embodiments described here are only used to explain the invention and are not used to limit the invention.

[0086] like Figure 1 As shown in the figure, a method for measuring the influence line of bridge structure displacement based on computer vision technology is as follows:

[0087] Step 1. Data collection and processing: set up a high-definition camera on the bridge and extract image sequences of the bridge structure at different time points from the collected video;

[0088] Install high-definition cameras on the bridge to ensure that the cameras can cover the main monitoring area of ​​the bridge. The cameras should be set with appropriate resolution and frame rate to ensure the accuracy of subsequent data processing. Image sequences of the bridge structure at different time points can be extracted from the collected video to obtain image data of the bridge structure changing over time, which provides a basis for subsequent feature point recognition and displacement analysis.

[0089] Step 2. Feature point recognition and tracking, using The corner point detection method identifies the characteristic points of the bridge structure in the image sequence, and the feature matching method is used to track the continuous characteristic points among the identified characteristic points to determine their positions in the next frame. Through image processing technology, the key characteristic points in the bridge structure are successfully identified, laying the foundation for the subsequent displacement vector calculation;

[0090] In step 2, using Corner detection method to identify the characteristic points of bridge structures in image sequences:

[0091] Step 21. Grayscale the image, converting the color video frame into a grayscale image, because the grayscale image reduces the complexity of processing while retaining the necessary brightness information;

[0092] Image grayscale is achieved by converting RGB color images into grayscale values. The formula is as follows:

[0093] ;

[0094] is a grayscale image, , , are the intensity values ​​of the red, green and blue channels respectively,

[0095] Step 22. Calculate the gradient for each pixel in the grayscale image and The first-order derivative (gradient) of the direction is used to obtain the gradient image of the image. The gradient reflects the amplitude and direction of the image brightness change and is the basis for corner point detection.

[0096] Calculate the grayscale image for each pixel and First derivative of direction:

[0097] ;

[0098] ;

[0099] in, is the image brightness function, and Along and Direction gradient.

[0100] Step 23. Calculate the second-order derivative, calculate the second-order derivative of the gradient image, and get the image matrix;

[0101] The gradient image in step 22 is differentiated again to obtain the second-order derivative:

[0102] ;

[0103] Use the obtained second-order derivative to construct Matrix, the constructed second-order matrix is:

[0104] ;

[0105] Step 24. Eigenvalue calculation, The eigenvalues ​​of the matrix reflect the local geometric structure of the image at a specific point. Calculate eigenvalues ​​of a matrix:

[0106] ;

[0107] in, is the eigenvalue, and is the corresponding eigenvector.

[0108] Step 25. Use The formula calculates the corner point response:

[0109] ;

[0110] in, , Each pixel The eigenvalues ​​of a matrix, is an empirical constant, Usually 0.04 is taken.

[0111] In step 2, the feature matching method is used to track the identified continuous feature points. To match the feature point descriptor of the previous frame with the feature point descriptor of the current frame, the best match is found by comparing all possible descriptors. The matching score is determined by calculating the distance between the descriptors. The distance between the descriptors is determined using the Euclidean distance, and the determination formula is:

[0112] ;

[0113] in, and is the descriptor of two feature points, is the length of the descriptor.

[0114] Step 3. For the matched feature points, extract their coordinates in the two frames, calculate the position change of the feature points between consecutive frames, obtain the displacement vector, summarize the displacement vectors of all feature points, and calculate the displacement amplitude and direction;

[0115] First, extract the coordinates of the matched feature points in the two frames, and record the coordinates of the feature points in the first frame as , the coordinates of the feature points in the second frame are ,

[0116] Calculate the position change of feature points between consecutive frames and obtain the displacement vector :

[0117] ;

[0118] in, is along The displacement of the axis, is along Displacement of the axis;

[0119] Secondly, summarize the displacement vectors of all feature points to get the displacement vector set ,

[0120] ;

[0121] For each feature point Analyze and calculate its displacement amplitude and displacement direction ,

[0122] ;

[0123] ;

[0124] in, and The displacement vectors are Axis and The weight on the axis, is an inverse tangent function that takes the quadrant into account to ensure the correct direction.

[0125] Step 4. Transform the displacement vector in image coordinates using the transformation matrix Mapped to the bridge structure coordinates,

[0126] Using Transformation Matrix The image coordinates are converted to bridge structure coordinates, and the displacement vector in the image coordinates is transformed using the transformation matrix Mapped to the bridge structure coordinates, the converted displacement vector Used to represent the actual displacement of the bridge structure and directly used for structural analysis and monitoring of the bridge;

[0127] Transformation Matrix It combines rotation, scaling and translation operations; the rotation matrix is ​​used to adjust the direction of the displacement vector so that it is consistent with the direction of the bridge coordinate system. The rotation matrix realizes the direction correction of the displacement vector so that the displacement vector accurately reflects the actual direction of the bridge structure; the scaling matrix is ​​used to adjust the size of the displacement vector so that it is proportional to the actual size of the bridge. The scaling matrix adjusts the size of the displacement vector to ensure the proportional accuracy of the displacement vector in the bridge structure coordinate system; the translation vector is used to move the displacement vector from the origin of the image coordinate system to the corresponding position of the bridge structure coordinate system. The translation vector is used to correct the position of the displacement vector to ensure the correct position of the displacement vector in the bridge structure coordinate system;

[0128] The rotation matrix is ​​expressed as :

[0129] ;

[0130] In the formula, is the rotation angle, which indicates how many degrees the displacement vector needs to be rotated to align with the bridge structure coordinate system. The rotation matrix is ​​used to adjust the direction of the displacement vector to make it consistent with the direction of the bridge coordinate system.

[0131] The scaling matrix is :

[0132] ;

[0133] and Respectively indicate along Axis and The scaling factor of the axis, and They are used to adjust the horizontal and vertical sizes of the displacement vector to make them proportional to the actual size of the bridge.

[0134] The translation vector is: , and Respectively indicate along Axis and The translation distance of the axis is used to move the displacement vector from the origin of the image coordinate system to the corresponding position of the bridge structure coordinate system.

[0135] Transformation Matrix :

[0136] ;

[0137] After transformation matrix Transformed displacement vector :

[0138] ;

[0139] Through this transformation, the displacement vector not only corresponds to the actual displacement of the bridge in size and direction, but also its position in the coordinate system is corrected. In this way, the displacement vector can be accurately represented on the structural diagram of the bridge, providing reliable data for the structural analysis and health monitoring of the bridge.

[0140] Step 5. Construct the displacement influence line and map the displacement vector The displacement influence line is constructed on the structural diagram of the bridge in a graphical manner to generate a visual graph to intuitively show the displacement of the bridge structure under the action of load. Arrows are drawn to represent the displacement of each feature point. The starting point of the arrow is the position of the feature point, and the length and direction of the arrow represent the magnitude and direction of the displacement respectively.

[0141] Step 6. Construction of load matrix and solution of displacement influence line. According to the actual traffic load on the bridge, collect the actual load data of each load point on the displacement influence line and construct the load matrix. , using the constructed load matrix and structural displacement data, the displacement influence line is solved by linear regression method, the relationship model between load and displacement is established, and the displacement response of the bridge under different load conditions is predicted, which provides a scientific basis for the design, maintenance and safety assessment of the bridge.

[0142] In step 6, the load matrix :

[0143] ;

[0144] is the number of load points, is the number of observation points, represents the load of the i-th load point on the The impact of each observation point;

[0145] By linear regression method, the load matrix and the transformed matrix are solved. The relationship between the transformed displacement vector sets and the displacement influence lines obtained can be used for structural analysis and monitoring of bridges, helping engineers evaluate the health and safety of bridges, and solving the load matrix and the transformed matrix The formula for the relationship between the transformed displacement vector sets is:

[0146] ;

[0147] is the transformed matrix The transformed displacement vector set includes the displacement vectors of all observation points; is the load vector, which represents the load condition on the bridge;

[0148] , It is Load magnitude at each load point, load vector It is solved by the least squares method or other linear regression techniques.

[0149] The solution is to find the optimal load vector , so that and The error between them is the smallest, and the solution formula is:

[0150] ;

[0151] In the formula, yes The inverse matrix of yes The transposed matrix of .

[0152] By constructing the load matrix and solving the displacement influence line, it can more directly support the location of structural damage and the quantitative analysis of the damage degree.

[0153] The above description is a preferred embodiment of the invention and is not intended to limit the invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the invention should be included in the protection scope of the invention.

Claims

1. A method for measuring the influence line of bridge structure displacement based on computer vision technology, characterized in that: The method comprises: S1. installing a high-definition camera on the bridge, and extracting image sequences of the bridge structure at different time points from the collected video; S2. Use Shi-Tomasi corner detection method to identify the feature points of the bridge structure in the image sequence, use feature matching method to track the continuous feature points among the identified feature points, and determine the position of the continuous feature points in the next frame; S3. Extract the coordinates of the continuous feature points in the two frames, calculate the position change of the feature points between the continuous frames, obtain the displacement vector, summarize the displacement vectors of all feature points, and calculate the displacement amplitude and direction; S4. Mapping the displacement vector in the image coordinates to the bridge structure coordinates using a transformation matrix; S5. graphically represent the mapped displacement vectors to construct displacement influence lines on the bridge structure diagram; S6. According to the actual traffic load on the bridge, the actual load data of each load point of the displacement influence line is collected, a load matrix is ​​constructed, and the displacement influence line is solved by using the constructed load matrix and the structural displacement data; In step S4, the method of using a transformation matrix to map the displacement vector in the image coordinates to the bridge structure coordinates using the transformation matrix includes: S41. Construct a transformation matrix T; The transformation matrix includes: rotation matrix, scaling matrix and translation matrix. The rotation matrix is ​​denoted as R: In the formula, θ is the rotation angle, which indicates how many degrees the displacement vector needs to be rotated to align with the bridge structure coordinate system. The scaling matrix is ​​S: s x and y Represents the scaling factors along the x-axis and y-axis respectively, s x and y They are used to adjust the horizontal and vertical sizes of the displacement vector to make them proportional to the actual size of the bridge. The translation vector is: t x and t y They represent the translation distances along the x-axis and the y-axis, respectively, and are used to move the displacement vector from the origin of the image coordinate system to the corresponding position of the bridge structure coordinate system. S42. Use the transformation matrix T to transform the image coordinates into the bridge structure coordinates, The transformation matrix T is: T = R(θ)·S; S43. Map the displacement vector in the image coordinate system to the bridge structure coordinate using the transformation matrix T, The displacement vector D after mapping using the transformation matrix T is: T is the transformation matrix, is the translation vector, Displacement vector of feature point; In step S6, the method for solving the displacement influence line is: S61. Construct the load matrix H: z is the number of load points, m is the number of observation points, h ij represents the influence of the i-th load point on the j-th observation point; S62. The relationship between the load matrix and the displacement vector is solved by the linear regression method. The formula for solving the relationship between the load matrix and the displacement vector is: D = HP; The displacement vector D after being mapped by the transformation matrix T contains the displacement vectors of all observation points; P is the load vector, which indicates the load condition on the bridge; P=[p1,p2,…p n ] T , P n is the load magnitude of the nth load point. The load vector P is solved by the least squares method or linear regression technique. The solution method for the load vector P is to find the optimal load vector P so that the error between H·P and D is minimized. The solution formula is: P=(H T ·H) -1 ·H T ·D; In the formula, (H T ·H) -1 Yes H T The inverse matrix of H, H T is the transposed matrix of H.

2. According to claim 1, a method for measuring the influence line of bridge structure displacement based on computer vision technology is characterized in that: Methods for identifying characteristic points of bridge structures in image sequences using the Shi-Tomasi corner detection method include: Step 21. Image grayscale conversion: convert the color video frame into a grayscale image. Image grayscale is achieved by converting RGB color images into grayscale values. The formula is as follows: I(x,y)=0.299R(x,y)+0.5S7G(x,y)+0.114B(x,y); I(x,y) is a grayscale image, R, G, B are the intensity values ​​of the red, green, and blue channels respectively; Step 22. Calculate the gradient. Calculate the first-order derivatives in the x and y directions for each pixel in the grayscale image to obtain the gradient image of the image. Calculate the first-order derivative of the x and , directions for each pixel in the grayscale image: Where I is the image brightness function, G x and G y are the gradients along the x and , directions respectively; The gradient image in step 22 is derived again to obtain the second-order derivative, which is calculated as follows: Step 23. Calculate the second-order derivative, calculate the second-order derivative of the gradient image, and obtain the Hessian matrix of the image; Use the second-order derivative obtained in step 22 to construct the Hessian matrix. The constructed second-order matrix is, and the calculation formula is Step 24. Eigenvalue calculation. The eigenvalue of the Hessian matrix reflects the local geometric structure of the image at a specific point. The eigenvalue of the Hessian matrix of each pixel is calculated using the following formula: λ is the eigenvalue, u1 and u2 are the corresponding eigenvectors; Step 25. Calculate the corner response using the Shi-Tomasi formula. The formula is: R=min(λ1, λ2)-k·max(λ1, λ2); λ2 is the eigenvalue of the Hessian matrix of each pixel, and k is an empirical constant.

3. According to claim 1, a method for measuring the influence line of bridge structure displacement based on computer vision technology is characterized in that: In step S2, the method of using the feature matching method to track the identified continuous feature points is as follows: using the feature matching method to match the feature point descriptor of the previous frame with the feature point descriptor of the current frame, finding the best match by comparing all possible descriptors, and the matching score is determined by calculating the distance between the descriptors, and the distance between the descriptors is determined using the Euclidean distance. The formula for determining the Euclidean distance is: In the formula, L1 and L2 are the descriptors of two feature points, and n is the length of the descriptor.

4. According to claim 1, a method for measuring the influence line of bridge structure displacement based on computer vision technology is characterized in that: In step S3, the method for calculating the displacement amplitude and direction is: S31. Extract the coordinates of the matched feature points in the two frames of images, record the coordinates of the feature points in the first frame as (x1, y1), and record the coordinates of the feature points in the second frame as (x2, y2), Calculate the position change of feature points between consecutive frames and obtain the displacement vector (x2-x1) is the displacement along the x-axis, (y2-y1) is the displacement along the y-axis; S32. Summarize the displacement vectors of all feature points to obtain a displacement vector set M. S33. For each feature point Analyze and calculate the displacement amplitude A i and displacement direction θ i , δ i =arctane 2(d iy ,d ix ); d ix and d iy are the components of the displacement vector on the x-axis and y-axis respectively, and arctan 2 is an inverse tangent function that takes the quadrant into account.

5. According to claim 1, a method for measuring the influence line of bridge structure displacement based on computer vision technology is characterized in that: In step S5, the method of graphically representing the mapped displacement vector to construct a displacement influence line on the structural diagram of the bridge includes: graphically representing the mapped displacement vector D to construct a displacement influence line on the structural diagram of the bridge, drawing an arrow to represent the displacement of each feature point, the starting point of the arrow is the position of the feature point, and the length and direction of the arrow respectively represent the magnitude and direction of the displacement.

Citation Information

Patent Citations

  • A Method for Measured Displacement Influence Lines of Bridge Structures Based on Computer Vision Technology

    CN109580137B

  • Actual measurement method for displacement influence line of bridge structure based on computer vision technology

    CN109580137A

  • Bridge deformation monitoring method and device based on visual perception, and equipment

    CN110634137A

  • Wide-bridge vehicle load identification method, identification system, equipment and storage medium

    CN115439514A

  • Bridge high-precision displacement monitoring method fusing computer vision and acceleration

    CN115752250A