Dual-frequency real-time image fusion method and system for high-frequency sonar

By preprocessing low-frequency and high-frequency sonar images, aligning the distance axis, and fusing multi-scale features, the problem of balancing imaging distance and resolution of high-frequency sonar in complex underwater environments was solved, achieving simultaneous presentation of long-distance contours and close-range details, thus improving the overall performance of the sonar imaging system.

CN123160358APending Publication Date: 2026-11-24ZHONGKE GREAT WALL MARINE INFORMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611093797.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-22
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing high-frequency imaging sonars struggle to simultaneously achieve both imaging distance and imaging resolution in complex underwater environments. Current technical solutions suffer from problems such as large equipment size, high cost, inconsistent data, and difficulties in image stitching, making it impossible to simultaneously present long-distance contours and close-range details in the same imaging process.

Method used

By preprocessing low-frequency and high-frequency echo signals and performing digital beamforming, a sonar image containing location information is generated. After aligning the range axis, the image is divided into range levels. Based on the corresponding fusion model for each level, multi-scale feature fusion and image reconstruction are performed to generate a fused image.

Benefits of technology

It enables the simultaneous use of the long-range coverage capability of low-frequency sonar and the high-resolution imaging capability of high-frequency sonar in the same imaging process, generating fused images with a larger coverage area and more complete structural details, adapting to dynamic underwater scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160358A_ABST
    Figure CN123160358A_ABST
Patent Text Reader

Abstract

This invention provides a method and system for dual-frequency real-time image fusion for high-frequency sonar, belonging to the field of sonar imaging technology. The method includes: performing preprocessing and digital beamforming processing on synchronously acquired low-frequency and high-frequency echo signals respectively to generate low-frequency and high-frequency sonar images containing location information; performing range axis alignment processing on the read range coordinates and constructing range determination data; dividing each pixel into multiple range levels based on the range determination data, and matching corresponding fusion models based on different range levels, performing pixel fusion processing on each range level based on each fusion model to obtain fusion feature data; and performing image reconstruction processing on the fusion feature data to output fused image data. This invention achieves simultaneous maintenance of structural continuity and detail clarity in imaging across different ranges, thereby obtaining seamless and scale-consistent dual-frequency fused sonar images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of sonar imaging technology, and more specifically to a dual-frequency real-time image fusion method and system for high-frequency sonar. Background Technology

[0002] High-frequency imaging sonar is widely used in underwater detection, underwater operation assistance, and underwater target identification, and is an important means of visualizing the underwater environment. However, in complex underwater environments, existing high-frequency imaging sonar generally faces a fundamental limitation: single-frequency sonar cannot simultaneously achieve both imaging range and imaging resolution.

[0003] Generally, low-frequency sonar (e.g., 200 kHz to 600 kHz) can maintain stable echoes over long distances due to its longer wavelength and slower attenuation in water, making it suitable for large-scale searches and environmental profiling. However, the inherent resolution limitations of low-frequency sonar make it difficult to render fine structural features, failing to meet the needs of close-range fine identification. In contrast, high-frequency sonar (e.g., 800 kHz to 2 MHz and above) can obtain detailed images at centimeter-level or even higher resolution, but high-frequency sound waves attenuate rapidly in water, significantly shortening the usable imaging distance, typically only covering an area of ​​tens of meters.

[0004] To overcome the limitations of single-frequency sonar, various solutions have been proposed in existing technologies. For example, manually switching between low-frequency and high-frequency imaging modes allows for the acquisition of wide-area and detailed images at different distances. However, this method requires operators to repeatedly adjust imaging parameters during operation, lacking continuity and real-time capability, and making it difficult to adapt to dynamic scenarios. Another approach involves using two independent sonar systems to achieve parallel acquisition of low-frequency and high-frequency data. However, this approach introduces problems such as increased equipment size, complex deployment, higher costs, and registration difficulties due to inconsistent data timelines. Furthermore, some technologies attempt to spatially combine images obtained from different frequency sonars through image stitching. However, due to significant differences between low-frequency and high-frequency images in terms of scale characteristics, texture details, and signal-to-noise ratio, direct stitching often produces noticeable seams and structural distortions, making it difficult to form continuous and reliable imaging results.

[0005] In summary, current sonar imaging technologies still lack a solution that can simultaneously utilize the long-range coverage capability of low-frequency sonar and the high-resolution imaging capability of high-frequency sonar within a unified imaging system. This makes it impossible to simultaneously capture both long-range contours and close-range details in a single imaging process. Therefore, a novel sonar image fusion method for complex underwater environments is urgently needed to achieve coordinated utilization of sonar data from different frequencies within the same imaging process, obtaining imaging results with wider coverage and more complete structural details. Summary of the Invention

[0006] The purpose of this invention is to provide a dual-frequency real-time image fusion method and system for high-frequency sonar, so as to at least solve the problem that the low-frequency imaging range and high-frequency imaging resolution cannot be simultaneously satisfied in the same imaging process in existing sonar imaging.

[0007] To achieve the above objectives, a first aspect of the present invention provides a dual-frequency real-time image fusion method for high-frequency sonar, the method comprising: performing preprocessing and digital beamforming processing on synchronously acquired low-frequency echo signals and high-frequency echo signals respectively to generate low-frequency sonar images and high-frequency sonar images containing location information; reading the distance coordinates of each pixel from the low-frequency sonar images and the high-frequency sonar images, performing distance axis alignment processing on the read distance coordinates and constructing distance determination data; dividing each pixel into multiple distance levels according to the distance determination data, and matching corresponding fusion models based on different distance levels, performing pixel fusion processing on each distance level based on each fusion model to obtain fusion feature data; and performing image reconstruction processing on the fusion feature data to output fused image data.

[0008] Optionally, the rules for preprocessing the synchronously acquired low-frequency echo signals and high-frequency echo signals are as follows: DC drift removal processing, gain adjustment processing, bandpass filtering processing, and digitization processing are performed sequentially on the low-frequency echo signals and the high-frequency echo signals to obtain low-frequency digital echo data and high-frequency digital echo data, respectively.

[0009] Optionally, the generation rules for low-frequency sonar images and high-frequency sonar images containing location information are as follows: Directional weighting processing is performed on the low-frequency digital echo data and high-frequency digital echo data according to the array element arrangement order, so as to apply weighting factors for forming different pointing angles to the low-frequency digital echo data and high-frequency digital echo data corresponding to each array element; time delay compensation processing is performed on the weighted low-frequency digital echo data and weighted high-frequency digital echo data respectively; energy estimation processing is performed on the compensated low-frequency digital echo data and compensated high-frequency digital echo data respectively to obtain amplitude information of corresponding angles and corresponding distances; the amplitude information of low-frequency digital echo data and high-frequency digital echo data are mapped into two-dimensional images according to angular coordinates and distance coordinates respectively, so as to generate low-frequency sonar images and high-frequency sonar images containing location information respectively.

[0010] Optionally, the distance coordinates of each pixel are read from the low-frequency sonar image and the high-frequency sonar image, and distance axis alignment processing is performed on the read distance coordinates to construct distance determination data, including: extracting the corresponding distance coordinates from the pixels of the low-frequency sonar image and the pixels of the high-frequency sonar image respectively; performing distance axis alignment processing on the distance coordinates of the low-frequency sonar image and the distance coordinates of the high-frequency sonar image according to a uniform distance sampling interval; and combining the aligned low-frequency sonar image distance coordinates and the aligned high-frequency sonar image distance coordinates to generate distance determination data for characterizing pixel spatial depth.

[0011] Optionally, each pixel is divided into multiple distance levels based on the distance determination data, including: determining the distance value corresponding to each pixel based on the aligned distance determination data; determining the distance level to which the low-frequency sonar image pixels and high-frequency sonar image pixels belong according to the preset distance interval for representing long distance, the preset distance interval for representing medium distance, and the preset distance interval for representing short distance, so as to form a set of long-distance pixels, a set of medium-distance pixels, and a set of short-distance pixels.

[0012] Optionally, the fusion model is matched based on different distance levels, including: configuring the fusion model for processing the far-distance pixel set to generate fusion feature data of far-distance pixels using pixel values ​​from low-frequency sonar images; configuring the fusion model for processing the mid-distance pixel set to extract multi-scale feature information of corresponding pixels from low-frequency sonar images and high-frequency sonar images respectively, and inputting the extracted multi-scale feature information into a multi-scale pyramid constructed from low-frequency sonar images and high-frequency sonar images to perform layer-by-layer fusion processing to generate fusion feature data of mid-distance pixels; and configuring the fusion model for processing the near-distance pixel set to generate fusion feature data of near-distance pixels using pixel values ​​from high-frequency sonar images.

[0013] Optionally, the construction rules for the multi-scale pyramid are as follows: A low-frequency Gaussian pyramid image sequence and a high-frequency Gaussian pyramid image sequence containing multiple scale levels are constructed based on low-frequency sonar images and high-frequency sonar images, respectively; a low-frequency Laplacian pyramid image sequence is constructed using the difference between the low-frequency Gaussian pyramid image at each scale level and the upsampled predicted low-frequency Gaussian pyramid image at the previous scale level; a high-frequency Laplacian pyramid image sequence is constructed using the difference between the high-frequency Gaussian pyramid image at each scale level and the upsampled predicted high-frequency Gaussian pyramid image at the previous scale level; a masked Gaussian pyramid image sequence is constructed, and using each scale level of the masked Gaussian pyramid image sequence as weights, a layer-by-layer fusion process is performed on the corresponding scale levels of the low-frequency and high-frequency Laplacian pyramid image sequences to generate a multi-scale pyramid for image reconstruction.

[0014] Optionally, image reconstruction processing is performed on the fused feature data to output fused image data, including: using the highest-scale pyramid image in the multi-scale pyramid image sequence as the initial reconstructed image data; performing upsampling and pixel summing processing sequentially on each scale level in the multi-scale pyramid image sequence (excluding the highest scale level) in descending order of scale to update the initial reconstructed image data; traversing all scale levels of the multi-scale pyramid image sequence and completing the corresponding upsampling and pixel summing processing, and outputting the final reconstructed image data as the fused image data.

[0015] A second aspect of the present invention provides a dual-frequency real-time image fusion system for high-frequency sonar, the system comprising: an acquisition unit, configured to perform preprocessing and digital beamforming processing on synchronously acquired low-frequency echo signals and high-frequency echo signals respectively, to generate low-frequency sonar images and high-frequency sonar images containing location information; a processing unit, configured to read the distance coordinates of each pixel from the low-frequency sonar images and the high-frequency sonar images, perform distance axis alignment processing on the read distance coordinates, and construct distance determination data; a fusion unit, configured to divide each pixel into multiple distance levels according to the distance determination data, and match corresponding fusion models based on different distance levels, so as to perform pixel fusion processing on each distance level according to each fusion model to obtain fusion feature data; and an output unit, configured to perform image reconstruction processing on the fusion feature data to output fused image data.

[0016] On the other hand, the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the above-described dual-frequency real-time image fusion method for high-frequency sonar.

[0017] Through the above technical solution, this invention enables low-frequency and high-frequency sonar images to form a fusionable data foundation within the same imaging process via a continuous data processing chain. First, after preprocessing and digital beamforming, the low-frequency and high-frequency echo signals are respectively generated into sonar images with angle and distance coordinates, ensuring consistency in spatial representation between the two types of images. Then, the distance coordinates of each pixel are extracted from the two sonar images, and a unified distance benchmark is established through distance axis alignment, thereby achieving a correspondence between the two types of images in the distance dimension. Based on the aligned distance determination data, the scene is divided into multiple distance levels, and a matching fusion model is selected for each distance level. Low-frequency information is prioritized for distant areas, multi-scale feature fusion is used for mid-range areas, and high-frequency information is used for near-range areas. The fusion feature data generated by different fusion models are then integrated into a continuous fused image through image reconstruction, allowing distant contours and near details to be presented in the same imaging result.

[0018] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0019] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart of the steps of a dual-frequency real-time image fusion method for high-frequency sonar provided by one embodiment of the present invention; Figure 2 This is a flowchart of step S30 of a dual-frequency real-time image fusion method for high-frequency sonar provided in one embodiment of the present invention. Figure 3 This is a flowchart illustrating the execution process of a dual-frequency real-time image fusion method for high-frequency sonar provided in one embodiment of the present invention. Figure 4 This is a comparison image of image fusion effect provided by one embodiment of the present invention; Figure 5 This is a system structure diagram of a dual-frequency real-time image fusion system for high-frequency sonar provided in one embodiment of the present invention; Figure 6 This is an internal structural diagram of a computer device provided in one embodiment of the present invention. Detailed Implementation

[0020] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0021] like Figure 1 As shown, embodiments of the present invention provide a dual-frequency real-time image fusion method for high-frequency sonar, the method comprising: Step S10: Perform preprocessing and digital beamforming processing on the synchronously acquired low-frequency echo signal and high-frequency echo signal respectively to generate low-frequency sonar image and high-frequency sonar image containing location information.

[0022] Specifically, the rules for preprocessing the synchronously acquired low-frequency echo signals and high-frequency echo signals are as follows: DC drift removal processing, gain adjustment processing, bandpass filtering processing, and digitization processing are performed sequentially on the low-frequency echo signals and the high-frequency echo signals to obtain low-frequency digital echo data and high-frequency digital echo data, respectively.

[0023] Furthermore, the generation rules for low-frequency and high-frequency sonar images containing location information are as follows: Directional weighting processing is performed on the low-frequency and high-frequency digital echo data according to the array element arrangement order, to apply weighting factors for forming different pointing angles to the low-frequency and high-frequency digital echo data corresponding to each array element; time delay compensation processing is performed on the weighted low-frequency and high-frequency digital echo data respectively; energy estimation processing is performed on the compensated low-frequency and high-frequency digital echo data respectively to obtain amplitude information for the corresponding angle and distance; the amplitude information of the low-frequency and high-frequency digital echo data is mapped into two-dimensional images according to angular and distance coordinates respectively, to generate low-frequency and high-frequency sonar images containing location information respectively.

[0024] In this embodiment of the invention, the goal of preprocessing is to normalize the analog signals received by the sonar array into clearly structured, noise-controlled digital data. Performing the same process on both low-frequency and high-frequency echo signals helps maintain data structure consistency. Here, the preprocessing sequence includes DC drift removal, gain adjustment, bandpass filtering, and digitization. DC drift removal is mainly used to eliminate the slow offset that occurs at the array front end during sampling. Gain adjustment adjusts the signal amplitude according to the target distance or environmental noise conditions to prevent excessive compression or saturation in subsequent processing. The role of bandpass filtering is more intuitive; it is used to limit the signal frequency band so that the digitization stage is not occupied by irrelevant noise. Digitization converts the waveform into a computable digital quantity and provides a unified data format for subsequent beamforming. After this series of normalization actions, clearly structured low-frequency and high-frequency digital echo data can be obtained.

[0025] After preprocessing, the next step is to generate sonar images containing angle and range information. Digital beamforming plays a crucial role here because sonar array imaging relies on time and amplitude differences between elements. The processing flow generally follows a fixed sequence.

[0026] First, the low-frequency and high-frequency digital echo data are directionally weighted according to the array element order, assigning weights to each element's data to form a specific pointing angle. The design of these weights directly affects the angle resolution, and therefore is typically set based on the array's physical structure and the target application frequency band. Next, time delay compensation is performed on the weighted data to ensure that echoes from the same angular direction are aligned on the time axis. Time delay compensation is sensitive to the sound velocity model, and typically employs a fixed sound velocity or a layered sound velocity model depending on the water conditions. The compensated data more closely approximates the geometric alignment, laying the foundation for energy estimation.

[0027] The energy estimation step converts time-series data into spatial amplitudes. The processing method employs envelope extraction or power estimation, adjusted appropriately based on actual sonar parameters. Low-frequency digital echo data, after energy estimation, forms a low-frequency amplitude distribution, while high-frequency digital echo data forms a high-frequency amplitude distribution. Finally, these two amplitude distributions are mapped into a two-dimensional image using angular and distance coordinates. The mapping process does not involve complex computations but requires a consistent coordinate system to avoid geometric errors in subsequent fusion. After mapping, both low-frequency and high-frequency sonar images containing location information are obtained, providing the basic input for subsequent distance determination and pyramid fusion.

[0028] In one specific implementation, a synchronization signal is emitted, and the sonar array sequentially transmits a low-frequency pulse and a high-frequency pulse. The purpose is to ensure that the acquired low-frequency and high-frequency data originate from the same scene at the same time, providing a spatiotemporal consistency basis for subsequent fusion. The receiver receives the low-frequency and high-frequency echo signals reflected from the target and performs preprocessing such as amplification, filtering, and digitization on both signals. This step aims to eliminate noise interference and convert the analog signals into computationally usable digital signals. Using a digital beamforming algorithm, the low-frequency and high-frequency digital signals are processed separately to generate two independent acoustic images: a low-frequency image and a high-frequency image. The goal is to convert the echo signals into two-dimensional images containing angle and distance information.

[0029] Step S20: Read the distance coordinates of each pixel from the low-frequency sonar image and the high-frequency sonar image, perform distance axis alignment processing on the read distance coordinates, and construct distance determination data.

[0030] Specifically, the corresponding distance coordinates are extracted from the pixels of the low-frequency sonar image and the pixels of the high-frequency sonar image respectively; the distance coordinates of the low-frequency sonar image and the high-frequency sonar image are aligned according to a uniform distance sampling interval; and the aligned distance coordinates of the low-frequency sonar image and the aligned distance coordinates of the high-frequency sonar image are combined to generate distance determination data for characterizing the spatial depth of the pixels.

[0031] In this embodiment of the invention, distance information is the most fundamental reference in the dual-frequency fusion process; therefore, it is necessary to extract clear distance coordinates from the two sonar images first. The reading process must ensure that the data from both frequencies are expressed within the same distance system, which is crucial for the stability of subsequent fusion. The pixels of the low-frequency and high-frequency sonar images may not be completely identical in their storage structures, so it is usually necessary to read the pixel distance coordinates of the two images separately and then process them in an independent channel. The purpose of this is to bring both images back to a comparable spatial scale.

[0032] The range sampling interval is typically determined by the sonar system's sampling rate and sound velocity model, which is not naturally consistent across different frequencies. Therefore, it's necessary to discretize the two range coordinate sets according to a uniform range sampling interval, ensuring that the range axis of the low-frequency sonar image and the range axis of the high-frequency sonar image exhibit the same scale order. Alignment can be achieved through interpolation or simple resampling, depending on the image size and echo distribution. Crucially, the points where the low-frequency and high-frequency range coordinates fall on the coordinate axes must remain consistent; otherwise, pixel-level fusion is prone to mismatches.

[0033] After aligning the distance axes, the two sets of distance coordinates are combined into a new set of data to describe the spatial depth state of each pixel. The combination method involves pairing the aligned distance coordinates according to pixel index or spatial location to form distance determination data used to determine pixel depth ranges. This distance determination data does not alter the original image content but provides a basis for subsequent distance classification and fusion model selection. Through this series of steps, the original dual-frequency sonar image is transformed into basic data with consistent distance descriptions, making pixels of different frequencies comparable in spatial dimensions.

[0034] Step S30: Divide each pixel into multiple distance levels based on the distance determination data, and match the corresponding fusion model based on different distance levels, so as to perform pixel fusion processing for each distance level based on each fusion model to obtain fusion feature data.

[0035] Specifically, distance determination data serves as the basis for partitioning in the dual-frequency fusion process. The partitioning method relies on the continuous distribution of spatial depth, classifying pixels into long-range, medium-range, and short-range intervals. This classification ensures that data with different physical characteristics are processed under appropriate models. Low-frequency sonar has relatively stable coverage in the long-range interval, while high-frequency sonar possesses richer details in the short-range interval. Therefore, selecting different fusion models based on distance levels better aligns with the distribution patterns of sonar characteristics. This invention's solution performs differentiated pixel fusion based on different distance levels, effectively overcoming the inherent limitations of single-frequency sonar. It achieves "seeing far and seeing clearly" within a single system, significantly improving the overall performance and value of the equipment.

[0036] After determining the different distance levels, a corresponding fusion model is matched for each level. Pixels in the far-distance region are typically processed using a method that prioritizes low-frequency information; mid-distance regions use feature-level fusion that simultaneously considers structure and detail; and near-distance regions are predominantly weighted by high-frequency information. Through this partitioned fusion strategy, each pixel can be processed in a model that approximates its physical strengths. Finally, the fusion results generated at each level are organized into fusion feature data within the same data structure, providing a stable foundation for subsequent image reconstruction. Specifically, such as... Figure 2 Step S30 includes the following steps: Step S301: Divide each pixel into multiple distance levels based on the distance determination data.

[0037] Specifically, the distance value corresponding to each pixel is determined based on the aligned distance determination data; the distance level to which the low-frequency sonar image pixels and high-frequency sonar image pixels belong is determined according to the preset distance intervals used to represent long distance, the preset distance intervals used to represent medium distance, and the preset distance intervals used to represent short distance, so as to form a set of long-distance pixels, a set of medium-distance pixels, and a set of short-distance pixels.

[0038] In this embodiment of the invention, the aligned distance determination data has established a unified scale, so there will be no scale deviation when reading the distance. The reading operation needs to ensure that low-frequency sonar image pixels and high-frequency sonar image pixels are processed under the same rules. The purpose of this is to ensure that pixels of different frequencies have a consistent reference in the depth dimension.

[0039] After distance reading is completed, pixels are categorized into three levels according to preset distance ranges. The long-range range generally covers large-scale scenes; the signal structure in this region is relatively stable, but high-frequency content is often insufficient. The mid-range range is where both types of sonar operate; this section is slightly sensitive because changes in distance affect the usable range of high-frequency data. The short-range range is mainly used to capture details, where high-frequency sonar images have a significant advantage. The specific values ​​of the preset ranges are set according to application conditions, but the boundaries between the three ranges will remain clear.

[0040] When determining the pixel classification level, both low-frequency and high-frequency sonar image pixels use the same classification rule. The classification level is determined by comparing the distance value of each pixel with the interval boundary. Through this step, the sets of far-range, mid-range, and near-range pixels are organized separately, establishing the basic data structure for selecting a suitable fusion model later.

[0041] Step S302: Match the corresponding fusion model based on different distance levels.

[0042] Specifically, the fusion model for processing long-range pixel sets is configured to generate fusion feature data for long-range pixels using pixel values ​​from low-frequency sonar images; the fusion model for processing mid-range pixel sets is configured to extract multi-scale feature information of corresponding pixels from low-frequency and high-frequency sonar images respectively, and input the extracted multi-scale feature information into a multi-scale pyramid constructed from low-frequency and high-frequency sonar images to perform layer-by-layer fusion processing to generate fusion feature data for mid-range pixels; and the fusion model for processing short-range pixel sets is configured to generate fusion feature data for short-range pixels using pixel values ​​from high-frequency sonar images.

[0043] In this embodiment of the invention, after distance classification is completed, the fusion process enters the model matching stage. The task of this stage is to find suitable processing methods for different distance levels, ensuring that each type of pixel maintains a relatively stable performance in its corresponding model. The matching rules need to closely adhere to the physical characteristics of the sonar; otherwise, the fusion result may suffer from structural distortion or loss of detail. Typically, the three distance levels are mapped to three different models, each emphasizing different processing aspects.

[0044] In sonar image fusion, based on the principle of frequency and distance adaptability, a propagation loss model can be relied upon ( Where TL represents the propagation loss, Indicates the transmission distance. (The absorption coefficient is frequency-dependent, and attenuation is faster at higher frequencies) and the sonar equations ( EE, SL, TL, TS, NL, DI, and DT represent echo margin, source level, propagation loss, target intensity, marine ambient noise level, directivity index, and detection domain, respectively. The maximum detection range is calculated by solving for the echo margin when it is zero. (Maximum detection range at high frequencies) and (Maximum detection distance at low frequencies) indicates that the absorption coefficient is smaller at low frequencies, resulting in greater detection range. (significantly greater than high frequency) Based on the characteristics of ), three types of imaging intervals can be divided: when the detection distance R meets the near-field condition (such as... D is the sonar aperture. When λ is the wavelength, c is the speed of sound, and f represents the frequency, sound wave diffraction causes beam directivity distortion. Therefore, in the near-field avoidance range (where λ is the wavelength, c is the speed of sound, and f is the frequency), sound wave diffraction causes beam directivity distortion. , High-frequency imaging is used to achieve high resolution by taking advantage of its short wavelength (minimum effective detection distance for high frequency); when When high frequencies attenuate to ineffectiveness, low-frequency imaging is used instead. Although low-frequency resolution is lower, its long wavelength ensures long-range detection coverage. When both high and low frequencies are effective, the system enters the fusion range. Within this range, low-frequency echoes ensure wide-area coverage, while high-frequency echoes supplement detailed features. Data fusion achieves complementary "detection-resolution" performance. The fusion range boundary needs to be dynamically calibrated based on the scene: shallow seas with multiple interfaces exacerbate high-frequency attenuation, requiring a reduction in the upper limit of the fusion range (e.g., ...). From 300m to 200m); the sound velocity in the deep sea is stable, absorption and attenuation are uniform, and low frequencies propagate further, which can increase the upper limit (e.g., (Adjusted to 350m); small targets (such as pipelines and reefs) rely on high-frequency details, so the fusion range is narrowed to focus on high frequencies; large targets (such as shipwrecks and reefs) emphasize low-frequency coverage, so the range is expanded to focus on low frequencies. In summary, the distance division in sonar image fusion is essentially a synergistic optimization of frequency, distance, and performance, which is quantitatively solved through propagation loss and sonar equations. and By defining the near-field, high-frequency dominant, low-frequency dominant, and fusion ranges, and dynamically adjusting the boundaries in conjunction with the environment and target, the optimal balance of "detection capability - detail resolution" across the entire range is ultimately achieved, providing a theoretical basis and engineering implementation path for multi-frequency fusion imaging of high-performance side-scan sonar.

[0045] In sonar system design, frequency characteristics have a decisive influence on the selection of detection range and imaging mode. Based on typical operating parameters at low frequencies of 200kHz and high frequencies of 800kHz, the wavelength formula... (Speed ​​of sound) From this, we can obtain the wavelength corresponding to 200kHz. 800kHz corresponds to a wavelength According to the Fisher–Simmons absorption coefficient model, the absorption coefficient at low frequencies can be found in the table. Smaller (slower attenuation), absorption coefficient at high frequencies Significantly increased (rapid decay), typical values ​​are approximately (200kHz) and (800kHz). Based on this, a propagation loss model is established. And substitute it into the sonar equation The source level (SL) is set to 185 dB, target intensity (TS) to -20 dB, ambient noise (NL) to 35 dB, directivity index (DI) to 20 dB, and detection threshold (DT) to 40 dB. The maximum detection distance is obtained when EE = 0. Fixing the remaining parameters, the low-frequency range can be calculated. The maximum propagation distance is approximately 180m, at high frequencies. The value below is 71m. This is based on the near-field / far-field discrimination criterion. (D is the sonar aperture), taking D=1m, the near-field distance is calculated to be 33m. Based on this, an imaging mode zoning strategy can be formulated: when The near-field effect is significant, so high-frequency imaging is used to obtain high-resolution details; when High-frequency attenuation caused detection failure, so a switch to low-frequency imaging was made to ensure long-range coverage; while... Within this range, both high- and low-frequency echoes are effective, making fusion imaging suitable. Low-frequency echoes ensure detection continuity, while high-frequency echoes supplement spatial details, thus achieving optimal performance balance across the entire range. Based on this specific embodiment, the corresponding range level under the above frequency conditions can be considered as follows: For long distances; For medium distance; For close-range measurements, all units are meters. Of course, the specific distance levels here are merely examples and not definitive; different distance levels can be defined under different frequency, performance requirements, and other conditions.

[0046] Fusion models for long-range pixel sets tend to favor low-frequency sonar images because they offer more reliable coverage in distant regions. High-frequency sonar images generally have poor signal-to-noise ratios in these areas, making them difficult to provide usable information. Therefore, when processing long-range pixel sets, fusion models typically only use pixel values ​​from low-frequency sonar images to construct fusion feature data for distant regions in a more direct way. The design philosophy of these models is relatively simple: to maintain the continuity of the long-range structure and prevent invalid high-frequency content from interfering with the overall image.

[0047] Processing mid-range pixel sets is more complex. The mid-range region often lies at the boundary between low-frequency and high-frequency sonar images, both types of images possessing value within this range. To avoid missing structural information and over-reliance on high-frequency details, the model typically extracts multi-scale feature information from both images simultaneously. These features include low-scale structure, higher-scale texture, and finer-level local variations. The extracted multi-scale features are then fed into a multi-scale pyramid constructed from both low-frequency and high-frequency sonar images for layer-by-layer processing to generate fused feature data for the mid-range region. The model configuration emphasizes a balance between structural stability and detail richness, thus the involvement of multi-scale information is essential.

[0048] Models using near-field pixel sets tend to favor high-frequency sonar images. The echo energy in the near-field region is higher, and high-frequency sonar images exhibit significantly more local features than low-frequency sonar images. To preserve these details, fusion models typically use pixel values ​​from the high-frequency sonar image directly as the fusion feature data for the near-field region. This configuration maintains high integrity in texture and detail representation in near-field images, avoiding the interference of coarse features present in low-frequency sonar images in this range.

[0049] Overall, the model matching rules at different distance levels exhibit a clear division of labor. Long distances rely on low frequencies, short distances on high frequencies, and medium distances employ a multi-scale structure to build bridges, enabling a coherent transformation relationship among the three pixel types during the fusion stage. This stage configuration provides a structurally sound feature foundation for subsequent image reconstruction.

[0050] Step S303: Perform pixel fusion processing at each distance level based on each fusion model to obtain fusion feature data.

[0051] Specifically, pixel fusion revolves around different distance levels, so the processing steps can be logically divided into three independent processing paths. Each path relies on the distance set established in the previous stage. This dependency makes the fusion process more targeted in spatial distribution, preventing disordered mixing of the results. While each path has its own methodological characteristics, they all point to the same goal: providing structurally consistent fusion feature data for subsequent image reconstruction stages.

[0052] The fusion of distant pixel sets is the most straightforward. Distant regions typically lack stable information from high-frequency sonar images; the echoes from high-frequency sonar images attenuate strongly at this distance, and noise distribution is more scattered. Due to these characteristics, fusion models tend to use pixel values ​​from low-frequency sonar images as the base data. The processing method is often simple but necessary; low-frequency sonar images maintain good continuity in distant regions, preserving large-scale outlines of targets across a wide structural range. Fusion models do not perform complex calculations in this region because complex processing does not provide additional detail gain. The resulting set of distant fused feature data usually exhibits a large-scale distribution structure, facilitating spatial stitching with near- and mid-range regions during the reconstruction stage.

[0053] The processing of near-range pixel sets relies more heavily on high-frequency sonar images. The near-range region offers the most advantageous conditions for high-frequency sonar images: clear details, sufficient energy, and rich local features. In this segment, high-frequency sonar images typically express target edges, fine textures, and interface contours better than low-frequency sonar images. Therefore, fusion models primarily use pixel values ​​from high-frequency sonar images as near-range fusion feature data and avoid referencing information from low-frequency sonar images to prevent the blurred structure exhibited by low-frequency sonar images at near range from affecting detail rendering. Although the processing method is simple, it is still necessary to ensure consistency in the output format of different pixel sets so that the three types of fusion feature data can be successfully stitched together during the reconstruction stage.

[0054] When processing mid-range pixel sets, the model strategy changes. The mid-range region often lies at the intersection of two types of sonar information. Low-frequency sonar images still retain structural information in this segment, while high-frequency sonar images begin to provide usable texture data. To avoid bias towards one type of feature, the fusion model typically needs to extract multi-scale feature information from both types of images. Multi-scale features include low-scale contours, mid-scale textures, and higher-level local details. After feature extraction, a multi-scale pyramid structure is used for layer-by-layer processing. The pyramid structure unfolds the image at different spatial resolutions, allowing the fusion process to adjust the information proportion according to distance levels. This approach is common in the mid-range region because of its higher information complexity, and the pyramid structure makes the fusion process more flexible, neither overly relying on low frequencies nor allowing abrupt texture changes in high-frequency details. After layer-by-layer fusion, a set of mid-range fused feature data with high coherence in texture and structure is obtained.

[0055] In one specific implementation, the construction rules for the multi-scale pyramid are as follows: Low-frequency Gaussian pyramid image sequences and high-frequency Gaussian pyramid image sequences containing multiple scale levels are constructed based on low-frequency sonar images and high-frequency sonar images, respectively; a low-frequency Laplacian pyramid image sequence is constructed using the difference between each scale level's low-frequency Gaussian pyramid image and its upsampled predicted low-frequency Gaussian pyramid image at the previous scale level; a high-frequency Laplacian pyramid image sequence is constructed using the difference between each scale level's high-frequency Gaussian pyramid image and its upsampled predicted high-frequency Gaussian pyramid image at the previous scale level; a masked Gaussian pyramid image sequence is constructed, and using each scale level of the masked Gaussian pyramid image sequence as weights, a layer-by-layer fusion process is performed on the corresponding scale levels of the low-frequency and high-frequency Laplacian pyramid image sequences to generate a multi-scale pyramid for image reconstruction.

[0056] In this embodiment of the invention, the construction of the multi-scale pyramid begins with the most basic Gaussian pyramid. Therefore, the same set of scale decomposition rules is applied to both low-frequency and high-frequency sonar images. The Gaussian pyramid mainly establishes scale hierarchies through continuous downsampling, enabling the image to express structural changes at different spatial scales. Each layer originates from the blurring and reduction of the previous layer. This hierarchical structure allows subsequent fusion to be performed in a more flexible scale space. Both low-frequency and high-frequency sonar images require the construction of complete Gaussian sequences to ensure accurate scale correspondence during subsequent processing.

[0057] After completing the Gaussian sequence, a Laplacian pyramid is typically generated based on these levels. The basic idea of ​​the Laplacian pyramid is to capture the detailed changes between different scales, thus requiring the calculation of differences between adjacent scales. The difference is generally generated by first upsampling the Gaussian image of the previous scale to match its size to the current layer, and then performing pixel-wise difference calculations between it and the Gaussian image of the current layer. Low-frequency sonar images use this method to generate low-frequency Laplacian pyramids, while high-frequency sonar images generate high-frequency Laplacian pyramids. In this way, the two pyramids can record structural and detailed changes at different frequencies.

[0058] The mask pyramid plays a weighting role in the fusion process, so a corresponding Gaussian sequence also needs to be constructed. Each scale level of the mask pyramid participates as a weight in subsequent layer-by-layer fusion, used to adjust the relative contributions of the low-frequency and high-frequency Laplacian pyramids at each scale. The construction method is consistent with that of the image Gaussian pyramid to maintain scale alignment.

[0059] After obtaining the three types of pyramids, the fusion process performs layer-by-layer matching on the low-frequency and high-frequency Laplacian pyramids. The Laplacian images at corresponding scales are fused using values ​​from the same scale level of the mask pyramid as weights. Low-frequency information has a higher proportion in large-scale regions, while high-frequency information is more advantageous in small-scale regions. The mask, through its smoothing layers, allows for a natural scale transition between the two types of data. This hierarchical fusion yields a set of multi-scale pyramids for image reconstruction, providing a stable feature foundation for the final fused image. Specifically, this includes: 1) Construction of the Pyramid of Gauss: assuming a level 0 For the original image, for the current layer Apply Gaussian blur. Downsample the blurred image (e.g., halve its width and height) to obtain... This process is repeated until the image size is small enough to obtain low-frequency information about the image at different scales. This includes: Used for low-frequency images; Used for high-frequency images; Used for masking. The three types of Gaussian pyramid image sequences play different roles in subsequent processing: low-frequency sequences are used to provide large-scale structural information, high-frequency sequences are used to preserve local detail changes, and mask sequences serve as weight benchmarks during layer-by-layer fusion, enabling Laplacian layers of different frequencies to achieve stable proportional relationships at various scales.

[0060] 2) Construct Laplacian pyramids for both low-frequency and high-frequency images. Each Laplacian image is obtained by the difference between the corresponding Gaussian pyramid layer and the prediction (sampling and blurring) of the layer above it. Start from the highest layer of the Gaussian pyramid. For the highest layer... It is directly equal to the highest level of the Gaussian pyramid. .have and For other layers (From N-1 to 0): The Gaussian pyramid Perform upsampling to make the size consistent with... Same. Apply an appropriate Gaussian blur to the upsampled image, then use the Gaussian image of the current layer. Subtracting this upsampled and blurred image yields the Laplacian layer. : . Used for low-frequency images; For high-frequency images. The low-frequency Laplacian pyramid image sequence constructed above is mainly used to characterize the low-frequency structural differences at different scales, while the high-frequency Laplacian pyramid image sequence is used to reflect the detailed changes of high-frequency images at various scales. The two types of difference information will be used as the basic input for the corresponding scale in the subsequent fusion processing, so that the structural changes at different scales can be expressed hierarchically.

[0061] 3) Pyramid Blending: Using the Gaussian pyramid of the mask as weights, the Laplacian pyramids of the two images are blended at each layer. For each layer of the pyramid... Calculate the merged Laplace pyramid (from 0 to N). , In this layer-by-layer fusion structure, the mask pyramid provides a weight distribution at each scale, allowing the low-frequency Laplacian layer and the high-frequency Laplacian layer to be proportionally allocated according to the spatial characteristics of their respective scales, thereby ensuring that structural information and detailed information maintain a consistent fusion relationship throughout the entire pyramid.

[0062] When processing the three distance levels, there are no strict boundaries between the fusion models, but each has its own distinct processing path. Long-range models preserve coverage, mid-range models focus on balanced structure, and short-range models highlight local details. These three models form a gradient relationship in spatial distribution, making the fused feature data more closely resemble the information variation patterns in real-world scenes.

[0063] Step S40: Perform image reconstruction processing on the fused feature data to output fused image data.

[0064] Specifically, the highest-scale pyramid image in the multi-scale pyramid image sequence is used as the initial reconstructed image data; upsampling and pixel summing are performed sequentially on each scale level in the multi-scale pyramid image sequence, except for the highest scale level, in descending order of scale, to update the initial reconstructed image data; all scale levels of the multi-scale pyramid image sequence are traversed and the corresponding upsampling and pixel summing are completed, and the final reconstructed image data is output as fused image data.

[0065] In this embodiment of the invention, the highest-scale pyramid image is often selected as the initial reconstructed image data, mainly because this layer has the lowest resolution and the most stable structure, making it suitable as the starting benchmark for subsequent layer-by-layer expansion. This benchmark does not directly reflect the final fusion result, but it provides a fixed spatial framework for subsequent upsampling and pixel stacking, and also allows the reconstruction process to present a clear direction of development in the scale dimension.

[0066] Starting from this layer, the reconstruction process progresses upwards along the scale. In a multi-scale pyramid image sequence, except for the highest scale level, the other levels typically have higher resolution, so they need to be updated sequentially from high to low scale. At each scale level, the current reconstructed image data is first upsampled to match the size of the pyramid image at that scale. The upsampled image is more like a spatial prediction; its structure is not yet complete, but it prepares for subsequent pixel summation with the pyramid image at that scale. The purpose of the summation step is not simply superposition, but rather to gradually incorporate the local difference information at that scale back into the image structure, allowing the reconstruction result to recover details and textures during the layer-by-layer synthesis process.

[0067] When traversing the scale sequence, each scale level undertakes a different structural supplementation task. The differential information at higher scale levels is biased towards the overall contour, while the lower the scale, the more it tends to focus on local variations and detailed textures. After layer-by-layer upsampling and summing processing, the initial reconstructed image data is continuously updated with the participation of each scale, forming a coarse-to-fine synthesis process. This process does not have a fixed number of repetitions, but unfolds strictly according to the number of pyramid levels in sequence, ensuring that the entire reconstruction chain remains structurally continuous.

[0068] Once all scale levels have been updated, the final image can be output as fused image data. This output undergoes no further processing because the layer-by-layer summation of the pyramid levels has already recombine the multi-scale difference information into a complete spatial image, allowing the entire reconstruction process to naturally terminate in a structurally coherent and detailed state.

[0069] In one specific implementation, from the merged Laplace pyramid Reconstruct the final fused image. Starting from the highest layer, assume the reconstructed image... For layers (From N-1 to 0): Upsampling, making its size consistent with Same. The upsampled image is then compared with the current fused Laplacian layer. Add: .final, It is the fused image of the reconstructed full-size image.

[0070] In one specific implementation, such as Figure 3 This paper presents a complete execution process for a dual-frequency real-time image fusion method for high-frequency sonar. The entire dual-frequency real-time image fusion process revolves around the synchronous transmission and echo processing of the sonar. This implementation starts with the synchronous transmission of a low-frequency signal and a high-frequency signal to ensure that the two acoustic information sources cover the target area within the same time window. Subsequently, the echo is received to obtain two sets of independent raw acoustic data, which serve as the input source for subsequent image processing.

[0071] The core of this embodiment lies in the real-time distance determination process. Distance determination is based on a preliminary energy distribution estimate of the low-frequency and high-frequency echoes, used to roughly classify the target distance into three categories: far, medium, and near. In the far-range region, high-frequency signals attenuate rapidly, often making it difficult to image the details; therefore, the process directly uses low-frequency data as the primary driver to construct the image framework, emphasizing continuity and coverage. In the near-range region, high-frequency signals possess good echo quality, so the process switches to being dominated by high-frequency data to obtain finer structural textures. In the medium-range region, both signals have a certain degree of effectiveness; therefore, feature-level fusion is performed to balance low-frequency structural information with high-frequency detail information.

[0072] Feature-level fusion relies on the multi-scale pyramid structure constructed earlier. This structure creates Gaussian and Laplacian pyramids for low-frequency and high-frequency sonar images, respectively, and uses the Gaussian pyramid of the mask as weights to fuse the corresponding high-frequency and low-frequency difference features layer by layer. The purpose of this is primarily to maintain a controllable proportion between details and contours at different scales, ensuring that the final fused image maintains a balance between macroscopic structure and detailed texture.

[0073] In this embodiment, the fusion process is not a simple superposition, but is scheduled according to distance levels. For example, when the distance falls into the mid-range, the fusion strategy tends to use the geometric skeleton of the low-frequency image as a basis, and then embed local texture information from the high-frequency image to form a relatively stable composite image. If the distance is close, the complex fusion chain is skipped, and the local details corresponding to the high-frequency image are directly output, thereby reducing unnecessary computational delays. Correspondingly, the far-distance part is completely extended by the low-frequency image to ensure complete area coverage.

[0074] like Figure 4 This paper presents a comparison image of the fusion effect of a water pool contour image based on the dual-frequency real-time image fusion method for high-frequency sonar proposed in this invention. Figure 4 (a) is the original low-frequency image. Figure 4 (b) is the original high-frequency image. Figure 4(c) shows the fused image. A comparison of the three images reveals a clear change. The low-frequency image maintains a more complete overall outline, with more stable structural lines in distant areas, but its detail distribution is slightly blurred. The high-frequency image exhibits sharper local textures, with clearer geometry for near-field targets; however, energy decays faster in distant areas, leaving many outlines as discontinuous fragments. The fused image strikes a balance between the two. Distant areas retain the continuous structure from the low-frequency imaging, while near-field areas preserve the detail levels provided by the high-frequency signal. Figure 4 As can be seen in (c), the boundary of the pool wall shows almost no obvious breakage, and the texture of the target subject is also fuller than that of the single-frequency image.

[0075] like Figure 5 As shown, this invention provides a dual-frequency real-time image fusion system for high-frequency sonar. The system includes: an acquisition unit, used to perform preprocessing and digital beamforming processing on synchronously acquired low-frequency echo signals and high-frequency echo signals respectively, to generate low-frequency sonar images and high-frequency sonar images containing location information; a processing unit, used to read the distance coordinates of each pixel from the low-frequency sonar images and the high-frequency sonar images, perform distance axis alignment processing on the read distance coordinates, and construct distance determination data; a fusion unit, used to divide each pixel into multiple distance levels according to the distance determination data, and match corresponding fusion models based on different distance levels, so as to perform pixel fusion processing for each distance level based on each fusion model to obtain fusion feature data; and an output unit, used to perform image reconstruction processing on the fusion feature data to output fused image data. The present invention also provides a computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the above-described dual-frequency real-time image fusion method for high-frequency sonar.

[0076] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6As shown, the computer device includes a processor A01, a network interface A02, memory (not shown), and a database (not shown) connected via a system bus. The processor A01 provides computing and control capabilities. The memory includes internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01, a computer program B02, and a database (not shown). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 stored in the non-volatile storage medium A06. The network interface A02 is used for communication with external terminals via a network connection. When the computer program B02 is executed by the processor A01, it implements a dual-frequency real-time image fusion method for high-frequency sonar.

[0077] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a microcontroller, chip, or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0078] The optional embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details described above. Within the scope of the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical solutions of the embodiments of the present invention, and these simple modifications all fall within the protection scope of the embodiments of the present invention. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not further describe the various possible combinations.

[0079] Furthermore, various different embodiments of the present invention can be combined in any way, as long as they do not violate the spirit of the embodiments of the present invention, they should also be regarded as the content disclosed by the embodiments of the present invention.

Claims

1. A dual-frequency real-time image fusion method for high-frequency sonar, characterized in that, The method includes: Preprocessing and digital beamforming processing are performed on the synchronously acquired low-frequency echo signals and high-frequency echo signals respectively to generate low-frequency sonar images and high-frequency sonar images containing location information; The distance coordinates of each pixel are read from the low-frequency sonar image and the high-frequency sonar image, and the distance coordinates are aligned to the distance axis to construct distance determination data. Based on the distance determination data, each pixel is divided into multiple distance levels, and a corresponding fusion model is matched based on different distance levels. Pixel fusion processing is then performed on each distance level based on each fusion model to obtain fusion feature data. Perform image reconstruction processing on the fused feature data to output fused image data.

2. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 1, characterized in that, The rules for preprocessing the synchronously acquired low-frequency and high-frequency echo signals are as follows: The low-frequency echo signal and the high-frequency echo signal are sequentially processed by DC drift removal, gain adjustment, bandpass filtering and digitization to obtain low-frequency digital echo data and high-frequency digital echo data, respectively.

3. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 2, characterized in that, The rules for generating low-frequency and high-frequency sonar images containing location information are as follows: Directional weighting processing is performed on low-frequency digital echo data and high-frequency digital echo data according to the array element arrangement order, so as to apply weighting factors to the low-frequency digital echo data and high-frequency digital echo data corresponding to each array element to form different pointing angles; Time delay compensation processing is performed on the weighted low-frequency digital echo data and the weighted high-frequency digital echo data respectively; Energy estimation processing is performed on the compensated low-frequency digital echo data and the compensated high-frequency digital echo data respectively to obtain amplitude information for the corresponding angle and distance. The amplitude information of low-frequency digital echo data and high-frequency digital echo data are mapped into two-dimensional images according to angular coordinates and distance coordinates, respectively, to generate low-frequency sonar images containing location information and high-frequency sonar images containing location information, respectively.

4. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 1, characterized in that, The distance coordinates of each pixel are read from the low-frequency sonar image and the high-frequency sonar image. Distance axis alignment processing is performed on the read distance coordinates to construct distance determination data, including: The corresponding distance coordinates are extracted from the pixels of the low-frequency sonar image and the pixels of the high-frequency sonar image, respectively. The distance coordinates of the low-frequency sonar image and the distance coordinates of the high-frequency sonar image are aligned according to a uniform distance sampling interval. The distance coordinates of the aligned low-frequency sonar image and the distance coordinates of the aligned high-frequency sonar image are combined to generate distance determination data for characterizing pixel spatial depth.

5. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 1, characterized in that, Based on the distance determination data, each pixel is divided into multiple distance levels, including: The distance value corresponding to each pixel is determined based on the aligned distance determination data; The distance levels of low-frequency sonar image pixels and high-frequency sonar image pixels are determined according to the preset distance ranges used to represent long distance, medium distance, and short distance, respectively, so as to form a set of long-distance pixels, a set of medium-distance pixels, and a set of short-distance pixels.

6. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 5, characterized in that, Fusion models based on matching at different distance levels include: The fusion model used to process long-range pixel sets is configured to generate fusion feature data for long-range pixels using pixel values ​​from low-frequency sonar images; The fusion model used to process the mid-range pixel set is configured to extract multi-scale feature information of corresponding pixels from low-frequency sonar images and high-frequency sonar images respectively, and input the extracted multi-scale feature information into a multi-scale pyramid constructed from low-frequency sonar images and high-frequency sonar images to perform layer-by-layer fusion processing to generate fused feature data of mid-range pixels. The fusion model used to process near-field pixel sets is configured to generate fusion feature data of near-field pixels using pixel values ​​from high-frequency sonar images.

7. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 6, characterized in that, The construction rules for multi-scale pyramids are as follows: Low-frequency Gaussian pyramid image sequences and high-frequency Gaussian pyramid image sequences containing multiple scale levels were constructed based on low-frequency sonar images and high-frequency sonar images, respectively. A low-frequency Laplacian pyramid image sequence is constructed by using the difference between the low-frequency Gaussian pyramid image at each scale level and the low-frequency Gaussian pyramid image at the next higher scale level after upsampling prediction. A high-frequency Laplacian pyramid image sequence is constructed by using the difference between the high-frequency Gaussian pyramid image at each scale level and the high-frequency Gaussian pyramid image at the next higher scale level after upsampling prediction. A Gaussian pyramid image sequence with a mask is constructed, and the corresponding scale levels of the low-frequency Laplacian pyramid image sequence and the high-frequency Laplacian pyramid image sequence are fused layer by layer using the scale levels of the Gaussian pyramid image sequence with the mask as weights to generate a multi-scale pyramid for image reconstruction.

8. The dual-frequency real-time image fusion method for high-frequency sonar according to claim 7, characterized in that, Perform image reconstruction processing on the fused feature data to output fused image data, including: The highest-scale pyramid image in the multi-scale pyramid image sequence is used as the initial reconstructed image data; Upsampling and pixel summation are performed sequentially on each scale level of the multi-scale pyramid image sequence, except for the highest scale level, in descending order of scale, to update the initial reconstructed image data. The image sequence of the multi-scale pyramid is traversed through all scale levels and the corresponding upsampling and pixel summation processes are completed. The final reconstructed image data is then output as fused image data.

9. A dual-frequency real-time image fusion system for high-frequency sonar, characterized in that, The system includes: The acquisition unit is used to perform preprocessing and digital beamforming processing on the synchronously acquired low-frequency echo signals and high-frequency echo signals, respectively, to generate low-frequency sonar images and high-frequency sonar images containing location information. The processing unit is used to read the distance coordinates of each pixel from the low-frequency sonar image and the high-frequency sonar image, perform distance axis alignment processing on the read distance coordinates, and construct distance determination data; The fusion unit is used to divide each pixel into multiple distance levels based on the distance determination data, and match the corresponding fusion model based on different distance levels, so as to perform pixel fusion processing for each distance level based on each fusion model to obtain fusion feature data. The output unit is used to perform image reconstruction processing on the fused feature data to output fused image data.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the dual-frequency real-time image fusion method for high-frequency sonar as described in any one of claims 1-8.