Structural displacement measurement method and device based on deep super-resolution network

Through the structural displacement measurement method based on the deep super-resolution network, the image super-resolution model is used to improve the accuracy of structural displacement measurement, solve the problem of low measurement accuracy in the existing technology, and enhance the monitoring and early warning capabilities of buildings and infrastructure.

CN114549613BActive Publication Date: 2024-10-29TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210114593.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2024-10-29
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

The existing structural displacement measurement methods have low measurement accuracy and are difficult to meet the needs of practical applications. Especially in the monitoring and early warning of buildings and infrastructure, it is difficult to detect potential safety risks in a timely manner.

Method used

The structural displacement measurement method based on the deep super-resolution network is used to obtain the original images before and after the displacement of the structure to be measured, extract the initial ROI image, and input it into the pre-built image super-resolution model to obtain the super-resolution image, and then perform Displacement measurement to improve measurement accuracy.

Benefits of technology

Through the image super-resolution model, high-resolution images are obtained, which significantly improves the accuracy of structural displacement measurement, enables more accurate detection of displacement and deformation of buildings and infrastructure, and enhances the reliability of monitoring and early warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114549613B_ABST
    Figure CN114549613B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for measuring structural displacement based on a deep super-resolution network, the method comprising: obtaining original images of a structure to be measured before and after displacement, respectively extracting initial ROI images from the original images before and after displacement; respectively inputting the initial ROI images before and after displacement into an image super-resolution model to obtain super-resolution ROI images before and after displacement; respectively performing restoration processing on the super-resolution ROI images before and after displacement to obtain super-resolution images before and after displacement; and performing displacement measurement on the structure to be measured based on the super-resolution images before and after displacement to obtain displacement measurement results. Through the image super-resolution model, a corresponding super-resolution ROI image can be obtained based on the initial ROI image before and after displacement, and then a super-resolution image before and after displacement can be obtained. Using the super-resolution images before and after displacement, a more accurate displacement measurement result can be obtained, which effectively improves the measurement accuracy of structural displacement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of structural monitoring and data processing, and in particular to a structural displacement measurement method and device based on a deep super-resolution network. Background Art

[0002] Monitoring and early warning of the displacement deformation of buildings and infrastructure, as well as the displacement response to disasters such as earthquakes, can timely discover potential safety risks in buildings and infrastructure. In the above monitoring and early warning process, the displacement measurement results of the target structure are needed as the data basis.

[0003] However, the existing structural displacement measurement methods have the disadvantage of low measurement accuracy and are difficult to meet the needs of practical applications. Summary of the invention

[0004] The present invention provides a structural displacement measurement method and device based on a deep super-resolution network, which are used to solve the defect of low measurement accuracy in the structural displacement measurement method in the prior art and realize high-precision structural displacement measurement.

[0005] In a first aspect, the present invention provides a method for measuring structural displacement based on a deep super-resolution network, the method comprising:

[0006] Acquire original images of the structure to be measured before and after displacement, and extract initial ROI (Region Of Interest) images from the original images before and after displacement respectively;

[0007] Inputting the initial ROI images before and after the displacement into a pre-constructed image super-resolution model respectively to obtain super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample data set;

[0008] Respectively performing restoration processing on the super-resolution ROI images before and after the displacement to obtain super-resolution images before and after the displacement;

[0009] Based on the super-resolution images before and after the displacement, the displacement of the structure to be measured is measured to obtain a displacement measurement result.

[0010] According to a structural displacement measurement method based on a deep super-resolution network provided by the present invention, the training process of the image super-resolution model includes:

[0011] Acquire a first original image sample and a second original image sample of the structure to be tested respectively; wherein the second original image sample contains fine surface texture features of the structure to be tested;

[0012] Performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample;

[0013] Based on the first original image samples and the super-resolution image samples, construct an image sample dataset;

[0014] Based on the image sample data set, a pre-constructed deep super-resolution network is trained to obtain an image super-resolution model.

[0015] According to a structural displacement measurement method based on a deep super-resolution network provided by the present invention, the second original image sample is registered with the first original image sample to obtain a super-resolution image sample, including:

[0016] Determine a plurality of reference points within the displacement plane of the structure to be measured;

[0017] Respectively obtaining a first coordinate of each reference point in the first original image sample and a second coordinate of each reference point in the second original image sample;

[0018] Obtaining a homography matrix based on the first coordinates and the second coordinates of each reference point;

[0019] Based on the homography matrix, the surface fine texture features of the structure to be measured in the second original image sample are perspective transformed into the first original image sample to obtain a super-resolution image sample.

[0020] According to a structural displacement measurement method based on a deep super-resolution network provided by the present invention, an image sample data set is constructed based on the first original image sample and the super-resolution image sample, including:

[0021] Extracting an initial ROI image sample from the first original image sample;

[0022] Extracting super-resolution ROI image samples from the super-resolution image samples;

[0023] Based on the initial ROI image sample and the super-resolution ROI image sample, construct an image sample pair;

[0024] Perform data enhancement processing on the image sample pairs to obtain an image sample data set.

[0025] According to a structural displacement measurement method based on a deep super-resolution network provided by the present invention, the data enhancement processing includes: random translation of the image and random rotation of the image.

[0026] According to a structural displacement measurement method based on a deep super-resolution network provided by the present invention, based on the super-resolution images before and after the displacement, the displacement of the structure to be measured is measured to obtain a displacement measurement result, including:

[0027] Based on the super-resolution images before and after the displacement, obtaining the pixel displacement of the structure to be measured;

[0028] The pixel displacement is converted into a real displacement to obtain a displacement measurement result.

[0029] According to a structural displacement measurement method based on a deep super-resolution network provided by the present invention, the original image is obtained by processing static image data or dynamic video data.

[0030] In a second aspect, the present invention further provides a structural displacement measurement device based on a deep super-resolution network, the device comprising:

[0031] A first processing module is used to obtain original images of the structure to be measured before and after displacement, and extract initial ROI images from the original images before and after displacement respectively;

[0032] A second processing module is used to input the initial ROI image before and after the displacement into a pre-constructed image super-resolution model to obtain super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample data set;

[0033] A third processing module is used to restore the super-resolution ROI image before and after the displacement to obtain the super-resolution image before and after the displacement;

[0034] The fourth processing module is used to perform displacement measurement on the structure to be measured based on the super-resolution images before and after the displacement to obtain a displacement measurement result.

[0035] In a third aspect, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the structural displacement measurement method based on the deep super-resolution network as described above are implemented.

[0036] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described methods for measuring structural displacement based on a deep super-resolution network.

[0037] The structural displacement measurement method and device based on the deep super-resolution network provided by the present invention can obtain the corresponding super-resolution ROI image according to the initial ROI image before and after the displacement through the image super-resolution model, and then obtain the super-resolution image before and after the displacement. By using the super-resolution images before and after the displacement, a more accurate displacement measurement result can be obtained, thereby effectively improving the measurement accuracy of the structural displacement measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 It is a flow chart of a method for measuring structural displacement based on a deep super-resolution network provided by the present invention;

[0040] Figure 2 This is a schematic diagram of the structural principle of the super-resolution generative adversarial network;

[0041] Figure 3 It is a box plot of the root mean square error of the measurement results obtained by using the Shi-Tomasi corner detection algorithm to identify the edge corners of the pattern;

[0042] Figure 4 It is a box plot of the root mean square error of the measurement results obtained by using the Shi-Tomasi corner detection algorithm to identify the edge corners of the pattern under the influence of environmental variables;

[0043] Figure 5 It is a box plot of the root mean square error of the measurement comparison results obtained by using the Shi-Tomasi corner detection method to identify the internal corners and edge corners of the pattern;

[0044] Figure 6 It is a box plot of the root mean square error of the measurement results obtained by measuring the displacement using the SIFT feature point matching algorithm;

[0045] Figure 7 It is a box plot of the root mean square error of the measurement results obtained by measuring the displacement using the SIFT feature point matching algorithm under the influence of environmental variables;

[0046] Figure 8 It is the displacement time history diagram measured by applying KLT optical flow tracking algorithm;

[0047] Fig. 9 It is a schematic diagram of the structure of a structural displacement measurement device based on a deep super-resolution network provided by the present invention;

[0048] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] First, the prior art solutions targeted by the embodiments of the present invention are described in detail:

[0051] With the development of urbanization, existing buildings and infrastructure in cities have certain potential safety risks. It is necessary to monitor and warn of the displacement deformation of buildings and infrastructure and their displacement response to disasters such as earthquakes.

[0052] With the development of computer vision technology, the application of vision-based displacement measurement technology in the monitoring and evaluation tasks of civil infrastructure has been widely studied, and its measurement results can serve structural health monitoring applications such as modal identification, damage detection and structural model update. At the same time, there are a large number of working video surveillance devices distributed in the city, which can record a large amount of image and video information of buildings and infrastructure without additional installation, and have the potential to serve the above applications.

[0053] However, for fixed video surveillance equipment in cities, due to the limited hardware resolution and the long distance of the monitored object, when used for structural response monitoring, especially when the displacement of the structure to be measured is of similar order of magnitude to the coordinate conversion scale factor, there is a shortcoming of low measurement data accuracy.

[0054] Generally speaking, there are two ways to improve the accuracy of vision-based displacement measurement. One is to upgrade the hardware to improve the resolution, and the other is to use sub-pixel technology. However, the former is not feasible for a large number of urban fixed video surveillance equipment; although the latter can improve the accuracy in theory, it cannot break through the limitations of the physical mechanism of the camera sensor in practical applications, and the accuracy is affected by the system and environmental noise. Therefore, it is difficult for existing solutions to effectively improve the measurement accuracy of structural displacement.

[0055] Combine the following Figure 1-Figure 9 The present invention describes a method and device for measuring structural displacement based on a deep super-resolution network.

[0056] Figure 1The present invention provides a method for measuring structural displacement based on a deep super-resolution network, which includes:

[0057] Step 110: obtaining original images of the structure to be measured before and after displacement, and extracting initial ROI images from the original images before and after displacement respectively.

[0058] It should be noted that the original images of the structure to be measured before and after displacement in this embodiment can be obtained by processing static image data or dynamic video data. The above static image data or dynamic video data are both low-resolution data, usually obtained by urban fixed video surveillance equipment or mobile phones.

[0059] Among them, low-resolution static image data refers to static pictures before and after the displacement of the structure to be tested, and low-resolution dynamic video data refers to dynamic videos containing the dynamic displacement response of the structure to be tested. Due to the hardware limitations of the shooting device or the distance between the structure to be tested and the shooting device, the structure to be tested has low resolution and lacks texture details in the above image data or video data.

[0060] Step 120: Input the initial ROI images before and after the displacement into a pre-constructed image super-resolution model to obtain super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample dataset.

[0061] In an exemplary embodiment, the training process of the above-mentioned image super-resolution model may specifically include:

[0062] First, a first original image sample and a second original image sample of the structure to be tested are obtained respectively; wherein the second original image sample contains the surface fine texture features of the structure to be tested;

[0063] Then, the second original image sample is registered with the first original image sample to obtain a super-resolution image sample;

[0064] Next, based on the first original image sample and the super-resolution image sample, an image sample data set is constructed;

[0065] Finally, based on the image sample dataset, the pre-built deep super-resolution network is trained to obtain the image super-resolution model.

[0066] It should be noted that, in this embodiment, the first original image sample may be low-resolution image data or video data before the structural displacement; the second original image sample may be a high-resolution image, which may be captured by a high-definition camera.

[0067] The high-resolution image should contain the same structure to be tested as the low-resolution image data or video data, and the high-resolution image should contain rich surface fine texture features of the structure to be tested. The shooting angle of the high-resolution image should be close to that of the low-resolution image data or video data, but it does not need to be strictly consistent.

[0068] In an exemplary embodiment, the process of performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample may specifically include:

[0069] First, multiple reference points are determined in the displacement plane of the structure to be measured.

[0070] In this embodiment, a group of visually identifiable reference points *P are manually selected in the displacement plane of the structure to be measured. i +, which should be displayed together within the frame range of the low-resolution image or video data and the high-resolution image, and the number of reference points should not be less than 4.

[0071] Then, a first coordinate of each reference point in the first original image sample and a second coordinate of each reference point in the second original image sample are respectively obtained.

[0072] In this embodiment, P i The pixel coordinates (i.e., the second coordinates) in the high-resolution image (i.e., the second original image sample) are (x i ,y i ), the pixel coordinates (first coordinates) in the low-resolution image data or video data (i.e., the first original image sample) before the displacement of the structure to be measured are (x i ′ ,y i ′ ).

[0073] Next, a homography matrix is ​​obtained based on the first coordinates and the second coordinates of each reference point.

[0074] In this embodiment, the second coordinate (x i ,y i ) and the first coordinate (x i ′ ,y i ′ ) there exists a homography matrix H such that:

[0075]

[0076] For each set of reference points *P i +, corresponding to the above set of equations, the RANSAC (RANdom SAmpleConsensus) algorithm can be used to solve the homography matrix H.

[0077] Finally, based on the homography matrix, the surface fine texture features of the structure to be measured in the second original image sample are perspective transformed into the first original image sample to obtain a super-resolution image sample.

[0078] After obtaining the homography matrix H, the surface fine texture features of the structure to be measured in the high-resolution image are perspective transformed to the corresponding positions in the low-resolution image data or video data before the structure to be measured is displaced, so that the planar features of the structure to be measured are aligned in the high-resolution image and the low-resolution image data or video data before the structure to be measured is displaced.

[0079] In an exemplary embodiment, the process of constructing an image sample dataset based on the first original image sample and the super-resolution image sample may specifically include:

[0080] First, extract an initial ROI image sample from the first original image sample;

[0081] Then, super-resolution ROI image samples are extracted from the super-resolution image samples.

[0082] After the alignment is completed, the region of interest (ROI) that needs to be super-resolutioned to apply the structural displacement measurement method is determined, and the ROI part is respectively intercepted in the super-resolution image sample and the first original image sample to obtain a super-resolution ROI image sample and an initial ROI image sample.

[0083] Next, based on the initial ROI image samples and the super-resolution ROI image samples, an image sample pair is constructed.

[0084] Based on the super-resolution ROI image samples and the initial ROI image samples obtained above, paired low-resolution-high-resolution image data, namely image sample pairs, can be further constructed. Finally, data enhancement processing is performed on the image sample pairs to obtain image sample datasets.

[0085] The image data in the image sample pair is enhanced, which may include random translation, random rotation and other processing to simulate the movement of the structure to be tested in the ROI area, and obtain any number of paired low-resolution-high-resolution data sets, that is, image sample data sets.

[0086] Step 130: performing restoration processing on the super-resolution ROI images before and after the displacement respectively to obtain the super-resolution images before and after the displacement.

[0087] The super-resolution ROI image (or image sequence) is restored to the corresponding ROI position in the low-resolution image data or video data with the resolution enlarged in proportion to obtain a super-resolution image or video data, that is, a super-resolution image. In this embodiment, the super-resolution image has an ROI area with high resolution and rich texture details.

[0088] Step 140: Based on the super-resolution images before and after the displacement, the displacement of the structure to be measured is measured to obtain a displacement measurement result.

[0089] In an exemplary embodiment, based on the super-resolution images before and after the displacement, the displacement measurement of the structure to be measured is performed to obtain the displacement measurement result, which may specifically include:

[0090] Firstly, the pixel displacement of the structure to be measured is obtained based on the super-resolution images before and after the displacement;

[0091] Then, the pixel displacement is converted into real displacement to obtain the displacement measurement result.

[0092] Specifically, for structural displacement measurement based on static images, the Shi-Tomasi corner detection algorithm or the SIFT feature point matching algorithm is applied in the ROI area of ​​the super-resolution image to obtain the pixel displacement of the structure to be measured in the image coordinate system; for structural displacement measurement based on dynamic videos, the Kanade-Lucas-Tomasi (KLT) optical flow tracking algorithm is applied in the ROI area of ​​the super-resolution video to obtain the pixel displacement of the structure to be measured in the image coordinate system.

[0093] Afterwards, the scale factor is used to convert the pixel displacement in the image coordinate system to the real displacement in the world coordinate system. During the conversion process, the scale factor s is obtained based on the known real distance D in the displacement plane of the structure to be measured in the world coordinate system and the corresponding pixel distance d in the image coordinate system, that is:

[0094]

[0095] Among them, s is the scale factor, D is the real distance, and d is the pixel distance.

[0096] The construction and training process of the image super-resolution model in the embodiment of the present invention is described in detail below through specific examples.

[0097] In the embodiment of the present invention, the deep learning super-resolution network uses a super-resolution generative adversarial network (SRGAN), and its basic architecture is as follows: Figure 2 As shown. SRGAN consists of a generator network G and a discriminator network D. The training process solves the adversarial min-max problem through iterative optimization, namely:

[0098]

[0099] Where P HR and P LR is a set of corresponding high-resolution and low-resolution ROI image sample distributions, and G(z) is the generated super-resolution ROI image.

[0100] The generator network G is based on residual blocks with skip-connections, each of which contains two convolutional layers with batch-normalization layers and Parametric ReLU as activation function. In the embodiment of the present invention, the number of residual blocks is 16. Image resolution upsampling is achieved by sub-pixel convolution layers, each layer is upsampled by 2 times, and 8 times super resolution, i.e. 3 groups of sub-pixel convolution layers, is used in this embodiment.

[0101] The discriminator network D is based on 8 convolutional layers and uses Leaky ReLU as the activation function. The feature map obtained is passed through two dense layers and a sigmoid activation function to obtain the discrimination result of high-resolution ROI image (true) or super-resolution ROI image (false).

[0102] The loss function of SRGAN is composed of the mean square error loss l MSE , Perceptual loss VGG and adversarial loss l adv In this embodiment, the order of magnitude of the three losses is basically consistent, and the expression of the loss function is as follows:

[0103] l=l MSE +0.006×l VGG +0.001×l adv (4)

[0104] In the formula, l is the loss function, l MSE is the mean square error loss, l VGG is the perceptual loss, l adv To combat losses.

[0105] The SRGAN training strategy used in this embodiment is to first use the mean square error loss l MSE The generator network of SRGAN is initialized and trained for 200 epochs, and then the complete SRGAN is trained using the complete loss function. The generator network and the discriminator network are updated alternately for 200 epochs.

[0106] In this embodiment, the reference point {P i The number of} is taken as 4, the paired low-resolution-high-resolution image set contains 300 pairs, and the image super-resolution model is finally obtained by training the above-mentioned deep super-resolution network.

[0107] In order to demonstrate the effectiveness of the structural displacement measurement method based on deep super-resolution network provided in this embodiment in improving measurement accuracy, this embodiment is verified using static images and dynamic videos as data sources respectively, which are described in detail below through specific embodiments.

[0108] Example 1

[0109] The data source for this embodiment is a static image, and the structure to be tested is a window. During the test, a window pattern is printed on paper with four sets of preset spacing and posted on a flat surface. A camera is used to take low-definition and high-definition photos of it. The low-definition photos take into account three working conditions: normal, blurred, and dark. The structural displacement measurement method based on the deep super-resolution network provided in this embodiment is used to measure multiple groups of displacement values ​​and compare them with the actual values.

[0110] When performing displacement value detection, this embodiment further provides the following three displacement value detection schemes:

[0111] Solution 1: Use the Shi-Tomasi corner detection algorithm to identify the edge corners of the pattern to achieve displacement detection. The root mean square error (RMSE) box plot of the measurement results is shown in the figure below: Figure 3 As shown, Figure 3 In the figure, ORI represents the measurement on the original low-resolution image, BIC represents the measurement on the super-resolution image based on interpolation, GAN represents the measurement on the super-resolution image generated by the deep super-resolution network, and subpix represents the application of sub-pixel technology based on integer corner pixel coordinates.

[0112] By the attached Figure 3 It can be seen that the structural displacement measurement method based on the deep super-resolution network provided by the embodiment of the present invention can improve the measurement accuracy and reduce the discreteness of the results, which is better than the super-resolution measurement method using sub-pixel technology or based on interpolation.

[0113] The results of the above three measurement methods being affected by environmental variables are as follows: Figure 4 As shown, the suffix B represents a blurry condition, and the suffix L represents a dim light condition.

[0114] By the attached Figure 4 It can be seen that the structural displacement measurement method based on the deep super-resolution network provided in this embodiment maintains good accuracy and discreteness under blurry and dim light conditions. Figure 4 In the verification results shown, the measurement accuracy of the method provided by this embodiment can be improved by 29% and 41% respectively compared with the measurement on the low-resolution image and the measurement on the interpolation-based super-resolution image.

[0115] Solution 2: Use the Shi-Tomasi corner detection algorithm to identify the internal corners of the pattern to achieve displacement detection. The root mean square error (RMSE) box plot of the measurement results is shown in the figure below: Figure 5 As shown, Figure 5 In the figure, ORI indicates measurement on the original low-resolution image, BIC indicates measurement on the super-resolution image based on interpolation, GAN indicates measurement on the super-resolution image generated by the deep super-resolution network, and no suffix indicates measurement based on edge corners, and the suffix inner indicates measurement based on internal corners.

[0116] It can be seen that the structural displacement measurement method based on the deep super-resolution network provided by the present invention improves the pattern texture details and maintains good measurement accuracy and discreteness in the measurement task based on the internal corner points of the pattern, which is better than the measurement method on the original low-definition image or the super-resolution image based on interpolation. In this verification result, the measurement accuracy of the method provided in this embodiment can be improved by 66% and 43% respectively compared with the measurement on the low-resolution image and the measurement on the super-resolution image based on interpolation.

[0117] Solution 3: Use SIFT feature point matching algorithm to detect displacement. The root mean square error (RMSE) box plot of the measurement results is as follows: Figure 6 and Figure 7 As shown in the figure, ORI indicates measurement on the original low-resolution image, BIC indicates measurement on the super-resolution image based on interpolation, GAN indicates measurement on the super-resolution image generated by the deep super-resolution network, the suffix B indicates blurry conditions, and the suffix L indicates dark light conditions.

[0118] Depend on Figure 6 and Figure 7 It can be seen that the structural displacement measurement method based on the deep super-resolution network provided in this embodiment has significantly improved the measurement accuracy and discreteness of the displacement due to the improvement of pattern texture details, and can maintain good stability under blurry and dark light conditions. In this verification result, the measurement accuracy of the method provided in this embodiment can be improved by 84% and 81% respectively compared with the measurement on the low-resolution image and the measurement on the interpolation-based super-resolution image.

[0119] Example 2

[0120] The data source for this embodiment is a dynamic video, and the structure to be tested is a specimen on a vibration table. The dynamic video uses a certain vibration table test video, and multiple video frames are captured from the video to form an image sequence, which can be used as the original image of this embodiment. During the test, the structural displacement measurement method based on the deep super-resolution network provided by this embodiment and a variety of existing methods are used to track the displacement value of the upper ROI area of ​​the specimen on the vibration table and compare it with the measured value.

[0121] This embodiment uses the KLT optical flow tracking algorithm to detect displacement, and the displacement time course obtained by measurement is as follows: Figure 8 As shown in the figure, ORI' represents the measurement on the original low-definition video, BIC' represents the measurement on the super-resolution video based on interpolation, GAN represents the measurement on the super-resolution image generated based on the deep super-resolution network, GT represents the actual value measured by the sensor, the horizontal axis is time (t), and the vertical axis is displacement (Displacement).

[0122] Depend on Figure 8 It can be seen that the method provided in this embodiment reduces the drift problem of optical flow tracking. In the verification results, the measurement accuracy of the method provided in this embodiment can be improved by 67% and 72% respectively compared with the measurement on the low-resolution video and the measurement on the interpolation-based super-resolution video.

[0123] It can be seen that no matter what displacement detection algorithm is used, and no matter whether the data source is a static picture or a dynamic video, the structural displacement measurement method based on a deep super-resolution network provided in this embodiment can achieve better measurement accuracy and stability compared with the existing structural displacement measurement method.

[0124] The structural displacement measurement device based on a deep super-resolution network provided by the present invention is described below. The structural displacement measurement device based on a deep super-resolution network described below and the structural displacement measurement method based on a deep super-resolution network described above can be referenced to each other.

[0125] Fig. 9 The present invention shows a structural displacement measurement device based on a deep super-resolution network provided by an embodiment of the present invention, the device comprising:

[0126] The first processing module 910 is used to obtain the original images of the structure to be measured before and after the displacement, and extract the initial ROI images from the original images before and after the displacement respectively;

[0127] The second processing module 920 is used to input the initial ROI images before and after the displacement into a pre-built image super-resolution model to obtain super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample data set;

[0128] The third processing module 930 is used to restore the super-resolution ROI images before and after the displacement to obtain the super-resolution images before and after the displacement;

[0129] The fourth processing module 940 is used to perform displacement measurement on the structure to be measured based on the super-resolution images before and after the displacement to obtain a displacement measurement result.

[0130] In an exemplary embodiment, the structural displacement measurement device based on the deep super-resolution network may further include:

[0131] The model training module is used to respectively obtain a first original image sample and a second original image sample of the structure to be tested; wherein the second original image sample contains the surface fine texture features of the structure to be tested; the second original image sample is image-aligned with the first original image sample to obtain a super-resolution image sample; based on the first original image sample and the super-resolution image sample, an image sample data set is constructed; based on the image sample data set, a pre-constructed deep super-resolution network is trained to obtain an image super-resolution model.

[0132] Furthermore, the model training module can realize the function of performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample in the following manner, including:

[0133] Determine multiple reference points in the displacement plane of the structure to be measured;

[0134] Respectively obtain a first coordinate of each reference point in the first original image sample and a second coordinate of each reference point in the second original image sample;

[0135] Obtaining a homography matrix based on the first coordinate and the second coordinate of each reference point;

[0136] Based on the homography matrix, the surface fine texture features of the structure to be measured in the second original image sample are perspective transformed into the first original image sample to obtain a super-resolution image sample.

[0137] Furthermore, the above-mentioned model training module can realize the function of constructing an image sample data set based on the first original image sample and the super-resolution image sample in the following manner, including:

[0138] Extracting an initial ROI image sample from the first original image sample;

[0139] Extracting super-resolution ROI image samples from super-resolution image samples;

[0140] Based on the initial ROI image sample and the super-resolution ROI image sample, an image sample pair is constructed;

[0141] Perform data enhancement processing on the image sample pairs to obtain an image sample data set.

[0142] Specifically, the data enhancement processing in this embodiment may include: random translation of the image and random rotation of the image.

[0143] In an exemplary embodiment, the fourth processing module 940 may be specifically used to: obtain the pixel displacement of the structure to be measured based on the super-resolution images before and after the displacement; and convert the pixel displacement into a real displacement to obtain a displacement measurement result.

[0144] Specifically, in this embodiment, the original image can be obtained by processing static image data or dynamic video data.

[0145] It can be seen that the structural displacement measurement device based on the deep super-resolution network provided in the embodiment of the present invention improves the accuracy of visual measurement of structural displacement based on images or videos by introducing the deep learning super-resolution network into the structural displacement measurement process, and can solve the problem of low resolution and poor detail quality of the target object in the computer vision image or video, and provide a reference for infrastructure displacement response monitoring based on urban fixed video surveillance equipment or mobile phones.

[0146] Fig.10 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.10 As shown, the electronic device may include: a processor 101, a communication interface 102, a memory 103 and a communication bus 104, wherein the processor 101, the communication interface 102 and the memory 103 communicate with each other through the communication bus 104. The processor 101 may call the logic instructions in the memory 103 to execute a structural displacement measurement method based on a deep super-resolution network, the method comprising: obtaining the original images of the structure to be measured before and after displacement, and extracting the initial ROI images from the original images before and after displacement respectively; respectively inputting the initial ROI images before and after displacement into a pre-constructed image super-resolution model to obtain super-resolution ROI images before and after displacement; wherein the image super-resolution model is obtained by training the deep super-resolution network based on an image sample data set; respectively restoring the super-resolution ROI images before and after displacement to obtain super-resolution images before and after displacement; based on the super-resolution images before and after displacement, performing displacement measurement on the structure to be measured to obtain a displacement measurement result.

[0147] In addition, the logic instructions in the above-mentioned memory 103 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0148] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the structural displacement measurement method based on the deep super-resolution network provided by the above methods, and the method includes: obtaining the original images of the structure to be measured before and after the displacement, and extracting the initial ROI images from the original images before and after the displacement respectively; inputting the initial ROI images before and after the displacement into a pre-constructed image super-resolution model respectively, to obtain the super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training the deep super-resolution network based on an image sample data set; restoring the super-resolution ROI images before and after the displacement respectively, to obtain the super-resolution images before and after the displacement; based on the super-resolution images before and after the displacement, performing displacement measurement on the structure to be measured to obtain the displacement measurement result.

[0149] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the structural displacement measurement method based on a deep super-resolution network provided by the above-mentioned methods, the method comprising: obtaining original images of the structure to be measured before and after displacement, and extracting initial ROI images from the original images before and after displacement, respectively; inputting the initial ROI images before and after displacement into a pre-constructed image super-resolution model, respectively, to obtain super-resolution ROI images before and after displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample data set; restoring the super-resolution ROI images before and after displacement, respectively, to obtain super-resolution images before and after displacement; based on the super-resolution images before and after displacement, performing displacement measurement on the structure to be measured to obtain a displacement measurement result.

[0150] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A structural displacement measurement method based on a deep super-resolution network, characterized in that: include: Acquire original images of the structure to be measured before and after displacement, and extract initial ROI images from the original images before and after displacement respectively; Inputting the initial ROI images before and after the displacement into a pre-constructed image super-resolution model respectively to obtain super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample data set; Respectively performing restoration processing on the super-resolution ROI images before and after the displacement to obtain super-resolution images before and after the displacement; Based on the super-resolution images before and after the displacement, the displacement of the structure to be measured is measured to obtain a displacement measurement result; The training process of the image super-resolution model includes: Acquire a first original image sample and a second original image sample of the structure to be tested respectively; wherein the second original image sample contains fine surface texture features of the structure to be tested; Performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample; Based on the first original image samples and the super-resolution image samples, construct an image sample dataset; Based on the image sample data set, a pre-built deep super-resolution network is trained to obtain an image super-resolution model; Performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample includes: Determine a plurality of reference points within the displacement plane of the structure to be measured; Respectively obtaining a first coordinate of each reference point in the first original image sample and a second coordinate of each reference point in the second original image sample; Obtaining a homography matrix based on the first coordinates and the second coordinates of each reference point; Based on the homography matrix, perspective transform the surface fine texture features of the structure to be measured in the second original image sample into the first original image sample to obtain a super-resolution image sample; Based on the super-resolution images before and after the displacement, the displacement of the structure to be measured is measured to obtain a displacement measurement result, including: Based on the super-resolution images before and after the displacement, obtaining the pixel displacement of the structure to be measured; The pixel displacement is converted into a real displacement to obtain a displacement measurement result.

2. The method for measuring structural displacement based on a deep super-resolution network according to claim 1, characterized in that: Based on the first original image sample and the super-resolution image sample, an image sample dataset is constructed, including: Extracting an initial ROI image sample from the first original image sample; Extracting super-resolution ROI image samples from the super-resolution image samples; Based on the initial ROI image sample and the super-resolution ROI image sample, construct an image sample pair; Perform data enhancement processing on the image sample pairs to obtain an image sample data set.

3. The method for measuring structural displacement based on a deep super-resolution network according to claim 2, characterized in that: The data enhancement process includes: random translation of the image and random rotation of the image.

4. The method for measuring structural displacement based on a deep super-resolution network according to claim 1, characterized in that: The original image is obtained by processing static image data or dynamic video data.

5. A structural displacement measurement device based on a deep super-resolution network, characterized in that: include: A first processing module is used to obtain original images of the structure to be measured before and after displacement, and extract initial ROI images from the original images before and after displacement respectively; A second processing module is used to input the initial ROI image before and after the displacement into a pre-constructed image super-resolution model to obtain super-resolution ROI images before and after the displacement; wherein the image super-resolution model is obtained by training a deep super-resolution network based on an image sample data set; A third processing module is used to restore the super-resolution ROI image before and after the displacement to obtain the super-resolution image before and after the displacement; A fourth processing module, configured to perform displacement measurement on the structure to be measured based on the super-resolution images before and after the displacement to obtain a displacement measurement result; The training process of the image super-resolution model includes: Acquire a first original image sample and a second original image sample of the structure to be tested respectively; wherein the second original image sample contains fine surface texture features of the structure to be tested; Performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample; Based on the first original image samples and the super-resolution image samples, construct an image sample dataset; Based on the image sample data set, a pre-built deep super-resolution network is trained to obtain an image super-resolution model; Performing image registration on the second original image sample and the first original image sample to obtain a super-resolution image sample includes: Determine a plurality of reference points within the displacement plane of the structure to be measured; Respectively obtaining a first coordinate of each reference point in the first original image sample and a second coordinate of each reference point in the second original image sample; Obtaining a homography matrix based on the first coordinates and the second coordinates of each reference point; Based on the homography matrix, perspective transform the surface fine texture features of the structure to be measured in the second original image sample into the first original image sample to obtain a super-resolution image sample; Based on the super-resolution images before and after the displacement, the displacement of the structure to be measured is measured to obtain a displacement measurement result, including: Based on the super-resolution images before and after the displacement, obtaining the pixel displacement of the structure to be measured; The pixel displacement is converted into a real displacement to obtain a displacement measurement result.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the structural displacement measurement method based on the deep super-resolution network as described in any one of claims 1 to 4 are implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the structural displacement measurement method based on a deep super-resolution network as described in any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Super-resolution reconstruction method based on conditional generative adversarial network

    CN109978762A

  • Interlayer displacement measuring system

    JP2021169983A