A method for measuring the roughness of the water-facing slope of an ecological seawall

The texture characteristics of seawall water slope are extracted through the grayscale symbiosis matrix, which solves the problems of low measurement efficiency of seawall roughness and inconsistent evaluation standards, and provides scientific roughness evaluation standards to support the suitability construction and long-term development of ecological seawalls. manage.

CN116883475BActive Publication Date: 2024-11-22HOHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310861607.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2024-11-22
Estimated Expiration
2043-07-14

AI Technical Summary

Technical Problem

The measurement methods for the roughness of the seawall in the prior art are inefficient and lack unified evaluation standards, which affect the long-term monitoring and management of ecological seawalls.

Method used

The grayscale symbiosis matrix was used to take the surface image of the seawall water slope through a drone, and image preprocessing and feature parameter extraction were performed, including contrast, deficit and entropy, and the evaluation criteria were obtained, and the evaluation criteria were unified. And improve measurement efficiency.

Benefits of technology

The quantification and scientific evaluation standards for the roughness of the seawall water slope are realized, the measurement efficiency is improved, and the suitability construction and long-term management of ecological seawalls are supported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116883475B_ABST
    Figure CN116883475B_ABST
Patent Text Reader

Abstract

The invention discloses a method for measuring the roughness of an ecological seawall's waterfront slope, comprising the following steps: using a high-definition camera mounted on an unmanned aerial vehicle cloud platform to shoot a surface image of the seawall's waterfront slope at a high altitude on the surface of the seawall's waterfront slope to obtain its surface texture features; converting the shot multispectral image into a grayscale image so that each pixel in the image is only related to brightness but not to color; performing median filtering on the image to reduce noise interference and extracting the seawall's surface texture features more accurately; performing histogram equalization on the grayscale image to adjust the grayscale distribution in the image so that the pixel grayscale value distribution is more uniform, thereby achieving the effect of enhancing image contrast and brightness; compressing the grayscale image grayscale level; and using a grayscale co-occurrence matrix statistical model to measure the roughness of the ecological seawall's waterfront slope; improving measurement efficiency, unifying roughness evaluation standards, and facilitating long-term monitoring and management of the ecological seawall.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for measuring the roughness of an ecological seawall facing water slope, specifically, a method for measuring the roughness of an ecological seawall facing water slope by using a grayscale co-occurrence matrix to extract the texture features of the seawall facing water slope, measuring the surface roughness of the seawall, and obtaining the roughness evaluation grade of the seawall by combining the roughness evaluation standard of the ecological seawall facing water slope proposed by the present invention. Background Art

[0002] Seawalls are a common water conservancy facility, usually used to protect coastal areas from ocean waves and storm surges, and play a very important role in the economic development of coastal areas. With the improvement of people's material living standards, ecological environmental protection and marine engineering construction have become hot issues in development. In the field of marine engineering, ecological seawalls, as a new type of marine engineering, play an important role in maintaining the stability of the coastline and protecting the ecological environment. With the continuous expansion of the scale of ecological seawall construction, the roughness of the seawall's water-facing slope has become an important indicator for evaluating the construction standards of ecological seawalls.

[0003] At present, the roughness of the seawall's water-facing slope is mainly evaluated by visual observation or manual measurement. Although this method has reference value for the suitability assessment of ecological seawall construction, its evaluation indicators and results are affected by factors such as the environment and personnel, the measurement efficiency is low, and there is no unified roughness evaluation standard, which is not conducive to the long-term monitoring and management of ecological seawalls.

[0004] This problem can be effectively solved by using image processing technology. Among them, the grayscale co-occurrence matrix, as a commonly used image processing technology, describes the texture characteristics of the image by analyzing the grayscale values ​​of image pixels. In the measurement of the roughness of the ecological seawall waterfront slope, the grayscale co-occurrence matrix can be used to effectively extract the surface texture characteristics of the seawall waterfront slope, and then quantify the roughness of the seawall waterfront slope, unify the evaluation standard of the seawall roughness, and guide the construction of the suitability of the ecological seawall. Therefore, the use of grayscale co-occurrence matrix to measure the roughness of the ecological seawall waterfront slope has become an emerging measurement technology, providing reliable technical support for the construction of ecological seawalls and long-term monitoring and management in the future. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of existing methods for evaluating seawall roughness, such as lack of theoretical basis and observation standards, and to provide a method for measuring the roughness of the waterfront slope of an ecological seawall. This method quantifies the surface roughness of the waterfront slope for the first time and summarizes a set of scientific seawall roughness evaluation standards, which improves and solves the defects in existing measurement methods.

[0006] To achieve the above object, the present invention provides the following technical solution: a method for measuring the roughness of the waterfront slope of an ecological seawall, which measures the surface texture feature value of the waterfront slope of the seawall by using a gray level co-occurrence matrix to obtain the roughness of the waterfront slope of the seawall, comprising the following steps:

[0007] S1. First, data acquisition is performed by using a high-definition camera mounted on a drone cloud platform. The camera takes pictures of the surface of the seawall's waterfront slope at a height of about 5 meters, with the camera's shooting angle at 60° to the horizontal plane, to obtain its surface texture characteristics.

[0008] S2, then perform image preprocessing, by performing denoising, enhancement, and equalization operations on the original seawall image to improve the image quality, thereby improving the accuracy of roughness measurement;

[0009] S3, then select characteristic parameters, and measure the roughness of the seawall's water-facing slope by using the gray level co-occurrence matrix as a statistical model;

[0010] S4. Finally, the texture characteristics of the seawall front slope are extracted based on the gray level co-occurrence matrix, and the contrast, inverse difference and entropy of the seawall front slope surface in different directions are obtained. Then, an evaluation standard for the roughness of the ecological seawall front slope is obtained by measuring and summarizing the seawall surface texture characteristics.

[0011] Preferably, the image preprocessing in S2 includes the following:

[0012] 1) Convert the captured multispectral image into a grayscale image so that each pixel in the image is only related to brightness or grayscale but not to color;

[0013] 2) In the extraction of surface texture features of the seawall's flood-facing slope, median filtering is used to smooth the image and reduce noise interference, making the results of grayscale matrix extraction more accurate;

[0014] 3) Perform histogram equalization on the grayscale image to adjust the grayscale distribution in the image so that the pixel grayscale value distribution is more uniform, thereby achieving the effect of enhancing the image contrast and brightness;

[0015] 4) Under the premise of ensuring the measurement accuracy of the roughness of the ecological seawall's upstream slope, in order to further improve the image processing efficiency and reduce the measurement time, the grayscale image grayscale is compressed from grayscale level Ng=256 to Ng=16.

[0016] Preferably, in S3, during the measurement process, a plurality of characteristic parameters are used to comprehensively evaluate the surface roughness of the seawall, and the characteristic parameters include the following:

[0017] 1) Contrast reflects the grayscale difference between pixels. The larger the value, the more obvious the grayscale change of the image. In the measurement of the surface roughness of the ecological seawall's upstream slope, the contrast is used to evaluate the surface irregularity and texture complexity. The calculation formula is as follows:

[0018]

[0019] Among them, Ng is the gray level, i and j represent the relative position of the pixel level, and n represents the number of times the pixel pair appears.

[0020] 2) Inverse gap reflects the uniformity of grayscale distribution between pixels. The larger the value, the more uniform the grayscale distribution in the image. In the measurement of the surface roughness of the ecological seawall's upstream slope, the inverse gap is used to evaluate the surface uniformity and texture complexity. The calculation formula is as follows:

[0021]

[0022] Among them, i and j represent the relative positions at the pixel level.

[0023] 3) Entropy is the most effective characteristic parameter for evaluating the surface roughness of the seawall. It directly reflects the uniformity and complexity of the grayscale distribution of the image and evaluates the complexity of the surface texture of the seawall's water-facing slope. The larger the entropy value, the more complex the grayscale distribution of the image, that is, the more complex the surface texture. In the measurement of the surface roughness of the ecological seawall's water-facing slope, entropy is used to evaluate the surface roughness characteristics. The calculation formula is as follows:

[0024]

[0025] Among them, i and j represent the relative positions at the pixel level.

[0026] Preferably, in S4, the four directions of the surface of the seawall's water-facing slope include 0°, 45°, 90°, and 135° respectively.

[0027] Preferably, the evaluation criteria include the following:

[0028] 1) The evaluation level is excellent, with contrast CON ≥ 5.05, inverse difference IDM < 0.65, and entropy ENT ≥ 3.91;

[0029] 2) The evaluation level is good, with contrast 2.45≤CON<5.05, inverse difference 0.65≤IDM<0.78, and entropy 2.10≤ENT<3.91;

[0030] 3) The evaluation level is poor, with contrast CON<2.45, inverse difference IDM≥0.78, and entropy ENT<2.10.

[0031] Preferably, when evaluating the roughness level of the seawall's front slope, three parameters of the seawall's texture characteristics: contrast, inverse difference, and entropy must simultaneously meet the corresponding level standards; if at least three of the four directional characteristic values ​​of each characteristic parameter meet the corresponding level standard, the seawall's roughness is classified into this evaluation level.

[0032] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention extracts the texture features of the seawall's frontal slope based on the grayscale co-occurrence matrix, overcomes the shortcomings of the prior methods for evaluating the seawall's roughness, such as lack of theoretical basis and observation standards, and provides a method for measuring the roughness of the frontal slope of an ecological seawall. This method quantifies the surface roughness of the frontal slope for the first time and summarizes a set of scientific seawall roughness evaluation standards, which improves the defects of the prior measurement methods, improves the measurement efficiency, and unifies the roughness evaluation standards, which is beneficial to the long-term monitoring and management of ecological seawalls. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0034] In the attached picture:

[0035] Figure 1 It is a system diagram for measuring the roughness of the upstream slope of the ecological seawall of the present invention;

[0036] Numbers in the figure: 1. UAV platform; 2. UAV gimbal; 3. Mobile phone module; 4. Ground remote control equipment; 5. Laptop computer; 6. Camera. DETAILED DESCRIPTION

[0037] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0038] Embodiment: A method for measuring the roughness of the water-facing slope of an ecological seawall, the specific implementation process is as follows:

[0039] (1) Build system

[0040] The whole ecological seawall upstream slope roughness measurement system can be divided into aerial part and ground part, such as Figure 1 shown.

[0041] The aerial part mainly includes a drone platform 1 as the main body and its supporting components, such as a camera 6 mounted on a drone gimbal 2. A communication module is also integrated inside the drone platform 1 to send the surface image data of the seawall water-facing slope collected by the camera 6 to the mobile phone module 3, the ground remote control device 4 that controls the flight of the drone platform 1, and a laptop computer 5 equipped with a remote image roughness measurement and analysis system. The communication module integrated inside the drone platform 1 is connected to the ground control part through wireless signals, and starts, stops, and shuts down according to the requirements of the ground remote control device 4, receives the image data monitored by the sensor, and finally transmits the collected image information to the laptop computer 5 for measurement and analysis.

[0042] (2) Image preprocessing

[0043] Grayscale processing: Convert the captured multispectral image into a grayscale image so that each pixel in the image is only related to brightness or grayscale but not to color.

[0044] Median filtering: In the extraction of surface texture features of the seawall's upstream slope, median filtering can smooth the image, reduce noise interference, and make the results of grayscale matrix extraction more accurate.

[0045] Image equalization: Perform histogram equalization on grayscale images to adjust the grayscale distribution in the image so that the pixel grayscale value distribution is more uniform, thereby achieving the effect of enhancing the image contrast and brightness.

[0046] Grayscale compression: Under the premise of ensuring the measurement accuracy of the roughness of the ecological seawall’s waterfront slope, in order to further improve the image processing efficiency and reduce the measurement time, the grayscale image grayscale level is compressed from grayscale level Ng=256 to Ng=16.

[0047] (3) Feature parameter selection

[0048] The eigenvalue of the gray level co-occurrence matrix is ​​used as a statistical model to measure the roughness of the seawall's water-facing slope. During the measurement process, multiple characteristic parameters are required to comprehensively evaluate the surface roughness of the seawall. The specific parameters are as follows:

[0049] Contrast: reflects the grayscale difference between pixels. The larger the value, the more obvious the grayscale change of the image. In the measurement of the surface roughness of the ecological seawall's waterfront slope, contrast can be used to evaluate the irregularity and texture complexity of the surface. The calculation formula is as follows:

[0050]

[0051] Among them, Ng is the gray level, i and j represent the relative position of the pixel level, and n represents the number of times the pixel pair appears.

[0052] Inverse gap: reflects the uniformity of grayscale distribution between pixels. The larger the value, the more uniform the grayscale distribution in the image. In the measurement of the surface roughness of the ecological seawall's waterfront slope, the inverse gap can be used to evaluate the surface uniformity and texture complexity. The calculation formula is as follows:

[0053]

[0054] Where i and j represent the relative positions at the pixel level.

[0055] Entropy: The most effective characteristic parameter for evaluating the surface roughness of the seawall. It directly reflects the uniformity and complexity of the grayscale distribution of the image and evaluates the complexity of the surface texture of the seawall's water-facing slope. The larger the entropy value, the more complex the grayscale distribution of the image, that is, the more complex the surface texture. In the measurement of the surface roughness of the ecological seawall's water-facing slope, entropy can be used to evaluate the surface roughness characteristics. The calculation formula is as follows:

[0056]

[0057] Where i and j represent the relative positions at the pixel level.

[0058] (4) Evaluation standard of the roughness of the upstream slope of ecological seawall

[0059] The present invention extracts the texture features of the seawall front slope based on the gray level co-occurrence matrix, and uses MATLAB R2022a for programming to obtain the contrast, inverse difference, and entropy of the seawall front slope surface in four directions of 0°, 45°, 90°, and 135°. Through the measurement and summary of the seawall surface texture features, an evaluation standard for the roughness of the ecological seawall front slope is obtained, as shown in the following table:

[0060]

[0061] Among them, when evaluating the roughness level of the seawall's water-facing slope, the three parameters of the seawall texture characteristics: contrast, inverse difference, and entropy must meet the corresponding grade standards at the same time; at least three of the four directional characteristic values ​​of each characteristic parameter must meet the corresponding grade standard before the seawall roughness can be classified into this evaluation grade.

[0062] Finally, it should be noted that the above description is only a preferred example of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for measuring the roughness of an ecological seawall's waterfront slope, which measures the surface texture feature value of the seawall's waterfront slope through a gray level co-occurrence matrix to obtain the roughness of the seawall's waterfront slope, characterized in that: The following steps are involved: S1. First, data acquisition is performed by using a high-definition camera mounted on a drone cloud platform to take images of the surface of the seawall's waterfront slope at a high altitude to obtain its surface texture characteristics; S2, then perform image preprocessing by performing denoising, enhancement, and equalization operations on the original seawall image; S3, then select characteristic parameters, and measure the roughness of the seawall's water-facing slope by using the gray-level co-occurrence matrix as a statistical model; S4. Finally, the texture features of the seawall front slope are extracted based on the gray-level co-occurrence matrix, and the contrast, inverse difference and entropy of the seawall front slope surface in different directions are obtained. Then, a roughness evaluation standard of the ecological seawall front slope is obtained through the measurement and summary of the seawall surface texture features. In S4, the four directions of the surface of the seawall upwelling slope include 0°, 45°, 90°, and 135° respectively; The evaluation criteria include the following: 1) The evaluation level is excellent, with contrast CON ≥ 5.05, inverse difference IDM < 0.65, and entropy ENT ≥ 3.91; 2) The evaluation level is good, with contrast 2.45≤CON<5.05, inverse difference 0.65≤IDM<0.78, and entropy 2.10≤ENT<3.91; 3) The evaluation level is poor, with contrast CON < 2.45, inverse difference IDM ≥ 0.78, and entropy ENT < 2.10; When evaluating the roughness level of the seawall's water-facing slope, the three parameters of the seawall's texture characteristics: contrast, inverse difference, and entropy, must simultaneously meet the corresponding level standards; If at least three of the four directional characteristic values ​​of each characteristic parameter reach the corresponding grade standard, the seawall roughness is classified into this evaluation grade.

2. The method for measuring the roughness of the upstream slope of an ecological seawall according to claim 1, characterized in that: The image preprocessing in S2 includes the following: 1) Convert the captured multispectral image into a grayscale image so that each pixel in the image is only related to brightness or grayscale but not to color; 2) In the extraction of surface texture features of the seawall's flood-facing slope, median filtering is used to smooth the image and reduce noise interference, making the results of grayscale matrix extraction more accurate; 3) Perform histogram equalization on the grayscale image to adjust the grayscale distribution in the image so that the pixel grayscale value distribution is more uniform, thereby achieving the effect of enhancing the image contrast and brightness; 4) Under the premise of ensuring the measurement accuracy of the roughness of the ecological seawall's waterfront slope, the grayscale image is compressed to further improve the image processing efficiency and reduce the measurement time.

3. The method for measuring the roughness of the upstream slope of an ecological seawall according to claim 1, characterized in that: S3, during the measurement process, uses multiple characteristic parameters to comprehensively evaluate the surface roughness of the seawall, and the characteristic parameters include the following: 1) Contrast reflects the grayscale difference between pixels. The larger the value, the more obvious the grayscale change of the image. In the measurement of the surface roughness of the ecological seawall's upstream slope, the contrast is used to evaluate the surface irregularity and texture complexity. The calculation formula is as follows: Among them, Ng is the gray level, i and j represent the relative position of the pixel level, and n represents the number of times the pixel pair appears. 2) Inverse gap reflects the uniformity of grayscale distribution between pixels. The larger the value, the more uniform the grayscale distribution in the image. In the measurement of the surface roughness of the ecological seawall's upstream slope, the inverse gap is used to evaluate the surface uniformity and texture complexity. The calculation formula is as follows: Among them, i and j represent the relative positions at the pixel level. 3) Entropy is the most effective characteristic parameter for evaluating the surface roughness of the seawall. It directly reflects the uniformity and complexity of the grayscale distribution of the image and evaluates the complexity of the surface texture of the seawall's water-facing slope. The larger the entropy value, the more complex the grayscale distribution of the image, that is, the more complex the surface texture. In the measurement of the surface roughness of the ecological seawall's water-facing slope, entropy is used to evaluate the surface roughness characteristics. The calculation formula is as follows: Among them, i and j represent the relative positions at the pixel level.