CN113538580A - Vibration measurement method and system based on visual processing - Google Patents

Vibration measurement method and system based on visual processing Download PDF

Info

Publication number
CN113538580A
CN113538580A CN202110799504.4A CN202110799504A CN113538580A CN 113538580 A CN113538580 A CN 113538580A CN 202110799504 A CN202110799504 A CN 202110799504A CN 113538580 A CN113538580 A CN 113538580A
Authority
CN
China
Prior art keywords
monitoring area
image
vibration
pixel
pixel point
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.)
Granted
Application number
CN202110799504.4A
Other languages
Chinese (zh)
Other versions
CN113538580B (en
Inventor
刘伯奇
冯海龙
姚京川
胡海天
巴力
王域辰
王博
吴笑雷
沈毅峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tieke Chengdu Testing Technology Co ltd
Tieke Testing Co ltd
China Academy of Railway Sciences Corp Ltd CARS
Railway Engineering Research Institute of CARS
China State Railway Group Co Ltd
Original Assignee
Tieke Chengdu Testing Technology Co ltd
Tieke Testing Co ltd
China Academy of Railway Sciences Corp Ltd CARS
Railway Engineering Research Institute of CARS
China State Railway Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tieke Chengdu Testing Technology Co ltd, Tieke Testing Co ltd, China Academy of Railway Sciences Corp Ltd CARS, Railway Engineering Research Institute of CARS, China State Railway Group Co Ltd filed Critical Tieke Chengdu Testing Technology Co ltd
Priority to CN202110799504.4A priority Critical patent/CN113538580B/en
Publication of CN113538580A publication Critical patent/CN113538580A/en
Application granted granted Critical
Publication of CN113538580B publication Critical patent/CN113538580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H9/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • 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/20Special algorithmic details
    • G06T2207/20048Transform domain processing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

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

Abstract

The application discloses vibration measurement method and system based on visual processing, which comprises the following steps: extracting brightness information of each pixel point in a first monitoring area; filtering the extracted brightness information; calculating to obtain the phase of each pixel point in the current frame vibration image in the first monitoring area; calculating the phase difference of each pixel point in the first monitoring area; weighting the obtained phase difference of each pixel point in the first monitoring area; summing the weighted phase differences of all pixel points in the first monitoring area in the current frame vibration image to obtain the object vibration quantity of the first monitoring area in the current frame vibration image; and generating a vibration signal of the target detection object image in the first monitoring area according to the object vibration quantity of the first monitoring area in each obtained frame of vibration image. The image filter of using design in this application carries out filtering process to the image, directly uses the pixel coordinate information in the image, need not to put up or spray the characteristic target point of artificial settlement on target detection object surface.

Description

一种基于视觉处理的振动测量方法和系统A vibration measurement method and system based on vision processing

技术领域technical field

本申请属于视觉处理技术领域,具体涉及一种基于视觉处理的振动测量方法和系统。The present application belongs to the technical field of vision processing, and in particular relates to a vibration measurement method and system based on vision processing.

背景技术Background technique

高铁站台雨棚在高铁列车高速开过时,由于气流等原因会发生振动,这使得雨棚处于频繁振动状态,对雨棚结构安全是个重大考验,一旦发生疲劳破坏,将给铁路安全运行带来危害,造成严重经济财产损失和人身安全威胁。High-speed rail platform canopy will vibrate due to air flow and other reasons when the high-speed train runs at high speed, which makes the canopy in a state of frequent vibration, which is a major test for the safety of the canopy structure. Once fatigue damage occurs, it will bring harm to the safe operation of the railway. , causing serious economic and property losses and threats to personal safety.

现有技术中,主要采用接触式测量方法检测雨棚的振动情况,具体的,通过在雨棚上大量布置接触式测量传感器,对雨棚进行检测。In the prior art, a contact measurement method is mainly used to detect the vibration of the canopy. Specifically, the canopy is detected by arranging a large number of contact measurement sensors on the canopy.

但是,现有技术中这种接触式测量方法,工作量多且需要相关部门配合开展,极为不便。However, such a contact measurement method in the prior art requires a lot of workload and requires the cooperation of relevant departments, which is extremely inconvenient.

发明内容SUMMARY OF THE INVENTION

为解决现有技术中上述技术问题,本申请提供一种基于视觉处理的振动测量方法和系统。In order to solve the above technical problems in the prior art, the present application provides a vibration measurement method and system based on vision processing.

第一方面,本申请提供一种基于视觉处理的振动测量方法,包括:In a first aspect, the present application provides a vibration measurement method based on visual processing, comprising:

获取目标检测物处于振动状态下的振动图像序列,所述振动图像序列包括的多帧按时间序列排序的振动图像;Obtain a vibration image sequence in which the target detection object is in a vibrating state, and the vibration image sequence includes multiple frames of vibration images sorted in time series;

在图像处理显示界面,框选至少一个监测区域,其中,每个所述监测区域至少覆盖所述振动图像中部分所述目标检测物图像;On the image processing display interface, frame selection of at least one monitoring area, wherein each monitoring area covers at least part of the target detection object image in the vibration image;

对每帧振动图像中每个所述监测区域执行如下步骤:Perform the following steps for each of the monitoring areas in each frame of the vibration image:

提取第一监测区域内每个像素点的亮度信息,其中,所述第一监测区域为所述至少一个监测区域中任一监测区域;extracting the brightness information of each pixel in the first monitoring area, wherein the first monitoring area is any monitoring area in the at least one monitoring area;

对提取的第一监测区域内每个像素点的亮度信息滤波处理;filtering and processing the brightness information of each pixel in the extracted first monitoring area;

根据滤波后的第一监测区域内每个像素点的亮度信息,分别计算得到所述第一监测区域内每个像素点在当前帧振动图像中的相位;According to the filtered brightness information of each pixel in the first monitoring area, calculate the phase of each pixel in the current frame vibration image in the first monitoring area;

分别计算所述第一监测区域内每个像素点在当前帧振动图像的相位与在第一帧振动图像的相位的相位差;Respectively calculate the phase difference between the phase of the vibration image in the current frame and the phase of the vibration image in the first frame of each pixel in the first monitoring area;

对得到的所述第一监测区域内每个像素点的相位差进行加权处理,得到当前帧振动图像中所述第一监测区域内每个像素点的加权相位差;Perform weighting processing on the obtained phase difference of each pixel in the first monitoring area to obtain the weighted phase difference of each pixel in the first monitoring area in the current frame vibration image;

对当前帧振动图像中所述第一监测区域内所有像素点的加权相位差求和,得到当前帧振动图像中所述第一监测区域的物体振动量;Summing the weighted phase differences of all pixels in the first monitoring area in the current frame vibration image to obtain the vibration amount of the object in the first monitoring area in the current frame vibration image;

根据得到的各帧振动图像中所述第一监测区域的物体振动量,生成所述第一监测区域内所述目标检测物图像的振动信号。According to the vibration amount of the object in the first monitoring area in the obtained vibration images of each frame, a vibration signal of the image of the target detection object in the first monitoring area is generated.

可选的,对提取的第一监测区域内每个像素点的亮度信息流滤波处理,包括:Optionally, filtering and processing the brightness information flow of each pixel in the extracted first monitoring area, including:

对第一监测区域内每个像素点的亮度信息进行傅里叶变换,得到第一监测区域内每个像素点的亮度信息的傅里叶频谱响应函数;Fourier transform is performed on the brightness information of each pixel in the first monitoring area to obtain a Fourier spectral response function of the brightness information of each pixel in the first monitoring area;

通过图像滤波器H(u,v)对傅里叶频谱响应函数进行滤波处理,得到第一监测区域内每个像素点的滤波响应函数,其中,所述图像滤波器H(u,v)满足第一关系式,所述第一关系式为:The Fourier spectral response function is filtered by the image filter H(u, v) to obtain the filter response function of each pixel in the first monitoring area, wherein the image filter H(u, v) satisfies The first relational formula, the first relational formula is:

Figure BDA0003164129990000021
Figure BDA0003164129990000021

其中,W表示所述图像滤波器的通带带宽,D(u,v)表示从(u,v)到频率平面原点的距离,D0表示截止频率;Wherein, W represents the passband bandwidth of the image filter, D(u, v) represents the distance from (u, v) to the origin of the frequency plane, and D 0 represents the cutoff frequency;

对所述滤波响应函数傅里叶逆变换,得到第一监测区域内每个像素点滤波后的亮度信息

Figure BDA0003164129990000022
所述滤波后的亮度信息
Figure BDA0003164129990000023
满足第二关系关系式,所述第二关系关系式为:Inverse Fourier transform of the filter response function to obtain the filtered brightness information of each pixel in the first monitoring area
Figure BDA0003164129990000022
the filtered luminance information
Figure BDA0003164129990000023
Satisfy the second relational formula, the second relational formula is:

Figure BDA0003164129990000024
Figure BDA0003164129990000024

其中,

Figure BDA0003164129990000025
表示傅里叶频谱响应函数,x表示像素点的像素横坐标,y表示像素点的像素纵坐标,M、N表示振动图像的尺寸,j表示虚数单位,u表示x方向的频率变量,v表示y方向的频率变量。in,
Figure BDA0003164129990000025
Represents the Fourier spectral response function, x represents the pixel abscissa of the pixel, y represents the pixel ordinate of the pixel, M and N represent the size of the vibration image, j represents the imaginary unit, u represents the frequency variable in the x direction, and v represents Frequency variable in the y direction.

可选的对得到的所述第一监测区域内每个像素点的相位差进行加权处理,得到当前帧振动图像中所述第一监测区域内每个像素点的加权相位差,包括:Optionally perform weighting processing on the obtained phase difference of each pixel in the first monitoring area to obtain the weighted phase difference of each pixel in the first monitoring area in the current frame vibration image, including:

获取当前帧振动图像中第一监测区域内每个像素点对应的预设邻近像素点亮度信息;Obtaining the brightness information of preset adjacent pixels corresponding to each pixel in the first monitoring area in the current frame vibration image;

按照第三关系式,对当前帧振动图像中第一监测区域内每个像素点的相位差进行加权,得到当前帧振动图像中第一监测区域内每个像素点的加权相位差,所述第三关系式为:According to the third relational formula, the phase difference of each pixel in the first monitoring area in the current frame of vibration image is weighted to obtain the weighted phase difference of each pixel in the first monitoring area in the current frame of vibration image. The three relations are:

Figure BDA0003164129990000026
Figure BDA0003164129990000026

其中,

Figure BDA0003164129990000027
表示第i帧振动图像中第一监测区域内每个像素点的加权相位差,
Figure BDA0003164129990000028
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的预设邻近像素点亮度信息,
Figure BDA0003164129990000029
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的相位差,m<k<n,m<l<n,其中,m和n表示与像素坐标为(x,y)的像素点对应的预设邻近像素点的像素坐标值。in,
Figure BDA0003164129990000027
represents the weighted phase difference of each pixel in the first monitoring area in the ith frame of vibration image,
Figure BDA0003164129990000028
Indicates the brightness information of the preset adjacent pixels corresponding to the pixels whose pixel coordinates are (x, y) in the i-th vibration image,
Figure BDA0003164129990000029
Represents the phase difference corresponding to the pixel with the pixel coordinate (x, y) in the i-th vibration image, m<k<n, m<l<n, where m and n represent the pixel coordinate (x, y) The pixel coordinate value of the preset adjacent pixel corresponding to the pixel.

可选的,所述方法还包括:Optionally, the method further includes:

将生成的每个监测区域内所述目标检测物图像的振动信号,转换成每个监测区域内所述目标检测物图像对应的实体部分的振动信号;Converting the generated vibration signal of the target detection object image in each monitoring area into a vibration signal of the solid part corresponding to the target detection object image in each monitoring area;

根据每个监测区域内所述目标检测物图像对应的实体部分的振动信号,确定所述目标检测物各实体部分的振动频率信息。According to the vibration signal of the solid part corresponding to the image of the target detection object in each monitoring area, the vibration frequency information of each solid part of the target detection object is determined.

可选的,如果所述目标检测物为雨棚顶棚,则所述方法包括:Optionally, if the target detection object is a canopy roof, the method includes:

根据第四关系式,确定所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,所述第四关系式为:According to the fourth relational expression, the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area is determined, and the fourth relational expression is:

R=S×γ×1/cos(α)R=S×γ×1/cos(α)

其中,R表示所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,S表示所述第一监测区域内所述雨棚顶棚图像的振动信号,γ表示像素当量比例,α表示所述雨棚顶棚的实体振动方向与所采集到的雨棚顶棚图像的振动方向之间的夹角;Wherein, R represents the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area, S represents the vibration signal of the canopy ceiling image in the first monitoring area, γ represents the pixel equivalent ratio, α represents the included angle between the physical vibration direction of the canopy ceiling and the vibration direction of the collected canopy ceiling image;

对所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号做傅里叶变换,得到所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动频率信息。Fourier transform is performed on the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area to obtain vibration frequency information of the solid part corresponding to the canopy ceiling image in the first monitoring area.

第二方面,本申请还提供一种基于视觉处理的振动测量系统,包括:In a second aspect, the present application also provides a vibration measurement system based on visual processing, comprising:

获取模块,用于获取目标检测物处于振动状态下的振动图像序列,所述振动图像序列包括的多帧按时间序列排序的振动图像;an acquisition module, configured to acquire a vibration image sequence in which the target detection object is in a vibrating state, where the vibration image sequence includes multiple frames of vibration images sorted in time series;

框选模块,用于在图像处理显示界面,框选至少一个监测区域,其中,每个所述监测区域至少覆盖所述振动图像中部分所述目标检测物图像;a frame selection module, configured to frame at least one monitoring area on the image processing display interface, wherein each of the monitoring areas covers at least part of the target detection object image in the vibration image;

提取模块,用于提取第一监测区域内每个像素点的亮度信息,其中,所述第一监测区域为所述至少一个监测区域中任一监测区域;an extraction module, configured to extract the brightness information of each pixel in a first monitoring area, wherein the first monitoring area is any monitoring area in the at least one monitoring area;

滤波处理模块,用于对提取的第一监测区域内每个像素点的亮度信息滤波处理;a filtering processing module, used for filtering and processing the brightness information of each pixel in the extracted first monitoring area;

第一计算模块,用于根据滤波后的第一监测区域内每个像素点的亮度信息,分别计算得到所述第一监测区域内每个像素点在当前帧振动图像中的相位;The first calculation module is used to calculate the phase of each pixel in the current frame vibration image in the first monitoring area according to the filtered brightness information of each pixel in the first monitoring area;

第二计算模块,用于分别计算所述第一监测区域内每个像素点在当前帧振动图像的相位与在第一帧振动图像的相位的相位差;The second calculation module is used to respectively calculate the phase difference between the phase of the vibration image of the current frame and the phase of the vibration image of the first frame of each pixel in the first monitoring area;

加权处理模块,用于对得到的所述第一监测区域内每个像素点的相位差进行加权处理,得到当前帧振动图像中所述第一监测区域内每个像素点的加权相位差;a weighted processing module, configured to perform weighting processing on the obtained phase difference of each pixel in the first monitoring area, to obtain the weighted phase difference of each pixel in the first monitoring area in the current frame vibration image;

第三计算模块,用于对当前帧振动图像中所述第一监测区域内所有像素点的加权相位差求和,得到当前帧振动图像中所述第一监测区域的物体振动量;The third calculation module is used for summing the weighted phase differences of all the pixels in the first monitoring area in the current frame vibration image to obtain the vibration amount of the object in the first monitoring area in the current frame vibration image;

生成模块,用于根据得到的各帧振动图像中所述第一监测区域的物体振动量,生成所述第一监测区域内所述目标检测物图像的振动信号。The generating module is configured to generate the vibration signal of the image of the target detection object in the first monitoring area according to the vibration amount of the object in the first monitoring area in each frame of the obtained vibration image.

可选的,所述滤波处理模块包括傅里叶变换模块、图像滤波器和傅里叶逆变换模块;Optionally, the filtering processing module includes a Fourier transform module, an image filter and an inverse Fourier transform module;

傅里叶变换模块,用于对第一监测区域内每个像素点的亮度信息进行傅里叶变换,得到第一监测区域内每个像素点的亮度信息的傅里叶频谱响应函数;a Fourier transform module, configured to perform Fourier transform on the brightness information of each pixel in the first monitoring area to obtain a Fourier spectral response function of the brightness information of each pixel in the first monitoring area;

图像滤波器,用于对傅里叶频谱响应函数进行滤波,得到第一监测区域内每个像素点的滤波响应函数,其中,所述图像滤波器H(u,v)满足第一关系式,所述第一关系式为:The image filter is used to filter the Fourier spectral response function to obtain the filter response function of each pixel in the first monitoring area, wherein the image filter H(u, v) satisfies the first relational expression, The first relational formula is:

Figure BDA0003164129990000031
Figure BDA0003164129990000031

其中,W表示所述图像滤波器的通带带宽,D(u,v)表示从(u,v)到频率平面原点的距离,D0表示截止频率;Wherein, W represents the passband bandwidth of the image filter, D(u, v) represents the distance from (u, v) to the origin of the frequency plane, and D 0 represents the cutoff frequency;

傅里叶逆变换模块,用于对所述滤波响应函数傅里叶逆变换,得到第一监测区域内每个像素点滤波后的亮度信息

Figure BDA0003164129990000032
所述滤波后的亮度信息
Figure BDA0003164129990000033
满足第二关系关系式,所述第二关系关系式为:an inverse Fourier transform module, configured to perform an inverse Fourier transform on the filtering response function to obtain filtered brightness information of each pixel in the first monitoring area
Figure BDA0003164129990000032
the filtered luminance information
Figure BDA0003164129990000033
Satisfy the second relational formula, the second relational formula is:

Figure BDA0003164129990000034
Figure BDA0003164129990000034

其中,

Figure BDA0003164129990000035
表示傅里叶频谱响应函数,x表示像素点的像素横坐标,y表示像素点的像素纵坐标,M、N表示振动图像的尺寸,j表示虚数单位,u表示x方向的频率变量,v表示y方向的频率变量。in,
Figure BDA0003164129990000035
Represents the Fourier spectral response function, x represents the pixel abscissa of the pixel, y represents the pixel ordinate of the pixel, M and N represent the size of the vibration image, j represents the imaginary unit, u represents the frequency variable in the x direction, and v represents Frequency variable in the y direction.

可选的,所述加权处理模块包括获取子模块和加权处理子模块;Optionally, the weighted processing module includes an acquisition submodule and a weighted processing submodule;

获取子模块,用于获取当前帧振动图像中第一监测区域内每个像素点对应的预设邻近像素点亮度信息;an acquisition sub-module, used for acquiring the preset adjacent pixel brightness information corresponding to each pixel in the first monitoring area in the current frame vibration image;

加权处理子模块,用于按照第三关系式,对当前帧振动图像中第一监测区域内每个像素点的相位差进行加权,得到当前帧振动图像中第一监测区域内每个像素点的加权相位差,所述第三关系式为:The weighting processing sub-module is used to weight the phase difference of each pixel in the first monitoring area in the current frame vibration image according to the third relational expression, and obtain the phase difference of each pixel in the first monitoring area in the current frame vibration image. Weighted phase difference, the third relationship is:

Figure BDA0003164129990000041
Figure BDA0003164129990000041

其中,

Figure BDA0003164129990000042
表示第i帧振动图像中第一监测区域内每个像素点的加权相位差,
Figure BDA0003164129990000043
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的预设邻近像素点亮度信息,
Figure BDA0003164129990000044
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的相位差,m<k<n,m<l<n,其中,m和n表示与像素坐标为(x,y)的像素点对应的预设邻近像素点的像素坐标值。in,
Figure BDA0003164129990000042
represents the weighted phase difference of each pixel in the first monitoring area in the ith frame of vibration image,
Figure BDA0003164129990000043
Indicates the brightness information of the preset adjacent pixels corresponding to the pixels whose pixel coordinates are (x, y) in the i-th vibration image,
Figure BDA0003164129990000044
Represents the phase difference corresponding to the pixel with the pixel coordinate (x, y) in the i-th vibration image, m<k<n, m<l<n, where m and n represent the pixel coordinate (x, y) The pixel coordinate value of the preset adjacent pixel corresponding to the pixel.

可选的,所述系统还包括转换模块和确定模块:Optionally, the system also includes a conversion module and a determination module:

转换模块,用于将生成的每个监测区域内所述目标检测物图像的振动信号,转换成每个监测区域内所述目标检测物图像对应的实体部分的振动信号;a conversion module, configured to convert the generated vibration signal of the target detection object image in each monitoring area into a vibration signal of the solid part corresponding to the target detection object image in each monitoring area;

确定模块,用于根据每个监测区域内所述目标检测物图像对应的实体部分的振动信号,确定所述目标检测物各实体部分的振动频率信息。The determining module is configured to determine the vibration frequency information of each entity part of the target detection object according to the vibration signal of the entity part corresponding to the target detection object image in each monitoring area.

可选的,如果所述目标检测物为雨棚顶棚,则所述转换模块,用于根据第四关系式,确定所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,所述第四关系式为:Optionally, if the target detection object is a canopy ceiling, the conversion module is configured to determine the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area according to the fourth relational expression. , the fourth relational formula is:

R=S×γ×1/cos(α)R=S×γ×1/cos(α)

其中,R表示所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,S表示所述第一监测区域内所述雨棚顶棚图像的振动信号,γ表示像素当量比例,α表示所述雨棚顶棚的实体振动方向与所采集到的雨棚顶棚图像的振动方向之间的夹角;Wherein, R represents the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area, S represents the vibration signal of the canopy ceiling image in the first monitoring area, γ represents the pixel equivalent ratio, α represents the included angle between the physical vibration direction of the canopy ceiling and the vibration direction of the collected canopy ceiling image;

所述确定模块,用于对所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号做傅里叶变换,得到所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动频率信息。The determining module is configured to perform Fourier transform on the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area, and obtain the corresponding vibration signal of the canopy ceiling image in the first monitoring area. Vibration frequency information for the body part.

综上,本申请提供的一种基于视觉处理的振动测量方法和系统,使用设计的图像滤波器对图像进行滤波处理,直接使用图像中的像素坐标信息,无需预先识别图像中包含有什么特殊特征,如人为设定的特征靶标点等,也就是说,本申请中可直接使用目标检测物本身的特征信息,无需在目标检测物表面张贴或喷涂人为设定的特征靶标点。另外,本申请实施例提供的基于视觉处理的振动测量方法,可以通过框选多个监测区域,分析出目标检测物各局部振动情况。In summary, a vibration measurement method and system based on visual processing provided by this application uses a designed image filter to filter the image, directly uses the pixel coordinate information in the image, and does not need to identify any special features contained in the image in advance. , such as artificially set characteristic target points, that is to say, the characteristic information of the target detection object itself can be directly used in the present application, and there is no need to post or spray the artificially set characteristic target points on the surface of the target detection object. In addition, the vibration measurement method based on visual processing provided by the embodiment of the present application can analyze the local vibration of the target detection object by selecting a plurality of monitoring areas in a frame.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本申请实施例提供的一种基于视觉处理的振动测量方法的工作流程示意图;1 is a schematic workflow diagram of a vibration measurement method based on visual processing provided by an embodiment of the application;

图2为本申请实施例提供的在现场对目标检测物的视频流或振动图像序列采集的示意图;2 is a schematic diagram of on-site video stream or vibration image sequence acquisition of a target detection object provided by an embodiment of the present application;

图3为本申请实施例提供的一种基于视觉处理的振动测量方法中框选监测区域的示意图;3 is a schematic diagram of frame selection monitoring area in a vibration measurement method based on visual processing provided by an embodiment of the present application;

图4为本申请实施例提供的又一种基于视觉处理的振动测量方法的工作流程示意图;4 is a schematic workflow diagram of another vibration measurement method based on visual processing provided by an embodiment of the application;

图5为利用本申请实施例提供的一种基于视觉处理的振动测量方法对雨棚顶棚振动测量的示意图。FIG. 5 is a schematic diagram of vibration measurement of a canopy ceiling by using a vibration measurement method based on visual processing provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.

本申请提供一种基于视觉处理的振动测量方法,如图1所示,包括如下步骤:The present application provides a vibration measurement method based on visual processing, as shown in Figure 1, comprising the following steps:

步骤100、获取目标检测物处于振动状态下的振动图像序列,所述振动图像序列包括的多帧按时间序列排序的振动图像。Step 100: Acquire a vibration image sequence in which the target detection object is in a vibrating state, where the vibration image sequence includes multiple frames of vibration images sorted in time series.

首先需要说明的是,如果初始采集的是目标检测物处于振动状态下的视频流,则还需要对视频流执行解码,以获得振动图像序列。First of all, it should be noted that if the video stream in which the target detection object is in a vibrating state is initially collected, it is also necessary to perform decoding on the video stream to obtain a sequence of vibrating images.

其次,本申请需要利用采集设备采集目标检测物处于振动状态下的视频流或振动图像序列。但是,由于需要在现场对目标检测物进行振动测量,也就是说,采集设备同样在振动状态下进行视频流或振动图像序列采集,因此,为了保证振动测量结果的准确性,在相同的振动状态下,采集设备本身的振动频率要远小于目标检测物的振动频率。Secondly, the present application needs to use a collection device to collect a video stream or a vibration image sequence in which the target detection object is in a vibrating state. However, since the vibration measurement of the target detection object needs to be carried out on the spot, that is to say, the acquisition equipment also collects video streams or vibration image sequences in the vibration state. Therefore, in order to ensure the accuracy of the vibration measurement results, the same vibration state In this case, the vibration frequency of the acquisition device itself is much lower than the vibration frequency of the target detection object.

再其次,本申请对用于采集目标检测物处于振动状态下的视频流的采集设备不进行限定,例如:采集设备可以包括相机和相机固定装置,其中,可以使用专业工业相机进行图像采集,采集高质量的目标检测物振动图像,使用相机固定装置固定相机,可提供稳定的测量环境。Thirdly, the present application does not limit the acquisition equipment used to collect the video stream of the target detection object in a vibrating state. For example, the acquisition equipment may include a camera and a camera fixing device. High-quality vibration image of the target detection object, using the camera fixture to fix the camera, can provide a stable measurement environment.

在一具体例子中,如图2所示,目标检测物为高铁站台雨棚,需要授权检测人员在站台上进行采集设备架设(安全范围内架设三脚架和相机等工具),架设好采集设备后,等待列车进站,在将要进站时开始采集数据,过站适当时间后暂停采集,保存数据并记录过车时刻、车型和驶往方向。数据处理的过程(即执行步骤100至步骤900的过程),可选择实时处理分析数据,或者先进行拍摄、存储图像数据,拍摄结束以后再进行数据分析工作。In a specific example, as shown in Figure 2, the target detection object is a high-speed rail platform canopy, and it is necessary to authorize the detection personnel to set up the acquisition equipment on the platform (set up tools such as tripods and cameras within a safe range). After the acquisition equipment is set up, Waiting for the train to enter the station, start collecting data when it is about to enter the station, suspend the collection after an appropriate time after passing the station, save the data and record the passing time, model and heading direction. In the process of data processing (ie, the process of executing steps 100 to 900 ), you can choose to process and analyze the data in real time, or firstly photograph and store image data, and then perform data analysis after the photographing is over.

步骤200、在图像处理显示界面,框选至少一个监测区域,其中,每个所述监测区域至少覆盖所述振动图像中部分所述目标检测物图像。Step 200: On the image processing display interface, frame at least one monitoring area, wherein each monitoring area covers at least part of the target detection object image in the vibration image.

在图像处理显示界面上可以显示采集到的完整的目标检测物图像,但是如果直接对整个显示界面内的图像进行处理,一方面数据量大,另一方面只能反映目标检测物整体的振动情况,不能反映目标检测物的局部振动情况。基于此,本申请实施例中,可以在图像处理显示界面,框选一个或多个监测区域,其中,每个所述监测区域至少覆盖所述振动图像中部分所述目标检测物图像,以分别对振动图像中所述目标检测物各部分进行数据处理分析,然后分别输出对应的振动信号,从而反映目标检测物的各局部振动情况。例如图3和图4所示,在采集到的完整的目标检测物图像中框选出监测区域A、监测区域B和监测区域C,然后分别对监测区域A、监测区域B和监测区域C进行数据处理分析,分别得到与上述三个监测区域对应的振动信号,从而能够反映目标检测物A、B、C三处局部振动情况。On the image processing display interface, the entire collected image of the target detection object can be displayed, but if the image in the entire display interface is directly processed, on the one hand, the amount of data is large, and on the other hand, it can only reflect the overall vibration of the target detection object. , which cannot reflect the local vibration of the target detection object. Based on this, in the embodiment of the present application, one or more monitoring areas may be selected in a frame on the image processing display interface, wherein each monitoring area covers at least part of the target detection object image in the vibration image, so as to separate Data processing and analysis are performed on each part of the target detection object in the vibration image, and then corresponding vibration signals are respectively output to reflect the local vibration of the target detection object. For example, as shown in Figures 3 and 4, the monitoring area A, monitoring area B and monitoring area C are selected in the collected complete target detection object image, and then the monitoring area A, monitoring area B and monitoring area C are respectively checked. Through data processing and analysis, vibration signals corresponding to the above three monitoring areas can be obtained respectively, which can reflect the local vibration of the target detection objects A, B, and C.

需要说明的是,获取振动图像序列后,要选取进行数据处理的时间段,从而确定进行数据处理的起始帧振动图像和终点帧振动图像。由于要对每帧振动图像进行处理,因此,可以在显示起始帧振动图像的显示界面上框选监测区域,在对后续帧振动图像处理时,预先框选好的监测区域在图像处理显示界面的位置不变。It should be noted that, after acquiring the vibration image sequence, a time period for data processing should be selected, so as to determine the start frame vibration image and the end frame vibration image for data processing. Since each frame of vibration image needs to be processed, the monitoring area can be framed on the display interface displaying the vibration image of the initial frame. When processing the vibration image of the subsequent frame, the pre-framed monitoring area can be displayed on the image processing display interface. position remains unchanged.

完成上述步骤200后,对每帧振动图像中每个所述监测区域执行如下步骤300至步骤800,以得到各监测区域内所述目标检测物图像的振动情况。After the above step 200 is completed, the following steps 300 to 800 are performed for each monitoring area in each frame of the vibration image, so as to obtain the vibration status of the target detection object image in each monitoring area.

下面以对一帧振动图像中第一监测区域的数据处理过程为例,进行详细说明,其中,所述第一监测区域可以是所述至少一个监测区域中任一监测区域。The following takes the data processing process of the first monitoring area in a frame of vibration image as an example for detailed description, wherein the first monitoring area may be any monitoring area in the at least one monitoring area.

步骤300、提取第一监测区域内每个像素点的亮度信息。Step 300: Extract the brightness information of each pixel in the first monitoring area.

本申请实施例中所述的亮度信息主要包括亮度值,第一监测区域内每个像素点的亮度信息可以表示为

Figure BDA0003164129990000061
其中,(x,y)表示像素点的像素坐标,ti表示第i时刻,选取进行数据处理的时间段包括T个时刻t1,t2,t3,……,tT。也就是说,
Figure BDA0003164129990000062
表示第一监测区域在t1时刻(即第一帧振动图像),像素坐标为(x,y)的像素点的亮度信息,
Figure BDA0003164129990000063
表示第一监测区域在t2时刻(即第二帧振动图像),像素坐标为(x,y)的像素点的亮度信息,以此类推,得到每帧振动图像中第一监测区域内每个像素点的亮度信息。The brightness information described in the embodiments of the present application mainly includes brightness values, and the brightness information of each pixel in the first monitoring area can be expressed as
Figure BDA0003164129990000061
Among them, (x, y) represents the pixel coordinates of the pixel point, t i represents the ith moment, and the time period selected for data processing includes T moments t 1 , t 2 , t 3 ,..., t T . That is,
Figure BDA0003164129990000062
Indicates the brightness information of the pixel point whose pixel coordinates are (x, y) in the first monitoring area at time t 1 (that is, the first frame of vibration image),
Figure BDA0003164129990000063
Indicates that the first monitoring area is at time t 2 (that is, the second frame of the vibration image), the brightness information of the pixel whose pixel coordinates are (x, y), and so on, to obtain each frame of vibration image in the first monitoring area. Brightness information of pixels.

步骤400、对提取的第一监测区域内每个像素点亮度信息滤波处理。Step 400 , filter and process the brightness information of each pixel in the extracted first monitoring area.

本申请对提取的第一监测区域内每个像素点亮度信息滤波处理的方法不进行限定,在一具体例子中,可以通过如下步骤410-步骤430实现。The present application does not limit the method for filtering the brightness information of each pixel in the extracted first monitoring area. In a specific example, it can be implemented through the following steps 410 to 430 .

步骤410、对第一监测区域内每个像素点的亮度信息进行傅里叶变换,得到第一监测区域内每个像素点的亮度信息的傅里叶频谱响应函数

Figure BDA0003164129990000064
其中,ti表示第i时刻,(u,v)表示与像素坐标(x,y)对应的频率变量,
Figure BDA0003164129990000065
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的傅里叶频谱响应函数,其中,傅里叶频谱响应函数
Figure BDA0003164129990000066
满足如下关系式(1):Step 410: Perform Fourier transform on the brightness information of each pixel in the first monitoring area to obtain the Fourier spectral response function of the brightness information of each pixel in the first monitoring area
Figure BDA0003164129990000064
Among them, t i represents the i-th time, (u, v) represents the frequency variable corresponding to the pixel coordinates (x, y),
Figure BDA0003164129990000065
Indicates the Fourier spectral response function corresponding to the pixel coordinates (x, y) in the i-th vibration image, where the Fourier spectral response function
Figure BDA0003164129990000066
It satisfies the following relation (1):

Figure BDA0003164129990000067
Figure BDA0003164129990000067

其中,M、N表示振动图像的尺寸,j表示虚数单位,u表示x方向的频率变量,v表示y方向的频率变量。Among them, M and N represent the size of the vibration image, j represents the imaginary unit, u represents the frequency variable in the x direction, and v represents the frequency variable in the y direction.

步骤420、通过图像滤波器H(u,v)对傅里叶频谱响应函数

Figure BDA0003164129990000068
进行滤波处理,得到第一监测区域内每个像素点的滤波响应函数
Figure BDA0003164129990000069
其中,所述图像滤波器H(u,v)满足第一关系式(2),所述第一关系式(2)为:Step 420, pass the image filter H(u, v) to the Fourier spectral response function
Figure BDA0003164129990000068
Perform filtering processing to obtain the filtering response function of each pixel in the first monitoring area
Figure BDA0003164129990000069
Wherein, the image filter H(u, v) satisfies the first relational expression (2), and the first relational expression (2) is:

Figure BDA00031641299900000610
Figure BDA00031641299900000610

其中,W表示所述图像滤波器的通带带宽,D(u,v)表示从(u,v)到频率平面原点的距离,D0表示截止频率。Wherein, W represents the passband bandwidth of the image filter, D(u, v) represents the distance from (u, v) to the origin of the frequency plane, and D 0 represents the cutoff frequency.

步骤430、对所述滤波响应函数

Figure BDA00031641299900000611
傅里叶逆变换,得到第一监测区域内每个像素点滤波后的亮度信息
Figure BDA00031641299900000612
所述滤波后的亮度信息
Figure BDA00031641299900000613
满足第二关系关系式(3),所述第二关系关系式(3)为:Step 430, to the filter response function
Figure BDA00031641299900000611
Inverse Fourier transform to obtain the filtered brightness information of each pixel in the first monitoring area
Figure BDA00031641299900000612
the filtered luminance information
Figure BDA00031641299900000613
Satisfy the second relational formula (3), the second relational formula (3) is:

Figure BDA0003164129990000071
Figure BDA0003164129990000071

其中,x表示像素点的像素横坐标,y表示像素点的像素纵坐标,M、N表示振动图像的尺寸,j表示虚数单位,u表示x方向的频率变量,v表示y方向的频率变量。Among them, x represents the pixel abscissa of the pixel point, y represents the pixel ordinate of the pixel point, M and N represent the size of the vibration image, j represents the imaginary unit, u represents the frequency variable in the x direction, and v represents the frequency variable in the y direction.

Figure BDA0003164129990000072
的值为复数形式,为振动图像经过上述滤波处理后的亮度信息图。通过相机拍摄目标检测物的振动,目标检测物的振动会投影到相机平面内形成不同的亮度值,目标检测物随时间振动,振动图像上目标检测物的相应位置的亮度值也会发生改变,即振动图像上的结构信息发生变化,而相位
Figure BDA0003164129990000073
的变化同步反映了振动图像上的结构信息发生变化,相位
Figure BDA0003164129990000074
的变化量等于振动图像结构信息的变化量,即可求得振动图像上目标检测物的振动量。因此,需要进一步根据
Figure BDA0003164129990000075
计算相位
Figure BDA0003164129990000076
相位
Figure BDA0003164129990000077
包含了振动图像上像素的结构信息。
Figure BDA0003164129990000072
The value of is a complex number, which is the brightness information map of the vibration image after the above filtering process. The vibration of the target detection object is captured by the camera, and the vibration of the target detection object will be projected into the camera plane to form different brightness values. The target detection object vibrates with time, and the brightness value of the corresponding position of the target detection object on the vibration image will also change. That is, the structural information on the vibration image changes, and the phase
Figure BDA0003164129990000073
The synchronization of the changes reflects the changes in the structural information on the vibration image, the phase
Figure BDA0003164129990000074
The change amount of is equal to the change amount of the vibration image structure information, and the vibration amount of the target detection object on the vibration image can be obtained. Therefore, it is necessary to further
Figure BDA0003164129990000075
Calculate the phase
Figure BDA0003164129990000076
phase
Figure BDA0003164129990000077
Contains structural information about the pixels on the vibrating image.

步骤500、根据滤波后的第一监测区域内每个像素点的亮度信息,分别计算得到所述第一监测区域内每个像素点在当前帧振动图像中的相位。Step 500: Calculate the phase of each pixel in the first monitoring area in the current frame of the vibration image according to the filtered brightness information of each pixel in the first monitoring area.

根据上述步骤400,可以得到当前帧振动图像中第一监测区域内每个像素点的滤波后的亮度信息

Figure BDA0003164129990000078
然后可以按照如下关系式(4),计算得到当前帧振动图像中第一监测区域内每个像素点的相位,关系式(4)为:According to the above step 400, the filtered brightness information of each pixel in the first monitoring area in the vibration image of the current frame can be obtained
Figure BDA0003164129990000078
Then, the phase of each pixel in the first monitoring area in the current frame vibration image can be calculated according to the following relational formula (4). The relational formula (4) is:

Figure BDA0003164129990000079
Figure BDA0003164129990000079

步骤600、分别计算所述第一监测区域内每个像素点在当前帧振动图像的相位与在第一帧振动图像的相位的相位差。Step 600: Calculate the phase difference between the phase of the vibration image in the current frame and the phase of the vibration image in the first frame of each pixel in the first monitoring area.

在得到当前帧振动图像中第一监测区域内每个像素点的相位后,继而求取当前帧振动图像中第一监测区域内每个像素点在当前帧振动图像与第一帧振动图像中的相位差,该相位差就等于振动图像结构信息的变化量。其中,第一帧振动图像是指t1时刻对应的振动图像。After obtaining the phase of each pixel in the first monitoring area in the vibration image of the current frame, the phase difference between the vibration image of the current frame and the vibration image of the first frame of each pixel in the first monitoring area in the vibration image of the current frame is obtained. The phase difference is equal to the variation of the structural information of the vibration image. The first frame of vibration image refers to the vibration image corresponding to time t 1 .

类似的,可以求得其他帧振动图像中第一监测区域内每个像素点对应的相位差,例如第五帧振动图像中第一监测区域内每个像素点对应的相位差是指第五帧帧振动图像中第一监测区域内每个像素点在第五帧振动图像与第一帧振动图像中的相位差。Similarly, the phase difference corresponding to each pixel in the first monitoring area in other frames of vibration images can be obtained. For example, the phase difference corresponding to each pixel in the first monitoring area in the fifth frame of vibration image refers to the fifth frame. The phase difference of each pixel in the first monitoring area in the frame vibration image in the fifth frame vibration image and the first frame vibration image.

步骤700、对得到的所述第一监测区域内每个像素点的相位差进行加权处理,得到当前帧振动图像中所述第一监测区域内每个像素点的加权相位差。Step 700: Perform weighting processing on the obtained phase difference of each pixel in the first monitoring area to obtain the weighted phase difference of each pixel in the first monitoring area in the vibration image of the current frame.

为了求取的物体振动量更为准确,本申请中对得到的所述第一监测区域内每个像素点的相位差进行加权处理,但是本申请对每个相位差进行加权处理方法不进行限定。In order to obtain a more accurate vibration of the object, in this application, the obtained phase difference of each pixel in the first monitoring area is subjected to weighting processing, but the method for weighting each phase difference is not limited in this application. .

在一种可行方式中,本申请实施例先获取当前帧振动图像中第一监测区域内每个像素点对应的预设邻近像素点亮度信息,其中,每个像素点对应的预设邻近像素点的个数和位置可以自行设定,本申请对此不进行限定;然后按照第三关系式,对当前帧振动图像中第一监测区域内每个像素点对应的相位差进行加权,得到当前帧振动图像中第一监测区域内每个像素点的加权相位差,其中,第三关系式(5)为:In a feasible manner, the embodiment of the present application first obtains the brightness information of the preset adjacent pixels corresponding to each pixel in the first monitoring area in the current frame vibration image, wherein the preset adjacent pixels corresponding to each pixel The number and position of the vibration images can be set by themselves, which is not limited in this application; then according to the third relational formula, the phase difference corresponding to each pixel in the first monitoring area in the current frame vibration image is weighted to obtain the current frame The weighted phase difference of each pixel in the first monitoring area in the vibration image, where the third relational formula (5) is:

Figure BDA00031641299900000710
Figure BDA00031641299900000710

其中,

Figure BDA00031641299900000711
表示第i帧振动图像中第一监测区域内每个像素点的加权相位差,
Figure BDA0003164129990000081
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的预设邻近像素点亮度信息,
Figure BDA0003164129990000082
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的相位差,m<k<n,m<l<n,其中,m和n表示与像素坐标为(x,y)的像素点对应的预设邻近像素点的像素坐标值。in,
Figure BDA00031641299900000711
represents the weighted phase difference of each pixel in the first monitoring area in the ith frame of vibration image,
Figure BDA0003164129990000081
Indicates the brightness information of the preset adjacent pixels corresponding to the pixels whose pixel coordinates are (x, y) in the i-th vibration image,
Figure BDA0003164129990000082
Represents the phase difference corresponding to the pixel with the pixel coordinate (x, y) in the i-th vibration image, m<k<n, m<l<n, where m and n represent the pixel coordinate (x, y) The pixel coordinate value of the preset adjacent pixel corresponding to the pixel.

使用像素坐标(x,y)附近的亮度信息

Figure BDA0003164129990000083
(m<k<n,m<l<n)对
Figure BDA0003164129990000084
进行加权,得到该像素坐标(x,y)对应像素点的加权相位差
Figure BDA0003164129990000085
通过该步骤可以增大亮度值对比较大的区域的相位差在最后求取的物体振动量中的权重,即振动图像上目标检测物轮廓处的相位差的权重,使得最后求取的物体振动量
Figure BDA0003164129990000086
更为准确。Use luminance information around pixel coordinates (x, y)
Figure BDA0003164129990000083
(m<k<n, m<l<n) pairs
Figure BDA0003164129990000084
Perform weighting to obtain the weighted phase difference of the pixel corresponding to the pixel coordinate (x, y)
Figure BDA0003164129990000085
This step can increase the weight of the phase difference of the area with relatively large brightness value in the final obtained object vibration amount, that is, the weight of the phase difference at the contour of the target detection object on the vibration image, so that the finally obtained object vibrates quantity
Figure BDA0003164129990000086
more accurate.

步骤800、对当前帧振动图像中所述第一监测区域内所有像素点的加权相位差求和,得到当前帧振动图像中所述第一监测区域的物体振动量。Step 800: Sum the weighted phase differences of all the pixels in the first monitoring area in the current frame of vibration image to obtain the vibration amount of the object in the first monitoring area in the current frame of vibration image.

当前帧振动图像中所述第一监测区域的物体振动量,能够反应当前帧振动图像中所述第一监测区域相对于第一帧振动图像中所述第一监测区域的振动偏差。The vibration amount of the object in the first monitoring area in the vibration image of the current frame can reflect the vibration deviation of the first monitoring area in the vibration image of the current frame relative to the first monitoring area in the vibration image of the first frame.

按照上述步骤300-步骤800,可以求得每帧振动图像中第一监测区域的物体振动量

Figure BDA0003164129990000087
其中,
Figure BDA0003164129990000088
According to the above steps 300-800, the vibration amount of the object in the first monitoring area in each frame of vibration image can be obtained
Figure BDA0003164129990000087
in,
Figure BDA0003164129990000088

步骤900、根据得到的各帧振动图像中所述第一监测区域的物体振动量,生成所述第一监测区域内所述目标检测物图像的振动信号。Step 900: Generate a vibration signal of the image of the target detection object in the first monitoring area according to the vibration amount of the object in the first monitoring area in each frame of the obtained vibration image.

应理解,按照上述步骤300-步骤900,可以得到每帧振动图像中每个监测区域的物体振动量,从而可以得到各个监测区域内所述目标检测物图像的振动信号,也就是可以得到振动图像序列对应的振动信号

Figure BDA0003164129990000089
由此可知,振动信号能够反映监测区域内所述目标检测物图像在不同时刻的振动情况。It should be understood that, according to the above steps 300 to 900, the vibration amount of the object in each monitoring area in each frame of the vibration image can be obtained, so that the vibration signal of the target detection object image in each monitoring area can be obtained, that is, the vibration image can be obtained. The vibration signal corresponding to the sequence
Figure BDA0003164129990000089
It can be seen from this that the vibration signal can reflect the vibration of the image of the target detection object in the monitoring area at different times.

进一步的,可以将生成的每个监测区域内所述目标检测物图像的振动信号,转换成每个监测区域内所述目标检测物图像对应的实体部分的振动信号;然后,根据每个监测区域内所述目标检测物图像对应的实体部分的振动信号,确定所述目标检测物各实体部分的振动频率信息。Further, the generated vibration signal of the target detection object image in each monitoring area can be converted into the vibration signal of the corresponding solid part of the target detection object image in each monitoring area; then, according to each monitoring area. The vibration signal of the solid part corresponding to the image of the target detection object is used to determine the vibration frequency information of each solid part of the target detection object.

如图5所示,以目标检测物为雨棚顶棚为例,相机以仰角α,采集雨棚顶棚振动图像,假设雨棚顶棚的真实振动为竖直方向,则相机所拍摄到的雨棚顶棚振动方向实际是顶棚的真实振动的投影,因此,雨棚顶棚的真实振动信号满足第四关系式(6),第四关系式(6)为:As shown in Figure 5, taking the target detection object as the canopy roof as an example, the camera uses the elevation angle α to collect the vibration image of the canopy canopy. Assuming that the real vibration of the canopy canopy is in the vertical direction, the The vibration direction is actually the projection of the real vibration of the ceiling. Therefore, the real vibration signal of the canopy ceiling satisfies the fourth relational expression (6), and the fourth relational expression (6) is:

R=S×γ×1/cos(α) 关系式(6)R=S×γ×1/cos(α) Relational formula (6)

其中,R表示所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,S表示所述第一监测区域内所述雨棚顶棚图像的振动信号,γ表示像素当量比例,α表示相机仰角,即所述雨棚顶棚的实体振动方向与所采集到的雨棚顶棚图像的振动方向之间的夹角,其中,可以通过画面标定,确定像素当量比例尺γ(单位:mm/pixel);然后,对所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号做傅里叶变换,得到信号的频谱图,并在频谱图上直接读出该信号的峰值频率,可得到该信号的各阶频率,从而得到所述第一监测区域内所述雨棚顶棚对应的实体部分的振动频率信息。Wherein, R represents the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area, S represents the vibration signal of the canopy ceiling image in the first monitoring area, γ represents the pixel equivalent ratio, α represents the camera elevation angle, that is, the angle between the physical vibration direction of the canopy ceiling and the vibration direction of the collected canopy ceiling image, wherein the pixel equivalent scale γ (unit: mm/ pixel); then, Fourier transform is performed on the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area to obtain a spectrogram of the signal, and directly read out the peak value of the signal on the spectrogram The frequency of each order of the signal can be obtained, thereby obtaining the vibration frequency information of the solid part corresponding to the canopy ceiling in the first monitoring area.

综上,本申请实施例提供的基于视觉处理的振动测量方法,使用设计的图像滤波器对图像进行滤波处理,直接使用图像中的像素坐标信息,无需预先识别图像中包含有什么特殊特征,如人为设定的特征靶标点等,也就是说,本申请中可直接使用目标检测物本身的特征信息,无需在目标检测物表面张贴或喷涂人为设定的特征靶标点。另外,本申请实施例提供的基于视觉处理的振动测量方法,可以通过框选多个监测区域,分析出目标检测物各局部振动情况。To sum up, the vibration measurement method based on visual processing provided by the embodiment of the present application uses a designed image filter to filter the image, directly uses the pixel coordinate information in the image, and does not need to identify any special features contained in the image in advance, such as The artificially set characteristic target points, etc., that is to say, the characteristic information of the target detection object itself can be directly used in this application, and there is no need to post or spray the artificially set characteristic target points on the surface of the target detection object. In addition, the vibration measurement method based on visual processing provided by the embodiment of the present application can analyze the local vibration of the target detection object by selecting a plurality of monitoring areas in a frame.

本申请实施例还提供一种基于视觉处理的振动测量系统,包括:The embodiment of the present application also provides a vibration measurement system based on visual processing, including:

获取模块,用于获取目标检测物处于振动状态下的振动图像序列,所述振动图像序列包括的多帧按时间序列排序的振动图像;an acquisition module, configured to acquire a vibration image sequence in which the target detection object is in a vibrating state, where the vibration image sequence includes multiple frames of vibration images sorted in time series;

框选模块,用于在图像处理显示界面,框选至少一个监测区域,其中,每个所述监测区域至少覆盖所述振动图像中部分所述目标检测物图像;a frame selection module, configured to frame at least one monitoring area on the image processing display interface, wherein each of the monitoring areas covers at least part of the target detection object image in the vibration image;

提取模块,用于提取第一监测区域内每个像素点的亮度信息,其中,所述第一监测区域为所述至少一个监测区域中任一监测区域;an extraction module, configured to extract the brightness information of each pixel in a first monitoring area, wherein the first monitoring area is any monitoring area in the at least one monitoring area;

滤波处理模块,用于对提取的第一监测区域内每个像素点的亮度信息滤波处理;a filtering processing module, used for filtering and processing the brightness information of each pixel in the extracted first monitoring area;

第一计算模块,用于根据滤波后的第一监测区域内每个像素点的亮度信息,分别计算得到所述第一监测区域内每个像素点在当前帧振动图像中的相位;The first calculation module is used to calculate the phase of each pixel in the current frame vibration image in the first monitoring area according to the filtered brightness information of each pixel in the first monitoring area;

第二计算模块,用于分别计算所述第一监测区域内每个像素点在当前帧振动图像的相位与在第一帧振动图像的相位的相位差;The second calculation module is used to respectively calculate the phase difference between the phase of the vibration image of the current frame and the phase of the vibration image of the first frame of each pixel in the first monitoring area;

加权处理模块,用于对得到的所述第一监测区域内每个像素点的相位差进行加权处理,得到当前帧振动图像中所述第一监测区域内每个像素点的加权相位差;a weighted processing module, configured to perform weighting processing on the obtained phase difference of each pixel in the first monitoring area, to obtain the weighted phase difference of each pixel in the first monitoring area in the current frame vibration image;

第三计算模块,用于对当前帧振动图像中所述第一监测区域内所有像素点的加权相位差求和,得到当前帧振动图像中所述第一监测区域的物体振动量;The third calculation module is used for summing the weighted phase differences of all the pixels in the first monitoring area in the current frame vibration image to obtain the vibration amount of the object in the first monitoring area in the current frame vibration image;

生成模块,用于根据得到的各帧振动图像中所述第一监测区域的物体振动量,生成所述第一监测区域内所述目标检测物图像的振动信号。The generating module is configured to generate the vibration signal of the image of the target detection object in the first monitoring area according to the vibration amount of the object in the first monitoring area in each frame of the obtained vibration image.

所述滤波处理模块包括傅里叶变换模块、图像滤波器和傅里叶逆变换模块;The filtering processing module includes a Fourier transform module, an image filter and an inverse Fourier transform module;

傅里叶变换模块,用于对第一监测区域内每个像素点的亮度信息进行傅里叶变换,得到第一监测区域内每个像素点的亮度信息的傅里叶频谱响应函数;a Fourier transform module, configured to perform Fourier transform on the brightness information of each pixel in the first monitoring area to obtain a Fourier spectral response function of the brightness information of each pixel in the first monitoring area;

图像滤波器,用于对傅里叶频谱响应函数进行滤波,得到第一监测区域内每个像素点的滤波响应函数,其中,所述图像滤波器H(u,v)满足第一关系式,所述第一关系式为:The image filter is used to filter the Fourier spectral response function to obtain the filter response function of each pixel in the first monitoring area, wherein the image filter H(u, v) satisfies the first relational expression, The first relational formula is:

Figure BDA0003164129990000091
Figure BDA0003164129990000091

其中,W表示所述图像滤波器的通带带宽,D(u,v)表示从(u,v)到频率平面原点的距离,D0表示截止频率;Wherein, W represents the passband bandwidth of the image filter, D(u, v) represents the distance from (u, v) to the origin of the frequency plane, and D 0 represents the cutoff frequency;

傅里叶逆变换模块,用于对所述滤波响应函数傅里叶逆变换,得到第一监测区域内每个像素点滤波后的亮度信息

Figure BDA0003164129990000092
所述滤波后的亮度信息
Figure BDA0003164129990000093
满足第二关系关系式,所述第二关系关系式为:an inverse Fourier transform module, configured to perform an inverse Fourier transform on the filtering response function to obtain filtered brightness information of each pixel in the first monitoring area
Figure BDA0003164129990000092
the filtered luminance information
Figure BDA0003164129990000093
Satisfy the second relational formula, the second relational formula is:

Figure BDA0003164129990000101
Figure BDA0003164129990000101

其中,

Figure BDA0003164129990000102
表示傅里叶频谱响应函数,x表示像素点的像素横坐标,y表示像素点的像素纵坐标,M、N表示振动图像的尺寸,j表示虚数单位,u表示x方向的频率变量,v表示y方向的频率变量。in,
Figure BDA0003164129990000102
Represents the Fourier spectral response function, x represents the pixel abscissa of the pixel, y represents the pixel ordinate of the pixel, M and N represent the size of the vibration image, j represents the imaginary unit, u represents the frequency variable in the x direction, and v represents Frequency variable in the y direction.

所述加权处理模块包括获取子模块和加权处理子模块;The weighted processing module includes an acquisition submodule and a weighted processing submodule;

获取子模块,用于获取当前帧振动图像中第一监测区域内每个像素点对应的预设邻近像素点亮度信息;an acquisition sub-module, used for acquiring the preset adjacent pixel brightness information corresponding to each pixel in the first monitoring area in the current frame vibration image;

加权处理子模块,用于按照第三关系式,对当前帧振动图像中第一监测区域内每个像素点的相位差进行加权,得到当前帧振动图像中第一监测区域内每个像素点的加权相位差,所述第三关系式为:The weighting processing sub-module is used to weight the phase difference of each pixel in the first monitoring area in the current frame vibration image according to the third relational expression, and obtain the phase difference of each pixel in the first monitoring area in the current frame vibration image. Weighted phase difference, the third relationship is:

Figure BDA0003164129990000103
Figure BDA0003164129990000103

其中,

Figure BDA0003164129990000104
表示第i帧振动图像中第一监测区域内每个像素点的加权相位差,
Figure BDA0003164129990000105
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的预设邻近像素点亮度信息,
Figure BDA0003164129990000106
表示第i帧振动图像中像素坐标为(x,y)的像素点对应的相位差,m<k<n,m<l<n,其中,m和n表示与像素坐标为(x,y)的像素点对应的预设邻近像素点的像素坐标值。in,
Figure BDA0003164129990000104
represents the weighted phase difference of each pixel in the first monitoring area in the ith frame of vibration image,
Figure BDA0003164129990000105
Indicates the brightness information of the preset adjacent pixels corresponding to the pixels whose pixel coordinates are (x, y) in the i-th vibration image,
Figure BDA0003164129990000106
Represents the phase difference corresponding to the pixel with the pixel coordinate (x, y) in the i-th vibration image, m<k<n, m<l<n, where m and n represent the pixel coordinate (x, y) The pixel coordinate value of the preset adjacent pixel corresponding to the pixel.

所述系统还包括转换模块和确定模块:The system also includes a conversion module and a determination module:

转换模块,用于将生成的每个监测区域内所述目标检测物图像的振动信号,转换成每个监测区域内所述目标检测物图像对应的实体部分的振动信号;a conversion module, configured to convert the generated vibration signal of the target detection object image in each monitoring area into a vibration signal of the solid part corresponding to the target detection object image in each monitoring area;

确定模块,用于根据每个监测区域内所述目标检测物图像对应的实体部分的振动信号,确定所述目标检测物各实体部分的振动频率信息。The determining module is configured to determine the vibration frequency information of each entity part of the target detection object according to the vibration signal of the entity part corresponding to the target detection object image in each monitoring area.

如果所述目标检测物为雨棚顶棚,则所述转换模块,用于根据第四关系式,确定所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,所述第四关系式为:If the target detection object is a canopy ceiling, the conversion module is configured to determine the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area according to the fourth relational expression, and the first monitoring area The four relations are:

R=S×γ×1/cos(α)R=S×γ×1/cos(α)

其中,R表示所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号,S表示所述第一监测区域内所述雨棚顶棚图像的振动信号,γ表示像素当量比例,α表示所述雨棚顶棚的实体振动方向与所采集到的雨棚顶棚图像的振动方向之间的夹角;Wherein, R represents the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area, S represents the vibration signal of the canopy ceiling image in the first monitoring area, γ represents the pixel equivalent ratio, α represents the included angle between the physical vibration direction of the canopy ceiling and the vibration direction of the collected canopy ceiling image;

所述确定模块,用于对所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动信号做傅里叶变换,得到所述第一监测区域内所述雨棚顶棚图像对应的实体部分的振动频率信息。The determining module is configured to perform Fourier transform on the vibration signal of the solid part corresponding to the canopy ceiling image in the first monitoring area, and obtain the corresponding vibration signal of the canopy ceiling image in the first monitoring area. Vibration frequency information for the body part.

本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于系统的实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the descriptions in the method embodiments.

以上结合具体实施方式和范例性实例对本申请进行了详细说明,不过这些说明并不能理解为对本申请的限制。本领域技术人员理解,在不偏离本申请精神和范围的情况下,可以对本申请技术方案及其实施方式进行多种等价替换、修饰或改进,这些均落入本申请的范围内。本申请的保护范围以所附权利要求为准。The present application has been described in detail above with reference to specific embodiments and exemplary examples, but these descriptions should not be construed as a limitation on the present application. Those skilled in the art understand that, without departing from the spirit and scope of the present application, various equivalent replacements, modifications or improvements can be made to the technical solutions and embodiments of the present application, which all fall within the scope of the present application. The scope of protection of the present application is determined by the appended claims.

具体实现中,本申请实施例还提供一种计算机可读存储介质,其中,该计算机可读存储介质可存储有程序,该程序执行时可包括本申请提供的基于视觉处理的振动测量方法和系统的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等。In a specific implementation, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium can store a program, and when the program is executed, the method and system for vibration measurement based on visual processing provided by the present application can be included in the program. some or all of the steps in each of the embodiments. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), and the like.

本领域的技术人员可以清楚地了解到本申请实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions in the embodiments of the present application can be embodied in the form of software products in essence or in the parts that make contributions to the prior art, and the computer software products can be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

以上所述的本申请实施方式并不构成对本申请保护范围的限定。The above-described embodiments of the present application do not limit the protection scope of the present application.

Claims (10)

1. A vibration measurement method based on visual processing, comprising:
acquiring a vibration image sequence of a target detection object in a vibration state, wherein the vibration image sequence comprises a plurality of frames of vibration images which are sequenced according to a time sequence;
at least one monitoring area is selected in a frame mode on an image processing display interface, wherein each monitoring area at least covers part of the target detection object image in the vibration image;
executing the following steps for each monitoring area in each frame of vibration image:
extracting brightness information of each pixel point in a first monitoring area, wherein the first monitoring area is any one of the at least one monitoring area;
filtering the extracted brightness information of each pixel point in the first monitoring area;
respectively calculating the phase of each pixel point in the first monitoring area in the current frame vibration image according to the filtered brightness information of each pixel point in the first monitoring area;
respectively calculating the phase difference between the phase of each pixel point in the first monitoring area in the current frame vibration image and the phase of each pixel point in the first monitoring area in the first frame vibration image;
weighting the obtained phase difference of each pixel point in the first monitoring area to obtain the weighted phase difference of each pixel point in the first monitoring area in the current frame vibration image;
summing the weighted phase differences of all pixel points in the first monitoring area in the current frame vibration image to obtain the object vibration quantity of the first monitoring area in the current frame vibration image;
and generating a vibration signal of the target detection object image in the first monitoring area according to the object vibration quantity of the first monitoring area in each obtained frame of vibration image.
2. The method of claim 1, wherein filtering the extracted luminance information stream for each pixel in the first monitored region comprises:
performing Fourier transform on the brightness information of each pixel point in the first monitoring area to obtain a Fourier spectrum response function of the brightness information of each pixel point in the first monitoring area;
filtering the Fourier spectrum response function through an image filter H (u, v) to obtain a filtering response function of each pixel point in the first monitoring area, wherein the image filter H (u, v) meets a first relational expression, and the first relational expression is as follows:
Figure FDA0003164129980000011
wherein W represents the passband bandwidth of the image filter, D: (u, v) denotes the distance from (u, v) to the origin of the frequency plane, D0Represents the cut-off frequency;
performing Fourier inverse transformation on the filter response function to obtain the brightness information of each pixel point in the first monitoring area after filtering
Figure FDA0003164129980000012
The filtered luminance information
Figure FDA0003164129980000013
Satisfying a second relational relationship:
Figure FDA0003164129980000014
wherein ,
Figure FDA0003164129980000015
the method comprises the steps of representing a Fourier spectrum response function, wherein x represents the pixel abscissa of a pixel point, y represents the pixel ordinate of the pixel point, M, N represents the size of a vibration image, j represents an imaginary unit, u represents a frequency variable in the x direction, and v represents a frequency variable in the y direction.
3. The method of claim 1, wherein weighting the obtained phase difference of each pixel point in the first monitoring area to obtain the weighted phase difference of each pixel point in the first monitoring area in the current frame vibration image comprises:
acquiring brightness information of preset adjacent pixel points corresponding to each pixel point in a first monitoring area in a current frame vibration image;
weighting the phase difference of each pixel point in the first monitoring area in the current frame vibration image according to a third relational expression, so as to obtain the weighted phase difference of each pixel point in the first monitoring area in the current frame vibration image, wherein the third relational expression is as follows:
Figure FDA0003164129980000021
wherein ,
Figure FDA0003164129980000022
representing the weighted phase difference of each pixel point in the first monitoring area in the ith frame of vibration image,
Figure FDA0003164129980000023
indicating the brightness information of the preset adjacent pixel points corresponding to the pixel point with the pixel coordinate (x, y) in the ith frame of vibration image,
Figure FDA0003164129980000024
m represents the phase difference corresponding to the pixel point with the pixel coordinate (x, y) in the vibration image of the ith frame<k<n,m<l<And n, wherein m and n represent pixel coordinate values of preset adjacent pixel points corresponding to the pixel point with the pixel coordinate of (x, y).
4. The method of claim 1, further comprising:
converting the generated vibration signal of the target detection object image in each monitoring area into a vibration signal of an entity part corresponding to the target detection object image in each monitoring area;
and determining the vibration frequency information of each entity part of the target detection object according to the vibration signal of the entity part corresponding to the target detection object image in each monitoring area.
5. The method of claim 4, wherein if the target detection object is a canopy, the method comprises:
determining a vibration signal of an entity part corresponding to the canopy ceiling image in the first monitoring area according to a fourth relational expression, wherein the fourth relational expression is as follows:
R=S×γ×1/cos(α)
wherein, R represents a vibration signal of an entity portion corresponding to the canopy roof image in the first monitoring area, S represents a vibration signal of the canopy roof image in the first monitoring area, γ represents a pixel equivalent ratio, and α represents an included angle between an entity vibration direction of the canopy roof and a vibration direction of the acquired canopy roof image;
and carrying out Fourier transform on the vibration signal of the entity part corresponding to the canopy ceiling image in the first monitoring area to obtain the vibration frequency information of the entity part corresponding to the canopy ceiling image in the first monitoring area.
6. A vibration measurement system based on visual processing, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a vibration image sequence of a target detection object in a vibration state, and a plurality of frames of vibration images which are sequenced according to a time sequence are included in the vibration image sequence;
the frame selection module is used for selecting at least one monitoring area in a frame mode on an image processing display interface, wherein each monitoring area at least covers part of the target detection object image in the vibration image;
the extraction module is used for extracting the brightness information of each pixel point in a first monitoring area, wherein the first monitoring area is any monitoring area in the at least one monitoring area;
the filtering processing module is used for filtering the extracted brightness information of each pixel point in the first monitoring area;
the first calculation module is used for respectively calculating the phase of each pixel point in the first monitoring area in the current frame vibration image according to the brightness information of each pixel point in the first monitoring area after filtering;
the second calculation module is used for respectively calculating the phase difference between the phase of each pixel point in the first monitoring area in the current frame vibration image and the phase of each pixel point in the first monitoring area in the first frame vibration image;
the weighting processing module is used for weighting the obtained phase difference of each pixel point in the first monitoring area to obtain the weighted phase difference of each pixel point in the first monitoring area in the current frame vibration image;
the third calculation module is used for summing the weighted phase differences of all pixel points in the first monitoring area in the current frame vibration image to obtain the object vibration quantity of the first monitoring area in the current frame vibration image;
and the generating module is used for generating a vibration signal of the target detection object image in the first monitoring area according to the object vibration quantity of the first monitoring area in each obtained frame of vibration image.
7. The system of claim 6, wherein the filter processing module comprises a fourier transform module, an image filter, and an inverse fourier transform module;
the Fourier transform module is used for carrying out Fourier transform on the brightness information of each pixel point in the first monitoring area to obtain a Fourier spectrum response function of the brightness information of each pixel point in the first monitoring area;
the image filter is used for filtering the Fourier spectrum response function to obtain a filtering response function of each pixel point in the first monitoring area, wherein the image filter H (u, v) meets a first relational expression, and the first relational expression is as follows:
Figure FDA0003164129980000031
wherein W represents the passband bandwidth of the image filter, D (u, v) represents the distance from (u, v) to the origin of the frequency plane, D0Represents the cut-off frequency;
the inverse Fourier transform module is used for performing inverse Fourier transform on the filter response function to obtain the brightness information of each pixel point in the first monitoring area after being filtered
Figure FDA0003164129980000032
The filterLuminance information of wave after
Figure FDA0003164129980000033
Satisfying a second relational relationship:
Figure FDA0003164129980000034
wherein ,
Figure FDA0003164129980000035
the method comprises the steps of representing a Fourier spectrum response function, wherein x represents the pixel abscissa of a pixel point, y represents the pixel ordinate of the pixel point, M, N represents the size of a vibration image, j represents an imaginary unit, u represents a frequency variable in the x direction, and v represents a frequency variable in the y direction.
8. The system of claim 6, wherein the weighting module comprises an acquisition sub-module and a weighting sub-module;
the acquisition submodule is used for acquiring preset adjacent pixel point brightness information corresponding to each pixel point in a first monitoring area in the current frame vibration image;
the weighting processing submodule is used for weighting the phase difference of each pixel point in the first monitoring area in the current frame vibration image according to a third relation formula, so as to obtain the weighted phase difference of each pixel point in the first monitoring area in the current frame vibration image, and the third relation formula is as follows:
Figure FDA0003164129980000041
wherein ,
Figure FDA0003164129980000042
representing the weighted phase difference of each pixel point in the first monitoring area in the ith frame of vibration image,
Figure FDA0003164129980000043
indicating the brightness information of the preset adjacent pixel points corresponding to the pixel point with the pixel coordinate (x, y) in the ith frame of vibration image,
Figure FDA0003164129980000044
m represents the phase difference corresponding to the pixel point with the pixel coordinate (x, y) in the vibration image of the ith frame<k<n,m<l<And n, wherein m and n represent pixel coordinate values of preset adjacent pixel points corresponding to the pixel point with the pixel coordinate of (x, y).
9. The system of claim 6, further comprising a conversion module and a determination module:
the conversion module is used for converting the generated vibration signal of the target detection object image in each monitoring area into a vibration signal of an entity part corresponding to the target detection object image in each monitoring area;
and the determining module is used for determining the vibration frequency information of each entity part of the target detection object according to the vibration signal of the entity part corresponding to the target detection object image in each monitoring area.
10. The system of claim 9, wherein if the target detection object is a canopy, the converting module is configured to determine the vibration signal of the entity portion corresponding to the canopy image in the first monitoring area according to a fourth relationship:
R=S×γ×1/cos(α)
wherein, R represents a vibration signal of an entity portion corresponding to the canopy roof image in the first monitoring area, S represents a vibration signal of the canopy roof image in the first monitoring area, γ represents a pixel equivalent ratio, and α represents an included angle between an entity vibration direction of the canopy roof and a vibration direction of the acquired canopy roof image;
the determining module is used for performing Fourier transform on the vibration signal of the entity part corresponding to the canopy ceiling image in the first monitoring area to obtain the vibration frequency information of the entity part corresponding to the canopy ceiling image in the first monitoring area.
CN202110799504.4A 2021-07-15 2021-07-15 Vibration measurement method and system based on visual processing Active CN113538580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110799504.4A CN113538580B (en) 2021-07-15 2021-07-15 Vibration measurement method and system based on visual processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110799504.4A CN113538580B (en) 2021-07-15 2021-07-15 Vibration measurement method and system based on visual processing

Publications (2)

Publication Number Publication Date
CN113538580A true CN113538580A (en) 2021-10-22
CN113538580B CN113538580B (en) 2023-06-16

Family

ID=78099383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110799504.4A Active CN113538580B (en) 2021-07-15 2021-07-15 Vibration measurement method and system based on visual processing

Country Status (1)

Country Link
CN (1) CN113538580B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115468641A (en) * 2022-07-18 2022-12-13 京沪高速铁路股份有限公司 A video image-based canopy vibration measurement system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003005302A1 (en) * 2001-07-05 2003-01-16 Advantest Corporation Image processing apparatus and image processing method
US20200198149A1 (en) * 2018-12-24 2020-06-25 Ubtech Robotics Corp Ltd Robot vision image feature extraction method and apparatus and robot using the same
JP2020186957A (en) * 2019-05-10 2020-11-19 国立大学法人広島大学 Vibration analysis system, vibration analysis method and program
CN112254801A (en) * 2020-12-21 2021-01-22 浙江中自庆安新能源技术有限公司 Micro-vibration vision measurement method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003005302A1 (en) * 2001-07-05 2003-01-16 Advantest Corporation Image processing apparatus and image processing method
US20200198149A1 (en) * 2018-12-24 2020-06-25 Ubtech Robotics Corp Ltd Robot vision image feature extraction method and apparatus and robot using the same
JP2020186957A (en) * 2019-05-10 2020-11-19 国立大学法人広島大学 Vibration analysis system, vibration analysis method and program
CN112254801A (en) * 2020-12-21 2021-01-22 浙江中自庆安新能源技术有限公司 Micro-vibration vision measurement method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马惠珠;宋朝晖;季飞;侯嘉;熊小芸;: "项目计算机辅助受理的研究方向与关键词――2012年度受理情况与2013年度注意事项", 电子与信息学报, no. 01 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115468641A (en) * 2022-07-18 2022-12-13 京沪高速铁路股份有限公司 A video image-based canopy vibration measurement system and method

Also Published As

Publication number Publication date
CN113538580B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN110108348B (en) Micro-amplitude vibration measurement method and system for thin-walled parts based on motion-amplified optical flow tracking
WO2018028103A1 (en) Unmanned aerial vehicle power line inspection method based on characteristics of human vision
CN111044197B (en) Non-contact cable force test system based on unmanned aerial vehicle platform
CN109636927B (en) System and method for training and identifying aircraft attitude measurement algorithm
CN102722706A (en) Particle filter-based infrared small dim target detecting and tracking method and device
CN106056624A (en) Unmanned aerial vehicle high-definition image small target detecting and tracking system and detecting and tracking method thereof
CN114663672B (en) Method and system for detecting corrosion of steel member of power transmission line tower
CN114445404A (en) Method and system for automatic identification of structural vibration response based on subpixel edge detection
WO2024067435A1 (en) Video-based multi-object displacement tracking monitoring method and apparatus
CN117765368A (en) Light-weight YOLOv8 optical fiber distributed vibration signal image detection method
CN112727705A (en) Monitoring and flaw detection method for blades of wind generating set
WO2020174916A1 (en) Imaging system
CN114972205A (en) Track bolt looseness detection method and device
CN114187330A (en) Structural micro-amplitude vibration working mode analysis method based on optical flow method
CN113538580B (en) Vibration measurement method and system based on visual processing
CN107809559A (en) A kind of image self study Enhancement Method and system
CN114926418B (en) A non-contact measurement method for tension of cable tower of ultra-high voltage transmission line
Buyukozturk et al. Smaller than the eye can see: Vibration analysis with video cameras
CN115330712A (en) A method and system for intelligent quality inspection of prefabricated components of prefabricated buildings based on virtual reality fusion
Chen et al. Video camera-based vibration measurement for Condition Assessment of Civil Infrastructure
CN107767366B (en) A transmission line fitting method and device
CN110944154B (en) Method for marking and identifying fixed object in high-altitude lookout camera image
CN113744196A (en) Real-time engineering construction monitoring method and system
CN114184127B (en) Single-camera target-free building global displacement monitoring method
CN116503798A (en) Telegraph pole tower inclination monitoring method based on rotation target detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant