A forward-looking sonar beam domain image stitching method

By constructing an expression domain mapping model and a Laplace pyramid hierarchical fusion strategy, the problem of insufficient interpolation operations and false target values ​​in forward-looking sonar image stitching is solved, a more efficient image stitching effect is achieved, and stitching seams and false targets are eliminated. value, improving calculation efficiency.

CN114219709BActive Publication Date: 2024-09-13HARBIN ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111411499.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2024-09-13
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

When the existing forward-looking sonar image splicing method converts beam domain data to the image domain, the interpolation operation lacks sufficient participation of neighborhood points, resulting in obvious edge gray value jumps, and sector-shaped images in the image domain are prone to appear during splicing. Pseudo target values ​​affect the splicing effect and increase computational overhead.

Method used

Using a method based on the expression domain mapping model, we construct an expression domain mapping constellation diagram of sonar data from the beam domain to the image domain, split the expression domain mapping model in the sonar motion mode, implement image deformation operations, and hierarchically fuse it through the Laplace pyramid. The strategy performs image fusion and expands it into the image domain for display through interpolation.

Benefits of technology

It effectively eliminates the problem of splicing seams and false target values, improves the splicing efficiency, overcomes the problems of edge seams and false target values ​​when splicing sector-shaped images in the image domain, and significantly improves the efficiency of splicing operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114219709B
    Figure CN114219709B
Patent Text Reader

Abstract

The invention discloses a forward-looking sonar beam domain image splicing method, which includes constructing an expression domain mapping constellation diagram to form a data conversion relationship between the beam domain and the image domain; splitting the actual sonar motion according to the expression domain mapping constellation diagram, and constructing an expression domain mapping model under the rotational motion and displacement motion modes; using the measured adjacent frame sonar image, taking the previous frame image as a reference, decomposing the actual sonar motion according to the rotational motion and displacement motion, and performing image deformation operation on the next frame image with reference to the expression domain mapping model to achieve target overlap in the two images; for the two beam domain images with overlapped targets, using the Laplace pyramid hierarchical fusion strategy to perform image fusion; using the forward-looking sonar sequence image, performing continuous multi-frame data beam domain splicing operation, and expanding into the image domain by interpolation. The invention well removes the edge seams generated in the image and splicing, and eliminates the pseudo target value that appears when the fan-shaped expansion interpolation operation is spliced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to digital image processing technology and relates to a forward-looking sonar beam domain image stitching method, in particular to a forward-looking sonar beam domain image stitching method based on an expression domain mapping model. Background Art

[0002] Image stitching is a process of combining images with overlapping areas from different perspectives of the same scene to form a wide-view, information-rich image. Image stitching plays a vital role in digital image processing and has become a hot field in photogrammetry, computer vision, image processing, and computer graphics. It is widely used in remote sensing, aerospace, virtual reality, medical imaging, 3D reconstruction, and other fields.

[0003] The existing stitching methods for forward-looking sonar images mainly refer to the stitching of optical images. The alignment of the content of the two images to be stitched is completed by feature extraction and geometric deformation or by grayscale registration to compensate for rotation and translation. Then, the optimal stitching line, wavelet transform, multi-scale transform and other algorithms are used to achieve functions such as seam removal and overlapping part fusion, and finally obtain a stitched image. However, sonar data is stored in the beam domain in the form of rectangular images. During the stitching process, the data needs to be converted from the beam domain to the image domain. The interpolation operation used is generally achieved by referring to the grayscale values ​​of N pixels around the interpolation point combined with the corresponding filter. The interpolation calculation of the outer edge of the fan lacks sufficient participation of neighboring points, resulting in obvious jumps in the grayscale value of the interpolated edge. When stitching, it is necessary to add templates to eliminate it, otherwise obvious fan edges will be left, increasing the complexity and time-consuming calculation of stitching; for fan images in the image domain, the grayscale value of the interpolation point is obtained by approximate calculation, and when stitching, the interpolation point value and the real point value of the two images will be fused. If the fusion strategy is not selected properly, the real point value is easily weakened or even replaced, and a false target value appears, affecting the stitching effect; during the display process of fan images in the image domain, a large number of pixel-free areas will inevitably be left outside the fan area. When stitching images, the pixel-free area will also participate in the calculation, increasing the calculation overhead. Summary of the invention

[0004] In view of the above-mentioned prior art, the technical problem to be solved by the present invention is to provide a forward-looking sonar beam domain image stitching method based on an expression domain mapping model, construct an expression domain mapping constellation diagram for converting sonar data from the beam domain to the image domain in combination with the sonar imaging principle, and propose an expression domain mapping model under the sonar motion mode, so that the targets in the images to be stitched overlap, thereby realizing the beam domain stitching of sonar data.

[0005] In order to solve the above technical problems, a forward-looking sonar beam domain image stitching method of the present invention comprises the following steps:

[0006] Step 1: Collect forward-looking sonar image data and store it in the beam domain in the form of a two-dimensional image. The horizontal axis of the image represents the number of sonar beams N, and the vertical axis represents the number of sampling points M for each beam;

[0007] Step 2: According to the forward-looking sonar parameters, including the number of beams N, the number of sampling points per beam M and the unit horizontal opening angle θ 0 , construct the expression domain mapping constellation diagram to form the corresponding relationship between the coordinates of the sampling points in the beam domain and the coordinates in the image domain;

[0008] Step 3: According to the expression domain mapping constellation diagram, the actual motion mode of the sonar is split, and the expression domain mapping models of the sonar in the two motion modes of rotation and displacement are respectively constructed. The models respectively reflect the deformation of each sampling point in the beam domain data of the sonar in the two motion modes as the sonar moves;

[0009] Step 4: Using the measured adjacent frame sonar images, taking the previous frame of the image to be stitched as the reference, the actual sonar motion is decomposed into rotational motion and displacement motion, and the image deformation operation is performed on the next frame of the image to be stitched with reference to the expression domain mapping model under the two motion modes of rotational motion and displacement motion in step 3, so as to achieve the coincidence of the targets in the two images to be stitched;

[0010] Step 5: For the two beam domain images to be stitched with overlapping targets, the Laplace pyramid hierarchical fusion strategy is used to fuse the images;

[0011] Step 6: Using the measured forward-looking sonar sequence images, perform beam domain stitching operations on multiple frames of data according to steps 3-5, and expand them into the image domain for display through interpolation.

[0012] Furthermore, in step 2, constructing an expression domain mapping constellation diagram according to the forward-looking sonar parameters to form a one-to-one correspondence between beam domain data points and image domain data points includes:

[0013] In the expression domain mapping constellation diagram, assuming that the coordinates of the sampling points in the beam domain are (n, m), n = [1, 2, ···, N], m = [1, 2, ···, M], the positions of the sampling points in the beam domain in the image domain satisfy:

[0014]

[0015] Where x, y are the position coordinates of the sampling point in the beam domain in the image domain, θ is the beam angle of the sampling point in the beam domain relative to the central axis of the fan-shaped area composed of the beam in the image domain, θ 0 is the unit horizontal opening angle of the forward-looking sonar, R is the beam detection distance corresponding to the sampling point in the beam domain, then R = r 0 +r m , where rm =m,r 0 is the minimum sonar resolution distance.

[0016] The position of the sampling point in the image domain in the beam domain satisfies:

[0017]

[0018] Furthermore, in step 3, the expression domain mapping model of the sonar in the two motion modes of rotation and displacement is constructed as follows:

[0019] The expression domain mapping model in the rotational motion mode is as follows:

[0020] n beam =angle in ×N / angle Sector

[0021] Among them, n beam is the number of pixels of horizontal displacement in the beam domain, angle in is the angular rotation amount of the image, angle Sector is the total opening angle of the sonar fan (N-1)×θ 0 ;

[0022] The expression domain mapping model in the displacement motion mode is as follows:

[0023]

[0024] Among them, x 1 =R 1 sinθ 1 ,y 1 =R 1 ·cosθ 1 represents the coordinate position of the sampling point in the image domain before the sonar movement, x 2 ,y 2 is the coordinate position of the sampling point in the image domain after the sonar moves, Δx, Δy are the displacement variables of the sonar moving in the vertical and horizontal directions;

[0025] make In the example, Δx=0, the expression domain mapping model of the vertical motion pattern is obtained; and Δy=0, the expression domain mapping model of the horizontal motion pattern is obtained.

[0026] Furthermore, in step 4, the image deformation operation of the next frame of the image to be spliced ​​is performed with reference to the expression domain mapping model in the two motion modes of rotational motion and displacement motion in step 3, including:

[0027] When the sonar rotates, the target in the next frame of the image to be stitched has horizontal displacement in the beam domain, but no distortion in the vertical direction. The horizontal displacement is:

[0028] n beam =angle in ×N / angle Sector

[0029] Among them, n beam is the number of pixels of horizontal displacement in the beam domain, angle in is the angular rotation amount of the next frame image, angle Sector is the total opening angle of the sonar fan (N-1)×θ 0 ; Move the next frame of the image to be stitched by n beam , so that the target in the next frame of the image to be stitched after the move coincides with the target in the previous frame of the image to be stitched;

[0030] When the sonar moves, the next frame of the image to be stitched has a displacement of [Δx, Δy]. Taking the previous frame as the reference, the position of each point in the beam domain in the image domain after moving [Δx, Δy] in the next frame satisfies:

[0031]

[0032] Among them, x 1 =R 1 sinθ 1 ,y 1 =R 1 ·cosθ 1 represents the coordinate position of the sampling point in the image domain before the sonar movement, x 2 ,y 2 is the coordinate position of the sampling point in the image domain after the sonar moves, Δx, Δy are the displacement variables of the sonar moving in the vertical and horizontal directions;

[0033] Then x 2 ,y 2 Bring in The position of the sampling point after displacement in the beam domain is obtained; through the above shift operation, the acoustic origins of the two image domain images are aligned, the acoustic origins of the corresponding beam domain images are aligned, and the shape of the target in the next frame of the image to be spliced ​​in the beam domain is adjusted, so that the targets in the two beam domain images overlap.

[0034] Beneficial effects of the present invention: The present invention includes modeling of the mapping transformation from the beam domain of the forward-looking sonar to the image domain, and proposes an expression domain mapping model by constructing an expression domain mapping constellation diagram of data conversion between the beam domain and the image domain data, and performs a single-level splitting of the sonar motion mode, and constructs expression domain mapping models of displacement motion (including vertical direction and horizontal direction) and rotation motion respectively; according to the expression domain mapping model, the measured data is used to perform adjacent frame data splicing operations to verify the influence of deformation on the splicing effect under different motion models; for the case that a greater detection depth and a wider detection opening angle can be reflected, the continuous frame image splicing operation of the measured data is performed. The present invention uses forward-looking sonar parameters to construct a mapping model between expression domains, and guides the measured data to realize the data splicing of continuous frames. The present invention uses an expression domain mapping model to analyze the image deformation law under different sonar motion modes, and guides the splicing operation of the measured image in the beam domain. Compared with the existing forward-looking sonar fan image splicing algorithm based on the image domain, it overcomes the histogram theory generated when the image domain fan image is spliced, analyzes each gray level of the image separately, overcomes the edge seam problem generated when the image domain fan image is spliced, eliminates the pseudo target value problem that occurs when the fan expansion interpolation operation is spliced, and significantly improves the efficiency of the splicing operation, and has good practicality. The present invention eliminates the splicing seam problem and the pseudo target value problem that are easy to occur when the forward-looking sonar image is spliced, and improves the splicing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic diagram of the expression domain mapping constellation diagram;

[0036] Figure 2 It is an expression domain mapping model for pure rotational motion;

[0037] Figure 3 It is an expression domain mapping model for pure vertical movement;

[0038] Figure 4 It is an expression domain mapping model for pure horizontal movement;

[0039] Figure 5 It is a model of expression domain mapping under the comprehensive movement mode;

[0040] Figure 6 It is a comparison chart of the measured data of displacement motion;

[0041] Figure 7 It is a comparison chart of the measured data of rotational motion;

[0042] Figure 8 This is a comparison chart of the effect of removing the fan-shaped joint seams;

[0043] Fig. 9 This is a comparison chart of the effect of eliminating false target values;

[0044] Figure 10(a) is a comparison chart of the amount of calculation;

[0045] Figure 10(b) Comparison of computational efficiency;

[0046] Fig.11 This is the sequence frame stitching effect diagram when the sonar is mainly moving forward;

[0047] Fig.12 This is the sequence frame stitching effect diagram when the sonar rotation movement is the main one. DETAILED DESCRIPTION

[0048] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0049] The present invention comprises the following steps:

[0050] 1. Collect forward-looking sonar image data and store it in the beam domain in the form of a two-dimensional image. The horizontal axis of the image represents the number of sonar beams N, and the vertical axis represents the number of sampling points M for each beam;

[0051] 2. According to the forward-looking sonar parameters, including the number of beams N, the number of sampling points per beam M and the unit horizontal opening angle θ 0 Construct an expression domain mapping constellation diagram to form a correspondence between the coordinates of the sampling points in the beam domain and the coordinates in the image domain;

[0052] 3. According to the expression domain mapping constellation diagram, the actual motion mode of the sonar is split, and the expression domain mapping models of the sonar in the three motion modes of rotation, vertical direction and horizontal direction are respectively constructed. The models respectively reflect the deformation of each sampling point in the beam domain data of the sonar in the three motion modes as the sonar moves;

[0053] 4. Using the measured adjacent frame sonar images, taking the previous frame of the image to be stitched as the reference, the next frame of the image to be stitched is subjected to image deformation operation with reference to the expression domain mapping model in the three motion modes of rotation, vertical direction and horizontal direction in step 3, so as to realize the coincidence alignment of the targets of the two images to be stitched;

[0054] 5. For the two beam domain images to be stitched that have been aligned and overlapped, the Laplace pyramid hierarchical fusion strategy is used to fuse the images;

[0055] 6. Using the measured forward-looking sonar sequence images, the beam domain stitching operation of continuous multi-frame data is performed, and then expanded into the image domain for display through interpolation.

[0056] Referring to the forward-looking sonar parameters (Table 1), the expression domain mapping constellation diagram of the beam domain and image domain data is constructed, as shown in Figure 1 shown.

[0057] Table 1 Main parameters of DIDSON series sonar

[0058]

[0059] According to the sonar imaging principle, the beam domain data consists of N beams, each beam has M sampling points, and the beam domain image is in a rectangular form with a size of N×M pixels. The horizontal opening angle between beams is θ 0 , then the total opening angle of the corresponding image domain fan-shaped image is (N-1)×θ 0 In the expression domain mapping constellation diagram, assuming that the coordinates of the sampling points in the beam domain are (n, m), n = [1, 2, ···, N], m = [1, 2, ···, M], the positions of the sampling points in the beam domain in the image domain satisfy:

[0060]

[0061] Where x, y are the position coordinates of the sampling point in the beam domain in the image domain, θ is the beam angle of the sampling point in the beam domain relative to the central axis of the fan-shaped area composed of the beam in the image domain, θ 0 is the unit horizontal opening angle of the forward-looking sonar, R is the beam detection distance corresponding to the sampling point in the beam domain, then R = r 0 +r m , where r m =m,r 0 is the minimum sonar resolution distance.

[0062] The position of the sampling point in the image domain in the beam domain satisfies:

[0063]

[0064] According to the above expression domain mapping constellation diagram, an expression domain mapping model of the sonar in the rotational motion and displacement motion (including vertical direction and horizontal direction) motion modes is constructed.

[0065] In the sonar pure rotation mode, the sonar does not have horizontal and vertical displacement, so it is considered that the sonar is rotating in place around its own rotation axis, which is equivalent to the sonar rotating at an angle with the acoustic origin as the center. This mode of movement is reflected in the horizontal displacement of the target in the beam domain, and there is no distortion in the vertical direction. Therefore, the expression domain mapping model in the rotation mode can be constructed according to formula (3). Figure 2 shown.

[0066] n beam =angle in ×N / angle Sector (3)

[0067] Among them, angle inis the angular rotation of the two images, N is the sonar sampling beam, angle Sector is the total opening angle of the sonar fan (N-1)×θ 0 The number of horizontal displacement pixels n in the beam domain can be calculated from the relative angular rotation between the two constellation diagrams using formula (3): beam .

[0068] The displacement motion mode can be divided into a pure vertical motion mode and a pure horizontal motion mode. The expression domain mapping model under the displacement motion mode can be constructed according to formula (4).

[0069]

[0070] Among them, x 1 =r 1 sinθ 1 ,y 1 =r 1 ·cosθ 1 represents the coordinate position of the sampling point in the image domain before the sonar movement, x 2 ,y 2 is the coordinate position of the sampling point in the image domain after the sonar moves, Δx, Δy are the displacement variables of the sonar moving in the vertical and horizontal directions. Therefore, formula (4) expresses the one-to-one correspondence between the beam domain pixel points and the image domain sampling points when the sonar moves.

[0071] In the pure vertical motion mode, let Δx = 0 in formula (4) and construct the beam domain deformation mapping model, as follows: Figure 3 As shown in the figure, a square figure is used as the target. The vertical movement of the sonar causes the distance between the acoustic origin and each line in the target to change, which is reflected in the different bending degrees of the horizontal lines of the target in the beam domain. The closer the acoustic origin is to the target, the lighter the bending deformation of the horizontal lines in the target. This reflects the deformation characteristics of the target in this motion mode.

[0072] In the pure horizontal motion mode, let Δy = 0 in formula (4) and construct the beam domain deformation mapping model, as follows: Figure 4 As shown in Figure 1, it can be seen that the horizontal movement of the sonar is the leftward movement of the target in the image, which is reflected in the beam domain as the target moving along the bending trend of the horizontal line. The expression domain mapping model under the comprehensive motion mode is shown in Figure 1. Figure 5 shown.

[0073] Using measured data, taking one of the frames to be stitched as the reference, and referring to the above expression domain mapping model, the other frame to be stitched is subjected to image deformation operation according to the rotation angle, vertical displacement and horizontal displacement existing in the actual motion of the sonar, so as to coincide and align the targets in the two images to be stitched. The position of each point in the image domain is calculated according to formula (4) for the image frame to be deformed, and the position of each point in the beam domain after the movement is calculated according to formula (2). At this point, the targets of the two beam domain images to be stitched coincide and align.

[0074] like Figure 6 As shown, the sonar moves in the direction above the image (vertical), and there is only a known displacement of 20 pixels in the vertical direction. In the figure, (a) and (c) are two beam domain images to be stitched, and (b) is the beam domain image of (a) calculated according to formula (4) and formula (2). At this time, the acoustic origins of (b) and (c) are aligned, and the targets are aligned. (d) is the stitching effect diagram, and this part of the stitching is based on the maximum absolute value criterion. (e) and (f) are the overlap and difference diagrams of (b) and (c), indicating that the image targets are aligned after deformation, and the difference diagram cannot show the target outline, and the stitching effect is good.

[0075] like Figure 7 As shown in the figure, when the number of sonar beams is 96, the number of sampling points in each beam is 512, and the unit horizontal opening angle is 0.3°, the sonar has the effect of stitching when the image domain rotates. The rotation angle is 1.2°, which is converted to a horizontal displacement of 4 pixels in the beam domain according to formula (3). The horizontal beam value of the expanded stitched image is 96+4=100. (a)(b) are two beam domain images to be stitched. It can be seen from the marked red boxes that there are differences in the corresponding position targets, which is caused by the sonar rotation angle. As shown in (c)(d), the position indicated by the red arrow is the expanded 4 pixels. (f)(g) are the overlap image and the difference image. The stitching effect is shown in (e). It can be seen that the targets of the two images are well aligned and the stitching effect is good.

[0076] For two beam domain images to be stitched that have been aligned and overlapped, the Laplace pyramid algorithm is used for layered fusion. According to the Laplace pyramid decomposition principle, a 4-layer Laplace pyramid decomposition is performed, and each layer of the image is fused according to the maximum absolute value criterion, and then the final fused image is obtained through Laplace pyramid reconstruction. Layered fusion can more fully fuse the high-frequency and low-frequency components at all levels in the image, and the fusion effect is good. Beam domain fusion stitching can effectively remove the stitching seam problem and the false target value problem that occur in image domain stitching, and can improve the stitching efficiency.

[0077] For example, the effect of beam domain fusion is compared with the traditional image domain fusion effect. Figure 8 , Fig. 9 . Figure 8The left side shows the effect of directly stitching the image domain sector images, and the right side shows the effect of stitching the beam domain data and then expanding it into a sector image through interpolation. The two middle images are the enlarged sector edges. The obvious border of the sector stitching can be seen through the comparison of the middle images, while the rectangular stitching algorithm eliminates this effect very well. Fig. 9 The three groups of images shown in the figure, the first two images in each group are the images to be stitched, and the last two images are the stitching result images obtained by using the image domain fan-shaped image stitching algorithm and the stitching result images obtained by using the beam domain rectangular image stitching algorithm and then fan-shaped expansion. Comparing the details circled in the box, it can be seen that the image domain fan-shaped image stitching algorithm is affected by the above-mentioned pseudo target value, causing some image details to be lost and resulting in a fuzzy stitching result; while the stitching algorithm based on beam domain data solves this problem well, and the target details are restored clearly, reflecting good stitching performance.

[0078] The comparison between the beam domain stitching method and the image domain fan-shaped image stitching algorithm shows the comparison between the amount of computation and the efficiency of computation. Figure 10(a) and 10(b) As shown in Figure 10(a), the comparison of the stitching calculation amount shows that the image size increases a lot after the beam domain data is mapped to the image domain, resulting in an increase in the number of pixels involved in the stitching operation, which differs by more than 4 times. As a result, the computation time in the image domain in Figure 10(b) is about 5 times that in the beam domain. The stitching algorithm proposed in this paper has higher time efficiency.

[0079] The sequence frame stitching effect is demonstrated using two situations that are common in actual sonar operations: forward-oriented and rotation-oriented.

[0080] Continuous frame stitching effect (mainly in the case of forward sonar motion). In this case, the first frame in the stitching is selected as the benchmark, and the subsequent sequence frames are deformed according to the expression domain mapping model to make the targets of each frame coincide and align. Then the Laplace pyramid fusion algorithm is used for fusion stitching to form a beam domain image with little vertical change and obvious horizontal expansion. Finally, it is expanded into an image domain fan-shaped image with reference to the forward-looking sonar opening angle parameters, and then the interval point pixels are supplemented through interpolation operations to complete the stitching operation. Fig.11 As shown in the figure, the vertical coordinate of the image in the beam domain increases significantly with the increase of the number of spliced ​​frames, and the horizontal coordinate changes very little. This is reflected in the obvious vertical displacement in the beam domain, and the small horizontal displacement and rotation angle.

[0081] Continuous frame stitching effect (mainly in the case of sonar rotation movement). In this case, taking the first frame in the stitching as the benchmark, the subsequent sequence frames are deformed according to the expression domain mapping model to align their respective acoustic origins with it, and at the same time achieve the coincidence alignment of the targets of each frame. Then the Laplace pyramid fusion algorithm is used for fusion stitching to form a beam domain image with little change in the horizontal direction and obvious expansion in the vertical direction. Finally, it is expanded into an image domain fan-shaped image with reference to the forward-looking sonar opening angle parameters, and then the interval point pixels are supplemented through interpolation operations to complete the stitching operation. Fig.12 As shown in the figure, the horizontal coordinate in the beam domain increases significantly with the number of spliced ​​frames, while the vertical coordinate changes little. This is reflected in the image domain as the rotation angle changes significantly, while the vertical and horizontal displacements are small.

Claims

1. A forward-looking sonar beam domain image stitching method, characterized in that: The following steps are involved: Step 1: Collect forward-looking sonar image data and store it in the beam domain in the form of a two-dimensional image. The horizontal axis of the image represents the number of sonar beams N, and the vertical axis represents the number of sampling points M for each beam; Step 2: According to the forward-looking sonar parameters, including the number of beams N, the number of sampling points M for each beam, and the unit horizontal opening angle θ0, a constellation diagram of the expression domain mapping is constructed to form the corresponding relationship between the coordinates of the sampling points in the beam domain and the coordinates in the image domain; Step 3: According to the expression domain mapping constellation diagram, the actual motion mode of the sonar is split, and the expression domain mapping models of the sonar in the two motion modes of rotation and displacement are respectively constructed. The models respectively reflect the deformation of each sampling point in the beam domain data of the sonar in the two motion modes as the sonar moves; Step 4: Using the measured adjacent frame sonar images, taking the previous frame of the image to be stitched as the reference, the actual sonar motion is decomposed into rotational motion and displacement motion, and the image deformation operation is performed on the next frame of the image to be stitched with reference to the expression domain mapping model under the two motion modes of rotational motion and displacement motion in step 3, so as to achieve the coincidence of the targets in the two images to be stitched; Step 5: For the two beam domain images to be stitched with overlapping targets, the Laplace pyramid hierarchical fusion strategy is used to fuse the images; Step 6: Using the measured forward-looking sonar sequence images, perform beam domain stitching operations on multiple frames of data according to steps 3-5, and expand them into the image domain for display through interpolation.

2. The forward-looking sonar beam domain image stitching method according to claim 1, characterized in that: Step 2 constructs the expression domain mapping constellation diagram according to the forward-looking sonar parameters to form a one-to-one correspondence between beam domain data points and image domain data points, including: In the expression domain mapping constellation diagram, assuming that the coordinates of the sampling points in the beam domain are (n, m), n = [1, 2, ···, N], m = [1, 2, ···, M], the positions of the sampling points in the beam domain in the image domain satisfy: Where x, y are the position coordinates of the sampling point in the beam domain in the image domain, θ is the beam angle of the sampling point in the beam domain relative to the central axis of the fan-shaped area composed of the beam in the image domain, θ0 is the unit horizontal opening angle of the forward-looking sonar, R is the beam detection distance corresponding to the sampling point in the beam domain, then R = r0 + r m , where r m =m, r0 is the minimum resolution distance of sonar; The position of the sampling point in the image domain in the beam domain satisfies:

3. The forward-looking sonar beam domain image stitching method according to claim 1, characterized in that: The construction of the expression domain mapping model of the sonar in the two motion modes of rotation and displacement described in step 3 is specifically as follows: The expression domain mapping model in the rotational motion mode is as follows: n beam =angle in ×N / angle Sector Among them, n beam is the number of pixels of horizontal displacement in the beam domain, angle in is the angular rotation amount of the image, angle Sector is the total opening angle of the sonar sector (N-1)×θ0; The expression domain mapping model in the displacement motion mode is as follows: Among them, x1 = R1·sinθ1, y1 = R1·cosθ1 represent the coordinate positions of the sampling points in the image domain before the sonar moves, x2, y2 represent the coordinate positions of the sampling points in the image domain after the sonar moves, Δx, Δy represent the displacement variables of the sonar in the vertical and horizontal directions; make In the example, Δx=0, the expression domain mapping model of the vertical motion pattern is obtained; and Δy=0, the expression domain mapping model of the horizontal motion pattern is obtained.

4. The forward-looking sonar beam domain image stitching method according to claim 1, characterized in that: The step 4 of performing image deformation operation on the next frame of the image to be spliced ​​with reference to the expression domain mapping model under the two motion modes of rotational motion and displacement motion in step 3 includes: When the sonar rotates, the target in the next frame of the image to be stitched has horizontal displacement in the beam domain, but no distortion in the vertical direction. The horizontal displacement is: n beam =angle in ×N / angle Sector Among them, n beam is the number of pixels of horizontal displacement in the beam domain, angle in is the angular rotation amount of the next frame image, angle Sector is the total opening angle of the sonar fan (N-1)×θ0; move the next frame of the image to be stitched n beam , so that the target in the next frame of the image to be stitched after the move coincides with the target in the previous frame of the image to be stitched; When the sonar moves, the next frame of the image to be stitched has a displacement of [Δx, Δy]. Taking the previous frame as the reference, the position of each point in the beam domain in the image domain after moving [Δx, Δy] in the next frame satisfies: Among them, x1 = R1·sinθ1, y1 = R1·cosθ1 represent the coordinate positions of the sampling points in the image domain before the sonar moves, x2, y2 represent the coordinate positions of the sampling points in the image domain after the sonar moves, Δx, Δy represent the displacement variables of the sonar in the vertical and horizontal directions; Then bring x2, y2 into The position of the sampling point after displacement in the beam domain is obtained; through the above shift operation, the acoustic origins of the two image domain images are aligned, the acoustic origins of the corresponding beam domain images are aligned, and the shape of the target in the next frame of the image to be spliced ​​in the beam domain is adjusted, so that the targets in the two beam domain images overlap.