A beam-level enhancement method, system, device and storage medium for two-dimensional sonar imaging of underwater cylindrical structures
By performing global denoising and radial echo attenuation trend estimation on the raw beam-level echo data of 2D sonar, the problem of insufficient utilization of beam-level information in the prior art is solved, achieving efficient image enhancement of underwater cylindrical structures and improving image quality.
Patent Information
- Application Number
- CN202611270497.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-08-20
AI Technical Summary
Existing two-dimensional sonar image enhancement methods mainly rely on post-imaging pixel processing, which does not make full use of the original beam-level echo information and makes it difficult to correct the echo non-uniformity and insufficient visibility of defect details caused by the curved surface of underwater cylindrical structures.
By acquiring multiple consecutive frames of raw beam-level echo data from a two-dimensional sonar, performing global denoising, locating the target area of the underwater cylindrical structure, estimating the radial echo attenuation trend, and performing reverse compensation to reconstruct and enhance the image.
It improves background stability and boundary detection reliability, corrects echo non-uniformity caused by cylindrical curved surfaces, and enhances defect contrast and structural boundary clarity.
Smart Images

Figure CN122815439B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a beam-level enhancement method, system, device, and storage medium for two-dimensional sonar imaging of underwater cylindrical structures, belonging to the fields of underwater structure non-destructive testing, sonar imaging, and image enhancement technology. Background Technology
[0002] Underwater cylindrical structures such as bridge piers, offshore wind turbine monopiles, subsea pipelines, suction ducts, and pipe piles are widely used in ports, bridges, marine energy, and near-shore engineering. These structures are subjected to complex hydrodynamic, corrosive, biofouling, and erosion environments over long periods, making them prone to damage such as cracks, spalling, and corrosion. Therefore, regular inspection and condition assessment of underwater cylindrical structures are of significant engineering importance.
[0003] Optical detection methods can provide intuitive images, but they are prone to failure in turbid, low-light, deep water, or environments with a high concentration of suspended particles. Two-dimensional sonar imaging utilizes the propagation advantage of sound waves in water to acquire structural echo information in low-light and turbid environments, thus gradually becoming an important means of underwater structure inspection. Common two-dimensional sonars include multibeam forward-looking sonar and mechanical scanning imaging sonar. Their raw data typically consists of multiple sound beams and distance sampling points on each beam, which are then interpolated, mapped, and displayed to form a fan-shaped sonar image.
[0004] Existing sonar image enhancement methods mostly apply directly to the already formed two-dimensional sonar images, such as median filtering, nonlocal mean filtering, wavelet thresholding, BM3D, or deep learning enhancement. These methods can suppress speckle noise to some extent, but they usually ignore the physical information contained in the original beam-level echo data and are difficult to directionally correct for strong near-side reflections and weak far-side reflections caused by cylindrical surfaces.
[0005] Cylindrical and rectangular structures exhibit different echo characteristics in 2D sonar imaging. For cylindrical structures, the angle between the incident sound wave direction and the surface normal varies radially, resulting in stronger echoes in the near region and rapid attenuation in the far region. This leads to non-uniform target boundaries, blurred far boundaries, and reduced visibility of local defects. Conventional filtering of the images is insufficient to simultaneously suppress background speckle noise, correct for cylindrical surface echo non-uniformity, and preserve details of local defects. Summary of the Invention
[0006] This invention aims to address the problems of existing two-dimensional sonar image enhancement methods, which mainly rely on post-imaging pixel processing, do not fully utilize the original beam-level echo information, have difficulty correcting echo non-uniformity caused by the curved surface of underwater cylindrical structures, and have insufficient visibility of defect details. The invention provides a beam-level enhancement method, system, device, and storage medium for two-dimensional sonar imaging of underwater cylindrical structures.
[0007] To solve the above-mentioned technical problems, the present invention is implemented using the following technical solution.
[0008] In a first aspect, the present invention discloses a beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures, comprising:
[0009] Acquire multiple consecutive frames of raw beam-level echo data collected by two-dimensional sonar for an underwater cylindrical structure. The raw beam-level echo data includes multiple sound beams and echo intensity data at multiple distance sampling points corresponding to each sound beam.
[0010] Global denoising is performed on the original beam-level echo data to obtain denoised beam-level echo data;
[0011] The target region corresponding to the underwater cylindrical structure is located based on the denoised beam-level echo data, wherein the target region is defined by the near-side boundary and the far-side boundary of the underwater cylindrical structure.
[0012] Estimate the radial echo attenuation trend caused by the cylindrical surface geometry within the target region;
[0013] The echo intensity in the target area is reverse-compensated based on the radial echo attenuation trend, and the enhanced two-dimensional sonar image is reconstructed based on the compensated echo intensity.
[0014] Furthermore, the global denoising includes:
[0015] The observed echo intensity X of the k-th frame, the m-th sound beam, and the n-th distance sampling point k(m,n) Perform a logarithmic transformation to obtain Y k(m,n) Y k(m,n) =ln(X k(m,n) +epsilon), where Y k(m,n) The logarithmic domain observation echo intensity at the k-th frame, m-th sound beam, and n-th distance sampling point is given, where epsilon is a small positive number to prevent logarithmic singularities.
[0016] Using Y in multiple consecutive frames in the logarithmic domain k(m,n) The logarithm of the estimated true echo intensity;
[0017] The estimation results are subjected to an exponential transformation to obtain the denoised beam-level echo intensity.
[0018] The Y-axis in the logarithmic domain utilizes multiple consecutive frames. k(m,n) The logarithm of the estimated true echo intensity includes:
[0019] In the logarithmic domain, a recursive estimation process is established based on the logarithmic domain observed echo intensity data corresponding to the same sound beam and distance sampling position in multiple consecutive frames. During the recursive process, an adaptive gain is calculated based on the logarithmic domain observed echo intensity at the corresponding position in the current frame, the logarithmic estimation result of the true echo intensity obtained at the previous recursive time, the covariance parameter used to characterize the estimation error, and the forgetting factor used to adjust the weight of historical observations. The adaptive gain is then used to update the logarithmic estimation result of the current true echo intensity.
[0020] Furthermore, the plurality of consecutive frames includes the frame to be enhanced and adjacent frames located before and after the frame to be enhanced, and the number of adjacent frames is set according to the two-dimensional sonar imaging frame rate, platform motion speed or target relative stability.
[0021] Further, locating the proximal boundary includes:
[0022] For each sound beam, calculate the running average value before the current sampling point along the distance from the sampling point;
[0023] The echo intensity of the current sampling point is compared with the running average and the adaptive threshold. If the current sampling point meets the sudden increase judgment condition, the sampling point is determined as a candidate near-side boundary point. After the candidate near-side boundary point is detected, the adaptive threshold is increased.
[0024] Transform the candidate near-side boundary points of each sound beam from polar coordinates or sonar coordinates to two-dimensional spatial coordinates;
[0025] The candidate points transformed to two-dimensional spatial coordinates are robustly linearly fitted using a robust linear fitting method to obtain the near-side boundary.
[0026] Furthermore, locating the distal boundary includes:
[0027] Based on the linear model of the near boundary and its two endpoints, a local coordinate system aligned with the near boundary is established, wherein the direction of the near boundary is the local longitudinal direction, and the direction perpendicular to the near boundary and pointing towards the far region is the local radial direction.
[0028] In the local coordinate system, multiple path starting points are selected between the two endpoints of the near-side boundary, and multiple search paths are generated from each path starting point along the local radial direction.
[0029] Offset detection or threshold detection is performed on the denoised beam-level echo data along the search path to determine the position where the target echo transitions from the structure region to the background region.
[0030] The far boundary is obtained by fitting or combining the positions of each search path transitioning to the background region.
[0031] Furthermore, estimating the radial echo attenuation trend includes:
[0032] Along each search path, extract the echo intensity sequence within the target area between the near-side boundary position and the far-side boundary position;
[0033] The echo intensity sequence is fitted with a logarithmic domain polynomial to obtain the local attenuation curve on the search path; the order of the logarithmic domain polynomial fitting is first, second, or third, and is adaptively determined based on the fitting residual, the target region width, or the sonar signal-to-noise ratio.
[0034] The radial echo attenuation trend is obtained by averaging, weighted averaging, or robust statistical fusion of the local attenuation curves of all search paths within the target area.
[0035] Furthermore, the reverse compensation includes:
[0036] For a certain search path or a certain row in the target area, the original or denoised echo sequence s[n];
[0037] Obtain the decay trend g[n] and the mean of the decay trend g[n] within the same interval, mean(g);
[0038] According to s c [n] = s[n] + mean(g) - g[n] or its equivalent compensation form generates the compensated echo sequence s. c [n]; using s c [n] Replaces the echo intensity at the corresponding location within the target area, while retaining the background echo intensity outside the target area;
[0039] After performing reverse compensation, the compensated beam-level echo intensity is subjected to grayscale mapping, interpolation resampling, sector coordinate reconstruction, polar coordinate to rectangular coordinate mapping, or display dynamic range adjustment to form an enhanced two-dimensional sonar image.
[0040] Secondly, this invention discloses a beam-level enhancement system for two-dimensional sonar imaging of underwater cylindrical structures, comprising:
[0041] The data acquisition module is used to acquire multiple consecutive frames of raw beam-level echo data collected by the two-dimensional sonar for the underwater cylindrical structure. The raw beam-level echo data includes multiple sound beams and echo intensity data at multiple distance sampling points corresponding to each sound beam.
[0042] A global denoising module is used to perform global denoising on the original beam-level echo data to obtain denoised beam-level echo data;
[0043] The target area positioning module is used to locate the target area corresponding to the underwater cylindrical structure based on the denoised beam-level echo data, wherein the target area is defined by the near-side boundary and the far-side boundary of the underwater cylindrical structure.
[0044] An attenuation trend estimation module is used to estimate the radial echo attenuation trend caused by the cylindrical surface geometry within the target area;
[0045] The reverse compensation and reconstruction module is used to perform reverse compensation on the echo intensity in the target area according to the radial echo attenuation trend, and reconstruct the enhanced two-dimensional sonar image based on the compensated echo intensity.
[0046] Thirdly, the present invention discloses a computer-readable storage medium for storing one or more programs, said one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the method described in the first aspect.
[0047] Fourthly, the present invention discloses a computer device comprising one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the method described in the first aspect.
[0048] The beneficial effects achieved by this invention are as follows:
[0049] First, the processing object is the raw beam-level echo data rather than just the pixels after imaging, which can utilize the original physical information in the acoustic beam, distance sampling points, and continuous temporal frames. Second, speckle noise is suppressed by logarithmic domain multi-frame least squares estimation, improving background stability and boundary detection reliability. Third, compensation is limited to the target area of the cylindrical structure by locating the near and far boundaries, reducing false enhancement of the background area. Fourth, the problem of excessive near-side enhancement and far-side attenuation caused by the cylindrical surface is corrected by radial attenuation trend fitting and inverse compensation, improving defect contrast and structural boundary clarity. Fifth, the method can be deployed in underwater robots, surface inspection platforms, fixed sonar monitoring systems, or shore-based data processing terminals in software, hardware, or a combination of both. Attached Figure Description
[0050] Figure 1 This is a flowchart of the beam-level enhancement method of the present invention.
[0051] Figure 2 This is a schematic diagram of the global noise reduction results;
[0052] Figure 3 This is a schematic diagram comparing echo intensity.
[0053] Figure 4This is a schematic diagram of the process of determining the proximal boundary. Figure 4 (a) is a schematic diagram of beam-by-beam peak detection, (b) is a schematic diagram of near-side candidate boundary points of the whole beam, and (c) is a schematic diagram of near-side boundary fitting.
[0054] Figure 5 A schematic diagram of the target area location process. Figure 5 (a) is the intention for constructing the search path, (b) is a schematic diagram of the detection of the far boundary position, and (c) is a schematic diagram of the determination of the target area.
[0055] Figure 6 This is a schematic diagram of the fitting process for the decay trend. Figure 6 (a) is a schematic diagram of the decay trend fitting of a single search path, and (b) is a schematic diagram of the average radial decay trend.
[0056] Figure 7 This is a schematic diagram of local reverse compensation;
[0057] Figure 8 A schematic diagram for enhancing sonar images.
[0058] Figure 9 This is a block diagram of the beam-level enhancement system. Detailed Implementation
[0059] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.
[0060] Example 1: This example introduces a beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures.
[0061] This method uses raw two-dimensional sonar beam-level echo data as the processing object and sequentially performs steps such as global noise reduction, target area localization, attenuation trend fitting, and local reverse compensation reconstruction. Figure 1 The process outlined here summarizes the main processing links of this invention. In specific implementation, the parameters of each step can be adjusted according to the sonar type, platform motion state, and processing real-time requirements.
[0062] Acquire multiple consecutive frames of raw beam-level echo data collected by two-dimensional sonar for an underwater cylindrical structure. The raw beam-level echo data includes multiple sound beams and echo intensity data at multiple distance sampling points corresponding to each sound beam.
[0063] Global denoising is performed on the original beam-level echo data to obtain denoised beam-level echo data. Based on the denoised beam-level echo data, the target region corresponding to the underwater cylindrical structure is located, wherein the target region is defined by the near and far boundaries of the underwater cylindrical structure. The radial echo attenuation trend caused by the cylindrical surface geometry is estimated within the target region. The echo intensity within the target region is inversely compensated according to the radial echo attenuation trend, and the enhanced two-dimensional sonar image is reconstructed based on the compensated echo intensity. In this embodiment, the global denoising includes: observing the echo intensity X at the k-th frame, the m-th sound beam, and the n-th distance sampling point. k(m,n) Perform a logarithmic transformation to obtain Y k(m,n) =ln(X k(m,n) +epsilon), where Y k(m,n) For the logarithmic domain observation of the echo intensity at the k-th frame, m-th sound beam, and n-th distance sampling point, epsilon is used to prevent small positive numbers with singular logarithms; the Y values of multiple consecutive frames are used in the logarithmic domain. k(m,n) Estimate the logarithmic value of the true echo intensity; perform an exponential transformation on the estimation result to obtain the denoised beam-level echo intensity.
[0064] In this embodiment, within the logarithmic domain, a recursive estimation process is established based on the logarithmic domain observed echo intensity data corresponding to the same sound beam and distance sampling position in multiple consecutive frames. During the recursive process, the adaptive gain is updated according to the current observation value, the previous estimated value, the covariance or confidence parameter, and the forgetting factor, thereby obtaining the logarithmic estimation result of the current true echo intensity; where the current observation value refers to the logarithmic domain observed echo intensity Y at the corresponding position in the current frame. k(m,n) The previous time-instance estimate refers to the logarithmic estimate of the true echo intensity obtained in the previous recursive process, which is used to provide an initial reference for the current frame estimation; the covariance is used to characterize the uncertainty of the current estimation result and to adjust the weight of the current observation and the historical estimation results in the recursive process; the forgetting factor is used to control the degree of influence of historical observation data on the current estimation result, so that the algorithm can adaptively update according to the changes in continuous frame data; the adaptive gain is used to adjust the fusion ratio between the current observation and the historical estimation results, thereby obtaining the logarithmic estimate of the current true echo intensity.
[0065] In this embodiment, the plurality of consecutive frames include the frame to be enhanced and adjacent frames located before and after the frame to be enhanced. The number of adjacent frames is set according to the two-dimensional sonar imaging frame rate, platform motion speed, or target relative stability.
[0066] In this embodiment, locating the near-side boundary includes: for each sound beam, calculating the running average value before the current sampling point along the distance from the sampling point; comparing the echo intensity of the current sampling point with the running average value and an adaptive threshold; if the current sampling point meets the sudden increase judgment condition, determining the sampling point as a candidate near-side boundary point; converting the candidate near-side boundary points of each sound beam from polar coordinates or sonar coordinates to two-dimensional spatial coordinates; and using a robust linear fitting method to perform robust linear fitting on the converted candidate points to obtain the near-side boundary.
[0067] In this embodiment, the adaptive threshold is increased after a candidate proximal boundary point is detected to suppress repetitive peak responses within the same sound beam.
[0068] In this embodiment, the robust linear fitting method includes a random sampling consensus algorithm, which determines the near-side boundary model based on the number of interior points of candidate near-side boundary points, residuals, or a combination of both.
[0069] In this embodiment, locating the far boundary includes: establishing a local coordinate system aligned with the near boundary based on the linear model of the near boundary and its two endpoints, wherein the direction of the near boundary is the local longitudinal direction, and the direction perpendicular to the near boundary and pointing towards the far region is the local radial direction; selecting multiple path starting points between the two endpoints of the near boundary in the local coordinate system, and generating multiple search paths from each path starting point along the local radial direction; performing offset detection or threshold detection on the denoised beam-level echo data along the search paths to determine the position where the target echo transitions from the structure region to the background region; and fitting or combining the positions of each search path transitioning to the background region to obtain the far boundary.
[0070] In this embodiment, estimating the radial echo attenuation trend includes: extracting the echo intensity sequence within the target area between the near-side boundary position and the far-side boundary position along each search path; performing logarithmic domain polynomial fitting on the echo intensity sequence to obtain the local attenuation curve on the search path; and averaging, weighted averaging, or robustly statistically fusing the local attenuation curves of multiple search paths to obtain the average attenuation trend representing the overall radial attenuation characteristics of the target area.
[0071] In this embodiment, the order of the logarithmic domain polynomial fitting is first, second, or third, and is adaptively determined based on the fitting residual, the target region width, or the sonar signal-to-noise ratio.
[0072] In this embodiment, the reverse compensation includes: obtaining the attenuation trend g[n] and the mean (g) of the attenuation trend g[n] within the same interval for the original or denoised echo sequence s[n] of a certain search path or a certain row in the target area; according to s c[n] = s[n] + mean(g) - g[n] or its equivalent compensation form generates the compensated echo sequence s. c [n]; using s c [n] Replaces the echo intensity at the corresponding location within the target area, while retaining the background echo intensity outside the target area.
[0073] In this embodiment, after performing reverse compensation, the compensated beam-level echo intensity is subjected to grayscale mapping, interpolation resampling, sector coordinate reconstruction, polar coordinate to rectangular coordinate mapping, or display dynamic range adjustment to form an enhanced two-dimensional sonar image.
[0074] In this embodiment, the underwater cylindrical structure includes a bridge pier, pipe pile, monopile foundation, suction cylinder, offshore wind turbine monopile, submarine pipeline, or underwater component with a cylindrical outer surface.
[0075] In this embodiment, the two-dimensional sonar includes a multibeam forward-looking sonar or a mechanical scanning imaging sonar.
[0076] In this embodiment, the enhanced two-dimensional sonar image is used for manual interpretation or automatic identification of cracks, peeling, pits, protrusions, corrosion, erosion marks or abnormal attachments on the surface of an underwater cylindrical structure.
[0077] Example 2, based on the same inventive concept as Example 1, introduces a beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures, including:
[0078] In the global denoising stage, the original beam-level echo data collected by the two-dimensional sonar at multiple consecutive moments are acquired. The multiplicative speckle noise model is transformed into an additive noise model through logarithmic transformation. Then, in the logarithmic domain, recursive least squares, weighted least squares, or exponentially weighted least squares estimation is performed using multiple frames of echo data to obtain the globally denoised beam-level echo data.
[0079] In the target area localization stage, adaptive peak detection is first performed along the distance sampling direction of each sound beam to obtain candidate near-side boundary points; then the candidate points are transformed into two-dimensional spatial coordinates, and the near-side boundary is determined by robust linear fitting; subsequently, a local coordinate system and search path are established based on the near-side boundary, and the far-side boundary is determined by the far-side boundary position detection. The target area of the cylindrical structure is defined by the near-side boundary and the far-side boundary.
[0080] In the attenuation trend fitting and local enhancement stage, echo intensity sequences are extracted along multiple search paths within the target area. The echo attenuation trend is fitted in the logarithmic domain to obtain the single-path attenuation trend, and the attenuation trends of multiple search paths are fused to obtain the average radial attenuation trend. Based on the average radial attenuation trend, local reverse compensation is performed on the echo intensity within the target area, and then the compensated beam-level data is reconstructed into an enhanced two-dimensional sonar image.
[0081] In this embodiment, the following process is specifically included:
[0082] Two-dimensional sonar is a multibeam forward-looking sonar, and its raw echo data of the k-th frame is represented by matrix X. k The rows or columns of the matrix correspond to the beam index m, and the other dimension corresponds to the distance sampling point n. For mechanical scanning imaging sonar, echo sequences at different scanning angles can also be organized into an equivalent beam-level echo matrix according to the beam index. The following examples use a cylindrical two-dimensional sonar image as the object to be processed, and describe the global denoising, near-side boundary extraction, target region localization, attenuation trend fitting, local inverse compensation, and image reconstruction processes in sequence.
[0083] Global denoising includes selecting the frame to be enhanced and several adjacent frames before and after it to form a time window. For example, an 11-frame window containing the frame to be enhanced, the previous 5 frames, and the next 5 frames can be used; in real-time processing scenarios, a causal window containing only the current frame and historical frames can also be used.
[0084] For the original echo intensity X k(m,n) Considering the multiplicative nature of sonar speckle noise, it can be expressed as the product of the true echo intensity and the noise term. For X... k(m,n) Execute Y k(m,n) =ln(X k(m,n) After a logarithmic transformation of (+epsilon), the multiplicative noise is converted into additive noise. Then, for each position (m,n), multiple Y values are processed along the time dimension. k(m,n) Perform recursive least squares estimation or exponentially weighted least squares estimation to obtain a logarithmic domain estimate of the true echo intensity. Finally, perform an exponential transform on this estimate to obtain the globally denoised echo intensity.
[0085] like Figure 2 and Figure 3 As shown, after global denoising, the random speckle texture in the background region of the sonar image is suppressed, and the echo intensity curve extracted along a single sound beam also shows that the fluctuation in the background region is reduced; the main echo response of the target region is still preserved, thus providing a more stable input for subsequent near-side boundary detection and target region localization.
[0086] Near-side boundary determination includes: for each globally denoised sound beam signal, calculating the running average value up to the current sampling point along the distance sampling direction. When the intensity of the current sampling point exceeds the judgment condition determined by the running average value and the adaptive threshold, the sampling point is marked as a candidate near-side boundary point. To avoid repeated triggering of multiple local peaks in the same sound beam, the threshold can be increased or a suppression interval can be set after each candidate point is detected.
[0087] Candidate near-side boundary points for each sound beam are converted into two-dimensional spatial coordinates based on the sound beam angle and distance sampling interval. Since noise, local defects, and multipath reflections may cause outliers among the candidate points, a random sampling consensus algorithm or other robust fitting algorithm is used to fit the near-side boundaries. Figure 4 (a), (b), and (c) in the figure show the results of beam-by-beam peak detection, full-beam candidate boundary points, and near-side boundary fitting.
[0088] Target area localization includes: after determining the near-side boundary, establishing a local coordinate system aligned with the near-side boundary, and generating multiple search paths from the near-side boundary towards the interior or distal side of the structure. The search paths can be parallel to the transverse axis of the local coordinate system, or adjusted according to the sonar imaging geometry and the cross-sectional orientation of the cylindrical structure.
[0089] One-dimensional echo intensity sequences are extracted along each search path, and the decrease, shift, or statistical difference in echo intensity from the target area to the background area is analyzed. Sampling points that first satisfy the background statistical characteristics after the near-side boundary can be used as candidate points for the far-side boundary. Alternatively, the location of the far-side boundary can be determined by combining the mean, variance, or threshold difference between the first and second background areas. The candidate points for the far-side boundaries of multiple search paths are fitted, averaged, or smoothed to obtain the far-side boundary. Figure 5 (a), (b), and (c) in the figure illustrate the process of search path construction, far-side boundary location detection, and target region determination.
[0090] Attenuation fitting includes extracting echo intensity sequences along each search path within the target region. Since echo attenuation caused by cylindrical surfaces typically exhibits an approximately exponential or monotonic variation along the radial direction, first-, second-, or third-order polynomial fitting can be performed on the echo intensity sequences in the logarithmic domain to obtain the single-path attenuation trend along the search path. During fitting, a residual threshold can be used to eliminate obvious local abrupt changes caused by defects, preventing defect features from being mistakenly identified as attenuation trends.
[0091] The average radial decay trend of the target area is obtained by averaging, weighted averaging, median fusion, or robust statistical fusion of the single-path decay trends of multiple search paths. Figure 6 (a) and (b) in the figure show the fitting of the decay trend of a single search path and the formation process of the average radial decay trend.
[0092] Reverse compensation and image reconstruction include: for an echo sequence s[n] of a certain search path in the target region, obtaining the average radial attenuation trend g[n] and its mean (mean(g) within the same interval. This can be done according to s... c [n] = s[n] + mean(g) - g[n] generates the compensated echo sequence s c[n]. This compensation method is used to reduce excessively strong echoes on the near side and enhance weak echoes on the far side, so that the echo intensity on the surface of the cylindrical structure tends to be uniform, while preserving the characteristics of local high-gradient defects.
[0093] After compensation, the original echo intensity within the target area is replaced with the compensated echo intensity, while the background data outside the target area remains unchanged or only the global noise reduction result is used. Subsequently, based on the sonar geometry parameters, the compensated beam-level data is interpolated, grayscale mapped, and reconstructed using sector coordinates or polar coordinates to Cartesian coordinates to obtain the enhanced two-dimensional sonar image, such as... Figure 7 Local reverse compensation for the single search path shown and Figure 8 The enhanced sonar image shown.
[0094] Example 3, based on the same inventive concept as other examples, introduces a beam-level enhancement system for two-dimensional sonar imaging of underwater cylindrical structures, such as... Figure 9 As shown, it includes:
[0095] The data acquisition module is used to acquire multiple consecutive frames of raw beam-level echo data collected by the two-dimensional sonar for the underwater cylindrical structure. The raw beam-level echo data includes multiple sound beams and echo intensity data at multiple distance sampling points corresponding to each sound beam.
[0096] A global denoising module is used to perform global denoising on the original beam-level echo data to obtain denoised beam-level echo data;
[0097] The target area localization module is used to locate the target area corresponding to the underwater cylindrical structure based on the denoised beam-level echo data, wherein the target area is defined by the near-side boundary and the far-side boundary of the underwater cylindrical structure.
[0098] An attenuation trend estimation module is used to estimate the radial echo attenuation trend caused by the cylindrical surface geometry within the target area;
[0099] The reverse compensation and reconstruction module is used to perform reverse compensation on the echo intensity within the target area based on the radial echo attenuation trend, and reconstruct the enhanced two-dimensional sonar image based on the compensated echo intensity. In this embodiment, the target area localization module includes a near-side boundary extraction unit and a far-side boundary extraction unit; the near-side boundary extraction unit is used to perform adaptive peak detection under running mean constraints on each sound beam, and fit the near-side boundary using a random sampling consensus algorithm; the far-side boundary extraction unit is used to generate a search path in a local coordinate system aligned with the near-side boundary and determine the far-side boundary through echo offset detection.
[0100] In this embodiment, the reverse compensation and reconstruction module is configured to perform echo intensity compensation only within the target area defined by the near-side boundary and the far-side boundary, so as to reduce the disturbance to the statistical characteristics of the background area.
[0101] Example 4, based on the same inventive concept as other examples, describes a computer-readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the method described in Example 1.
[0102] Example 5, based on the same inventive concept as other examples, describes a computer device including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the method described in Example 2.
[0103] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0104] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0105] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0106] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0107] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures, characterized in that, include: Acquire multiple consecutive frames of raw beam-level echo data collected by two-dimensional sonar for an underwater cylindrical structure. The raw beam-level echo data includes multiple sound beams and echo intensity data at multiple distance sampling points corresponding to each sound beam. Global denoising is performed on the original beam-level echo data to obtain denoised beam-level echo data; The target region corresponding to the underwater cylindrical structure is located based on the denoised beam-level echo data, wherein the target region is defined by the near-side boundary and the far-side boundary of the underwater cylindrical structure. Estimate the radial echo attenuation trend caused by the cylindrical surface geometry within the target region; The echo intensity in the target area is reverse-compensated according to the radial echo attenuation trend, and the enhanced two-dimensional sonar image is reconstructed based on the compensated echo intensity. Locating the proximal boundary includes: For each sound beam, calculate the running average value before the current sampling point along the distance from the sampling point; The echo intensity of the current sampling point is compared with the running average and the adaptive threshold. If the current sampling point meets the sudden increase judgment condition, the sampling point is determined as a candidate near-side boundary point. After the candidate near-side boundary point is detected, the adaptive threshold is increased. Transform the candidate near-side boundary points of each sound beam from polar coordinates or sonar coordinates to two-dimensional spatial coordinates; The candidate points transformed to two-dimensional spatial coordinates are robustly linearly fitted using a robust linear fitting method to obtain the near-side boundary; Locating the distal boundary includes: Based on the linear model of the near boundary and its two endpoints, a local coordinate system aligned with the near boundary is established, wherein the direction of the near boundary is the local longitudinal direction, and the direction perpendicular to the near boundary and pointing towards the far region is the local radial direction. In the local coordinate system, multiple path starting points are selected between the two endpoints of the near-side boundary, and multiple search paths are generated from each path starting point along the local radial direction. Offset detection or threshold detection is performed on the denoised beam-level echo data along the search path to determine the position where the target echo transitions from the structure region to the background region. The far boundary is obtained by fitting or combining the positions of each search path transitioning to the background region.
2. The beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures according to claim 1, characterized in that, The global denoising includes: The observed echo intensity X of the k-th frame, the m-th sound beam, and the n-th distance sampling point k(m,n) Perform a logarithmic transformation to obtain Y k(m,n) Y k(m,n) =ln(X k(m,n) +epsilon), where Y k(m,n) The logarithmic domain observation echo intensity at the k-th frame, m-th sound beam, and n-th distance sampling point is given, where epsilon is a small positive number to prevent logarithmic singularities. Using Y in multiple consecutive frames in the logarithmic domain k(m,n) The logarithm of the estimated true echo intensity; The estimation results are subjected to an exponential transformation to obtain the denoised beam-level echo intensity. The Y-axis in the logarithmic domain utilizes multiple consecutive frames. k(m,n) The logarithm of the estimated true echo intensity includes: In the logarithmic domain, a recursive estimation process is established based on the logarithmic domain observed echo intensity data corresponding to the same sound beam and distance sampling position in multiple consecutive frames. During the recursive process, an adaptive gain is calculated based on the logarithmic domain observed echo intensity at the corresponding position in the current frame, the logarithmic estimation result of the true echo intensity obtained at the previous recursive time, the covariance parameter used to characterize the estimation error, and the forgetting factor used to adjust the weight of historical observations. The adaptive gain is then used to update the logarithmic estimation result of the current true echo intensity.
3. The beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures according to claim 1, characterized in that, The plurality of consecutive frames include the frame to be enhanced and adjacent frames located before and after the frame to be enhanced. The number of adjacent frames is set according to the two-dimensional sonar imaging frame rate, platform motion speed, or target relative stability.
4. The beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures according to claim 1, characterized in that, The estimated radial echo attenuation trend includes: Along each search path, extract the echo intensity sequence within the target area between the near-side boundary position and the far-side boundary position; The echo intensity sequence is fitted with a logarithmic domain polynomial to obtain the local attenuation curve on the search path; the order of the logarithmic domain polynomial fitting is first, second, or third, and is adaptively determined based on the fitting residual, the target region width, or the sonar signal-to-noise ratio. The radial echo attenuation trend is obtained by averaging, weighted averaging, or robust statistical fusion of the local attenuation curves of all search paths within the target area.
5. The beam-level enhancement method for two-dimensional sonar imaging of underwater cylindrical structures according to claim 1, characterized in that, The reverse compensation includes: For a certain search path or a certain row in the target area, the original or denoised echo sequence s[n]; Obtain the decay trend g[n] and the mean of the decay trend g[n] within the same interval, mean(g); According to s c [n] = s[n] + mean(g) - g[n] or its equivalent compensation form generates the compensated echo sequence s. c [n]; using s c [n] Replaces the echo intensity at the corresponding location within the target area, while retaining the background echo intensity outside the target area; After performing reverse compensation, the compensated beam-level echo intensity is subjected to grayscale mapping, interpolation resampling, sector coordinate reconstruction, polar coordinate to rectangular coordinate mapping, or display dynamic range adjustment to form an enhanced two-dimensional sonar image.
6. A beam-level enhancement system for two-dimensional sonar imaging of underwater cylindrical structures, characterized in that, include: The data acquisition module is used to acquire multiple consecutive frames of raw beam-level echo data collected by the two-dimensional sonar for the underwater cylindrical structure. The raw beam-level echo data includes multiple sound beams and echo intensity data at multiple distance sampling points corresponding to each sound beam. A global denoising module is used to perform global denoising on the original beam-level echo data to obtain denoised beam-level echo data; The target area localization module is used to locate the target area corresponding to the underwater cylindrical structure based on the denoised beam-level echo data, wherein the target area is defined by the near-side boundary and the far-side boundary of the underwater cylindrical structure. An attenuation trend estimation module is used to estimate the radial echo attenuation trend caused by the cylindrical surface geometry within the target area; The reverse compensation and reconstruction module is used to perform reverse compensation on the echo intensity in the target area according to the radial echo attenuation trend, and reconstruct the enhanced two-dimensional sonar image based on the compensated echo intensity. Locating the proximal boundary includes: For each sound beam, calculate the running average value before the current sampling point along the distance from the sampling point; The echo intensity of the current sampling point is compared with the running average and the adaptive threshold. If the current sampling point meets the sudden increase judgment condition, the sampling point is determined as a candidate near-side boundary point. After the candidate near-side boundary point is detected, the adaptive threshold is increased. Transform the candidate near-side boundary points of each sound beam from polar coordinates or sonar coordinates to two-dimensional spatial coordinates; The candidate points transformed to two-dimensional spatial coordinates are robustly linearly fitted using a robust linear fitting method to obtain the near-side boundary; Locating the distal boundary includes: Based on the linear model of the near boundary and its two endpoints, a local coordinate system aligned with the near boundary is established, wherein the direction of the near boundary is the local longitudinal direction, and the direction perpendicular to the near boundary and pointing towards the far region is the local radial direction. In the local coordinate system, multiple path starting points are selected between the two endpoints of the near-side boundary, and multiple search paths are generated from each path starting point along the local radial direction. Offset detection or threshold detection is performed on the denoised beam-level echo data along the search path to determine the position where the target echo transitions from the structure region to the background region. The far boundary is obtained by fitting or combining the positions of each search path transitioning to the background region.
7. A computer device, characterized in that, include, One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the method of any of claims 1 to 5.
8. A computer-readable storage medium for storing one or more programs, characterized in that, The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform any of the methods of claims 1 to 5.
Citation Information
Patent Citations
Fish target identification method and device based on underwater sound image
CN121559525A
Underwater route risk prediction method based on sonar matrix time sequence data
CN122568521A
