[go: up one dir, main page]

CN116363121A - Computer vision-based inhaul cable force detection method, system and device - Google Patents

Computer vision-based inhaul cable force detection method, system and device Download PDF

Info

Publication number
CN116363121A
CN116363121A CN202310474149.2A CN202310474149A CN116363121A CN 116363121 A CN116363121 A CN 116363121A CN 202310474149 A CN202310474149 A CN 202310474149A CN 116363121 A CN116363121 A CN 116363121A
Authority
CN
China
Prior art keywords
cable
video
image
cable force
amplified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310474149.2A
Other languages
Chinese (zh)
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.)
Lanzhou Jiaotong University
Original Assignee
Lanzhou Jiaotong University
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 Lanzhou Jiaotong University filed Critical Lanzhou Jiaotong University
Priority to CN202310474149.2A priority Critical patent/CN116363121A/en
Publication of CN116363121A publication Critical patent/CN116363121A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

本发明公开申请了一种基于计算机视觉的拉索索力检测方法、系统及装置,该方法包括:获取待检测拉索的相关信息;采集待检测拉索的微小振动视频,并对视频逐帧图像进行预处理,得到目标图像;对所述目标图像采用基于相位的欧拉运动放大算法获取放大后的图像序列,并重建得到放大后的视频;利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力。由此可见,本申请实现了对桥梁拉索振幅非常微小的索力检测,并且不需要额外设置传感器,降低了成本,具有广阔的应用前景。

Figure 202310474149

The present invention discloses a method, system and device for detecting cable force based on computer vision. The method includes: acquiring relevant information of the cable to be detected; Preprocessing is carried out to obtain the target image; the phase-based Euler motion amplification algorithm is used to obtain the enlarged image sequence for the target image, and the enlarged video is reconstructed; the sub-pixel template matching algorithm is used to determine the video after the motion amplification The corresponding displacement time-history response data; based on the displacement time-history response data, the fundamental frequency corresponding to the cable to be detected is obtained, and according to the actual boundary conditions of the cable, an appropriate cable force-frequency relationship is selected to calculate the cable force. It can be seen that the present application realizes the detection of the cable force with a very small amplitude of the bridge cable, and does not require additional sensors, which reduces the cost and has broad application prospects.

Figure 202310474149

Description

一种基于计算机视觉的拉索索力检测方法、系统及装置A computer vision-based cable force detection method, system and device

技术领域technical field

本发明涉及桥梁健康监测技术领域,尤其涉及一种基于计算机视觉的拉索索力检测方法、系统及装置。The invention relates to the technical field of bridge health monitoring, in particular to a computer vision-based cable force detection method, system and device.

背景技术Background technique

斜拉桥凭借跨越能力强、造型美观、性价比高等优势,在大跨度桥梁中被广泛应用。斜拉桥作为主梁承弯、桥塔承压及拉索受拉三者组合受力的超静定结构体系。斜拉桥的拉索往往容易由于腐蚀、疲劳等原因发生损伤和松弛,作为斜拉桥重要受力构件的斜拉索,常由于较小的应力和应变变化,就会产生较大的位移,并导致其松弛和应力损失,而且拉索的破坏将可能给整体结构带来灾难性的后果。正是由于这些特点,斜拉桥的索力检测在结构施工和使用阶段都具有较重要的意义,并且桥梁结构安全性和耐久性评估需将拉索索力作为重要的测量和评估指标,进而为桥梁状况评估提供依据。因此,如何快速对桥梁拉索索力实现准确测量和评估显得非常重要,是保证桥梁安全运营的前提和实现桥梁健康状况实时监测的有力保障。Cable-stayed bridges are widely used in long-span bridges due to their advantages such as strong spanning ability, beautiful appearance, and high cost performance. A cable-stayed bridge is a statically indeterminate structural system that is subjected to a combination of main girders in bending, bridge towers in pressure, and cables in tension. The cables of cable-stayed bridges are often prone to damage and relaxation due to corrosion, fatigue and other reasons. As important stress-bearing components of cable-stayed bridges, cable-stayed cables often produce large displacements due to small stress and strain changes. And lead to its relaxation and stress loss, and the damage of the cable may bring disastrous consequences to the overall structure. It is because of these characteristics that the cable force detection of cable-stayed bridges is of great significance in the construction and use stages of the structure, and the safety and durability evaluation of the bridge structure needs to take the cable force as an important measurement and evaluation index, and then provide Provides basis for bridge condition assessment. Therefore, how to quickly and accurately measure and evaluate the cable force of the bridge is very important, which is the prerequisite for ensuring the safe operation of the bridge and a powerful guarantee for real-time monitoring of the health of the bridge.

目前最为常用的索力检测的方法主要有油压表量测法、压力传感器量测法、频率法、磁通量法、电阻片量测法、垂度法、伸长量法等。油压表测量法、压力传感器量测法和磁通量法都不适用于运营阶段的拉索索力检测。频率法通常采用加速度传感器等接触式传感器拾取拉索的振动信号,其测量结果可靠,但存在仪器安装困难、费用较高、引入附加质量等不足。近年来,随着计算机视觉技术和图像采集设备的不断发展,基于计算机视觉的结构位移监测方法不断涌现,并在实际工程应用中得到验证。目前基于计算机视觉的索力识别方法,主要是通过目标跟踪算法跟踪结构表面人工标志物或自然标志物来获取位移时程响应数据,然而拉索在环境激励下的振动幅度微小,基于一般的运动目标跟踪算法难以获得高精度的拉索位移时程数据,从而影响索力检测结果;以及在提取拉索振动位移时,采用数字图像相关的模板匹配得到的结果是像素级位移,但在实际应用中需要更高的测量精度,因此需要进一步的优化搜索,达到亚像素级别。因此,有必要研究如何将高精度、高速发展的摄影测量技术与设备运用到传统的桥梁工程领域,为此提出基于相位的欧拉运动放大算法和亚像素模板匹配相结合,建立一套非接触、便捷、经济、高效的索力检测方法,对于保证桥梁安全运营和实现桥梁长期稳定使用具有重要的意义。At present, the most commonly used cable force detection methods mainly include oil pressure gauge measurement method, pressure sensor measurement method, frequency method, magnetic flux method, resistance sheet measurement method, sag method, elongation method, etc. The oil pressure gauge measurement method, the pressure sensor measurement method and the magnetic flux method are not suitable for the cable force detection in the operation stage. The frequency method usually uses contact sensors such as acceleration sensors to pick up the vibration signals of the cables, and the measurement results are reliable, but there are disadvantages such as difficult instrument installation, high cost, and the introduction of additional mass. In recent years, with the continuous development of computer vision technology and image acquisition equipment, structural displacement monitoring methods based on computer vision have emerged and have been verified in practical engineering applications. At present, the cable force recognition method based on computer vision mainly uses the target tracking algorithm to track the artificial markers or natural markers on the surface of the structure to obtain the displacement time-history response data. However, the vibration amplitude of the cable under environmental excitation is small. It is difficult for the target tracking algorithm to obtain high-precision cable displacement time history data, which affects the cable force detection results; and when extracting cable vibration displacement, the result obtained by digital image correlation template matching is pixel-level displacement, but in practical applications Higher measurement accuracy is required in , so further optimization search is required to reach the sub-pixel level. Therefore, it is necessary to study how to apply high-precision and high-speed photogrammetry technology and equipment to the traditional bridge engineering field. For this purpose, a phase-based Euler motion amplification algorithm and sub-pixel template matching are proposed to establish a set of non-contact A convenient, economical and efficient cable force detection method is of great significance for ensuring the safe operation of the bridge and realizing the long-term stable use of the bridge.

发明内容Contents of the invention

发明目的:针对背景技术中存在的不足之处,本发明提出一种基于计算机视觉的拉索索力检测方法、系统及装置,来实现拉索索力快速准确的检测。Purpose of the invention: Aiming at the deficiencies in the background technology, the present invention proposes a computer vision-based cable force detection method, system and device to realize rapid and accurate detection of the cable force.

技术方案:为了实现本发明的目的,本发明提出一种基于计算机视觉的拉索索力检测方法、系统及装置,其具体方案如下:Technical solution: In order to achieve the purpose of the present invention, the present invention proposes a computer vision-based cable force detection method, system and device, and its specific scheme is as follows:

第一方面:本申请公开了一种基于计算机视觉的拉索索力检测方法,具体包括如下步骤:The first aspect: the application discloses a computer vision-based cable force detection method, which specifically includes the following steps:

步骤1:获取待检测拉索的相关信息;Step 1: Obtain the relevant information of the cable to be detected;

步骤2:采集待检测拉索的微小振动视频,并对视频逐帧图像进行预处理,得到目标图像;Step 2: Collect the micro-vibration video of the cable to be detected, and preprocess the frame-by-frame image of the video to obtain the target image;

步骤3:对所述目标图像采用基于相位的欧拉运动放大算法获取放大后的图像序列,并重建得到放大后的视频;Step 3: using a phase-based Euler motion magnification algorithm for the target image to obtain an amplified image sequence, and reconstructing the amplified video;

步骤4:利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;Step 4: Using a sub-pixel template matching algorithm to determine the displacement time-history response data corresponding to the video after the motion amplification;

步骤5:基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力;Step 5: Obtain the fundamental frequency corresponding to the cable to be detected based on the displacement time-history response data, and select an appropriate cable force-frequency relationship to calculate the cable force according to the actual boundary conditions of the cable;

进一步,所述步骤1中,所述相关信息包括拉索的型号、材质、直径、计算长度、线密度、倾斜角度、边界条件、使用时间、编号或位置等。Further, in the step 1, the relevant information includes the model, material, diameter, calculated length, linear density, inclination angle, boundary condition, use time, serial number or position of the cable, etc.

进一步,所述步骤2的具体过程如下:Further, the specific process of the step 2 is as follows:

步骤2.1:选取拉索的1/4处作为检测区域,观察拉索此处是否有自然标志物,没有则需要在此处设置目标靶点;将高精度工业相机固定在合适位置,并考察现场照明情况,判断是否需要补光,如果需要补光则打开自带电源的补光灯进行打光;调整相机摄像头位置,确保拉索目标能完整的被摄像头拍摄到,且在振动时不会超出视频范围,调节镜头焦距和光圈,确保相机视野中拉索成像清晰可见;设置相机采样频率,采集拉索微小振动视频;Step 2.1: Select 1/4 of the cable as the detection area, observe whether there are natural markers here on the cable, if not, you need to set the target point here; fix the high-precision industrial camera in a suitable position, and inspect the site According to the lighting conditions, judge whether supplementary light is needed. If supplementary light is required, turn on the supplementary light with its own power supply for lighting; adjust the position of the camera to ensure that the cable target can be completely captured by the camera and will not exceed the limit when vibrating. Video range, adjust the focal length and aperture of the lens to ensure that the cable image in the camera field of view is clearly visible; set the camera sampling frequency to collect tiny vibration videos of the cable;

步骤2.2:将相机摄到的拉索微小振动视频拆解为连续帧图像,并对每一帧图像设置同一感兴趣区域;所述感兴趣区域包括目标靶点以及待检测拉索运动区域;Step 2.2: Disassemble the micro-vibration video of the cable captured by the camera into continuous frame images, and set the same region of interest for each frame of image; the region of interest includes the target point and the movement area of the cable to be detected;

步骤2.3:对拆解得到的连续帧图像进行逐帧图像预处理,包括对目标图像序列进行裁剪、旋转和缩放,以及剔除目标图像中较大的噪声,以凸显所关心的拉索结构,减少其他环境因素的影响。Step 2.3: Perform frame-by-frame image preprocessing on the continuous frame images obtained by dismantling, including cropping, rotating and scaling the target image sequence, and removing larger noise in the target image to highlight the concerned cable structure and reduce other environmental factors.

进一步,所述步骤3的具体方法如下:Further, the specific method of the step 3 is as follows:

步骤3.1、空间域滤波:使用复可操控金字塔对输入的目标图像进行空间域滤波,得到高通残差、低通残差以及不同尺度不同方向的图像序列,即局部幅度谱和局部相位谱;Step 3.1. Spatial domain filtering: use the complex controllable pyramid to perform spatial domain filtering on the input target image, and obtain high-pass residuals, low-pass residuals, and image sequences of different scales and different directions, that is, local amplitude spectrum and local phase spectrum;

步骤3.2、时域滤波:根据得到的局部相位谱计算相位差,人工设置频率范围和滤波器,然后时域带通滤波,提取感兴趣频段内的相位差信号;Step 3.2, time-domain filtering: calculate the phase difference according to the obtained local phase spectrum, manually set the frequency range and filter, and then time-domain band-pass filtering to extract the phase difference signal in the frequency band of interest;

步骤3.3、放大运动信号:人工设置放大系数,对时域滤波所提取感兴趣运动信号的相位差进行线性放大,得到放大后的运动信号;Step 3.3, amplifying the motion signal: manually setting the amplification factor, linearly amplifying the phase difference of the motion signal of interest extracted by time-domain filtering, to obtain the amplified motion signal;

步骤3.4、视频重建与合成:利用放大后运动信号合成的图像序列、空间域滤波所得到的高通残差和低通残差重构取得运动放大后的数字图像数据,最后合成放大后的视频。Step 3.4, video reconstruction and synthesis: use the image sequence synthesized by the amplified motion signal, the high-pass residual and low-pass residual reconstruction obtained by spatial domain filtering to obtain the digital image data after motion amplification, and finally synthesize the amplified video.

进一步,所述步骤4中利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据,包括:Further, in the step 4, the sub-pixel template matching algorithm is used to determine the displacement time-history response data corresponding to the motion-amplified video, including:

对所述放大后的视频进行分帧处理以得到放大后视频图像,利用统计学中零均值归一化互相关理论,通过亚像素模板匹配算法分别计算出第一帧放大后的视频图像与其他帧放大后的视频图像之间的亚像素位移,再以时间为基线将各帧图片处理结果串联,即可获得目标对象拉索的振动位移时程响应数据。The enlarged video is divided into frames to obtain the enlarged video image, using the zero-mean normalized cross-correlation theory in statistics, and the sub-pixel template matching algorithm is used to calculate the first frame of the enlarged video image and other The sub-pixel displacement between the frame-enlarged video images, and then concatenating the image processing results of each frame with time as the baseline, can obtain the vibration displacement time-history response data of the cable of the target object.

进一步,所述步骤5中基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力,包括:Further, in the step 5, based on the displacement time-history response data, the fundamental frequency corresponding to the cable to be detected is obtained, and according to the actual boundary conditions of the cable, an appropriate cable force-frequency relationship is selected to calculate the cable force, including:

将得到的所述位移时程响应数据利用快速傅里叶变换获取所述微小振动视频中所述待检测拉索对应的基频;Using the obtained displacement time-history response data to obtain the fundamental frequency corresponding to the cable to be detected in the micro-vibration video by using Fast Fourier Transform;

振动法计算索力实用公式均是由各种理论模型简化推导而来,有不同的适用范围,需要根据拉索实际情况选取合适的索力—频率关系计算拉索索力。The practical formulas for calculating the cable force by the vibration method are all simplified and derived from various theoretical models, and have different scopes of application. It is necessary to select the appropriate cable force-frequency relationship to calculate the cable force according to the actual situation of the cable.

第二方面:本申请公开了一种基于计算机视觉的拉索索力检测系统,包括:Second aspect: the application discloses a computer vision-based cable force detection system, including:

拉索相关信息获取模块,用于获取待检测拉索的相关信息;Cable-related information acquisition module, used to obtain relevant information about the cable to be detected;

图像获取模块,用于获取待检测拉索的微小振动视频,并基于所述微小振动视频获取目标图像;An image acquisition module, configured to acquire a micro-vibration video of the cable to be detected, and acquire a target image based on the micro-vibration video;

图像预处理模块,用于对所述目标图像进行预处理,包括对目标图像进行裁剪、旋转和缩放,以及剔除目标图像中较大的噪声,以凸显所关心的拉索结构,减少其他环境因素的影响;The image preprocessing module is used to preprocess the target image, including cropping, rotating and scaling the target image, and removing larger noise in the target image, so as to highlight the structure of the cable concerned and reduce other environmental factors Impact;

运动放大后视频获取模块,用于利用复可调金字塔对输入的目标图像进行空间域滤波以获取不同方向不同尺度的图像序列,人工设置频率范围对图像序列进行时域滤波提取感兴趣运动信号的相位差信息,通过预设放大系数对相位差进行放大处理,以得到放大后的图像序列,然后通过金字塔逆过程重建以得到放大后的视频;The video acquisition module after motion amplification is used to perform space-domain filtering on the input target image by using complex adjustable pyramids to obtain image sequences in different directions and scales, and artificially set the frequency range to perform time-domain filtering on the image sequences to extract the motion signal of interest Phase difference information, the phase difference is amplified through the preset amplification factor to obtain an enlarged image sequence, and then reconstructed through the pyramid inverse process to obtain an enlarged video;

位移时程响应数据确定模块,用于利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;A displacement time-history response data determination module, configured to determine the displacement time-history response data corresponding to the motion-amplified video by using a sub-pixel template matching algorithm;

索力计算模块,用于基于所述的位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力。The cable force calculation module is used to obtain the fundamental frequency corresponding to the cable to be detected based on the displacement time-history response data, and calculate the cable force by selecting an appropriate cable force-frequency relationship according to the actual boundary conditions of the cable.

第三方面:本申请公开了一种基于计算机视觉的拉索索力检测装置,其特征在于,包括:存储器和处理器,所述存储器用于存储所述处理器可执行的计算机程序,所述处理器用于执行所述计算机程序时实现本发明所述的一种基于计算机视觉的拉索索力检测方法的步骤。The third aspect: the present application discloses a cable force detection device based on computer vision, which is characterized in that it includes: a memory and a processor, the memory is used to store a computer program executable by the processor, and the processing When the device is used to execute the computer program, the steps of the computer vision-based cable force detection method of the present invention are realized.

第四方面:本申请公开了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现本发明所述的一种基于计算机视觉的拉索索力检测方法的步骤。A fourth aspect: the present application discloses a computer-readable storage medium, which is characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, a computer program described in the present invention is implemented. A computer vision-based cable force detection method for the steps of the cable.

有益效果:相较于现有技术,本发明具有以下有益效果:Beneficial effects: Compared with the prior art, the present invention has the following beneficial effects:

本发明所述的一种基于计算机视觉的拉索索力检测方法、系统及装置,克服了传统索力测试频率法存在传感器安装困难、设备成本高和测试效率低等缺点。通过获取待检测拉索的相关信息;采集待检测拉索的微小振动视频,并对视频逐帧图像进行预处理,得到目标图像;对所述目标图像采用基于相位的欧拉运动放大算法获取放大后的图像序列,并重建得到放大后的视频;利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力,为斜拉桥索力测试提供一种新的技术途径。实现了对桥梁拉索振幅非常微小的索力检测,并且不需要额外设置传感器,降低了成本,有低成本、方便快捷、易操作、扩展性高和索力检测准确等优点,具有广阔的应用前景。The computer vision-based cable force detection method, system and device of the present invention overcome the disadvantages of difficult sensor installation, high equipment cost and low test efficiency in the traditional cable force test frequency method. Obtain the relevant information of the cable to be detected; collect the micro-vibration video of the cable to be detected, and preprocess the frame-by-frame image of the video to obtain the target image; use the phase-based Euler motion magnification algorithm to obtain the magnification of the target image After the image sequence is reconstructed, the enlarged video is reconstructed; the sub-pixel template matching algorithm is used to determine the displacement time-history response data corresponding to the video after the motion amplification; based on the displacement time-history response data, the corresponding According to the fundamental frequency of the cable, according to the actual boundary conditions of the cable, select the appropriate cable force-frequency relationship to calculate the cable force, which provides a new technical approach for cable force testing of cable-stayed bridges. It realizes the cable force detection with very small amplitude of the bridge cable, and does not need additional sensors, which reduces the cost. It has the advantages of low cost, convenience, easy operation, high scalability and accurate cable force detection, etc., and has a wide range of applications prospect.

附图说明Description of drawings

图1为本申请提供的一种基于计算机视觉的拉索索力检测方法流程图;Fig. 1 is a flow chart of a computer vision-based cable force detection method provided by the application;

图2为本申请提供的一种基于计算机视觉的拉索索力检测示意图。Fig. 2 is a schematic diagram of a cable force detection based on computer vision provided by the present application.

图3为本申请提供的一种基于计算机视觉的拉索索力检测系统结构示意图。FIG. 3 is a schematic structural diagram of a computer vision-based cable force detection system provided by the present application.

具体实施方式Detailed ways

下面通过具体的实施例并结合附图对本发明做进一步的详细描述。The present invention will be described in further detail below through specific embodiments and in conjunction with the accompanying drawings.

本发明所述的一种基于计算机视觉的拉索索力检测方法,参考图1,具体包括如下步骤:A kind of cable force detection method based on computer vision of the present invention, with reference to Fig. 1, specifically comprises the following steps:

S1:获取待检测拉索的相关信息;S1: Obtain relevant information about the cable to be detected;

S2:采集待检测拉索的微小振动视频,并对视频逐帧图像进行预处理,得到目标图像;S2: Collect the micro-vibration video of the cable to be detected, and preprocess the video frame by frame to obtain the target image;

S3:对所述目标图像采用基于相位的欧拉运动放大算法获取放大后的图像序列,并重建得到放大后的视频;S3: using a phase-based Euler motion magnification algorithm on the target image to obtain an amplified image sequence, and reconstructing an amplified video;

S4:利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;S4: Using a sub-pixel template matching algorithm to determine the displacement time-history response data corresponding to the video after the motion amplification;

S5:基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力。S5: Obtain the fundamental frequency corresponding to the cable to be detected based on the displacement time-history response data, and calculate the cable force by selecting an appropriate cable force-frequency relationship according to the actual boundary conditions of the cable.

进一步,所述步骤S1中,所述相关信息包括拉索的型号、材质、直径、计算长度、线密度、倾斜角度、边界条件、使用时间、编号或位置等。获取所述拉索的相关信息是后面计算索力的基础信息。Further, in the step S1, the relevant information includes the type, material, diameter, calculated length, line density, inclination angle, boundary condition, use time, serial number or position of the cable, etc. Obtaining the relevant information of the cable is the basic information for calculating the cable force later.

进一步,所述步骤S2的具体过程如下:Further, the specific process of the step S2 is as follows:

S2.1:选取拉索的1/4处作为检测区域,观察拉索此处是否有自然标志物,没有则需要在此处设置目标靶点;将高精度工业相机固定在合适位置,并考察现场照明情况,判断是否需要补光,如果需要补光则打开自带电源的补光灯进行打光;调整相机摄像头位置,确保拉索目标能完整的被摄像头拍摄到,且在振动时不会超出视频范围,调节镜头焦距和光圈,确保相机视野中拉索成像清晰可见;设置相机采样频率,采集拉索微小振动视频;S2.1: Select 1/4 of the cable as the detection area, observe whether there is a natural marker here on the cable, if not, you need to set a target point here; fix the high-precision industrial camera at a suitable position, and inspect According to the on-site lighting conditions, judge whether supplementary light is needed. If supplementary light is required, turn on the supplementary light with its own power supply for lighting; adjust the position of the camera to ensure that the cable target can be completely captured by the camera and will not vibrate. Beyond the video range, adjust the lens focal length and aperture to ensure that the cable image is clearly visible in the camera field of view; set the camera sampling frequency to collect tiny vibration videos of the cable;

S2.2:将相机拍摄到的拉索微小振动视频拆解为连续帧图像,并对每一帧图像设置同一感兴趣区域;所述感兴趣区域包括目标靶点以及待检测拉索运动区域;S2.2: Disassemble the micro-vibration video of the cable captured by the camera into continuous frame images, and set the same region of interest for each frame of image; the region of interest includes the target point and the movement area of the cable to be detected;

S2.3:对拆解得到的连续帧图像进行逐帧图像预处理,包括压缩数字图像,对目标视频图像序列进行裁剪、旋转和缩放,以及剔除目标图像中较大的噪声,以凸显所关心的拉索结构,减少其他环境因素的影响。S2.3: Perform frame-by-frame image preprocessing on the disassembled continuous frame images, including compressing digital images, cropping, rotating and scaling the target video image sequence, and removing larger noise in the target image to highlight the concerns The cable structure reduces the influence of other environmental factors.

具体的,压缩数字图像是指,为了减小计算机处理图像的计算量,常根据某种规则将三原色信息转化为灰度值息,即对原始图像数据进行灰度变换,得到灰度图像数据可以显著地降低计算量。将三原色图像按照不同的权重系数转化为灰度图像的计算公式为:Specifically, compressing digital images means that in order to reduce the calculation amount of computer processing images, the three primary color information is often converted into gray value information according to a certain rule, that is, the original image data is gray transformed, and the gray image data can be obtained. Significantly reduce the amount of computation. The calculation formula for converting the three primary color images into grayscale images according to different weight coefficients is:

H(x,y)=0.299R(x,y)+0.587G(x,y)+0.114B(x,y)H(x,y)=0.299R(x,y)+0.587G(x,y)+0.114B(x,y)

进一步,所述步骤S3的具体方法如下:Further, the specific method of the step S3 is as follows:

S3.1、空间域滤波:使用复可操控金字塔对输入的目标图像进行空间域滤波,得到高通残差、低通残差以及不同尺度不同方向的图像序列,即局部幅度谱和局部相位谱;其中复可操纵金字塔,是一种多方向、多尺度、具备自转换能力的多分辨率图像分解算法,具有方向可操纵性以及平移不变性等优点,其基函数类似于一个由高斯函数包络构成的正弦函数。值得注意的是,该步骤输出的高通残差、低通残差不进行时域滤波与运动信号放大处理,而是直接用于金字塔重构运动放大后的图像数据。S3.1. Spatial domain filtering: use complex controllable pyramids to perform spatial domain filtering on the input target image, and obtain high-pass residuals, low-pass residuals, and image sequences of different scales and directions, that is, local amplitude spectrum and local phase spectrum; Among them, the complex steerable pyramid is a multi-directional, multi-scale, multi-resolution image decomposition algorithm with self-transformation ability, which has the advantages of directional steerability and translation invariance, and its basis function is similar to a Gaussian function envelope Formed sine function. It is worth noting that the high-pass residual and low-pass residual output in this step are not subjected to time-domain filtering and motion signal amplification processing, but are directly used for pyramid reconstruction of image data after motion amplification.

S3.2、时域滤波:根据得到的局部相位谱计算相位差,人工设置频率范围和选择滤波器,然后时域带通滤波,提取感兴趣频段内的相位差信号;S3.2. Time-domain filtering: Calculate the phase difference according to the obtained local phase spectrum, manually set the frequency range and select the filter, and then time-domain band-pass filter to extract the phase difference signal in the frequency band of interest;

S3.3、放大运动信号:人工设置放大系数α,对时域滤波所提取感兴趣运动信号的相位差进行线性放大,得到放大后的运动信号;S3.3. Amplify the motion signal: manually set the amplification factor α, and linearly amplify the phase difference of the motion signal of interest extracted by time-domain filtering to obtain the amplified motion signal;

S3.4、视频重建与合成:利用放大后运动信号合成的图像序列、空间域滤波所得到的高通残差和低通残差重构取得运动放大后的数字图像数据,最后合成放大后的视频。S3.4. Video reconstruction and synthesis: use the image sequence synthesized by the amplified motion signal, the high-pass residual and low-pass residual reconstruction obtained by spatial domain filtering to obtain the digital image data after motion amplification, and finally synthesize the amplified video .

具体的,运动放大就是通过对视频序列或图像序列中存在的微小运动进行放大,使得这些微小运动的运动幅度增大以便于从这些微小运动中提取有价值的信息。基于相位的欧拉运动放大算法是基于傅里叶移位定理提出的。在二维图像中,相位对应着物体的运动,图像经过傅里叶变换,对所包含的相位进行一定的处理,能够实现物体运动放大。该方法是对图像中包含的相位信息进行直接操作,在噪声处理方面只是平移了噪声而没有放大噪声,减少了运动伪影的出现,且支持较大的放大倍数。Specifically, motion amplification is to amplify the small motions existing in the video sequence or image sequence, so that the motion range of these small motions is increased so as to extract valuable information from these small motions. The phase-based Euler motion amplification algorithm is proposed based on the Fourier shift theorem. In a two-dimensional image, the phase corresponds to the motion of the object, and the image undergoes Fourier transform to process the contained phase to achieve object motion amplification. This method directly operates on the phase information contained in the image. In terms of noise processing, it only translates the noise without amplifying the noise, reduces the appearance of motion artifacts, and supports a larger magnification.

为了能够直观地阐述该算法的原理,以一维图像为例进行说明。假定f(x)为一维图像亮度函数,x为图像像素坐标,经过时间t后,假定物体在图像上平移δ(t),则时刻t的图像亮度为f(x+δ(t))。分别对f(x)和f(x+δ(t))进行傅里叶变换,得到In order to illustrate the principle of the algorithm intuitively, a one-dimensional image is taken as an example for illustration. Assume that f(x) is a one-dimensional image brightness function, and x is the image pixel coordinates. After time t, assuming that the object translates δ(t) on the image, the image brightness at time t is f(x+δ(t)) . Perform Fourier transform on f(x) and f(x+δ(t)) respectively to get

Figure BDA0004204953590000041
Figure BDA0004204953590000041

Figure BDA0004204953590000042
Figure BDA0004204953590000042

式中ω为谐波频率,Aω为谐波振幅。Where ω is the harmonic frequency, and A ω is the harmonic amplitude.

对应于某一谐波频率ω,f(x)和f(x+δ(t))的谐波分量的相位差为Corresponding to a certain harmonic frequency ω, the phase difference of the harmonic components of f(x) and f(x+δ(t)) is

Figure BDA0004204953590000043
Figure BDA0004204953590000043

显然,该相位差与信号δ(t)直接相关,包含了运动信息。Obviously, the phase difference is directly related to the signal δ(t), which contains motion information.

将相位放大α倍,则对应的谐波分量调整为,重构图像亮度函数为If the phase is amplified by α times, the corresponding harmonic component is adjusted to, and the brightness function of the reconstructed image is

Figure BDA0004204953590000044
Figure BDA0004204953590000044

通过对比图像亮度函数f(x)和f(x+δ(t)),即可得到放大的运动信号(1+αδ(t))。值得注意的是,为了放大某个频率范围内的运动信号,δ(t)实际上是经过时域滤波的。By comparing the image brightness functions f(x) and f(x+δ(t)), the amplified motion signal (1+αδ(t)) can be obtained. It is worth noting that in order to amplify motion signals in a certain frequency range, δ(t) is actually time-domain filtered.

进一步,所述步骤4中利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据,包括:Further, in the step 4, the sub-pixel template matching algorithm is used to determine the displacement time-history response data corresponding to the motion-amplified video, including:

对所述放大后的视频进行分帧处理以得到放大后视频图像,利用统计学中零均值归一化互相关理论,通过亚像素模板匹配算法分别计算出第一帧放大后的视频图像与其他帧放大后的视频图像之间的亚像素位移,再以时间为基线将各帧图片处理结果串联,即可获得目标对象拉索的振动位移时程响应数据。并且以单根斜拉索为例,其在空间的振动主要发生在三个方向:竖平面内的弦方向、竖平面内的垂直弦方向和出平面方向。一般情况下,拉索沿弦方向的振动幅度要远小于其他两个方向的振动幅度。考虑到桥梁斜拉索通常在垂直弦方向的气动阻尼约是横向的一半,认为桥梁拉索的主要振动方向为竖平面内的垂直弦方向。因此,本发明主要研究采用计算机视觉方法测试斜拉索在竖平面内垂直弦方向的振动特性。The enlarged video is divided into frames to obtain the enlarged video image, using the zero-mean normalized cross-correlation theory in statistics, and the sub-pixel template matching algorithm is used to calculate the first frame of the enlarged video image and other The sub-pixel displacement between the frame-enlarged video images, and then concatenating the image processing results of each frame with time as the baseline, can obtain the vibration displacement time-history response data of the cable of the target object. And taking a single stay cable as an example, its vibration in space mainly occurs in three directions: the chord direction in the vertical plane, the vertical chord direction in the vertical plane, and the direction out of the plane. Generally, the vibration amplitude of the cable along the chord direction is much smaller than that of the other two directions. Considering that the aerodynamic damping of bridge stay cables in the vertical chord direction is about half that in the transverse direction, it is considered that the main vibration direction of bridge stay cables is the vertical chord direction in the vertical plane. Therefore, the present invention mainly studies the vibration characteristics of the stay cable in the vertical plane and the vertical chord direction by using the computer vision method.

具体的,亚像素模板匹配计算位移过程如下:假设有两张具有相同尺寸(M×N)的图像f(x,y)和h(x,y),其中h(x,y)与参考图像f(x,y)具有相对平移,通过傅里叶变换后f(x,y)和h(x,y)之间的互相关关系可以定义为:Specifically, the sub-pixel template matching calculation displacement process is as follows: Suppose there are two images f(x,y) and h(x,y) with the same size (M×N), where h(x,y) is the same as the reference image f(x,y) has relative translation, and the cross-correlation relationship between f(x,y) and h(x,y) after Fourier transform can be defined as:

Figure BDA0004204953590000051
Figure BDA0004204953590000051

式中:M和N是图像的尺寸;(x0,y0)是坐标移位的量;“*”表示复共轭;F(u,v)和H*(u,v)分别表示f(x,y)和h(x,y)的离散傅里叶变换。In the formula: M and N are the dimensions of the image; (x 0 , y 0 ) is the amount of coordinate shift; "*" indicates complex conjugate; F(u,v) and H * (u,v) respectively indicate f Discrete Fourier Transform of (x,y) and h(x,y).

F(u,v)的表达式:The expression of F(u,v):

Figure BDA0004204953590000052
Figure BDA0004204953590000052

通过Rhf的峰值提取结构振动的像素级位移。然后,在Rhf的初始峰值附近的领域内进行基于时效性矩阵乘法离散傅里叶变换互相关提取结构振动的亚像素级位移。Pixel-level displacements of structural vibrations are extracted by peaks of R hf . Then, a time-sensitive matrix multiplication-based discrete Fourier transform cross-correlation is performed to extract sub-pixel-level displacements of structural vibrations in the region around the initial peak of R hf .

特别需要指出,估计索力只需要频率信息。换句话说,不需要确定比例因子来将像素坐标振动位移转换成物理坐标振动位移,这将使得基于视觉的测量过程更加高效和实用。In particular, it should be pointed out that only frequency information is needed to estimate the cable force. In other words, there is no need to determine a scale factor to convert the pixel coordinate vibration displacement into the physical coordinate vibration displacement, which will make the vision-based measurement process more efficient and practical.

进一步,所述步骤5中基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力,包括:Further, in the step 5, based on the displacement time-history response data, the fundamental frequency corresponding to the cable to be detected is obtained, and according to the actual boundary conditions of the cable, an appropriate cable force-frequency relationship is selected to calculate the cable force, including:

将得到的所述位移时程响应数据利用快速傅里叶变换获取所述微小振动视频中所述待检测拉索对应的基频;拉索的第一阶振动频率,即为基频,是拉索的重要动力特性;同时,现场测试索力的工程师习惯于使用基频来计算索力,因此本发明通过获得准确的基频来计算索力。The obtained displacement time-history response data is obtained by fast Fourier transform to obtain the fundamental frequency corresponding to the cable to be detected in the micro-vibration video; the first-order vibration frequency of the cable is the fundamental frequency, which is the At the same time, engineers who test the cable force on site are used to using the fundamental frequency to calculate the cable force, so the present invention calculates the cable force by obtaining an accurate fundamental frequency.

振动法计算索力实用公式均是由各种理论模型简化推导而来,有不同的适用范围,需要根据拉索实际情况选取合适的索力—频率关系计算拉索索力。目前基于振动的索力计算模型主要分为四类:紧张弦模型理论、简支梁模型理论、固支梁理论、复杂边界模型理论。The practical formulas for calculating the cable force by the vibration method are all simplified and derived from various theoretical models, and have different scopes of application. It is necessary to select the appropriate cable force-frequency relationship to calculate the cable force according to the actual situation of the cable. At present, the cable force calculation models based on vibration are mainly divided into four categories: tension string model theory, simply supported beam model theory, fixed beam theory, and complex boundary model theory.

紧张弦模型理论:紧张弦理论简化斜拉索为无刚度、无垂度的紧张弦,忽略抗弯刚度。Tensioned string model theory: The tensioned string theory simplifies the stay cable as a tensioned string with no stiffness and no sag, and ignores the bending stiffness.

F=4ml2f2 F=4ml 2 f 2

简支梁模型理论:简支梁模型是简化斜拉索为一端铰支,一端简支的水平横梁。Simply supported beam model theory: The simply supported beam model is a simplified horizontal beam in which the stay cables are hinged at one end and simply supported at one end.

Figure BDA0004204953590000053
Figure BDA0004204953590000053

固支梁模型理论:固支梁模型是在两端采用固支约束,与简支梁模型相比较,也就是边界条件不同。考虑抗弯刚度的影响,计算公式如下:The theory of fixed beam model: The fixed beam model adopts fixed support constraints at both ends. Compared with the simply supported beam model, the boundary conditions are different. Considering the influence of bending stiffness, the calculation formula is as follows:

Figure BDA0004204953590000054
Figure BDA0004204953590000054

Figure BDA0004204953590000055
Figure BDA0004204953590000055

F=4ml2f2 (210≤ξ)F=4ml 2 f 2 (210≤ξ)

考虑垂度的影响,计算公式如下:Considering the effect of sag, the calculation formula is as follows:

F=4ml2f22≤0.17,4π2≤λ2)F=4ml 2 f 22 ≤0.17,4π 2 ≤λ 2 )

Figure BDA0004204953590000061
Figure BDA0004204953590000061

复杂边界模型理论:在实际应用过程中,斜拉索的边界条件比较复杂,可能介于简支与固支之间,存在弹性边界。Complex boundary model theory: In the actual application process, the boundary conditions of the stay cables are relatively complex, which may be between simple support and fixed support, and there is an elastic boundary.

Figure BDA0004204953590000062
Figure BDA0004204953590000062

其中F为m斜拉索单位长度的质量;l为斜拉索的长度;f为拉索的第一阶振动频率,即基频;EI代表拉索的抗弯刚度;EA为拉索的轴向刚度;ξ为抗弯刚度的无量纲量,

Figure BDA0004204953590000063
λ2为垂度的无量纲量,λ2=[mgl/F]·(EAl/FLe);Le=l[(1+(mglcosθ/F2/8))];
Figure BDA0004204953590000064
Among them, F is the mass of the unit length of the cable in m; l is the length of the cable; f is the first-order vibration frequency of the cable, that is, the fundamental frequency; EI represents the bending stiffness of the cable; EA is the axis of the cable direction stiffness; ξ is the dimensionless quantity of bending stiffness,
Figure BDA0004204953590000063
λ 2 is the dimensionless quantity of sag, λ 2 =[mgl/F]·(EAl/FL e ); L e =l[(1+(mglcosθ/F 2 /8))];
Figure BDA0004204953590000064

通过获取待检测拉索的相关信息;采集待检测拉索的微小振动视频,并对视频逐帧图像进行预处理,得到目标图像;对所述目标图像采用基于相位的欧拉运动放大算法获取放大后的图像序列,并重建得到放大后的视频;利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;基于所述位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力,为斜拉桥索力测试提供一种新的技术途径。Obtain the relevant information of the cable to be detected; collect the micro-vibration video of the cable to be detected, and preprocess the frame-by-frame image of the video to obtain the target image; use the phase-based Euler motion magnification algorithm to obtain the magnification of the target image After the image sequence is reconstructed, the enlarged video is reconstructed; the sub-pixel template matching algorithm is used to determine the displacement time-history response data corresponding to the video after the motion amplification; based on the displacement time-history response data, the corresponding According to the fundamental frequency of the cable, according to the actual boundary conditions of the cable, select the appropriate cable force-frequency relationship to calculate the cable force, which provides a new technical approach for cable force testing of cable-stayed bridges.

本发明所述的一种基于计算机视觉的拉索索力检测系统,参考图2,包括:A kind of cable force detection system based on computer vision of the present invention, with reference to Fig. 2, comprises:

拉索相关信息获取模块,用于获取待检测拉索的相关信息;Cable-related information acquisition module, used to obtain relevant information about the cable to be detected;

图像获取模块,用于获取待检测拉索的微小振动视频,并基于所述微小振动视频获取目标图像;An image acquisition module, configured to acquire a micro-vibration video of the cable to be detected, and acquire a target image based on the micro-vibration video;

图像预处理模块,用于对所述目标图像进行预处理,包括对目标图像进行裁剪、旋转和缩放,以及剔除目标图像中较大的噪声,以凸显所关心的拉索结构,减少其他环境因素的影响;The image preprocessing module is used to preprocess the target image, including cropping, rotating and scaling the target image, and removing larger noise in the target image, so as to highlight the structure of the cable concerned and reduce other environmental factors Impact;

运动放大后视频获取模块,用于利用复可调金字塔对输入的目标图像进行空间域滤波以获取不同方向不同尺度的图像序列,人工设置频率范围对图像序列进行时域滤波提取感兴趣运动信号的相位差信息,通过预设放大系数对相位差进行放大处理,以得到放大后的图像序列,然后通过金字塔逆过程重建以得到放大后的视频;The video acquisition module after motion amplification is used to perform space-domain filtering on the input target image by using complex adjustable pyramids to obtain image sequences in different directions and scales, and artificially set the frequency range to perform time-domain filtering on the image sequences to extract the motion signal of interest Phase difference information, the phase difference is amplified through the preset amplification factor to obtain an enlarged image sequence, and then reconstructed through the pyramid inverse process to obtain an enlarged video;

位移时程响应数据确定模块,用于利用亚像素模板匹配算法确定所述运动放大后视频对应的位移时程响应数据;A displacement time-history response data determination module, configured to determine the displacement time-history response data corresponding to the motion-amplified video by using a sub-pixel template matching algorithm;

索力计算模块,用于基于所述的位移时程响应数据获取所述待检测拉索对应的基频,根据拉索实际边界条件,选取合适的索力—频率关系计算拉索索力。The cable force calculation module is used to obtain the fundamental frequency corresponding to the cable to be detected based on the displacement time-history response data, and calculate the cable force by selecting an appropriate cable force-frequency relationship according to the actual boundary conditions of the cable.

需要说明的是,关于上述各个模块更加具体的工作过程可以参考前述实施例中公开的相应内容,在此不再进行赘述。It should be noted that, for more specific working processes of the above-mentioned modules, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.

本申请公开了一种基于计算机视觉的拉索索力检测装置,其特征在于,包括:存储器和处理器,所述存储器用于存储所述处理器可执行的计算机程序,所述处理器用于执行所述计算机程序时实现本发明所述的一种基于计算机视觉的拉索索力检测方法的步骤。The present application discloses a cable force detection device based on computer vision, which is characterized in that it includes: a memory and a processor, the memory is used to store a computer program executable by the processor, and the processor is used to execute the The computer program is used to realize the steps of a computer vision-based cable force detection method according to the present invention.

本申请公开了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现本发明所述的一种基于计算机视觉的拉索索力检测方法的步骤。The present application discloses a computer-readable storage medium, which is characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, a computer vision-based The steps of the cable force detection method of the present invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明要求及其同等技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the requirements of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (9)

1. The computer vision-based inhaul cable force detection method is characterized by comprising the following steps of:
step 1: acquiring relevant information of a cable to be detected;
step 2: collecting a tiny vibration video of a cable to be detected, and preprocessing a frame-by-frame image of the video to obtain a target image;
step 3: acquiring an amplified image sequence from the target image by adopting a Euler motion amplification algorithm based on phase, and reconstructing to obtain an amplified video;
step 4: determining displacement time-course response data corresponding to the video after the motion amplification by using a sub-pixel template matching algorithm;
step 5: and acquiring the fundamental frequency corresponding to the cable to be detected based on the displacement time response data, and selecting a proper cable force-frequency relation to calculate the cable force of the cable according to the actual boundary condition of the cable.
2. The computer vision-based inhaul cable force detection method according to claim 1, wherein the method comprises the steps of: in the step 1, the related information includes a model, a material, a diameter, a calculated length, a linear density, an inclination angle, a boundary condition, a service time, a number or a position of the inhaul cable, and the like.
3. The computer vision-based inhaul cable force detection method according to claim 1, wherein the method comprises the steps of: the specific process of the step 2 is as follows:
step 2.1: selecting 1/4 of the inhaul cable as a detection area, observing whether natural markers exist in the inhaul cable or not, and setting a target point in the inhaul cable if the natural markers do not exist in the inhaul cable; fixing the high-precision industrial camera at a proper position, inspecting the field illumination condition, judging whether light supplementing is needed, and if the light supplementing is needed, turning on a self-powered light supplementing lamp to light; the position of a camera is adjusted, so that a guy cable target can be completely shot by the camera, the guy cable target can not exceed a video range during vibration, the focal length and the aperture of a lens are adjusted, and the guy cable in the field of view of the camera is enabled to be imaged clearly and visually; setting a sampling frequency of a camera, and collecting a guy cable micro-vibration video;
step 2.2: disassembling a guy cable micro-vibration video shot by a camera into continuous frame images, and setting the same region of interest for each frame image; the region of interest comprises a target spot and a inhaul cable movement region to be detected;
step 2.3: and carrying out frame-by-frame image preprocessing on the continuous frame images obtained by disassembly, wherein the preprocessing comprises cutting, rotating and scaling the target image sequence, and removing larger noise in the target image so as to highlight the inhaul cable structure concerned and reduce the influence of other environmental factors.
4. The computer vision-based inhaul cable force detection method according to claim 1, wherein the method comprises the steps of: the specific method of the step 3 is as follows:
step 3.1, spatial domain filtering: carrying out spatial domain filtering on an input target image by using a complex controllable pyramid to obtain a high-pass residual error, a low-pass residual error and image sequences with different scales and different directions, namely a local amplitude spectrum and a local phase spectrum;
step 3.2, time domain filtering: calculating phase difference according to the obtained local phase spectrum, manually setting a frequency range and a filter, and then performing time domain band-pass filtering to extract phase difference signals in the interested frequency band;
step 3.3, amplifying the motion signal: manually setting an amplification coefficient, and linearly amplifying the phase difference of the interesting motion signal extracted by the time filtering to obtain an amplified motion signal;
step 3.4, video reconstruction and synthesis: and reconstructing the high-pass residual error and the low-pass residual error obtained by utilizing the image sequence synthesized by the amplified motion signals and the spatial domain filtering to obtain the image sequence amplified by the motion, and finally synthesizing the amplified video.
5. The computer vision-based inhaul cable force detection method according to claim 1, wherein the method comprises the steps of: in the step 4, a sub-pixel template matching algorithm is used to determine displacement time-course response data corresponding to the video after the motion amplification, including:
and carrying out framing treatment on the amplified video to obtain an amplified image sequence, respectively calculating sub-pixel displacement between the amplified target image of the first frame and the amplified target images of other frames by using a sub-pixel template matching algorithm by using a zero mean value normalization cross-correlation theory in statistics, and then connecting the frame image treatment results in series by taking time as a base line to obtain vibration displacement time-course response data of the inhaul cable of the target object.
6. The computer vision-based inhaul cable force detection method according to claim 1, wherein the method comprises the steps of: in the step 5, the fundamental frequency corresponding to the cable to be detected is obtained based on the displacement time response data, and a proper cable force-frequency relation is selected to calculate the cable force according to the actual boundary condition of the cable, including:
acquiring the fundamental frequency corresponding to the inhaul cable to be detected in the micro vibration video by utilizing the obtained displacement time response data through fast Fourier transform;
the practical formulas for calculating the cable force by the vibration method are simplified and deduced by various theoretical models, have different application ranges, and need to select proper cable force-frequency relation according to the actual condition of the cable to calculate the cable force of the cable.
7. A computer vision-based guy cable force detection system, comprising:
the cable related information acquisition module is used for acquiring related information of the cable to be detected;
the image acquisition module is used for acquiring a micro vibration video of the inhaul cable to be detected and acquiring a target image based on the micro vibration video;
the image preprocessing module is used for preprocessing the target image, including cutting, rotating and zooming the target image, and removing larger noise in the target image so as to highlight a cable structure concerned and reduce the influence of other environmental factors;
the video acquisition module after the motion amplification is used for carrying out spatial domain filtering on an input target image by using a complex adjustable pyramid so as to acquire image sequences with different dimensions in different directions, carrying out time domain filtering on the image sequences by manually setting a frequency range to extract phase difference information of a motion signal of interest, amplifying the phase difference by a preset amplification coefficient so as to obtain an amplified image sequence, and then reconstructing the amplified image sequence by using a pyramid inverse process so as to obtain an amplified video;
the displacement time-course response data determining module is used for determining displacement time-course response data corresponding to the video after the motion amplification by utilizing a sub-pixel template matching algorithm;
and the cable force calculation module is used for acquiring the fundamental frequency corresponding to the cable to be detected based on the displacement time-course response data, and selecting a proper cable force-frequency relation to calculate the cable force of the cable according to the actual boundary condition of the cable.
8. Computer vision-based inhaul cable force detection device is characterized by comprising: a memory for storing a computer program executable by the processor, and a processor for implementing the steps of a computer vision-based cable force detection method according to any one of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of a computer vision-based cable force detection method according to any one of claims 1-6 are implemented.
CN202310474149.2A 2023-04-28 2023-04-28 Computer vision-based inhaul cable force detection method, system and device Pending CN116363121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310474149.2A CN116363121A (en) 2023-04-28 2023-04-28 Computer vision-based inhaul cable force detection method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310474149.2A CN116363121A (en) 2023-04-28 2023-04-28 Computer vision-based inhaul cable force detection method, system and device

Publications (1)

Publication Number Publication Date
CN116363121A true CN116363121A (en) 2023-06-30

Family

ID=86939609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310474149.2A Pending CN116363121A (en) 2023-04-28 2023-04-28 Computer vision-based inhaul cable force detection method, system and device

Country Status (1)

Country Link
CN (1) CN116363121A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117115708A (en) * 2023-08-24 2023-11-24 中海建筑有限公司 A method for identifying bridge cable force in foggy weather environment based on deep learning micro-motion amplification technology
CN117392106A (en) * 2023-11-07 2024-01-12 中交公路长大桥建设国家工程研究中心有限公司 Bridge vibration visual detection method and system based on visual enhancement
CN118230225A (en) * 2024-05-22 2024-06-21 中铁大桥局集团有限公司 Inhaul cable multi-scale vibration visual monitoring method and system
CN118706244A (en) * 2024-06-06 2024-09-27 中交公路长大桥建设国家工程研究中心有限公司 Real-time monitoring method, system and device for bridge vibration based on visual enhancement

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117115708A (en) * 2023-08-24 2023-11-24 中海建筑有限公司 A method for identifying bridge cable force in foggy weather environment based on deep learning micro-motion amplification technology
CN117392106A (en) * 2023-11-07 2024-01-12 中交公路长大桥建设国家工程研究中心有限公司 Bridge vibration visual detection method and system based on visual enhancement
CN118230225A (en) * 2024-05-22 2024-06-21 中铁大桥局集团有限公司 Inhaul cable multi-scale vibration visual monitoring method and system
CN118706244A (en) * 2024-06-06 2024-09-27 中交公路长大桥建设国家工程研究中心有限公司 Real-time monitoring method, system and device for bridge vibration based on visual enhancement

Similar Documents

Publication Publication Date Title
CN116363121A (en) Computer vision-based inhaul cable force detection method, system and device
Luo et al. Robust vision sensor for multi-point displacement monitoring of bridges in the field
Feng et al. Experimental validation of cost-effective vision-based structural health monitoring
CN110108348B (en) Micro-amplitude vibration measurement method and system for thin-walled parts based on motion-amplified optical flow tracking
CN111174961B (en) A cable force optical measurement method and measurement system based on modal analysis
McCormick et al. Digital image correlation for structural measurements
Tian et al. Vision-based structural scaling factor and flexibility identification through mobile impact testing
Kromanis et al. Measuring structural deformations in the laboratory environment using smartphones
Tan et al. Target-free vision-based approach for modal identification of a simply-supported bridge
Sarrafi et al. Mode extraction on wind turbine blades via phase-based video motion estimation
Jurjo et al. Experimental methodology for the dynamic analysis of slender structures based on digital image processing techniques
Wu et al. Non-contact measurement method of beam vibration with laser stripe tracking based on tilt photography
Chen et al. Cable force determination using phase-based video motion magnification and digital image correlation
Wang et al. Vibration measurement method based on point tracking for irregular structures
Luo et al. Motion magnification for video-based vibration measurement of civil structures: A review
CN114187330A (en) Structural micro-amplitude vibration working mode analysis method based on optical flow method
CN115876365B (en) Visual testing method, device and medium for inhaul cable force based on motion comprehensive brightness spectrum
CN115078393B (en) A computer vision-based method for damage detection of hinged joints of simply supported hollow slab bridges
Morlier et al. Virtual vibration measurement using KLT motion tracking algorithm
Du et al. A non-contact displacement measurement system based on a portable smartphone with digital image methods
Wang et al. Phase-based motion estimation and SVR smooth for target-free 3D deformation measurement using stereophotogrammetry
Belloni et al. Digital image correlation from commercial to FOS software: a mature technique for full-field displacement measurements
Nguyen et al. A hybrid approach for vision-based structural displacement measurement using transforming model prediction and KLT
Hang et al. Eulerian fast motion identification algorithm for deformation measurement of cable-stayed bridge
He et al. Enhancing measurement precision for rotor vibration displacement via a progressive video super resolution network

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