Foreground detection method combining RPCA and feature fusion network
By combining robust principal component analysis and feature fusion network, the foreground probability map is generated and features are fused, which solves the problem of performance degradation of the deep learning foreground detection algorithm when the foreground and background are similar, and significantly improves the detection performance.
Patent Information
- Application Number
- CN202410594465.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-14
AI Technical Summary
When the foreground detection algorithm based on deep learning is too similar to the background or is difficult to observe, it is difficult to effectively extract the foreground features, resulting in a decrease in detection performance.
Combining robust principal component analysis (RPCA) and feature fusion network, the foreground probability map is generated and the features of the foreground probability map and the original image frame are fused in the feature fusion network to improve model detection performance.
It effectively removes a large amount of background information, retains foreground information, and improves the performance of foreground detection, especially in scenes where the foreground and background colors are similar.
Smart Images

Figure CN118570594A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of target detection, and in particular to a foreground detection method combining RPCA and a feature fusion network. Background Art
[0002] Foreground detection is a basic task in computer vision and video processing, and is often used as a preprocessing step for target tracking, video surveillance, etc. Recently, deep learning-based methods have achieved good results in the field of foreground detection, but when the foreground target in the video is too similar to the background or difficult to observe, some deep learning-based foreground detection algorithms cannot extract the foreground features well, resulting in a decrease in detection performance. Summary of the invention
[0003] The present invention aims to solve the problem that the current deep learning-based methods have poor detection performance in foreground detection methods, and provides a foreground detection method combining RPCA and a feature fusion network.
[0004] To solve the above problems, the present invention is achieved through the following technical solutions:
[0005] A foreground detection method combining RPCA and feature fusion network includes the following steps:
[0006] Step 1: Construct a feature fusion network;
[0007] Step 2, obtain a sample observation image data set; use the robust principal component analysis method to process each sample observation image in the sample observation image data set to obtain a sample foreground probability map corresponding to each sample observation image, so as to obtain a sample foreground probability map data set; manually process each sample observation image in the sample observation image data set to obtain a true foreground detection result map corresponding to each sample observation image, so as to obtain a true foreground detection result map data set;
[0008] Step 3: Use the sample observation map dataset, sample foreground probability map dataset and real foreground detection result map dataset obtained in step 2 to train the feature fusion network constructed in step 1 to obtain a foreground detection model;
[0009] Step 4: Obtain an observation image to be detected, and use the robust principal component analysis method to process the observation image to be detected to obtain a foreground probability map of the observation image to be detected;
[0010] Step 5: The observation image to be detected and its foreground probability obtained in step 4 Figure 1 And it is sent to the foreground detection model obtained in step 3, and the foreground detection model outputs the predicted foreground detection result image of the observation image to be detected.
[0011] In step 1, the feature fusion network consists of 34 convolutional layers, 8 downsampling layers, 5 stacking layers, 4 upsampling layers, 4 concatenation layers, and 1 convolution activation layer;
[0012] The input of the first convolutional layer forms the input of the observation graph, the output of the first convolutional layer is connected to the input of the second convolutional layer, and the output of the second convolutional layer is connected to the input of the first downsampling layer; the output of the first downsampling layer is connected to the input of the third convolutional layer, the output of the third convolutional layer is connected to the input of the fourth convolutional layer, and the output of the fourth convolutional layer is connected to the input of the second downsampling layer; the output of the second downsampling layer is connected to the input of the fifth convolutional layer, the output of the fifth convolutional layer is connected to the input of the sixth convolutional layer, the output of the sixth convolutional layer is connected to the input of the seventh convolutional layer, and the output of the seventh convolutional layer is connected to the input of the third downsampling layer; the output of the third downsampling layer is connected to the input of the eighth convolutional layer, the output of the eighth convolutional layer is connected to the input of the ninth convolutional layer, the output of the ninth convolutional layer is connected to the input of the tenth convolutional layer, and the output of the tenth convolutional layer is connected to the input of the fourth downsampling layer; the output of the fourth downsampling layer is connected to the input of the eleventh convolutional layer, the output of the eleventh convolutional layer is connected to the input of the twelfth convolutional layer, and the output of the twelfth convolutional layer is connected to the input of the thirteenth convolutional layer;
[0013] The input of the fourteenth convolutional layer forms the input of the foreground probability map, the output of the fourteenth convolutional layer is connected to the input of the fifteenth convolutional layer, and the output of the fifteenth convolutional layer is connected to the input of the fifth downsampling layer; the output of the fifth downsampling layer is connected to the input of the sixteenth convolutional layer, the output of the sixteenth convolutional layer is connected to the input of the seventeenth convolutional layer, and the output of the seventeenth convolutional layer is connected to the input of the sixth downsampling layer; the output of the sixth downsampling layer is connected to the input of the eighteenth convolutional layer, the output of the eighteenth convolutional layer is connected to the input of the nineteenth convolutional layer, and the output of the nineteenth convolutional layer is connected to the twentieth convolution layer. The output of the 20th convolution layer is connected to the input of the 7th downsampling layer; the output of the 7th downsampling layer is connected to the input of the 21st convolution layer, the output of the 21st convolution layer is connected to the input of the 22nd convolution layer, the output of the 22nd convolution layer is connected to the input of the 23rd convolution layer, and the output of the 23rd convolution layer is connected to the input of the 8th downsampling layer; the output of the 8th downsampling layer is connected to the input of the 24th convolution layer, the output of the 24th convolution layer is connected to the input of the 25th convolution layer, and the output of the 25th convolution layer is connected to the input of the 26th convolution layer;
[0014] The output of the second convolution layer and the output of the fifteenth convolution layer are simultaneously connected to the input of the first superimposed layer; the output of the fourth convolution layer and the output of the seventeenth convolution layer are simultaneously connected to the input of the second superimposed layer; the output of the seventh convolution layer and the output of the twentieth convolution layer are simultaneously connected to the input of the third superimposed layer; the output of the tenth convolution layer and the output of the twenty-third convolution layer are simultaneously connected to the input of the fourth superimposed layer; the output of the thirteenth convolution layer and the output of the twenty-sixth convolution layer are simultaneously connected to the input of the fifth superimposed layer;
[0015] The output of the fifth stacking layer is connected to the input of the first upsampling layer, the output of the first upsampling layer and the output of the fourth stacking layer are connected to the input of the first splicing layer at the same time, the output of the first splicing layer is connected to the input of the twenty-seventh convolutional layer, and the output of the twenty-seventh convolutional layer is connected to the input of the twenty-eighth convolutional layer; the output of the twenty-eighth convolutional layer is connected to the input of the second upsampling layer, the output of the second upsampling layer and the output of the third stacking layer are connected to the input of the second splicing layer at the same time, the output of the second splicing layer is connected to the input of the twenty-ninth convolutional layer, and the output of the twenty-ninth convolutional layer is connected to the input of the thirtieth convolutional layer; the output of the thirtieth convolutional layer is connected to the input of the third upsampling layer, and the output of the The outputs of the three upsampling layers and the output of the second superposition layer are connected to the input of the third splicing layer at the same time, the output of the third splicing layer is connected to the input of the thirty-first convolution layer, and the output of the thirty-first convolution layer is connected to the input of the thirty-second convolution layer; the output of the thirty-second convolution layer is connected to the input of the fourth upsampling layer, the output of the fourth upsampling layer and the output of the first superposition layer are connected to the input of the fourth splicing layer at the same time, the output of the fourth splicing layer is connected to the input of the thirty-third convolution layer, the output of the thirty-third convolution layer is connected to the input of the thirty-fourth convolution layer, the output of the thirty-fourth convolution layer is connected to the input of the convolution activation layer, and the output of the convolution activation layer forms the output of the foreground detection result map.
[0016] Compared with the prior art, the present invention proposes a foreground detection method combining robust principal component analysis (RPCA) and a feature fusion network. It generates a foreground probability map (FPM) using the RPCA algorithm, which removes a large amount of background information and retains the foreground information; and designs a feature fusion network in which the foreground probability map is fused with the features of the corresponding original image frame, so as to make full use of the complementary features between them and improve the detection performance of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Schematic diagram of the feature fusion network, (a) encoder, (b) decoder;
[0018] Figure 2 This is the training flow chart of the feature fusion network;
[0019] Figure 3 This is the detection flow chart of the foreground detection model;
[0020] Figure 4 The subjective result diagrams obtained by the present invention and the L112 algorithm in foreground detection of the "Snwfall" image; (a) observation diagram, (b) true foreground detection result diagram, (c) predicted foreground detection result diagram of L112, (d) predicted foreground detection result diagram of the present invention;
[0021] Figure 5 The subjective result graphs obtained by the present invention and the L112 algorithm in foreground detection of the “Corridor” image; (a) observation graph, (b) true foreground detection result graph, (c) predicted foreground detection result graph of L112, and (d) predicted foreground detection result graph of the present invention. DETAILED DESCRIPTION
[0022] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in combination with specific examples and with reference to the accompanying drawings.
[0023] A foreground detection method combining RPCA and feature fusion network includes the following steps:
[0024] Step 1: Construct a feature fusion network, which consists of an encoder and a decoder.
[0025] like Figure 1 As shown in (a), the encoder consists of 26 convolutional layers, 8 downsampling layers, and 5 stacking layers.
[0026] The input of the first convolutional layer forms the input of the observation graph, the output of the first convolutional layer is connected to the input of the second convolutional layer, and the output of the second convolutional layer is connected to the input of the first downsampling layer; the output of the first downsampling layer is connected to the input of the third convolutional layer, the output of the third convolutional layer is connected to the input of the fourth convolutional layer, and the output of the fourth convolutional layer is connected to the input of the second downsampling layer; the output of the second downsampling layer is connected to the input of the fifth convolutional layer, the output of the fifth convolutional layer is connected to the input of the sixth convolutional layer, the output of the sixth convolutional layer is connected to the input of the seventh convolutional layer, and the output of the seventh convolutional layer is connected to the input of the third downsampling layer; the output of the third downsampling layer is connected to the input of the eighth convolutional layer, the output of the eighth convolutional layer is connected to the input of the ninth convolutional layer, the output of the ninth convolutional layer is connected to the input of the tenth convolutional layer, and the output of the tenth convolutional layer is connected to the input of the fourth downsampling layer; the output of the fourth downsampling layer is connected to the input of the eleventh convolutional layer, the output of the eleventh convolutional layer is connected to the input of the twelfth convolutional layer, and the output of the twelfth convolutional layer is connected to the input of the thirteenth convolutional layer.
[0027] The input of the fourteenth convolutional layer forms the input of the foreground probability map, the output of the fourteenth convolutional layer is connected to the input of the fifteenth convolutional layer, and the output of the fifteenth convolutional layer is connected to the input of the fifth downsampling layer; the output of the fifth downsampling layer is connected to the input of the sixteenth convolutional layer, the output of the sixteenth convolutional layer is connected to the input of the seventeenth convolutional layer, and the output of the seventeenth convolutional layer is connected to the input of the sixth downsampling layer; the output of the sixth downsampling layer is connected to the input of the eighteenth convolutional layer, the output of the eighteenth convolutional layer is connected to the input of the nineteenth convolutional layer, and the output of the nineteenth convolutional layer is connected to the twentieth convolution layer. The output of the 20th convolution layer is connected to the input of the 7th downsampling layer; the output of the 7th downsampling layer is connected to the input of the 21st convolution layer, the output of the 21st convolution layer is connected to the input of the 22nd convolution layer, the output of the 22nd convolution layer is connected to the input of the 23rd convolution layer, and the output of the 23rd convolution layer is connected to the input of the 8th downsampling layer; the output of the 8th downsampling layer is connected to the input of the 24th convolution layer, the output of the 24th convolution layer is connected to the input of the 25th convolution layer, and the output of the 25th convolution layer is connected to the input of the 26th convolution layer.
[0028] The output of the second convolution layer and the output of the fifteenth convolution layer are simultaneously connected to the input of the first superimposed layer; the output of the fourth convolution layer and the output of the seventeenth convolution layer are simultaneously connected to the input of the second superimposed layer; the output of the seventh convolution layer and the output of the twentieth convolution layer are simultaneously connected to the input of the third superimposed layer; the output of the tenth convolution layer and the output of the twenty-third convolution layer are simultaneously connected to the input of the fourth superimposed layer; the output of the thirteenth convolution layer and the output of the twenty-sixth convolution layer are simultaneously connected to the input of the fifth superimposed layer.
[0029] The specific parameters of each layer of the encoder are as follows:
[0030] (1) Results of four convolutional layers and The size of RPCA-FPM and Current Frame is 256×256, the number of input channels is 1, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 256×256, and the number of output channels is 64.
[0031] (2) Results of the downsampling layer and The input size is 256×256, the number of input channels is 64, the pooling kernel is 2×2, the stride is 1, the edge padding method is 'same', the output size is 128×128, and the number of output channels is 64.
[0032] (3) Results of the second convolutional layer and The number of input channels is 64, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 128×128, and the number of output channels is 128.
[0033] (4) Results of the downsampling layer and The input size is 128×128, the number of input channels is 128, the pooling kernel is 2×2, the stride is 1, the edge padding method is 'same', the output size is 64×64, and the number of output channels is 128.
[0034] (5) Results of three convolutional layers and The number of input channels is 128, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 64×64, and the number of output channels is 256.
[0035] (6) Results of the downsampling layer and The input size is 64×64, the number of input channels is 256, the pooling kernel is 2×2, the stride is 1, the edge padding method is 'same', the output size is 32×32, and the number of output channels is 256.
[0036] (7) Results of three convolutional layers and The number of input channels is 256, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 32×32, and the number of output channels is 512.
[0037] (8) Results of the downsampling layer and The input size is 32×32, the number of input channels is 512, the pooling kernel is 2×2, the stride is 1, the edge padding method is 'same', the output size is 16×16, and the number of output channels is 512.
[0038] (9) Results of three convolutional layers and The number of input channels is 512, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 16×16, and the number of output channels is 512.
[0039] like Figure 1 As shown in (b), the decoder consists of 8 convolutional layers, 4 upsampling layers, 4 concatenation layers and 1 convolutional activation layer.
[0040] The output of the fifth stacking layer is connected to the input of the first upsampling layer, the output of the first upsampling layer and the output of the fourth stacking layer are connected to the input of the first splicing layer at the same time, the output of the first splicing layer is connected to the input of the twenty-seventh convolutional layer, and the output of the twenty-seventh convolutional layer is connected to the input of the twenty-eighth convolutional layer; the output of the twenty-eighth convolutional layer is connected to the input of the second upsampling layer, the output of the second upsampling layer and the output of the third stacking layer are connected to the input of the second splicing layer at the same time, the output of the second splicing layer is connected to the input of the twenty-ninth convolutional layer, and the output of the twenty-ninth convolutional layer is connected to the input of the thirtieth convolutional layer; the output of the thirtieth convolutional layer is connected to the input of the third upsampling layer, and the output of the The outputs of the three upsampling layers and the output of the second superposition layer are connected to the input of the third splicing layer at the same time, the output of the third splicing layer is connected to the input of the thirty-first convolution layer, and the output of the thirty-first convolution layer is connected to the input of the thirty-second convolution layer; the output of the thirty-second convolution layer is connected to the input of the fourth upsampling layer, the output of the fourth upsampling layer and the output of the first superposition layer are connected to the input of the fourth splicing layer at the same time, the output of the fourth splicing layer is connected to the input of the thirty-third convolution layer, the output of the thirty-third convolution layer is connected to the input of the thirty-fourth convolution layer, the output of the thirty-fourth convolution layer is connected to the input of the convolution activation layer, and the output of the convolution activation layer forms the output of the foreground detection result map.
[0041] The specific parameters of each layer of the decoder are as follows:
[0042] (1) Upsampling results The input size is 16×16, the number of input channels is 512, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 32×32, and the number of output channels is 512.
[0043] (2) The upsampling result With the corresponding size for splicing.
[0044] (3) Results of the convolutional layer and The input size is 32×32, the number of input channels is 512, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 32×32, and the number of output channels is 512.
[0045] (4) Results of the upsampling layer The input size is 32×32, the number of input channels is 512, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 64×64, and the number of output channels is 512.
[0046] (5) The upsampling result With the corresponding size for splicing.
[0047] (6) Results of the convolutional layer and The input size is 64×64, the number of input channels is 512, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 64×64, and the number of output channels is 256.
[0048] (7) Results of the upsampling layer The input size is 64×64, the number of input channels is 256, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 128×128, and the number of output channels is 256.
[0049] (8) The upsampling result With the corresponding size for splicing.
[0050] (9) Results of the convolutional layer and The input size is 128×128, the number of input channels is 256, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 128×128, and the number of output channels is 128.
[0051] (10) Results of the upsampling layer The input size is 128×128, the number of input channels is 128, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 256×256, and the number of output channels is 128.
[0052] (11) The upsampling result With the corresponding size for splicing.
[0053] (12) Results of the convolutional layer and The input size is 256×256, the number of input channels is 128, the convolution kernel is 3×3, the stride is 1, the edge padding method is 'same', the output size is 256×256, and the number of output channels is 64.
[0054] (13) Output results: input size is 256×256, the number of input channels is 64, the convolution kernel is 3×3, the step size is 1, the edge filling method is 'same', the activation function is the Sigmod function, the output size is 256×256, and the number of output channels is 1.
[0055] Step 2, obtain a sample observation map data set. Use the robust principal component analysis method to process each sample observation map in the sample observation map data set to obtain a sample foreground probability map corresponding to each sample observation map, so as to obtain a sample foreground probability map data set. Manually process each sample observation map in the sample observation map data set to obtain a true foreground detection result map corresponding to each sample observation map, so as to obtain a true foreground detection result map data set.
[0056] Step 3: Use the sample observation map dataset, sample foreground probability map dataset and real foreground detection result map dataset obtained in step 2 to train the feature fusion network constructed in step 1 to obtain a foreground detection model. The training process is as follows: Figure 2 shown.
[0057] Step 3.1, Initialization: Set the training number echo = 1, and the total training number E = 50.
[0058] Step 3.2: Send the sample observation image to the feature fusion network, and the feature fusion network outputs the predicted foreground detection result image.
[0059] Step 3.3: Use the Jacobi loss function to compare the difference between the predicted foreground detection result map and the actual foreground detection result map, and adjust the network parameters by minimizing the Jacobi loss function value during the training process. The specific calculation formula is as follows:
[0060]
[0061] Where p and q are the pixel matrices of the output result image respectively. and the horizontal and vertical indices of the pixel matrix Y of the original truth image, and T is a smoothing parameter set to 0.1.
[0062] Step 3.4, echo = echo + 1, if the value of the Jacobi loss function does not change or echo = E, the training ends and the foreground detection model U is obtained. Otherwise, go to step 3.2.
[0063] Step 4: Obtain the observation image to be detected, and use the robust principal component analysis method to process the observation image to be detected to obtain a foreground probability map of the observation image to be detected.
[0064] Step 5: The observation image to be detected and its foreground probability obtained in step 4 Figure 1 And sent to the foreground detection model obtained in step 3, the foreground detection model outputs the predicted foreground detection result map of the observation map to be detected. The detection process is as follows Figure 3 shown.
[0065] The effect of the present invention is verified by simulation experiments below.
[0066] Simulation conditions: The running environment of all experiments is python 3.7, 20GB of memory, NVIDIA GeForce GTX1050 GPU, CUDA 10.1 and Linux operating system.
[0067] Simulation content: The "Snwfall" surveillance video and the "Corridor" surveillance video are selected from the CDnet2014 database respectively, and the L112 algorithm (see the literature "CHEN Lixia, LIU Junli, WANG Xuewen. Background subtraction with Kronecker basis-representation based tensor sparsity and L112 norm [J]. Multidimensional Systems and Signal Processing, 2020, 32: 77-90.") and the algorithm of the present invention are used to process the "Snwfall" surveillance video and the "Corridor" surveillance video respectively.
[0068] Simulation results:
[0069] Figure 4 This is a subjective result diagram obtained by the present invention and the L112 algorithm in foreground detection of the "Snwfall" image; Figure 5 The subjective result graphs obtained by the present invention and the L112 algorithm in foreground detection of the "Corridor" image; (a) the observed graph, (b) the real foreground detection result graph, (c) the predicted foreground detection result graph of L112, and (d) the predicted foreground detection result graph of the present invention. Figure 4 and 5 It can be seen that the present invention has better detection performance when targeting surveillance videos with similar colors of foreground and background.
[0070] Table 1 shows the objective evaluation index F-measure values obtained by the present invention and the L112 algorithm when performing foreground detection on the "Snwfall" image and the "Corridor" image, and its value range is 0-1, and the larger the value, the better the detection performance. As can be seen from Table 1, the present invention obtains a larger F-measure value than the L112 algorithm, indicating that the detection performance of the present invention is better.
[0071] Table 1
[0072]
[0073] It should be noted that although the embodiments of the present invention described above are illustrative, they are not intended to limit the present invention, and therefore the present invention is not limited to the above specific embodiments. Without departing from the principles of the present invention, any other embodiments obtained by those skilled in the art under the guidance of the present invention are deemed to be within the protection of the present invention.
Claims
1. A foreground detection method combining RPCA and feature fusion network, characterized in that: The steps include: Step 1: Construct a feature fusion network; Step 2, obtain a sample observation image data set; use the robust principal component analysis method to process each sample observation image in the sample observation image data set to obtain a sample foreground probability map corresponding to each sample observation image, so as to obtain a sample foreground probability map data set; manually process each sample observation image in the sample observation image data set to obtain a true foreground detection result map corresponding to each sample observation image, so as to obtain a true foreground detection result map data set; Step 3: Use the sample observation map dataset, sample foreground probability map dataset and real foreground detection result map dataset obtained in step 2 to train the feature fusion network constructed in step 1 to obtain a foreground detection model; Step 4: Obtain an observation image to be detected, and use the robust principal component analysis method to process the observation image to be detected to obtain a foreground probability map of the observation image to be detected; Step 5: The observation image to be detected and its foreground probability map obtained in step 4 are sent to the foreground detection model obtained in step 3, and the foreground detection model outputs a predicted foreground detection result map of the observation image to be detected.
2. According to the foreground detection method combining RPCA and feature fusion network according to claim 1, it is characterized in that the feature fusion The network consists of 34 convolutional layers, 8 downsampling layers, 5 stacking layers, 4 upsampling layers, 4 concatenation layers, and 1 convolutional activation layer; The input of the first convolutional layer forms the input of the observation graph, the output of the first convolutional layer is connected to the input of the second convolutional layer, and the output of the second convolutional layer is connected to the input of the first downsampling layer; the output of the first downsampling layer is connected to the input of the third convolutional layer, the output of the third convolutional layer is connected to the input of the fourth convolutional layer, and the output of the fourth convolutional layer is connected to the input of the second downsampling layer; the output of the second downsampling layer is connected to the input of the fifth convolutional layer, the output of the fifth convolutional layer is connected to the input of the sixth convolutional layer, the output of the sixth convolutional layer is connected to the input of the seventh convolutional layer, and the output of the seventh convolutional layer is connected to the input of the third downsampling layer; the output of the third downsampling layer is connected to the input of the eighth convolutional layer, the output of the eighth convolutional layer is connected to the input of the ninth convolutional layer, the output of the ninth convolutional layer is connected to the input of the tenth convolutional layer, and the output of the tenth convolutional layer is connected to the input of the fourth downsampling layer; the output of the fourth downsampling layer is connected to the input of the eleventh convolutional layer, the output of the eleventh convolutional layer is connected to the input of the twelfth convolutional layer, and the output of the twelfth convolutional layer is connected to the input of the thirteenth convolutional layer; The input of the fourteenth convolutional layer forms the input of the foreground probability map, the output of the fourteenth convolutional layer is connected to the input of the fifteenth convolutional layer, and the output of the fifteenth convolutional layer is connected to the input of the fifth downsampling layer; the output of the fifth downsampling layer is connected to the input of the sixteenth convolutional layer, the output of the sixteenth convolutional layer is connected to the input of the seventeenth convolutional layer, and the output of the seventeenth convolutional layer is connected to the input of the sixth downsampling layer; the output of the sixth downsampling layer is connected to the input of the eighteenth convolutional layer, the output of the eighteenth convolutional layer is connected to the input of the nineteenth convolutional layer, and the output of the nineteenth convolutional layer is connected to the twentieth convolution layer. The output of the 20th convolution layer is connected to the input of the 7th downsampling layer; the output of the 7th downsampling layer is connected to the input of the 21st convolution layer, the output of the 21st convolution layer is connected to the input of the 22nd convolution layer, the output of the 22nd convolution layer is connected to the input of the 23rd convolution layer, and the output of the 23rd convolution layer is connected to the input of the 8th downsampling layer; the output of the 8th downsampling layer is connected to the input of the 24th convolution layer, the output of the 24th convolution layer is connected to the input of the 25th convolution layer, and the output of the 25th convolution layer is connected to the input of the 26th convolution layer; The output of the second convolution layer and the output of the fifteenth convolution layer are simultaneously connected to the input of the first stacking layer; the output of the fourth convolution layer and the output of the seventeenth convolution layer are simultaneously connected to the input of the second stacking layer; the output of the seventh convolution layer and the output of the twentieth convolution layer are simultaneously connected to the input of the third stacking layer; the output of the tenth convolution layer and the output of the twenty-third convolution layer are simultaneously connected to the input of the fourth stacking layer; The output of the thirteenth convolutional layer and the output of the twenty-sixth convolutional layer are simultaneously connected to the input of the fifth stacking layer; The output of the fifth stacking layer is connected to the input of the first upsampling layer, the output of the first upsampling layer and the output of the fourth stacking layer are connected to the input of the first splicing layer at the same time, the output of the first splicing layer is connected to the input of the twenty-seventh convolutional layer, and the output of the twenty-seventh convolutional layer is connected to the input of the twenty-eighth convolutional layer; the output of the twenty-eighth convolutional layer is connected to the input of the second upsampling layer, the output of the second upsampling layer and the output of the third stacking layer are connected to the input of the second splicing layer at the same time, the output of the second splicing layer is connected to the input of the twenty-ninth convolutional layer, and the output of the twenty-ninth convolutional layer is connected to the input of the thirtieth convolutional layer; the output of the thirtieth convolutional layer is connected to the input of the third upsampling layer, and the output of the The outputs of the three upsampling layers and the output of the second superposition layer are connected to the input of the third splicing layer at the same time, the output of the third splicing layer is connected to the input of the thirty-first convolution layer, and the output of the thirty-first convolution layer is connected to the input of the thirty-second convolution layer; the output of the thirty-second convolution layer is connected to the input of the fourth upsampling layer, the output of the fourth upsampling layer and the output of the first superposition layer are connected to the input of the fourth splicing layer at the same time, the output of the fourth splicing layer is connected to the input of the thirty-third convolution layer, the output of the thirty-third convolution layer is connected to the input of the thirty-fourth convolution layer, the output of the thirty-fourth convolution layer is connected to the input of the convolution activation layer, and the output of the convolution activation layer forms the output of the foreground detection result map.
Citation Information
Patent Citations
Stereoscopic image uniflow visual saliency detection method based on joint information coding
CN112257509A
Video anomaly detection method based on foreground and background separation
CN113947612A
Infrared weak and small target detection method and device fusing RPCA and deep learning
CN116958657A
Image segmentation method based on microscopic hyperspectral imaging technology
CN117974690A
Online training of hierarchical algorithms
GB201710000D0
