A self-supervised method for repairing the rolling shutter effect of forward-looking sonar images
By adjusting the coordinate matrix and implicit neural representation of the acoustic image through a self-supervised method, the rolling door effect of the acoustic lens-based forward-looking sonar under high-speed motion is removed, the image splitting problem is solved, and adaptive repair without external data input is realized and expanded. Underwater detection application scenarios.
Patent Information
- Application Number
- CN202310669461.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-06-07
AI Technical Summary
Forward-looking sonar based on acoustic lenses suffers from image splitting caused by the rolling door effect when moving at high speeds. Existing technology is difficult to self-supervised repair and requires external speed measurement data input, which limits its application scenarios.
By obtaining the original acoustic image to generate a coordinate matrix representing the sampling point, adjust the learnable parameters of the inter-channel displacement, use implicit neural representation and mapping function to remove the rolling shutter effect, and generate the acoustic image after removing the rolling shutter effect, without the need for training data or external positioning speed measurement data.
It achieves self-supervised removal of the rolling shutter effect, reduces platform load and power consumption, expands the application scenarios of forward-looking sonar in underwater detection, and is suitable for still life and high-speed scanning.
Smart Images

Figure CN116777772B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of computer vision, and in particular relates to a method for self-supervised repair of a rolling shutter effect of a forward-looking sonar image. 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 working distance. Among them, forward-looking sonar, as an emerging type of sonar, has become a hot topic in the research of underwater detection technology due to its extremely high imaging resolution, extremely high imaging frame rate and relatively low price. Among them, forward-looking sonar based on acoustic lens is loved by academia and industry for its extremely high beam resolution and large number of sampling points. Among them, forward-looking sonar based on acoustic lens has the best imaging clarity at present due to its periodic imaging method, and is widely favored by academia and industry. The models are mainly DIDSON series and ARIS series forward-looking sonars developed by SoundMetrics of the United States.
[0003] The high signal-to-noise ratio of forward-looking sonar based on acoustic lens is mainly due to the low crosstalk between channels. The main way to achieve this effect is its unique imaging strategy of periodic channel activation. Assuming that it has N beams beams, which are divided into N cycles = {4, 8} times to form an image, each time activating the number of channels N once =N beams / N cycles , activation time t once =t full / N cycles Among them, t full is the total time to form an acoustic image. c ∈{0, 1, ..., N cycles The channel numbers activated in the next cycle are {0, 1, ..., N once -1}*N cycles +n c. This imaging strategy staggers the channels in space and time to minimize the crosstalk between channels caused by beam sidelobe energy. However, the staggered activation time means that the origin of the sonar coordinates may not be the same at different times. For example, when the sonar is in high-speed motion, the sonar is located far away at different activation times, and the collected acoustic image has an obvious splitting effect. The formation principle of this phenomenon is similar to the rolling door effect of a rolling door camera, so it is called the rolling door effect of sonar. Acoustic images under the influence of this effect cannot be directly used for computer vision tasks such as image stitching, three-dimensional reconstruction, and target recognition. This poses a huge challenge to navigation positioning, target recognition, and three-dimensional reconstruction tasks based on acoustic images.
[0004] Currently, there is no technology for self-supervised repair of the rolling door effect of forward-looking sonar based on acoustic lenses. The official solution provided by SoundMetrics requires external speed measurement data input. However, due to the limitations of the platform's loading capacity, power consumption requirements, budget, calibration accuracy, etc., external speed measurement data may not always be accurate. Therefore, it is particularly important to propose a self-supervised method for repairing the rolling door effect of forward-looking sonar images. It only requires a single acoustic image, no training data, no external positioning, and no speed measurement data input, which reduces the demand for speed measurement equipment and reduces the platform's load pressure and power consumption. It expands the application scenarios of forward-looking sonar based on acoustic lenses. Whether the underwater platform is conducting low-speed, high-definition observations of static objects or high-speed scanning of the seabed, the same forward-looking sonar equipment can be used, which is of significant and important help in practical applications. Summary of the invention
[0005] The purpose of the present invention is to provide a self-supervised method for repairing the rolling shutter effect of forward-looking sonar images in view of the deficiencies in the prior art.
[0006] The object of the present invention is achieved by the following method: a method for self-supervising the repair of the rolling shutter effect of the forward-looking sonar image, the method comprising the following steps:
[0007] S1, obtaining the original acoustic image and generating a coordinate matrix representing the space where the sampling points are located;
[0008] S2, adjusting the generated image by the learnable parameters representing the displacement between channels, obtaining the high-frequency information through the mapping function, and obtaining the final coordinate matrix;
[0009] S3, perform implicit neural representation on the final coordinate matrix, and use the output of the implicit neural representation and the collected true value to form a loss function to update the learnable parameters and weights;
[0010] S4. Generate grid coordinates from the acoustic image and use the trained implicit neural representation to obtain the acoustic image without the rolling shutter effect.
[0011] Furthermore, the coordinate matrix in S1 Where N beams is the number of sonar beams, N bins is the number of sampling points for each beam along the time axis; the long side of the matrix is normalized to 1, and the other dimensions are scaled proportionally.
[0012] Furthermore, the learnable parameter is used to represent the physical displacement of the sonar origin represented by the channels activated at adjacent moments. Represents, where x and y represent displacements and θ represents rotation.
[0013] Furthermore, the mapping function is Where C is the coordinate input, is a mapping function that can represent the high-frequency information of input C, L controls the selection of the number of frequencies when representing high-frequency information, and α is an enabling factor that controls the enabling state of different frequencies when representing high-frequency information;
[0014] Furthermore, the mapping function Specifically:
[0015]
[0016] Among them, x∈C is the two-dimensional coordinate of a point,
[0017] f k (x; α) = w k (α)[cos(2 k πx), sin(2 k πx)],
[0018] Where k∈{0, 1, ..., L-1} represents the kth frequency,
[0019]
[0020] Furthermore, in the mapping function, the enabling factor α tends to increase gradually with the fitting process, so that the high-frequency information obtained by mapping is gradually increased.
[0021] Furthermore, the implicit neural representation is specifically: a neural network with learnable parameters and image coordinates adjusted by mapping functions as input, a multilayer perceptron as the network body, and acoustic image pixel values as output.
[0022] Furthermore, in the update of the loss function, the parameters can be learned The process involved in the calculation is differentiable, and the weights and learnable parameters are updated together through back propagation during the update process.
[0023] Furthermore, in S4, the fitted implicit neural representation includes acoustic image information after the rolling shutter effect is removed, and the acoustic image after the rolling shutter effect is removed can be obtained by sampling using the image coordinate grid.
[0024] The beneficial effect of the present invention is that the method does not require training data, external positioning, or speed measurement data input, and can self-supervise and remove the rolling shutter effect that appears in the acoustic image collected by the forward-looking sonar based on the acoustic lens under high-speed movement. It repairs the image splitting effect and provides a basis for the successful solution of subsequent computer vision tasks based on acoustic images. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Flowchart of self-supervised restoration of rolling shutter effect in forward-looking sonar images;
[0026] Figure 2 Schematic diagram of the network structure of implicit neural representation. DETAILED DESCRIPTION
[0027] 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.
[0028] 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:
[0029] The present invention discloses a self-supervised method for repairing the rolling door effect of forward-looking sonar images. The method only requires a single acoustic image, does not require training data, and does not require external positioning or velocity measurement data input. The displacement distance between the sensor channels activated at different times can be adaptively restored. The obtained displacement distance is compensated in the acoustic image to obtain an acoustic image with the rolling door effect removed.
[0030] The overall process is as follows Figure 1 As shown: the acquired acoustic image generates coordinates, which are adjusted by the learnable parameters representing the displacement between channels, and then the high-frequency information is obtained through the mapping function as the input of the network. The output result is the prediction of the pixel value, which forms a loss function with the true value to update the weights and learnable parameters of the network. Finally, the grid coordinates of the image to be generated are generated from the original acoustic image, and the acoustic image without the rolling shutter effect is obtained after network inference. The detailed implementation process of this method is as follows:
[0031] Assume that an acoustic image is acquired at a certain time N beamsis the number of sonar beams, N bins is the number of sampling points of each beam along the time axis. cycles = {4, 8} times to form an image, each time activating the number of channels N once =N beams / N cycles , activation time t once =t full / N cycles Among them, t full is the total time to form an acoustic image. c ∈{0, 1, ..., N cycles The channel numbers activated in the next cycle are {0, 1, ..., N once -1}*N cycles +n c .
[0032] According to the known information such as activation time, sampling interval, sound speed, beam angle, etc., the coordinate matrix of the sampling point in the imaging plane can be obtained in units of physical quantities (such as meters). The long side of the matrix is normalized to 1, and the remaining dimensions are scaled.
[0033] The physical displacement of the sonar origin represented by the channels activated at adjacent moments is represented by the learnable parameters Indicated by . Among them, x and y represent displacement, and θ represents rotation. Compared with time 0, the sampling point at time 1 needs to undergo a rotation of angle θ and a translation represented by x and y:
[0034]
[0035] Among them, R θ represents the rotation matrix of θ, P1 is the sampling point position at time 1, is the sampling point position after considering the rolling door effect. c The sampling point position at the moment needs to be n c The final coordinate matrix is recorded as Need to be passed as input to the mapping function Get the output. Among them, C is the coordinate input, is a mapping function that can characterize the high-frequency information of input C, L controls the selection of the number of frequencies when characterizing high-frequency information, and α is an enabling factor that controls the enabling state of different frequencies when characterizing high-frequency information. The mapping function Under the control of α, it tends to make the high-frequency information obtained by mapping gradually increase as the fitting process proceeds. In the representation, let for:
[0036]
[0037] Among them, x∈C is the two-dimensional coordinate of a point,
[0038] f k (x; α) = w k (α)[cos(2 k πx), sin(2 k πx)],
[0039] Where k∈{0, 1, ..., L-1} represents the kth frequency,
[0040]
[0041] Among them, α gradually increases with the training process. Assume that the total number of training times is N iters , the current number of training times is n iter In this embodiment, The output of is used as input into the implicit neural representation Φ.
[0042] The control strategy of α and its influence on the network are crucial to the results of this method. If the choice of α causes the network to continuously block frequency information, the network will eventually fail to converge well to express the acoustic image; if the choice of α causes the network to always retain frequency information, the learnable parameters will It cannot converge because it is overly affected by the gradient of high-frequency information.
[0043] The network structure of the implicit neural representation Φ is a multi-layer perceptron. In this embodiment, the network structure is as follows: Figure 2 It contains an input layer with 2+4L neurons, three hidden layers with 256 neurons, and an output layer with 1 neuron.
[0044] The output of the network is The network loss is formed with the true value y in the collected acoustic image I to train the network, where y is the value of a pixel in I. The computation process is differentiable, and the training process updates the weights and learnable parameters of the implicit neural representation Φ together through back propagation.
[0045] Finally, the expected image grid coordinates are generated and sampled using Φ to obtain the predicted values, thus obtaining an acoustic image without the rolling door effect.
[0046] 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 self-supervised method for repairing the rolling shutter effect of forward-looking sonar images, characterized in that: The method comprises the following steps: S1, obtaining the original acoustic image and generating a coordinate matrix representing the space where the sampling points are located; S2, adjusting the generated coordinate matrix by the learnable parameters representing the displacement between channels, obtaining high-frequency information through the mapping function, and obtaining the final coordinate matrix; Specifically, the physical displacement of the sonar origin represented by the channels activated at adjacent moments is represented by learnable parameters Indicated by; where x and y represent displacement, and θ represents rotation; compared to time 0, the sampling point at time 1 needs to undergo a rotation of angle θ and a translation represented by x and y: Among them, R θ represents the rotation matrix of θ, P1 is the sampling point position at time 1, is the sampling point position after considering the rolling door effect, n c The sampling point position at the moment needs to be n c The final coordinate matrix is corrected by rotation and displacement. Need to be passed as input to the mapping function Get the output, where C is the coordinate input, is a mapping function that can represent the high-frequency information of input C, L controls the selection of the number of frequencies when representing high-frequency information, α is an enabling factor that controls the enabling state of different frequencies when representing high-frequency information, The mapping function Specifically: Among them, x∈C is the two-dimensional coordinate of a point, f k (x;α)=w k (α)[cos(2 k πx),sin(2 k πx)], Where k∈{0, 1, ..., L-1} represents the kth frequency, S3, performing implicit neural representation on the final coordinate matrix, and using the output of the implicit neural representation and the collected original acoustic image truth value to form a loss function to update the learnable parameters and weights; S4. Generate grid coordinates from the acoustic image, and use the fitted implicit neural representation to obtain the acoustic image without the rolling shutter effect.
2. A self-supervised method for repairing the rolling shutter effect of forward-looking sonar images according to claim 1, characterized in that: The coordinate matrix in S1 Where N beams is the number of sonar beams, N bins is the number of sampling points for each beam along the time axis; the long side of the matrix is normalized to 1, and the other dimensions are scaled proportionally.
3. The method for self-supervised repair of rolling shutter effect of forward-looking sonar images according to claim 1, characterized in that: In the mapping function, the enabling factor α tends to gradually increase the high-frequency information obtained by mapping as the fitting process progresses.
4. The method for self-supervised repair of rolling shutter effect of forward-looking sonar images according to claim 1, characterized in that: The implicit neural representation is specifically: a neural network with learnable parameters and image coordinates adjusted by mapping functions as input, a multi-layer perceptron as the network body, and acoustic image pixel values as output.
5. The method for self-supervised repair of rolling shutter effect of forward-looking sonar images according to claim 1, characterized in that: In the loss function update, the parameters can be learned The process involved in the calculation is differentiable, and the weights and learnable parameters are updated together through back propagation during the update process.
6. The method for self-supervised repair of rolling shutter effect of forward-looking sonar images according to claim 1, characterized in that: In S4, the fitted implicit neural representation includes acoustic image information after the rolling shutter effect is removed, and the acoustic image after the rolling shutter effect is removed can be obtained by sampling using the image coordinate grid.
Citation Information
Patent Citations
Deep learning-based side-scan sonar waterfall image intermediate region restoration method
CN111445395A
Sonar image target enhancement method based on dual-tree complex number wavelet and fuzzy theory
CN112862716A
