A remote sensing ship target tracking method based on background self-selection
Through the background self-selection method in ship remote sensing videos, the video frames are divided into pure ocean and sea and land backgrounds, and relevant filtering and neural networks are used for target tracking, and a loss return mechanism is provided to solve the problem of detection rate in the existing technology. It solves the problems of low tracking and tracking loss, achieves a balance between high accuracy and high speed, and adapts to the characteristics of ship remote sensing video.
Patent Information
- Application Number
- CN202110560777.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-05-21
AI Technical Summary
The existing technology lacks in-depth multi-target tracking model research in ship remote sensing videos, and traditional methods are difficult to adapt to the domain characteristics of ship remote sensing videos, resulting in low detection rates and tracking loss problems.
Using a method based on background self-selection, the video frames are divided into two categories: pure ocean background and sea and land background. High-speed correlation filtering algorithm and high-precision neural network are used for target tracking, and each module is equipped with a tracking loss return mechanism. , re-detection and classification processing through the front-end module.
It improves the detection accuracy and tracking speed of ship remote sensing videos, enhances the adaptability and robustness of the algorithm, reduces the problem of tracking loss caused by scene switching, and achieves a balance between high accuracy and high speed.
Smart Images

Figure CN113255513B
Abstract
Description
Technical Field
[0001] The invention relates to a remote sensing ship multi-target tracking method based on background self-selection, belonging to the technical field of multi-target tracking. Background Art
[0002] Recently, with the frequent military activities at sea and the development of marine transportation and trade, as the key targets of security monitoring and wartime strikes, it is of great practical significance and application value to use technical means to quickly and accurately identify and track ship targets. Remote sensing video has the following characteristics: some frames in long videos are often of very poor quality, which is manifested as motion blur, fog and occlusion in ship videos. Video target detection and tracking mainly consider how to integrate more spatiotemporal features to make up for the lack of features obtained from a single frame in training or detection. In addition, from the perspective of shooting scenes, the picture content of ship remote sensing videos is mainly divided into sea and land background and pure ocean background. For frame images containing sea and land background, due to the large number of buildings in the port and the limitation of the shooting angle of the remote sensing satellite, it is difficult to detect the ship well. We prefer a high-precision and high-accuracy detection network; for frame images with pure ocean background, due to the good distinction between the single ocean background and the ship, we are more willing to pursue a high-speed tracking network. This feature is unique to the remote sensing video of the ship.
[0003] At present, the application of scholars at home and abroad in this area is still in the exploratory stage, and the research is mainly aimed at the detection of vehicle and aircraft targets. The mixed Gaussian background modeling and multi-frame difference algorithm combined with background model update can better solve the low detection rate and false alarm rate in satellite video small target detection. In view of the problem that the CN algorithm cannot find the target again once it loses it, full-automatic tracking can be achieved through cyclic detection, and the implemented method has strong robustness. However, there are still the following two problems in this field: First, most of the current research is based on target detection of ship remote sensing images, and there is a lack of in-depth research on target tracking models of ship remote sensing videos; second, ship remote sensing videos have strong domain characteristics, and traditional methods are difficult to generalize. Summary of the invention
[0004] The present invention aims at the problems existing in the prior art and provides a remote sensing ship multi-target tracking method based on background self-selection. The method introduces a front-end module to divide the sequence frames into two categories: pure ocean background and background containing land and sea. For frame images with pure ocean background, a high-speed correlation filtering algorithm is used to track multiple targets; for frame images containing land and sea background, a high-precision neural network is used to track multiple targets. In addition, a tracking loss return mechanism is provided at each module. For the tracking loss and scene switching phenomenon of the tracking module, the front-end module is returned to re-detect and classify.
[0005] In order to achieve the above object, the technical solution of the present invention is as follows: a remote sensing ship multi-target tracking method based on background self-selection, comprising the following steps:
[0006] Step 1) Preprocessing: De-noising and feature enhancement are performed on the input video sequence to remove the interference of weather factors and shooting angles on the sequence, improve image clarity, and highlight feature information;
[0007] Step 2) Target detection and sea-land background classification: Target detection is performed on each frame after the preprocessing in step 1. The target detection result is used as the initial target information of the subsequent tracking module. At the same time, the image is semantically segmented. According to the background segmentation result, the image is divided into a pure ocean background image and an image containing a sea-land background;
[0008] Step 3) Target tracking under different backgrounds: According to the classification results of step 2), different target tracking methods are used for the sequences. For sequences with pure ocean background, the correlation filter tracking method is used to improve the tracking speed; for sequences with sea and land backgrounds, the mainstream neural network method is used to improve the tracking accuracy as much as possible;
[0009] Step 4) Lost return mechanism: A tracking loss detection and return mechanism is set in the target tracking module. For a frame where tracking is lost, it will return to step 2) for re-detection and classification.
[0010] In the preferred embodiment of the method of the present invention, in step 1), a remote sensing image defogging method based on dark primary color prior is first used to obtain the dark primary color map of the image by obtaining the minimum value of the intensity values of the three color channels of each pixel. While ensuring the real-time processing requirements, the interference of fog on the remote sensing image is quickly and effectively removed, the image clarity is improved, and the true color of the scene is restored. Then the sequence image is multiplied by the Hanning window, which gradually reduces the pixel value near the edge to zero, so that more emphasis is placed near the center of the target.
[0011] In the preferred embodiment of the method of the present invention, the method of target detection and sea and land background classification in step 2) is: use YOLACT to perform ship target detection and background segmentation on the image, and judge whether the image contains land features based on the result of background segmentation. If there are large areas of land features, we believe that the image belongs to an image containing ocean and land background, otherwise we believe that the frame belongs to an image with a pure ocean background.
[0012] In a preferred embodiment of the method of the present invention, the method for tracking targets under different backgrounds in step 3) is:
[0013] a) For sequences with pure ocean background, a MOSSE tracker based on correlation filtering is used to track multiple targets, and the result of target detection in step 2) is used as the initial target feature of MOSSE. In the actual tracking process, we need to take into account the influence of factors such as the appearance change of the target, so we need to consider multiple images of the target as references at the same time to improve the robustness of the filter template. At the same time, multiple ship targets will appear in one frame of image. These targets may belong to different types of ships, but show similar features in the frequency domain. We use the idea of ASEF for synthetic averaging, and then accumulate the errors of m frames of images. The optimization problem is transformed into:
[0014]
[0015] H* is defined as the optimal universal filter template to be found, n i Defined as the number of ships in the i-th frame image, H * ij It is defined as the optimal filter template required by the jth ship in the i-th frame image under Fourier transform, F i Defined as the input image of the i-th frame under Fourier transform, G ij It is defined as the corresponding output of the jth ship in the i-th frame image under Fourier transform.
[0016] By taking the derivative, we can obtain the closed-form solution of H*,
[0017]
[0018] b) For sequences containing sea and land backgrounds, the Siamese-RPN network is used for multi-target tracking. Corresponding multi-threaded synchronous tracking is performed in the classification branch and the regression branch respectively, and the result of the target detection in step 2) is used as the template frame of the Siamese-RPN.
[0019] In the preferred embodiment of the method of the present invention, the specific process of the lost return mechanism in step 4) is as follows:
[0020] a) In Siamese-RPN, when the score values of each position near the center point i When they are very close, it is considered that the video environment has changed significantly or the tracking is lost. At this time, an alarm for tracking loss needs to be issued and the sea and land detection module needs to be started to update the template frame. The standard deviation σ reflects the discrete degree of all bunding boxes, and N represents the number of bounding boxes near the center point that are included in the sorting;
[0021]
[0022] b) In MOSSE, when the detection frame after the inverse fast Fourier transform has a large position change from the previous frame, we believe that there is a tracking loss phenomenon, and it will be returned to the front module for reprocessing.
[0023] The method of the present invention fully exploits the characteristic information of ship remote sensing video, proposes a classification tracking mechanism, and adapts well to the application scenario, greatly improving the tracking speed while ensuring the detection accuracy. Compared with the prior art, the present invention has the following advantages:
[0024] (1) It has strong adaptability to ship remote sensing videos. Ship remote sensing videos are different from target tracking in general scenes. Remote sensing near land is interfered by very complex ground information, and the foreground and background are very easy to separate in the ocean. The present invention uses the background selection mechanism to process the two situations separately, making full use of the characteristic information of the scene and improving the adaptability of the algorithm to the application field.
[0025] (2) Balance between high precision and high speed. The algorithm based on correlation filtering has extremely fast tracking speed, but low precision. The use of mainstream deep neural networks for target tracking is just the opposite. The algorithm proposed in this paper combines the advantages of the two methods and achieves very good performance in speed and precision evaluation.
[0026] (3) Adaptability to scene switching. In the real-time transmission process, there are problems of transmission interruption and scene switching. The general target tracking algorithm relies on the first frame information marked and cannot handle scene switching. In the algorithm of the present invention, the front target detection module is used to provide initial information, and multiple tracking loss return mechanisms are provided in the subsequent modules to avoid the tracking loss problem caused by scene switching to the greatest extent.
[0027] (4) Make full use of the advantages of each network and make up for its shortcomings. YOLACT has high accuracy but relatively large time overhead. The present invention adopts the N-frame detection method so that the time overhead of detection can be ignored in the video stream. One of the disadvantages of Siamese-RPN is that it uses the first frame as the template for matching, which is not robust to large changes in the target. In the network of the present invention, a tracking return mechanism is used to update the template frame in time. MOSSE has an extremely fast tracking speed, but the feature used is a single-channel grayscale feature, and its ability to characterize the target is limited. The present invention uses MOSSE to track targets in simple backgrounds, which greatly reduces the difficulty of tracking. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a flow chart of the method of the present invention;
[0029] Figure 2 It is a simplified schematic diagram;
[0030] Figure 3 is a flow chart of the MOSSE detector with tracking loss detection. DETAILED DESCRIPTION
[0031] In order to deepen the understanding of the present invention, the present embodiment is described in detail below with reference to the accompanying drawings.
[0032] A remote sensing ship multi-target tracking method based on background self-selection performs high-precision target detection and background classification on specific frames through a front-end module. The module divides the sequence frames into two categories: pure ocean background and background containing land and sea. For frame images with pure ocean background, a high-speed correlation filter algorithm is used to track multiple targets; for frame images containing land and sea background, a high-precision neural network is used to track multiple targets. In addition, a tracking loss return mechanism is set at each module. For tracking loss and scene switching of the tracking module, the front-end module is returned to re-detect and classify.
[0033] 1. System Architecture
[0034] Figure 1 The architecture of a remote sensing ship multi-target tracking method based on background self-selection is given, and the specific descriptions of its main parts are given below.
[0035] A remote sensing ship multi-target tracking method based on background self-selection includes the following steps:
[0036] Step 1, preprocessing:
[0037] First, a remote sensing image defogging method based on dark color prior is used to obtain the dark color map of the image by finding the minimum value of the intensity values of the three color channels of each pixel. While ensuring real-time processing requirements, the interference of fog on remote sensing images is quickly and effectively removed, the image clarity is improved, and the true color of the scene is restored. Then the sequence image is multiplied by the Hanning window, which gradually reduces the pixel values near the edge to zero, so that more emphasis is placed near the center of the target.
[0038] Step 2: Target detection and land and sea background classification:
[0039] YOLACT is used to perform ship target detection and background segmentation on the image. The result of background segmentation is used to determine whether the image contains land features. If there are large areas of land features, we believe that the image contains both ocean and land backgrounds. Otherwise, we believe that the frame belongs to an image with a pure ocean background.
[0040] The method of target tracking under different backgrounds in step 3 is:
[0041] a) For sequences with pure ocean background, a MOSSE tracker based on correlation filtering is used to track multiple targets, and the result of target detection in step 2) is used as the initial target feature of MOSSE. In the actual tracking process, we need to take into account the influence of factors such as the appearance change of the target, so we need to consider m images of the target as references at the same time to improve the robustness of the filter template. At the same time, multiple ship targets will appear in one frame of image. These targets may belong to different types of ships, but show similar features in the frequency domain. We use the idea of ASEF for synthetic averaging, and then accumulate the errors of m frames of images. The optimization problem is transformed into:
[0042]
[0043] H* is defined as the optimal universal filter template to be found, n i Defined as the number of ships in the i-th frame image, H * ij It is defined as the optimal filter template required by the jth ship in the i-th frame image under Fourier transform, F i Defined as the input image of the i-th frame under Fourier transform, G ij It is defined as the corresponding output of the jth ship in the i-th frame image under Fourier transform.
[0044] By taking the derivative, we can obtain the closed-form solution of H*,
[0045]
[0046] b) For sequences containing sea and land backgrounds, the Siamese-RPN network is used for multi-target tracking. Corresponding multi-threaded synchronous tracking is performed in the classification branch and the regression branch respectively, and the result of the target detection in step 2) is used as the template frame of the Siamese-RPN.
[0047] Step 4, lost return mechanism;
[0048] In Siamese-RPN, when the score values of each position near the center point i When they are very close, it is considered that the video environment has changed significantly or the tracking is lost. At this time, an alarm for tracking loss needs to be issued and the sea and land detection module needs to be started to update the template frame. The standard deviation σ reflects the discrete degree of all bunding boxes, and N represents the number of bounding boxes near the center point that are included in the sorting;
[0049]
[0050] In MOSSE, when the detection frame after the inverse fast Fourier transform has a large position change from the previous frame, we believe that there is a tracking loss phenomenon, and it will be returned to the front module for reprocessing.
[0051] 2. Specific process:
[0052] See also Figure 1 , a code search method based on structured information, the specific process is as follows:
[0053] Step 1) Preprocessing: De-noising and feature enhancement are performed on the input video sequence to remove the interference of weather factors and shooting angles on the sequence, improve image clarity, and highlight feature information.
[0054] Step 2) Target detection and sea-land background classification: Target detection is performed on each frame after preprocessing in step 1, and the target detection result is used as the initial target information of the subsequent tracking module. At the same time, the image is semantically segmented, and the image is divided into a pure ocean background image and an image containing a sea-land background according to the background segmentation result.
[0055] Step 3) Target tracking under different backgrounds: Target tracking is performed on the sequence using different methods according to the classification results of step 2). For sequences with pure ocean background, the correlation filter tracking method is used to improve the tracking speed; for sequences with sea and land backgrounds, the mainstream neural network method is used to improve the tracking accuracy as much as possible.
[0056] Step 4) Lost return mechanism: A tracking loss detection and return mechanism is set in the target tracking module. For a frame where tracking is lost, it will return to step 2) for re-detection and classification.
[0057] 3. Specific application examples:
[0058] For the convenience of description, we assume that Figure 2 The simplified application example shown is as follows: the orange part represents the ship target to be tracked, the gray part represents the land background, and the blue part represents the ocean background.
[0059] According to the steps mentioned above, implement them in sequence:
[0060] In the first step, the video sequence is preprocessed. First, a remote sensing image dehazing method based on dark color prior is used to obtain the dark color map of the image by finding the minimum value of the three color channel intensity values of each pixel. Then the sequence image is multiplied by the Hanning window, which gradually reduces the pixel values near the edge to zero, so that more emphasis is placed on the center of the target.
[0061] The second step is to enter the target detection and sea and land background classification module. Since there is a land background in the first frame, the first frame is classified as an image containing a sea and land background. The subsequent sequence enters the multi-target tracking module containing the sea and land background. The first frame detects two ship targets as the template information of the Siamese-RPN network.
[0062] In the third step, in the fourth frame, the scores near the center point are [0.1, 0.12, 0.09, 0.15, 0.11, 0.13, 0.13, 0.07], and the standard deviation is less than the set threshold, which means that the scores are close. We believe that there is tracking loss. When tracking loss occurs due to scene switching, return to the target detection and sea and land background classification module. Re-detect and classify the frame. Since there is no land background in this frame, the frame is classified as an image with a pure ocean background. The subsequent sequence enters the multi-target tracking module with a pure ocean background. Figure 3 As shown in the figure, during the tracking process, we only need to correlate the frame with the image of the current frame, and take the coordinates of the point with the largest response result as the target position in the current frame. In the filter initialization module, the feature extraction f0 of the first frame and the ideal confidence map g0 of the Gaussian distribution are known, so naturally, the initialized filter template h0 can be obtained. In the filter update module, the advantage of the MOSSE algorithm is that the filter template can use the customized confidence map g i Training and online updating reduce the possibility of target loss. One training includes two samplings. The first sampling is to locate the target position of the previous frame i in the current frame i+1 and sample it. The response is obtained through the filter. We call this response an over-response. Its Fourier transform is G in the regression model. i The pixel with the largest response in the current frame is obtained by using the transition response, and the current frame is sampled for the second time. At this time, the target is located at the center of the sampling frame. The Fourier transform of the sampling result is the F i Thus, H* can be obtained. The filter template is updated and the next frame is entered.
[0063] The fourth step is to complete tracking of all sequence frames and output the sequence video after visualization processing.
[0064] It should be noted that the above embodiments are not intended to limit the protection scope of the present invention, and equivalent changes or substitutions made on the basis of the above technical solutions all fall within the protection scope of the claims of the present invention.
Claims
1. A remote sensing ship multi-target tracking method based on background self-selection, characterized in that: The method comprises the following steps: Step 1) Preprocessing: De-noising and feature enhancement operations are performed on the input video sequence to remove the interference of weather factors and shooting angles on the sequence, improve image clarity, and highlight feature information; Step 2) Target detection and sea-land background classification: Target detection is performed on each frame after the preprocessing in step 1. The target detection result is used as the initial target information of the subsequent tracking module. At the same time, the image is semantically segmented. According to the background segmentation result, the image is divided into a pure ocean background image and an image containing a sea-land background; Step 3) Target tracking under different backgrounds: According to the classification results of step 2), different target tracking methods are used for the sequences. For sequences with pure ocean background, the correlation filter tracking method is used to improve the tracking speed; for sequences with sea and land backgrounds, the mainstream neural network method is used to improve the tracking accuracy as much as possible; The method of target tracking under different backgrounds in step 3) is: a) For sequences with pure ocean background, a MOSSE tracker based on correlation filtering is used to track multiple targets. The result of target detection in step 2) is used as the initial target feature of MOSSE. b) For sequences containing land and sea backgrounds, the Siamese-RPN network is used for multi-target tracking. The classification branch and the regression branch perform corresponding multi-threaded synchronous tracking respectively. The result of the target detection in step 2) is used as the template frame of the Siamese-RPN. Step 4) Lost return mechanism: A tracking loss detection and return mechanism is set in the target tracking module. For a frame where tracking is lost, it will return to step 2) for re-detection and classification.
2. The remote sensing ship target tracking method based on background self-selection according to claim 1 is characterized in that: In step 1), the specific process of video preprocessing is as follows: a) First, a remote sensing image defogging method based on dark color prior is used to obtain the minimum value of the intensity values of the three color channels of each pixel to obtain the dark color map of the image; b) The sequence image is then multiplied by the Hanning window, which gradually reduces the pixel values near the edge to zero, placing more emphasis near the center of the object.
3. The remote sensing ship target tracking method based on background self-selection according to claim 1 is characterized in that: In step 2), the method of target detection and sea-land background classification is: YOLACT is used to perform ship target detection and background segmentation on the image. The result of background segmentation is used to determine whether the image contains land features. If there are large areas of land features, the image is considered to contain ocean and land backgrounds. Otherwise, it is considered to be an image with a pure ocean background.
4. The remote sensing ship target tracking method based on background self-selection according to claim 1 is characterized in that: The specific process of the lost return mechanism in step 4) is as follows: a) In Siamese-RPN, when the score values of each position near the center point i When they are very close, it is considered that the video environment has changed significantly or the tracking is lost. At this time, an alarm for tracking loss needs to be issued and the sea and land detection module needs to be started to update the template frame. The standard deviation σ reflects the discrete degree of all bunding boxes, and N represents the number of bounding boxes near the center point that are included in the sorting; b) In MOSSE, when the position of the detection frame after the inverse fast Fourier transform changes from the previous frame, it is considered that there is a tracking loss phenomenon, and it will be returned to the front module for reprocessing.
