A dynamic bridge morphology recognition method based on computer vision

Through Euler video amplification and sub-pixel edge recognition methods based on computer vision, the problem of difficulty in identifying small deformations in the dynamic form recognition of bridge structures is solved, achieving sensor-free non-contact measurement and high-precision form recognition, reducing costs and calculations time, suitable for structural health monitoring.

CN114596525BInactive Publication Date: 2024-10-18HEFEI UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210201036.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult for existing visual sensors to accurately capture small deformations in dynamic morphological recognition of bridge structures, especially when the target structure is large. Increasing the sensor resolution will lead to increased costs and calculation time, and small deformations cannot be effectively identified when the sensor has insufficient pixels.

Method used

A dynamic bridge form recognition method based on computer vision is used to collect video by selecting a sensor with appropriate sampling frequency and resolution. The Euler video amplification algorithm with brightness changes and the Prewitt operator are used to initially determine the structural edge, combined with the spatial moment sub-pixel edge. Detection algorithm to achieve amplification and identification of structural forms.

Benefits of technology

It achieves non-contact measurement without installing sensors, accurately measures the overall morphological changes of the bridge, reduces testing costs, is suitable for human stimulation and environmental stimulation, is cost-effective and suitable for structural health monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114596525B_ABST
    Figure CN114596525B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of visual measurement technology, and provides a dynamic bridge morphology recognition method based on computer vision, including: selecting a sensor with a suitable sampling frequency and resolution for video acquisition; cropping the acquired video; using the Euler video magnification algorithm to amplify the structural deformation of the video; for the target structure in each frame of the image after motion magnification, using the Prewitt operator to preliminarily determine the possible structural edge pixel points, and then using the spatial moment sub-pixel edge detection algorithm to find the position of the structural edge point in the region; obtaining the dynamic morphology recognition result of the structure according to the edge recognition point cloud result of each frame; using the distance between two pixel points on the surface of the object known in the picture and the video motion magnification coefficient, calibrating the structural deformation recognized by the method, and obtaining accurate dynamic morphology changes. The present invention realizes visual non-contact measurement, does not need to install sensors on the structure, does not interfere with the normal operation of the structure, and saves testing costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of visual measurement, and in particular relates to a dynamic bridge morphology recognition method based on computer vision. Background Art

[0002] During the operation stage of a bridge, the deformation of components such as the main beam, pylons and cables directly reflects the structural stiffness of the bridge, so the morphological change of the bridge is an important indicator for evaluating the mechanical performance of the bridge. In recent years, the bridge morphology measurement method based on digital image technology has made some progress. Compared with the existing deformation detection methods such as contact displacement meters, laser displacement meters, and photoelectric displacement meters, the computer vision technology is used to obtain the displacement information of the structure by comparing the digital images of the structure at different times. It can perform non-contact measurements at a distance without installing sensors. It has the advantages of being quick and easy to use, high precision, small restrictions, and not affecting the normal operation of the structure.

[0003] However, the current use of visual sensors for dynamic bridge structure morphology recognition still has difficulties in recognizing small deformations when the sensor pixels are insufficient. When the target structure is large, if you want to record the entire structure for morphology recognition, there will not be enough pixels to capture the small deformation of the structure if the sensor resolution is not increased. Increasing the sensor resolution will greatly increase the sensor cost and computer processing time. Therefore, a more accurate and effective dynamic bridge morphology recognition method is urgently needed. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a dynamic bridge morphology recognition method based on computer vision, aiming to solve the problems existing in the above-mentioned background technology.

[0005] The embodiment of the present invention is implemented as follows: a dynamic bridge morphology recognition method based on computer vision comprises the following steps:

[0006] S1, select a sensor with appropriate sampling frequency and resolution to collect video of the target structure;

[0007] S2, cropping the collected video to obtain a video of the target area;

[0008] S3, using the Euler video magnification algorithm based on brightness change to magnify the structural deformation in the video;

[0009] S4, for the target structure in each frame of the image after motion amplification, use the Prewitt operator to preliminarily determine the possible structure edge pixel points, and then use the spatial moment sub-pixel edge detection algorithm to find the position of the structure edge point in the area;

[0010] S5. The dynamic morphological recognition result of the structure can be obtained according to the edge recognition point cloud result of each frame;

[0011] S6. Using the distance between two pixel points on the surface of the object in the picture and the video motion magnification factor, the structural deformation identified by the method can be calibrated to obtain the accurate dynamic morphological changes of the structure.

[0012] Preferably, when the sensor is a color vision sensor, the video is converted into a grayscale color mode.

[0013] Preferably, the S3 is to equate the tiny motion in the video to a tiny brightness change, and directly process the pixel grayscale size of the video image.

[0014] Preferably, the S3 specifically includes the following steps:

[0015] S31. Assume that the one-dimensional signal strength of a pixel at any position x in the video image at time t is expressed as I(x, t), δ(t) is a small displacement, δ k (t) represents the change signal, δ(t) is the kth frequency component at time t, γ k Represents the attenuation multiple of the kth change signal at time t, where 0<γ k <1, the magnification of different frequencies in the linear amplification environment becomes γ k α, the amplification result is expressed as:

[0016] S32. According to Shannon's sampling law, a frequency band within the effective sampling frequency in the video is band-pass filtered. When the sampling frame rate of the video is 60fps, motion within 0-30Hz is selected for amplification.

[0017] Preferably, the motion amplification process in S32 includes the following steps:

[0018] Perform Laplacian pyramid multi-layer decomposition on the video frame by frame to obtain image subbands at different resolutions. Use different magnifications for different resolutions. The signal-to-noise ratio is the lowest at the highest resolution scale, so the smallest magnification can be selected, and the maximum magnification can be selected at the lowest resolution scale.

[0019] The sub-bands obtained after multi-scale pyramid decomposition of the image are band-pass filtered to obtain the change signal within the target frequency band for subsequent processing. The vibration amplification uses a wide passband filter, manually sets the amplified frequency band range, and processes directly in the time domain;

[0020] The signal of interest obtained by filtering is subjected to Taylor series difference approximation and multiplied by the set magnification factor to obtain a linearly magnified image sequence with slight changes;

[0021] The enlarged image sequence is reconstructed using a pyramid, superimposed with the input sequence, and the enlarged video is output.

[0022] Preferably, the S4 specifically includes the following steps:

[0023] S41. Preliminarily determine the structural edge points at the pixel level through the Prewitt operator:

[0024] Use the horizontal and vertical templates to convolve each frame image I to obtain the approximate horizontal and vertical gradients and So as to obtain the gradient magnitude matrix

[0025] After the set threshold, the pixel whose gradient amplitude is greater than the threshold is a possible edge point.

[0026] S42. Using spatial moments to obtain sub-pixel edges of structures:

[0027] The image I is combined with four spatial moment templates m of size 5×5 00 、m 01 、m 10 、m 20 Do convolution to get the corresponding moment A 00 , A 01 , A 10 , A 20 ;

[0028] For S41 The edge direction can be obtained by calculating Distance to template center Grayscale difference Optimize the final edge position coordinates by setting a threshold in

[0029] Preferably, in S5, the first frame structure morphology point cloud is used as a reference, compared with the point clouds of other frames, and fixed points in the point clouds are selected for registration, so as to obtain the overall morphological changes of the structure.

[0030] The embodiment of the present invention provides a dynamic bridge morphology recognition method based on computer vision, which realizes visual non-contact measurement, does not need to install sensors on the structure, does not interfere with the normal operation of the structure, and saves testing costs;

[0031] The overall shape of the target structure is measured, instead of measuring a single point on a structural component like traditional sensors, which makes it easier to obtain the overall shape change of the structure.

[0032] The Euler perspective video magnification algorithm and sub-pixel edge recognition method can be used to accurately measure the overall tiny morphological changes of the structure. It is also applicable to both artificial and environmental excitation situations. It is cost-effective and has low requirements on measurement instrument parameters. It can be used for structural health monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A flowchart of a dynamic bridge morphology recognition method based on computer vision provided by an embodiment of the present invention;

[0034] Figure 2 An initial frame of a test beam morphology change video collected in a dynamic bridge morphology recognition method based on computer vision provided by an embodiment of the present invention;

[0035] Figure 3 A flowchart of a method for dynamic bridge morphology recognition based on computer vision provided by an embodiment of the present invention, in which a video collected is magnified by an Euler perspective video magnification algorithm;

[0036] Figure 4 An edge recognition result diagram of a test beam obtained based on computer vision in a dynamic bridge morphology recognition method based on computer vision provided by an embodiment of the present invention;

[0037] Figure 5 A comparison diagram of the reconstructed vibration time history in a dynamic bridge morphology recognition method based on computer vision provided in an embodiment of the present invention and the vibration time history measured by an eddy current displacement sensor at the mid-span point of the test beam. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0039] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.

[0040] Example 1

[0041] like Figure 1 FIG. 1 is a flowchart of a method for dynamic bridge morphology recognition based on computer vision provided by an embodiment of the present invention, comprising the following steps:

[0042] S1, select a sensor with appropriate sampling frequency and resolution to collect video of the target structure;

[0043] S2, cropping the collected video to obtain the video of the target area; when using a color vision sensor, the video can be converted into a grayscale color mode to reduce the amount of calculation for subsequent computer processing;

[0044] S3. Use the Euler video magnification algorithm based on brightness change to magnify the structural deformation in the video; its basic principle is mainly based on the optical flow method in traditional video motion processing, and uses the spatial consistency and brightness constant assumption of the optical flow to equate the tiny motion in the video to the tiny brightness change, and directly processes the pixel brightness (grayscale) of the video image to achieve indirect processing of the tiny motion in the video, which specifically includes the following steps:

[0045] S31. Assume that the one-dimensional signal strength of a pixel at any position x in the video image at time t is expressed as I(x, t), δ(t) is a small displacement, δ k (t) represents the kth frequency component of the changing signal δ(t) at time t, γ k Indicates the attenuation multiple of the kth change signal at time t (0<γ k <1), the amplification factor of different frequencies in the linear amplification environment becomes γ k α, the amplification result is expressed as:

[0046] S32, bandpass filtering is performed on the frequency band within the effective sampling frequency in the video according to Shannon's sampling theorem. For example, if the sampling frame rate of the video is 60 fps, motion within 0-30 Hz is selected for amplification to prevent amplification distortion;

[0047] The specific video motion amplification process is as follows: first, the video is decomposed frame by frame using a Laplacian pyramid to obtain image subbands at different resolutions (spatial scales). Different magnification factors are used for different resolutions. The signal-to-noise ratio is the lowest at the highest resolution scale, so the smallest magnification factor can be selected, and the maximum magnification factor is selected at the lowest resolution scale. Secondly, the subbands obtained after the multi-scale pyramid decomposition of the image are band-pass filtered to obtain the change signal within the target frequency band for subsequent processing. Vibration amplification generally uses a wide passband filter such as a Butterworth filter, and the amplified frequency band range is manually set, and the processing is performed directly in the time domain. Then, the signal of interest obtained by filtering is approximated by Taylor series difference, multiplied by the set magnification factor, and an image sequence with small changes linearly amplified is obtained. Finally, the amplified image sequence is reconstructed using a pyramid, superimposed with the input sequence, and the amplified video is output.

[0048] S4, for the target structure in each frame of the image after motion magnification, use the Prewitt operator to preliminarily determine the possible structure edge pixel points, and then use the spatial moment sub-pixel edge detection algorithm to find the position of the structure edge point in the area, which specifically includes the following steps:

[0049] S41. Preliminarily determine the pixel-level structural edge points through the Prewitt operator: Use the horizontal and vertical templates to convolve each frame of image I to obtain the horizontal and vertical approximate gradients and So as to obtain the gradient magnitude matrix After the set threshold, the pixel whose gradient amplitude is greater than the threshold is a possible edge point.

[0050] S42, using spatial moments to obtain sub-pixel edges of structures; comparing image I with four spatial moment templates m of size 5×5 00 、m 01 、m 10 、m 20 Do convolution to get the corresponding moment A 00 , A 01 , A 10 , A 20 ; For S41 The edge direction can be obtained by calculation: Distance to template center Grayscale difference Optimize the final edge position coordinates by setting a threshold in

[0051] S5. The dynamic morphological recognition result of the structure can be obtained according to the edge recognition point cloud result of each frame. The first frame of the structural morphological point cloud is used as a reference, and the point clouds of other frames are compared and the fixed points in the point cloud are selected for registration, so that the surface deformation of the whole structure can be obtained by overall monitoring;

[0052] S6. Using the distance between two pixel points on the surface of the object in the picture and the video motion magnification factor, the structural deformation identified by the method can be calibrated to obtain the accurate dynamic morphological changes of the structure.

[0053] Example 2

[0054] A specific method for dynamic bridge morphology recognition based on computer vision is provided:

[0055] S1. Test a beam structure with simply supported boundary conditions. The test beam is an aluminum beam with a length of 2.8m, a width of 100mm, a thickness of 20mm, a Young's modulus of 70GPa, a Poisson's ratio of 0.33, and a density of 2700kg / m 3, and arranged eddy current displacement sensors to measure the dynamic displacement of the middle position of the span, and collected videos at appropriate positions to ensure that the entire test structure is within the video collection field of view; the Sony IMX586 CMOS camera of the Redmi K20 mobile phone is used for video collection, and the video collection parameters are 1080p@60fps. The initial frame of the captured video is as follows Figure 2 As shown, the test beam was vibrated using random hammer excitation;

[0056] S2, crop the video to the required size and convert it into grayscale color;

[0057] S3, the video is amplified using the Euler perspective video amplification algorithm, the amplification frequency band is 0-30Hz, the amplification factor is 10 times, and the amplification effect is as follows Figure 3 As shown;

[0058] S4, combining Prewitt operator and spatial moment to perform sub-pixel edge detection, to obtain the precise morphological edge of the target structure, the result of one frame is as follows Figure 4 As shown;

[0059] S5. Using the first frame structure morphology point cloud as a reference, compare it with the point clouds of other frames and select fixed points in the point clouds for registration, so as to obtain the surface deformation of the entire structure by overall monitoring;

[0060] S6. The morphological change of the test beam is calibrated by the pixel distance of the beam thickness of 20 mm in the video and the magnification of the Euler perspective video magnification algorithm to obtain the accurate deformation of the test beam. The vibration time history of the mid-span point is selected and compared with the vibration measured by the displacement sensor arranged on site. The results are as follows: Figure 5 As shown, it can be seen that the recognition accuracy of this method is high.

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

Claims

1. A dynamic bridge morphology recognition method based on computer vision, characterized in that: The following steps are involved: S1, select a sensor with appropriate sampling frequency and resolution to collect video of the target structure; S2, cropping the collected video to obtain a video of the target area; S3. Use the Euler video magnification algorithm based on brightness change to magnify the structural deformation in the video. The principle is based on the optical flow method in traditional video motion processing. It uses the spatial consistency and brightness constant assumptions of the optical flow to equate the tiny motion in the video to tiny brightness changes. By directly processing the pixel brightness of the video image, the tiny motion in the video is indirectly processed. S4, for the target structure in each frame of the image after motion amplification, use the Prewitt operator to preliminarily determine the possible structure edge pixel points, and then use the spatial moment sub-pixel edge detection algorithm to find the position of the structure edge point in the area; S5. The dynamic morphological recognition result of the structure can be obtained according to the edge recognition point cloud result of each frame; S6. Using the distance between two pixel points on the surface of the object in the picture and the video motion magnification factor, the structural deformation identified by the method can be calibrated to obtain the accurate dynamic morphological changes of the structure.

2. The dynamic bridge morphology recognition method based on computer vision according to claim 1 is characterized in that: When the sensor is a color vision sensor, the video is converted into a grayscale color mode.

3. The dynamic bridge morphology recognition method based on computer vision according to claim 1 is characterized in that: The motion amplification process consists of the following steps: Perform Laplacian pyramid multi-layer decomposition on the video frame by frame to obtain image subbands at different resolutions. Use different magnifications for different resolutions. When the signal-to-noise ratio is the lowest at the highest resolution scale, select the smallest magnification, and when the resolution is the lowest, select the maximum magnification. The sub-bands obtained after multi-scale pyramid decomposition of the image are band-pass filtered to obtain the change signal within the target frequency band for subsequent processing. The vibration amplification uses a wide passband filter, manually sets the amplified frequency band range, and processes directly in the time domain; The signal of interest obtained by filtering is subjected to Taylor series difference approximation and multiplied by the set magnification factor to obtain a linearly magnified image sequence with slight changes; The enlarged image sequence is reconstructed using a pyramid, superimposed with the input sequence, and the enlarged video is output.

4. The dynamic bridge morphology recognition method based on computer vision according to claim 1 is characterized in that: Described S4 specifically comprises the following steps: S41. Preliminarily determine the structural edge points at the pixel level through the Prewitt operator: Use the horizontal and vertical templates to convolve each frame image I to obtain the approximate horizontal and vertical gradients and So as to obtain the gradient magnitude matrix After the set threshold, the pixel whose gradient amplitude is greater than the threshold is a possible edge point. S42. Using spatial moments to obtain sub-pixel edges of structures: The image I is combined with four spatial moment templates m of size 5×5 00 、m 01 、m 10 、m 20 Do convolution to get the corresponding moment A 00 , A 01 , A 10 , A 20 ; For S41 The edge direction can be obtained by calculating Distance to template center Grayscale difference Optimize the final edge position coordinates by setting a threshold in 5. The method for dynamic bridge morphology recognition based on computer vision according to claim 1, characterized in that: In S5, the first frame structure morphology point cloud is used as a reference, and the point clouds of other frames are compared to select fixed points in the point clouds for registration, so as to obtain the overall morphology change of the structure.

Citation Information

Patent Citations

  • Rapid sub pixel edge detection and locating method based on machine vision

    CN104268857A

  • Cable force measurement method based on edge recognition in computer vision

    CN109341903A