Dim and Small Targets Detection in Sequence Images Based on Spatiotemporal Motion Characteristics

In order to effectively enhance the low detection rates of dim and small targets caused by dynamic backgrounds, this paper proposes a detection algorithm for dim and small targets in sequence images based on spatiotemporal motion characteristics. With regard to the spatial domain, this paper proposes an improved anisotropic background filtering algorithm that makes full use of the gradient differences between the target and the background pixels in the eight directions of the spatial domain and selects the mean value of the three directions with the lowest diffusion function in the eight directions as the differential filter to obtain a differential image. Then, the paper proposes a directional energy correlation enhancement algorithm in the time domain. Finally, based on the above preprocessing operations, we construct a dim and small targets detection algorithm in sequence images with local motion characteristics, which achieves target detection by determining the number of occurrences of the target, the number of displacements, and the total cumulative area in these sequential images. Experiments show that the proposed detection algorithm in this paper can effectively improve the detection of dim and small targets in dynamic scenes.


Introduction
Photoelectric imaging detection systems obtain information on the target object by detecting reflected or radiant energy from the object's surface. Such systems are widely used in photoelectric astronomy and remote sensing-based navigation. e detection of the target is the primary task of any photoelectric imaging detection system; whether or not the target can be discovered decides if the system can monitor the target. However, interference from strong background radiation and dynamic clutter may cause dim and small objects to completely mask by an undulant background. erefore, research on detection algorithms for dim and small objects in such scenarios is crucial to improving the performance of photoelectric imaging detection systems.
Many researchers have worked on detection algorithms that can effectively detect dim and small objects. eir work has mainly focused on single-frame detection and multiframe motion correlation detection. Single-frame detection mainly uses filtering and machine learning algorithms to separate and extract target points from a single-frame image. Single-frame detection algorithms can be grouped into two broad categories: background modeling methods and machine learning-based estimation methods. Background modeling methods mainly include two-dimensional least mean square (TDLMS) filtering [1], adaptive Butterworth filtering [2], improved Top-Hat filtering [3], improved bilateral filtering [4], direction support vector filtering [5], and background modeling methods based on statistical characteristics [6]. ese algorithms work by using filtering algorithms to perform background estimation on the scene image before differentiating the estimated background image from the original image, thus obtaining a differential image that contains only the target object and a small amount of noise. Such algorithms are effective at background modeling for slow-moving scenes but perform poorly when applied to dynamic scenes with large spans. Machine learning-based detection algorithms mainly include detection algorithms based on visual saliency [7,8], detection algorithms based on low-rank and sparse representation [9][10][11][12][13][14][15], and detection algorithms based on convolutional neural networks [16,17]. ese algorithms are able to perform well only in certain scenes. For instance, detection algorithms based on visual saliency require a strong contrast between the background and the target object. Detection algorithms based on low-rank and sparse representation cannot adapt to complex dynamic scenes when applied to undulant, nonstationary backgrounds, which comprise their low-rank characteristics. In order to meet the needs of complex scene detection, for example, Wang et al. proposed a TV-PCP detection method, which uses the isotropic total variation algorithm to constrain the PCP model to constrain the low-rank characteristics of the background block. However, when the background is in dynamic change, the dynamic changing area will be mistaken as "sparse," and there are many false targets in the detection results. In order to further constrain the sparsity of the target, [14,15] adopt different kernel norms to suppress the strong undulating background and strengthen the constraint on the sparse term to largely eliminate the interference of the undulating background on the target and achieve good detection results. In addition, sparse representation requires the construction of a super-complete dictionary of targets and backgrounds, which in turn requires a large number of training samples and increases the complexity of the model. Detection algorithms based on convolutional neural networks are often impractical, because they require a large number of training samples to build a good representational capacity, which is highly timeconsuming. In addition, dim and small target objects lack well-defined shapes and textures, making it difficult to build training models. Furthermore, the vast majority of realworld applications involve dynamic scenes. e parameters of pretrained models often have trouble adapting to such scenes.
Only a portion of the information contained in the image is used in single-frame detection. In order to make full use of the interframe motion information of sequential images, researchers have proposed multiframe motion correlation detection algorithms, which mainly include detect-beforetrack (DBT) algorithms and track-before-detect (TBD) algorithms. For instance, Lian et al. proposed a novel "pipeline filtering method" [18], which detects targets by first using grayscale feature analysis to extract candidate targets from the image before establishing a pipeline around each candidate target point. Since this method is based on local grayscale features, effective detection and tracking can be achieved only when there is a strong contrast between the target and the local background. Moyer et al. proposed a projective transformation method [19], which uses the Hough transform to correlate multiple-frame images, extract all suspicious target trajectories, and finally accumulate energy for each suspicious target trajectory. When the energy of a target on a certain trajectory is greater than some preset threshold, it is extracted and identified as the final target object. Chen proposed a detection algorithm for dim and small target objects based on dynamic programming [20].
is method uses dynamic programming to accumulate energy for targets along all suspicious trajectories and achieves target detection by identifying the trajectory with the largest amount of accumulated energy. Xiu proposed an improved high-order correlation method [21], where an algorithm extracts target points by calculating their highorder interframe correlations. Such algorithms can effectively detect slow-moving small targets. However, when such targets are in scenes with a low signal-to-noise ratio, the target would be lost in background clutter, making its correlation levels close to background differences, making it difficult to detect the target point. e multiframe detection algorithms discussed above provide the present paper with an excellent detection strategy. For dynamic scenes with low signal-to-noise ratios, it is possible to achieve the detection of dim and small target objects by first using preprocessing algorithms to remove most of the interference on the target caused by noise before applying multiframe motion correlations. e present paper proposes an algorithm based on spatiotemporal motion characteristics that improve the detection of dim and small target objects in dynamic scenes. First, we deploy an improved anisotropic background filtering algorithm that makes full use of the gradient differences between the target and the background pixels along eight directions in the spatial domain. e algorithm will then take the average value of the three directions with the lowest spread function values as the differential filter.
is algorithm is able to remove most background interference while effectively utilizing spatial information. en, we deploy a directional energy correlation enhancement algorithm to boost the target signal using the temporal motion characteristics of the target. is algorithm seeks the maximal energy value by integrating the interframe motion of the target to achieve multiframe energy accumulation. Finally, based on the results of such preprocessing, we build a detection algorithm for dim and small target objects in sequential images with local motion characteristics, which achieves target detection by determining the number of times the target appears in these sequential images, the number of displacements, and the total cumulative area.

Improved Anisotropic Filtering
e target signal in the image is an outward diffusion process of the central pixels. e gradient relationship of the anisotropy in each pixel with different directions is similar to that of the point diffusion. erefore, it can be used to tell the difference between the target and the background and thus effectively distinguish the target from the background [22]. In order to obtain the difference image, [23] uses the following diffusion function to realize the difference filtering. e specific formula is as follows: where ∇f refers to the gradient between two pixels in the image; k is a constant; c 1 and c 2 are two different diffusion functions.
Literature [23] constructs the gradient difference of the target in four different directions combining with diffusion functions to achieve the difference image. e expression of gradient difference of pixel points in four directions is as follows: where f is the input image; Δf U , Δf D , Δf L , and Δf R are the gradient differences in four directions (up, down, left, and right) with the pixel f(i, j) as the center; step refers to the step size between two pixels. e differential filter function is defined based on the gradient difference in four different directions as follows: where (i, j) refers to the coordinate position of the pixel point; f ′ (i, j) refers to the difference image; other variables are defined as above.
Research has found that if the mean value of diffusion functions in four directions in the spatial domain is simply calculated as the difference image; when the pixel is in the edge contour, there are at least two large diffusion function values in different directions. e simple processing of the mean values will narrow the difference in diffusion function values between pixels in this area and the target area. It is difficult to preserve the edge contour in the background modeling process, resulting in much edge noise in the differential image, which is not conducive to extracting target points [22]. To effectively solve this situation, the differential filter function above is improved. e gradient differences between the target and the background in eight directions of the spatial domain are deeply analyzed. ree smallest diffusion function values are selected to filter the image. In this case, the small diffusion coefficient will be used for the background and edge contour, which is possible to preserve these two parts of information, and the difference image can effectively reduce the interference of these two parts of information to the target signal. e gradient relationships of the target in eight different directions are shown in Figure 1. e gradient relationships in eight directions in the spatial domain are constructed according to Figure 1. e specific formulas are as follows: where Δf U , Δf D , Δf L , Δf R , Δf LU , Δf RU , Δf LD , and Δf RD indicate the gradient differences with the pixel f(i, j) as the center: up, down, left, right, upper left, upper right, lower left, and lower right.
According to the gradient difference of eight directions constructed by formula (4), they are substituted into the diffusion function c 1 . By comparing the gradient differences of eight directions in different regions of the image, it is found that the gradient in eight directions in the stationary background region is smaller and the gradient in eight directions in the target region is larger, while in the edge contour area at least three directions have smaller gradient values, and other directions have larger gradient values. erefore, according to the above characteristics, the mean value of three directions with smaller diffusion function value can be selected for differential filtering, which will effectively enhance the target signal. e flow chart of improved differential filtering is shown in Figure 2.
According to Figure 2, the improved anisotropic difference filter expressions are as follows: where Sort ascend(·) represents a function to sort array elements from small to large; min 1 , min 2 , and min 3 are the three parameters with the smallest diffusion function values in the eight directions. e mean values of these three parameters are used to filter the image pixel by pixel, which can effectively highlight the signal of dim and small targets.

Directional Energy Correlation Enhancement Algorithm
Conventional multiframe energy enhancement across the time domain simply takes the average of the sum of multiple image frames, which does not make full use of the spatial information of the target. To this end, [24] proposes an energy enhancement algorithm that incorporates such spatial information, which achieves energy accumulation by obtaining the maximal energy value of the target based on 12 kinds of motion templates in the spatial domain, thus achieving a better enhancement effect. Researchers have found that such methods, which achieve energy enhancement by adding a filtering template, will result in the loss of some of the target's energy, because the filtering template will only retain the energies corresponding to elements with a pixel value of 1. In order to retain more of the target signal, and considering the long-distance imaging of the system, the target usually moves between frames at a speed less than or equal to 2 pixels per second. Hence, we can build 25 Input image Use C 1 to calculate the gradient difference in eight directions

Comparative analysis
The gradient in eight directions in the stationary background region is smaller The gradient in eight directions in the target region is larger The edge contour area has a smaller gradient in at least three directions, and the others are larger Take the mean value of the three directions with the smaller spread function value for difference filtering Output filter result  directional models of the target's interframe motion (as shown in Figure 3, where the 12 th directional motion follows a 1 ⟶ 2 ⟶ 12 mode). We first horizontally translate the previous frame according to these 25 directional motions to obtain 25 directional motion diagrams. ereafter, we calculate the degree of energy correlation with the next frame and finally obtain the maximal energy value for the target for these 25 directions, thus achieving multiframe energy accumulation. e advantage of the proposed enhancement algorithm is that it makes full use of the spatiotemporal information of the pixel for energy enhancement. Firstly, the target is moved according to 25 motion modes in the spatial domain, and 25 motion mode images are obtained. en, the energy correlation between the 25 kinds of motion mode images and the image at the next frame is calculated. In this way, the spatial motion information of the target is effectively integrated into the energy enhancement. Finally, the multiframe images in the temporal domain are accumulated to achieve the target energy enhancement. e specific formula is as follows: . . . , f 25 x, y, t n , where (x, y) represents the rank of the pixel, t n is the nth frame, f ′ represents the frame difference graph for the t n frame, and T k is the k-th directional motion. k � 1, 2, . . . , 25 are the images obtained after horizontal translation in the 25 different directions, r is the radius of the neighboring area, f E is the maximal energy value of the 25 directions, N is the cumulative number of frames, and f E ′ is the image before and after energy enhancement.

Detection Algorithm
In this paper, the improved anisotropic algorithm is used to obtain the difference image f ′ based on the spatial information of the pixel. en, the energy enhancement algorithm based on direction energy correlation is used to realize the energy enhancement in time domain, and the double window segmentation algorithm of [25] is used to segment the enhanced image f E ′ and obtain the sequential binary image. Finally, combined with the idea of pipeline filtering [26], based on the interrelated characteristics of the target's motion on the sequence image, a detection algorithm of dim and small targets in the sequence image with local motion characteristics is constructed. e algorithm detects the target by getting the occurrence frequency O sum of the target, the number of the target displacements M sum , and the total cumulative area of the target A sum within the spatial domain (2r + 1) × (2r + 1) of the continuous N 2 frame images. e specific formula is as follows: where (x, y) is the centroid position of a candidate block; F(x, y, k) is a binary image at the time k; O records the occurrence frequency that the centroid point of a candidate block appears in its neighborhood of (2r + 1) × (2r + 1); O sum is the total number of times that the centroid point of a candidate block appears on continuous N 1 frames; M records the number of times that the centroid point of a candidate block moves within its neighborhood of (2r + 1) × (2r + 1); M sum refers to the total number of times that the centroid point of a candidate block moves on continuous N 1 frames; A refers to the area of a candidate block; O sum refers to the area of a candidate block on continuous N 1 frames. e flow chart of the algorithm is shown in Figure 4. According to the above flow chart, the pseudocode of the detection algorithm is given as Algorithm 1.

Results and Analysis
e experiment involved in this paper is done on a PC with 2 GB of memory at Pentium 2.10 GHz and completed by MATLAB 2012B software. e images in this paper are mainly dynamic images with more edge contours. e images are generally composed of three parts, background + target + edge contour area, as shown in Figure 5. It can be seen from Figure 5 that, due to the high local correlation in the background area, the gradient difference in the eight directions is small; the target imaging process satisfies the mode of the point spread function, and the energy is the process of diffusion from the central point to the outside, so the gradient difference between the central pixel and the eight directions is large. e edge contour area is in the transition area between the stationary background and the nonstationary background. is is partly caused by the uneven distribution of brightness. erefore, at least three of the eight directions have smaller gradient values, and other directions have larger gradient values. In this paper, the corresponding algorithm is improved based on the gradient difference of the above-mentioned different regions in order to remove most of the interference of the background and edge contour area on the target signal. e existing algorithms are insufficient for these scenes that dynamically change as the light changes. In order to verify the effectiveness of the algorithm proposed in this paper, the selected scenes are dynamically changing scenes.

Analysis of Background Modeling Results.
To compare the background estimation effects of different algorithms, the structural similarity (SSIM) [27], contrast gain, and background inhibitory factors [28] are used to evaluate the background modeling effects. All indicators are as follows: Initialization: e constant k in diffusion function is k � 100; e step size between two pixels is step � 4; Enhanced cumulative frames N � 3; Accumulated frames in time domain N 1 � 5; e radius of neighborhood r � 3; Target occurrence threshold Th 1 � N 1 /2; reshold of target displacement times Th 2 � N 1 /2; e sum threshold of target cumulative area Th 3 � 30. Input: Original images (1) Using the improved anisotropy to filter the image with spatial information to obtain the difference image f′. en, the direction energy correlation enhancement algorithm is used to realize the energy enhancement in the time domain and obtain the enhanced image f E ′ .
(2) e segmentation algorithm of reference [25] was used to segment the enhanced image f E ′ to obtain a sequence binary image.
(3) Combined with formula (7), dim and small targets detection in sequence image with local motion characteristics is used to calculate the number of target occurrence O sum , number of target displacement M sum and the sum of target cumulative area A sum on consecutive N 1 frames images. If the conditions O sum > Th 1 and M sum > Th 2 and A sum ≥ Th 3 are met, it is determined as the target point, and updated the N 1 frames images until all the images are processed; Output: Sequence detection results ALGORITHGM 1: Pseudocode of detection algorithm 6 Mathematical Problems in Engineering where μ R and σ R are the mean value and the standard deviation of the input image; σ RF is the covariance between he input image and the background image; ε 1 and ε 2 are constants; E t and E b are the mean values of the target area and the background area; R in and R out are the contrast between the original image and the differential image;I is contrast gain; σ in and σ out are the mean square deviations between the input image and the differential image, respectively; B IF is background inhibitory factor. e background estimation algorithm proposed in this paper is compared with the improved Top-Hat in [3], the robust principal component analysis (RPCA) method in [9], the low-rank decomposition (LRD) method in [11], and the anisotropic filtering (AF) in [12]. e same image is selected to evaluate the background estimation effects of different algorithms, as shown in Figure 6, where (a) shows the input image; (b) shows the background image and the differential image obtained by the improved Top-Hat; (c) shows the background image and the differential image obtained by the PRCA method; (d) shows the background image and the differential image obtained by the LRD; (e) shows the background image and the differential image obtained by the anisotropic filtering; (f ) shows the background image and the differential image obtained by the algorithm proposed in this paper.
It can be seen from Figure 6 that the improved Top-Hat results in blurred background images even though it utilizes the advantages of combining internal and external structuring elements and makes full use of structuring elements of different scales to effectively perform background modeling. For images with a low signal-to-noise ratio, differential images are left with more noise after image filtering. e background modeling effect of the RPCA algorithm is related to the number of frames selected for the training sample. Building decomposition matrices using more frames will result in a better differential image. However, RPCA is poor at background suppression when applied to complex scenes, because the image data distribution is composed of multiple linear subgroups. is increases the number of false targets in the differential image. e LRD algorithm is easily affected by background light. In the event of dynamic changes to the background, the differential image will contain more background clutter. Anisotropic filtering simply averages the spread functions for four directions in the neighboring area, which causes differential images to contain more peripheral contours, making it difficult to distinguish the targets. e backgrounds obtained using the algorithm proposed in the present paper preserve, to a large degree, a stationary background and peripheral contours, allowing the target signal to be effectively extracted from the differential image.
At the same time, we select three evaluation indexes to assess the differences between these algorithms from a quantitative perspective. e present paper selects images with different signal-to-noise ratios to compute the three evaluation indexes, with experimental results shown in Tables 1 to 3.
From the indicators in Tables 1 to 3, it can be seen that, for images from different scenes, the background estimation algorithm proposed in the present paper performs better at background estimation compared to conventional algorithms. e structural similarity index (SSIM), contrast gain (I), and background suppression factor (B IF ) are, respectively greater than 0.993, 16, and 5.56. Further analysis shows that, based on the gradient differences between the target and the background pixels along eight directions in the spatial domain, the algorithm generates differential images by building an improved anisotropic filtering algorithm, which effectively utilizes spatial information while removing most background interference, thus achieving better background modeling results.

Analysis of Energy Enhancement Results.
In order to verify the enhancement effect of the algorithm proposed in this paper, we select some differential images for experimental analysis. We set the radius of the neighboring area to be r � 3 and the length of the accumulated frames to be N � 3. To analyze image enhancement effects, we select two assessment indicators: average grayscale of the target and the signal-to-noise ratio of the image. In addition, we perform comparisons with conventional multiframe energy enhancement algorithms and the enhancement algorithm in [24]. e experimental results are shown in Figure 5, where (a) shows the differential image and three-dimensional diagram; (b) shows the enhancement results diagram and three-dimensional graph obtained from a conventional multiframe energy enhancement algorithm; (c) shows the  Mathematical Problems in Engineering enhancement results diagram and three-dimensional graph obtained by the enhancement algorithm in [24]; and (d) shows the enhancement results diagram and three-dimensional graph obtained by the enhancement algorithm proposed in this paper. Table 4 shows the average grayscales (AG) of the targets and signal-to-noise ratios (SNR) of the images for the different algorithms. From Figures 7 and 8, it can be seen that conventional multiframe energy   enhancement algorithms and the enhancement algorithm in [24] have managed to enhance small and dim targets. On the whole, the enhancement algorithm proposed in this paper produces greater enhancement effects, as well as far greater improvements to signal-to-noise ratio of the enhanced image, making for a far better overall performance. It can be seen from Table 5 that the conventional multiframe energy enhancement algorithm and the enhancement algorithm in [24] are both able to enhance the target signal to a certain extent when used to process images that have undergone differential filtering. In different images, the AG and SNR of the traditional enhancement algorithm are 68 and 3.11 dB and 75 and 3.43 dB, respectively. e AG and SNR of the enhancement algorithm in [21] are 198 and 13.91 dB and 214 and 14.02 dB, respectively. e algorithm in this paper effectively combines spatiotemporal motion characteristics of the pixels to further enhance the target signal and achieves AG and SNR of, respectively, 255 and 17.15 dB and 255 and 17.22 dB.

Detection Results.
In order to evaluate the performance of the detection algorithm proposed in this paper, we selected four dynamic scenes for experimentation. Among them, the target in scene 1 is highly maneuverable. At first, the target moves upward and then moves downward; then it suddenly accelerates and moves diagonally upward and finally suddenly turns around and moves downward; the target in scene 2 moves diagonally upward in a dynamically changing scene, the target in scene 3 moves in a straight line from top to bottom in the background of changing illumination, and the target in scene 4 moves diagonally downward in the background of dynamically changing clouds. e information of each scene is shown in Table 5.
is paper compares a variety of detection algorithms with the proposed algorithm, which include the improved Top-Hat in [3], the RPCA in [9], the low-rank decomposition in [11], and the anisotropic filtering in [12]. e results of the algorithms applied to the 4 scenes are, respectively, shown in Figures 9-12, where (a)∼(f ), respectively, show the input image, improved Top-Hat, RPCA algorithm, LRD algorithm, anisotropic algorithm, and the detection algorithm proposed in this paper.
It can be seen from Figures 9-12 that the improved Top-Hat uses two different scaled structuring elements for filtering, which makes full use of the scale characteristics of internal and external structuring elements to effectively improve background estimation. However, it performs poorly when applied to more undulated backgrounds and produces differential images with more noise, as shown in Figures 9(b), 10(b), 11(b), and 12(b). e RPCA algorithm needs to use data from the scene to build a low-rank decomposition model and works well only when the background is a single linear subspace. When the background is dynamic in nature, the model fails to adapt well, and there are many dynamic background elements left in the detection results, as illustrated in Figures 9(c), 10(c), 11(c), and 12(c). e LDR algorithm accounts for the fact that the image is composed of multiple linear subspaces and effectively reflects the low-rank subspaces of different components from which the background data originates. It does a better job in detection than the RPCA algorithm but remains susceptible to undulations in the background. When the background changes with the light, the low-rank properties of the decomposition model will be affected, which will adversely impact background suppression and in turn cause more false targets in the detection results, as illustrated in Figures 9(d), 10(d), 11(d), and 12(d). Because anisotropic filtering merely takes the mean value of the spread functions of four directions in the spatial domain as the background estimation result, it is difficult for the algorithm to distinguish the differences between nonstationary peripheral contour areas and the area around the target when the scene has more nonstationary edge contours. is then causes more edge contour areas to be left in the detection results, as illustrated in Figures 9(e), 10(e), 11(e), and 12(e). e detection algorithm proposed in this paper first uses improved anisotropic filtering to perform differential filtering using the      To further explore the features of these algorithms, the ROC curves of three scenes are plotted. e horizontal axis is the detection rate (Pd) and the vertical axis is the false alarm rate (Pf ), as shown in formula (9). NTDT refers to the number of the real targets detected, NFDT refers to the number of false alarm targets detected, NT refers to the total number of real targets present in the image, and NP refers to the total number of targets detected in the image. e ROC curves of the three scenes are shown in Figure 13.
As can be seen from the ROC curves of the four scenes in Figure 10, compared to other algorithms, this paper first uses improved anisotropic filtering to remove most of the background interference before enhancing the target signal using the directional energy correlation enhancement algorithm. en, the final target point is obtained using the detection algorithm for dim and small target objects in sequential images with local motion characteristics in order to obtain better detection results. At a false alarm rate Pf � 0.02, the detection rate Pd of the detection algorithm proposed in this paper is greater than 90%, compared to less than 85% for other algorithms, as illustrated in Figure 13(a). In the same scene, because the LRD algorithm builds a lowrank decomposition model based on image components comprised of multisubspace data, it generates a detection result superior to the RPCA algorithm, which relies solely on image elements in a single linear subspace. Given the same false alarm rate in the same situation, the detection rate of an LRD algorithm is higher than that of an RPCA algorithm. For example, when Pf � 0.0024, the detection rate of the LRD algorithm Pd is higher than 85%, while the RPCA algorithm is lower than 82%, as shown in Figure 13(b). e improved Top-Hat algorithm can only be applied to static or slowly changing scenes. In dynamic scenes, the algorithm has a detection rate lower than its peers. For example, when Pf � 0.0024, the improved Top-Hat detection rate Pd is less than 70%, while Pd for other algorithms are higher than 80%, as shown in Figure 13 lowest detection rates. When Pf � 0.003, the improved Top-Hat detection rate Pd is less than 70%, while Pd of other algorithms are all greater than 75%, as shown in Figure 13(d).

Running Time.
In order to verify the efficiency of different algorithms, we calculate the efficiency of each method (s/frame), with the specific results shown in Table 6.  and AF algorithms are more efficient due to their simplicity. RPCA and LRD require sample data to build a low-rank decomposition model, which is highly time-consuming. Meanwhile the algorithm proposed in the present paper requires corresponding preprocessing algorithms to obtain differential images and enhance the target signal, which also requires a certain amount of time. Compared to conventional algorithms, our proposed algorithm is less efficient but more accurate. However, the algorithm proposed in this paper requires far less computation time than the low-rank decomposition model.

Conclusion
is paper proposed a detection algorithm for dim and small targets in sequential images based on spatiotemporal motion characteristics. First, the gradient differences between the target and the background pixels along eight directions in the spatial feature are analyzed in depth, and the average value of the three directions with the lowest spread function values is selected as the differential filter, which preserves the target signal while effectively removing most of the background interference. Second, we propose a directional energy correlation enhancement algorithm, which enhances the target signal by multiframe accumulation in the time domain by obtaining the maximal energy value for the target for these 25 directions. Finally, on the foundation of preprocessing operations, the final target point is detected by building a detection algorithm for dim and small target objects in sequential images with local motion characteristics. Experiments show the following: (1) rough in-depth analysis of the differences in the eight directions of different regions in the image, an improved anisotropic differential filter function is constructed to effectively retain the target signal. From the three evaluation indexes of background modeling, the improved anisotropic filtering achieves better filtering effect, and SSIM, I, and B IF are greater than 0.993, 16, and 5.56, respectively. (2) e direction energy correlation enhancement algorithm firstly moves according to the target's 25 motion modes in spatial feature, which effectively takes the spatial motion information into account in the energy enhancement. en, it calculates the energy correlation between the shifted image and the next moment image and finally achieves the multiframe energy in the temporal domain by calculating the maximum energy of the target in 25 motion directions. Compared with the traditional multiframe enhancement algorithm, the AG and SNR of the image obtained by the proposed algorithm are 255 and 17.15 dB, respectively.
(3) rough experiments on 4 dynamic scenes, it is demonstrated that, based on the preprocessing of the image, the detection algorithm proposed in this paper deeply analyzes the difference of the local motion characteristics of the target and noise in the sequence image and constructs the detection algorithm of multiframe motion association, which can effectively eliminate noise interference and detect actual target points.

Data Availability
e data used to support the findings of this study are included within the article.

Conflicts of Interest
e authors declare that they have no conflicts of interest related to this work.