A forward-looking sonar image stitching method that preserves information

Through the combination of phase correlation method and variance statistics, the problem of intra-frame defects and inter-frame defects in forward-looking sonar image splicing is solved, a clear spliced ​​image is generated, which is suitable for non-ideal sonar imaging configurations and reduces the amount of underwater detection data. and retain important information.

CN116503244BActive Publication Date: 2024-09-13ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310227303.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-13
Estimated Expiration
2043-03-10

AI Technical Summary

Technical Problem

Existing forward-looking sonar image stitching methods fail to effectively handle intra-frame and inter-frame defects under non-ideal sonar imaging configurations, resulting in excessive blurring of the stitched image and lack of information of interest to the observer.

Method used

The phase correlation method is used to estimate the relative rotational displacement of the forward-looking sonar image sequence, and the local variance statistics and local background variance statistics are calculated through the time window method and the spatial window method. The global rotational displacement is combined to form a global variance map, and image fusion is performed to generate the final Splicing results.

Benefits of technology

This method adapts to non-ideal sonar imaging configurations, selects information-rich images through weighted averaging, weakens the influence of images that do not contain information, retains the image information required by the observer, and reduces the amount of underwater detection data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116503244B
    Figure CN116503244B
Patent Text Reader

Abstract

The present invention discloses a forward-looking sonar image stitching method that retains information. The present invention uses forward-looking sonar as underwater detection equipment to stitch the acquired forward-looking sonar images; uses a phase correlation method to estimate the displacement between images to obtain the position of a single forward-looking sonar image in the stitched image; and uses a method based on local statistics to perform image fusion to obtain a forward-looking sonar stitching image that retains information. The forward-looking sonar image stitching method proposed by the present invention is suitable for intra-frame defects and inter-frame defects caused by non-ideal sonar imaging configurations, overcomes the disadvantage that intra-frame defects and inter-frame defects can cause image quality degradation, increases the amount of information contained in the stitched image, and can assist observers in rapid underwater exploration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of computer vision, and in particular relates to a forward-looking sonar image stitching method for retaining information. Background Art

[0002] Underwater detection technology is one of the most widely used marine technologies. Underwater search and rescue, dock safety inspection, underwater biological habitat exploration and other tasks all require the support of underwater detection technology. Sonar has attracted much attention because its detection medium is almost unaffected by the turbidity of the water body and has a long range. Among them, forward-looking sonar, as an emerging type of sonar, has become a hot topic in underwater detection technology research due to its extremely high imaging resolution, extremely high imaging frame rate, and relatively low price.

[0003] The existing methods of underwater detection using forward-looking sonar are mainly: adapting some target recognition methods suitable for cameras to forward-looking sonar, and performing target recognition on a single captured forward-looking sonar image to achieve target search tasks. However, underwater sonar data is difficult to obtain and costly, and the data-driven approach is still in its early stages; and the single-image-based method cannot be applied to non-target search detection tasks, such as underwater biological habitat environment observation. Considering the above difficulties, stitching forward-looking sonar images to form a complete acoustic map can greatly reduce the overall data volume and greatly speed up the operator's review speed. At the same time, stitched images are suitable for non-target search tasks such as underwater environmental observation.

[0004] The existing forward-looking sonar image stitching methods do not take into account the intra-frame defects and inter-frame defects caused by non-ideal sonar imaging configurations. Therefore, the obtained stitched images are often overly blurred and lack information that observers are interested in. Among them, the generation of intra-frame defects mainly comes from the error of sonar installation angle, vehicle height and depth determination errors, sonar imaging errors, etc. The generation of inter-frame defects mainly comes from low positioning accuracy, cumulative inter-frame pose estimation errors, detection direction changes, etc.

[0005] In practical applications, due to many factors such as economic cost, time urgency, and technology maturity, forward-looking sonar is often in a non-ideal imaging configuration, and intra-frame defects and inter-frame defects are inevitable. Therefore, studying a forward-looking sonar image stitching method that is adapted to non-ideal sonar imaging configuration, considers intra-frame defects and inter-frame defects, and retains information is of significant and important help in practical applications. Summary of the invention

[0006] The purpose of the present invention is to provide a forward-looking sonar image stitching method that retains information in view of the deficiencies in the prior art.

[0007] The object of the present invention is achieved by: a method for stitching forward-looking sonar images that retains information, the method comprising: acquiring a forward-looking sonar image sequence, image registration, information extraction, and image fusion;

[0008] The specific steps of the image registration are: using the phase correlation method to estimate the relative rotation displacement of the forward-looking sonar image sequence, accumulating it to obtain the global rotation displacement, and applying it to the image to obtain a preliminary spliced ​​image;

[0009] The specific steps of information extraction are: using the forward-looking sonar image sequence to obtain local variance statistics and local background variance statistics through the time window method and the space window method, using weights to combine them into modified local variance statistics, and combining the modified local variance statistics with global rotation and displacement to obtain a global variance map;

[0010] The specific steps of the image fusion are: preliminary stitching of images forms a final stitching result under the action of the global variance map.

[0011] Furthermore, the estimating the relative rotational displacement of the forward-looking sonar image sequence by using a phase correlation method specifically employs a phase correlation method based on Fourier-Mellin transform to estimate the relative rotational displacement between the forward-looking sonar images at adjacent moments.

[0012] Furthermore, the local variance statistics calculation method is as follows:

[0013] Calculate the pixel value variance of each forward-looking sonar image in the spatial window s1 and the time window t1 Represents the variance set of pixel values ​​in the spatial window s1 and the temporal window t1, which is the local variance statistic;

[0014] The local background variance statistics calculation method is as follows:

[0015] Calculate the pixel value variance of each forward-looking sonar image in the spatial window s2 and the time window t2 to obtain is the set of pixel value variances within the spatial window s2 and the temporal window t2, and is the local background variance statistic.

[0016] Furthermore, in order to make the calculated variance value better represent the local intrinsic background variance of the image, s2≥s1 is taken; in order to make the calculated variance value better avoid the influence of the local effective information of the image on the background modeling, t2>>t1 is taken.

[0017] Furthermore, the global variance map Specifically, the pixel value variance v in the spatial window s1 and the time window t1 is arranged in descending order, and the first L v values ​​are taken and stored in The spatial position corresponding to the v value in , the spatial position of the v value is obtained by adding the local coordinates of the pixel on a certain sonar image to the global coordinates of the sonar image obtained by image registration; this step is repeated M×N times to obtain Wherein, M represents the length of the stitched image, N represents the height of the stitched image, which is the size of the minimum bounding rectangle of the irregular image after stitching; L represents the number of variance values ​​to be accessed.

[0018] Furthermore, the pixel value variance v is stored in Before, we need to consider the background variance To make adjustments, the specific method is v new =f(v old ,b); where f is the method function for adjusting the v value according to the background variance, and b is the variance of the pixel values ​​of each forward-looking sonar image in the spatial window s2 and the time window t2.

[0019] Furthermore, the preliminary stitched images are formed into a final stitched result under the action of the global variance map as follows: the value of the pixel point at each coordinate of the stitched image is obtained by the global variance map The pixel values ​​on the forward-looking sonar image corresponding to the L values ​​on the corresponding coordinates are averaged, and L represents the number of variance values ​​that need to be accessed.

[0020] The beneficial effect of the present invention is that the method is suitable for non-ideal sonar imaging configuration, takes into account intra-frame defects and inter-frame defects, and selects single images with large local variance values, that is, images that are often rich in effective information, for weighted averaging, avoiding images with low local variance values, that is, images that often contain no information, from participating in the averaging process to reduce the proportion of effective information. The method can retain the image information required by the observer, assist the observer in underwater detection, and reduce the amount of underwater detection data. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a schematic diagram of the stitching of forward-looking sonar images;

[0022] Figure 2 It is a forward-looking sonar image stitching method that preserves information;

[0023] Figure 3 The system block diagram of a forward-looking sonar image stitching method that retains information. DETAILED DESCRIPTION

[0024] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0025] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention, so the present invention is not limited to the specific embodiments disclosed below. The specific implementation method of the present invention is further described below in conjunction with the accompanying drawings:

[0026] Traditional underwater detection technology based on forward-looking sonar is based on target recognition of a single sonar image. However, due to the high cost of underwater acoustic image acquisition and the single data modality, the data-driven deep learning target recognition method that works well on camera images often has poor results when applied to forward-looking sonar images. Moreover, some tasks such as underwater biological habitat observation are not suitable for target recognition algorithms. Therefore, detection methods based on spliced ​​images have attracted much attention. On the one hand, it can solve the above problems, and on the other hand, it expresses the data in a more compact way, speeds up the observer's review speed, and reduces the amount of data. However, the existing image splicing algorithms based on forward-looking sonar do not take into account the intra-frame defects and inter-frame defects caused by non-ideal sonar imaging configurations. Therefore, the obtained spliced ​​images are often overly blurred and lack information of interest to the observer. Among them, the generation of intra-frame defects mainly comes from the error of sonar installation angle, the error of vehicle height and depth determination, and sonar imaging error, and the generation of inter-frame defects mainly comes from low positioning accuracy, cumulative inter-frame pose estimation error, detection direction change, etc.

[0027] The present invention discloses a forward-looking sonar image stitching method that retains information. The method is suitable for non-ideal sonar imaging configurations, takes into account intra-frame defects and inter-frame defects, selects single images rich in effective information for weighted averaging, and avoids images without information from participating in the averaging process to reduce the proportion of effective information. The method can retain the image information required by the observer, assist the observer in underwater detection, and reduce the amount of underwater detection data.

[0028] This method consists of acquiring forward-looking sonar image sequences, image registration, information extraction, and image fusion. Figure 1 As shown in the figure: after acquiring the forward-looking sonar image sequence, the phase correlation method is used to estimate their relative rotation displacement, and the global rotation displacement is obtained after accumulation, and then applied to the image to obtain a preliminary stitched image. This step is used to estimate the relative rotation displacement between the forward-looking sonar images collected at adjacent moments to determine the coordinate position of each image in the final stitched image; on the other hand, the local variance statistics and the local background variance statistics are obtained by using the time window method of the forward-looking sonar image, and are combined in a certain weighted manner to form a modified local variance statistic. This statistic is combined with the global rotation and displacement to obtain a global variance map. The final stitching result is formed under the action of the global variance map. This step is to determine the content of the stitched image based on the overlapping sonar image content.

[0029] The following is a detailed description:

[0030] Image registration steps: Arrange the forward-looking sonar images along the sampling time, and take any pair of images that are adjacent in time as f1(x, y) and f2(x, y), where x and y represent pixel coordinates. Assuming that f2(x, y) is a copy of f1(x, y) after rotation θ0 and translation x0 and y0, we have:

[0031] f2(x,y)=f1(xcosθ0+ysinθ0-x0,-xsinθ0+ycosθ0-y0)

[0032] According to the Fourier translation and rotation characteristics, Fourier transform is performed on both sides of the equation, and we get:

[0033]

[0034] Let M1 and M2 represent the amplitudes of F1 and F2, then convert the above formula into:

[0035] M2(ξ, η)=M1(ξcosθ0+ηsinθ0,-ξsinθ0+ηcosθ0)

[0036] Expressing the above formula in polar coordinates, we get:

[0037] M1(ρ, θ) = M2(ρ, θ - θ0)

[0038] Among them, ρ represents the distance and θ represents the angle.

[0039] At the same time, we assume that f2(x, y) is a copy of f1(x, y) after only translation, so:

[0040] f2(x, y) = f1(x-x0, y-y0)

[0041] Perform Fourier transform on both sides of the equation, and according to the Fourier translation characteristics, we get:

[0042]

[0043] Transforming the above formula gives the cross power spectrum:

[0044]

[0045] The phase correlation matrix is ​​obtained. There is a peak at x0 and yx. By finding the coordinates of the peak, the displacement of the image can be inferred. It can be seen that the rotation angle can be calculated using phase correlation in the polar coordinate system. This method can be used to calculate the rotation and translation of the image. By accumulating relative rotation displacement, a single forward-looking sonar image obtained at time t can be obtained. Absolute rotational displacement relative to the global coordinate system Among them, T t is the special orthogonal group SE(2), represents the set of all forward-looking sonar images. t Acts on I t , making I t Place it at the specified coordinates of the stitched image to generate a preliminary stitched image.

[0046] Figure 2 In the figure, the fan-shaped image represents a schematic forward-looking sonar image. Figure 2 The distribution arrangement in T t Acts on I t The edge contour of the forward-looking sonar image at the outermost edge of the coordinate system is retained and becomes the edge contour of the final stitched image. The content of the stitched image is within the contour. Figure 2 The dotted lines in the figure, which are partially overlapped and partially bifurcated, represent the actual trajectory of the forward-looking sonar and the estimated trajectory containing the accumulated errors. Since forward-looking sonars often work in non-ideal imaging configurations, they inevitably have to face the impact of intra-frame defects and inter-frame defects. Taking the inter-frame defects caused by the accumulated pose estimation errors as an example, under ideal pose estimation, when the sonar detects the same object at different times, the local pixels representing the object should overlap after being projected to the global coordinate system, which plays a role in information enhancement, such as denoising. However, due to the accumulation of pose estimation errors, related pixels often cannot be projected to the same coordinate position in actual applications. When a pixel representing an object is projected onto a background pixel (which often represents seabed reverberation with missing information in forward-looking sonar applications), the effective pixel information will be offset in the image fusion step based on pixel value averaging. Figure 2 In the figure, these two situations are indicated by two dotted boxes. The dotted box on the left contains two pixels from different forward-looking sonar images at the same global coordinate position. Since the pixel coordinates are from the real trajectory, they both represent object information. Therefore, the object information is enhanced. The dotted box on the right also contains pixels from different forward-looking sonar images at the same global coordinate position. The pixel coordinates are from the estimated trajectory containing cumulative errors, so they represent different object information. Therefore, the object information is weakened. It can be seen that the image fusion step proposed in the present invention can effectively solve the above problems.

[0047] Information extraction step: This step generates a spliced ​​image based on the global variance map and the forward-looking sonar image after rotation and displacement compensation. Specifically, the pixel value variance v in the spatial window s1 and the time window t1 is arranged in descending order, and the first L v values ​​are taken and stored in The spatial position corresponding to the v value in , the spatial position of the v value is obtained by adding the local coordinates of the pixel on a certain sonar image to the global coordinates of the sonar image obtained by image registration; this step is repeated M×N times to obtain Where M represents the length of the stitched image, N represents the height of the stitched image, and is the size of the minimum bounding rectangle of the spliced ​​irregular image; L represents the number of variance values ​​to be accessed. Represents the pixel value variance set within the spatial window s1 and the temporal window t1, which is a local variance statistic. The pixel value variance v is stored in Before, we need to consider the background variance To make adjustments, the specific method is v new =f(v old ,b). Among them, f is the method function for adjusting the v value according to the background variance, and b is the variance of the pixel values ​​of each forward-looking sonar image in the spatial window s2 and the time window t2. is the pixel value variance set in the spatial window s2 and the time window t2, and is the local background variance statistic. More specifically, f can be:

[0048] f=v old e -b

[0049] This makes the v value smaller in the area with a larger b value. In order to make the calculated variance value better represent the local inherent background variance of the image, s2≥s1 is often taken; in order to make the calculated local difference value better avoid the influence of the local effective information of the image on the background modeling, t2>>t1 is often taken. For example, s1 can be 21, s2 can be 31, t1 can be 5, and t2 can be 101.

[0050] Figure 3 The figure shows four forward-looking sonar images after rotation and displacement transformation, corresponding to time t-3, t-2, t-1, and t. The figure shows the global variance map content. Figure 3 In the global coordinate system, a pixel x is located at coordinates (m,n), m∈{1,2,...,M},n∈{1,2,...,N}. According to From the dimension of , we can see that there are L variance value sequences under this coordinate position, and the variance values ​​are arranged in descending order. Correspondingly, we take out the forward-looking sonar image pixel values ​​corresponding to the L variance values ​​to form a pixel value sequence to provide input for subsequent steps.

[0051] Image fusion step: Calculate the pixel value at each coordinate of the preliminary spliced ​​image obtained by image registration to obtain the final fused image. The pixel values ​​on the forward-looking sonar image corresponding to the L values ​​at the corresponding coordinates are averaged.

[0052] This method is suitable for non-ideal sonar imaging configurations, taking into account intra-frame defects and inter-frame defects, and selecting a single image rich in effective information for weighted averaging to avoid images without information from participating in the averaging process to reduce the proportion of effective information. This method can retain the image information required by the observer, assist the observer in underwater detection, and reduce the amount of underwater detection data.

[0053] The above is only a preferred embodiment of the present invention. Although the present invention has been disclosed as a preferred embodiment, it is not intended to limit the present invention. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present invention by using the above disclosed methods and technical contents without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.

Claims

1. A forward-looking sonar image stitching method that preserves information, It is characterized in that The method comprises: acquiring a forward-looking sonar image sequence, image registration, information extraction and image fusion; The specific steps of the image registration are: using the phase correlation method to estimate the relative rotation displacement of the forward-looking sonar image sequence, accumulating it to obtain the global rotation displacement, and applying it to the image to obtain a preliminary spliced ​​image; The specific steps of information extraction are: using the forward-looking sonar image sequence to obtain local variance statistics and local background variance statistics through the time window method and the space window method, using weights to combine them into modified local variance statistics, and combining the modified local variance statistics with the global rotation displacement to obtain a global variance map; The specific steps of image fusion are as follows: the preliminary splicing images are formed into the final splicing result under the action of the global variance map, and the value of the pixel point at each coordinate of the splicing image is obtained by the global variance map. The pixel values ​​on the forward-looking sonar image corresponding to the L values ​​on the corresponding coordinates are averaged, and L represents the number of variance values ​​that need to be accessed.

2. A method for stitching forward-looking sonar images that retains information according to claim 1, It is characterized in that The method of estimating the relative rotational displacement of the forward-looking sonar image sequence by using the phase correlation method specifically employs the phase correlation method based on Fourier-Mellin transform to estimate the relative rotational displacement between the forward-looking sonar images at adjacent moments.

3. The information-retaining forward-looking sonar image stitching method according to claim 1, It is characterized in that The local variance statistics are calculated as follows: Calculate each forward-looking sonar image in the spatial window s 1 and time window t 1 The pixel value variance within Represents the spatial window s 1 and time window t 1 The set of pixel value variances within is the local variance statistic; The local background variance statistics calculation method is as follows: Calculate each forward-looking sonar image in the spatial window s 2 and time window t 2 The pixel value variance within Represents the spatial window s 2 and time window t 2 The pixel value variance set within is the local background variance statistic; In order to make the calculated variance value better represent the local intrinsic background variance of the image, take s 2 ≥s 1 ; In order to make the calculated variance value better avoid the influence of local effective information of the image on background modeling, take t 2 >>t 1 .

4. The method for stitching forward-looking sonar images with information preservation according to claim 3, It is characterized in that The global variance map Specifically, the spatial window s 1 and time window t 1 The pixel value variance v in the array is arranged in descending order, and the first L v values ​​are taken and stored in The spatial position corresponding to the v value in , the spatial position of the v value is obtained by adding the local coordinates of the pixel corresponding to the v value on a certain sonar image to the global coordinates of the sonar image obtained by image registration; this step is repeated M×N times to obtain Wherein, M represents the length of the stitched image, N represents the height of the stitched image, M and N are the sizes of the minimum bounding rectangle of the spliced ​​irregular image; L represents the number of variance values ​​to be accessed.

5. The method for stitching forward-looking sonar images with information preservation according to claim 4, It is characterized in that The pixel value variance v is stored in Before, we need to base our calculation on the background variance. To make adjustments, the specific method is v new =f(v old , b); where f is the method function for adjusting the v value according to the background variance, v old , v new is the pixel value variance before and after adjustment.