A method for detecting saliency of a moving target in a complex background inspired by bird vision

By employing a bird-vision-inspired approach, utilizing superpixel segmentation and Bayesian framework feature fusion, combined with optical flow field and energy accumulation, the non-uniformity and information loss issues in saliency detection of moving targets in complex backgrounds are addressed, achieving efficient and accurate saliency detection.

CN117689876BActive Publication Date: 2026-11-24ZHENGZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311733090.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2026-11-24
Estimated Expiration
2043-12-18

AI Technical Summary

Technical Problem

Existing methods for detecting the saliency of moving targets cannot effectively detect saliency in complex backgrounds. Spatial saliency maps are unevenly distributed, subject to significant background noise interference, lack saliency information in temporal saliency maps, and have unreasonable spatiotemporal fusion mechanisms.

Method used

Inspired by bird vision, this method obtains global and local saliency features through superpixel segmentation, performs feature fusion using a Bayesian framework, and combines optical flow field features and energy accumulation mechanisms to correct and propagate temporal saliency, thereby achieving accurate fusion of spatial and temporal saliency.

Benefits of technology

Accurate saliency detection of moving targets was achieved in complex backgrounds, with uniform saliency distribution, reduced computational burden, and improved robustness and accuracy of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117689876B_ABST
    Figure CN117689876B_ABST
Patent Text Reader

Abstract

This invention discloses a bird-vision-inspired method for detecting the saliency of moving targets in complex backgrounds, comprising the following steps: A: Calculating the global and local saliency features of each superpixel, and using a Bayesian framework for feature fusion to obtain the final spatial saliency; B: Obtaining the initial temporal saliency using optical flow field features; then obtaining the original temporal saliency using optical flow field features, gradient features, and the initial temporal saliency; further refining and updating the original temporal saliency through propagation; finally, obtaining the final temporal saliency using energy accumulation; C: Calculating the likelihood entropy of the spatial saliency and the likelihood entropy of the temporal saliency, respectively, and obtaining the final fused saliency map based on the saliency map fusion model. This invention can accurately detect the saliency of moving targets in complex backgrounds based on the neural mechanisms of birds in moving target detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer vision, and more particularly to a method for detecting the salience of moving targets in complex backgrounds inspired by bird vision. Background Technology

[0002] Salient object detection refers to identifying salient regions in a scene that attract attention and representing the results as a saliency map. The pixel values ​​in the saliency map represent the probability that the current location belongs to a salient object. As a preprocessing step in computer vision tasks, salient object detection has wide applications in image segmentation, object detection, object recognition, foreground annotation, thumbnail creation, image compression, visual scanning path prediction, and traffic safety. In recent years, many saliency detection methods for moving objects have been proposed, but these methods have limitations in some complex scenarios.

[0003] The task of moving target saliency detection includes three stages: spatial saliency detection, temporal saliency detection, and spatiotemporal saliency fusion. Moving target saliency detection methods can be divided into bottom-up and top-down approaches. Top-down methods are task-driven and belong to supervised learning, while bottom-up methods are data-driven, typically calculating the contrast between foreground and background to derive saliency, and belong to unsupervised algorithms. Regarding existing unsupervised algorithm models, for spatial saliency detection, Yang calculates the saliency map using the prior probability of the convex hull center, but this depends on the position of the convex hull; if the estimation is inaccurate, effective detection is impossible. Xie proposed a Bayesian inference-based method that effectively combines multi-scale features to obtain more accurate probabilistic inference results. Other methods emphasize the importance of boundaries, assuming that image boundaries generally belong to background regions; however, this background boundary assumption is unreliable when salient targets appear at image boundaries. Peng proposed a topological feature-based method inspired by topological perception theory. Compared to spatial saliency detection, temporal saliency detection based on video frames is more complex. Liu et al. proposed an algorithm based on motion information propagation, considering inter-frame correlation information for temporal propagation, but its performance degrades in complex scenes. Guo proposed a new principal motion vector to define saliency, thereby improving the original temporal saliency map and increasing computational speed. Wang used the geodesic distance method to define saliency, focusing more on spatial and temporal edge features for video segmentation. Chen et al. used a saliency filtering method based on Markov random fields to ensure the spatiotemporal consistency of the target, but this method is relatively dependent on the parameter settings of the KNN filter. Fang et al. used the uncertainty of adaptive entropy to fuse spatiotemporal information, achieving a reasonable fusion of spatiotemporal information. For supervised algorithm models, some deep learning methods have achieved very good results, but they require large amounts of labeled datasets, consume a lot of computational resources, are computationally complex, and most importantly, lack interpretability. Our model mainly uses and references a bottom-up unsupervised model framework, which does not require a large amount of labeled datasets.

[0004] While each of the aforementioned methods has its advantages, they all fall short in achieving saliency detection in complex backgrounds. These methods rely solely on features such as color, texture, and spatial location for contrast calculation in their spatial saliency maps. In complex color scenes, this leads to uneven distribution of salient regions and significant background noise interference. Furthermore, in the calculation of temporal saliency maps, some methods propagate saliency information, but the original temporal saliency maps often contain missing salient targets, resulting in the propagation of incorrect information. Finally, the spatiotemporal fusion mechanism is flawed; some methods simply add or multiply spatiotemporal information, which fails in complex backgrounds. Summary of the Invention

[0005] The purpose of this invention is to provide a bird vision-inspired method for detecting the salience of moving targets in complex backgrounds, which can accurately detect the salience of moving targets in complex backgrounds based on the neural mechanisms of birds in moving target detection.

[0006] The present invention adopts the following technical solution:

[0007] A method for detecting the salience of moving targets in complex backgrounds, inspired by bird vision, comprises the following steps:

[0008] A: Perform superpixel segmentation on each frame of each video segment in the video sequence, then calculate the global saliency feature and local saliency feature of each superpixel; finally, based on the obtained global saliency feature and local saliency feature, use a Bayesian framework to perform feature fusion to obtain the final spatial saliency.

[0009] Among them, the global saliency features include color coordinate saliency features and topological saliency features;

[0010] B: Each frame of each video segment in the video sequence is smoothed, and the motion changes of adjacent frames are analyzed by optical flow field analysis. The initial temporal saliency is obtained using optical flow field features. Then, the gradient features are calculated using optical flow field features, and the original temporal saliency is obtained using the gradient features and the initial temporal saliency. Next, a correction matrix based on motion direction features is calculated to correct the original temporal saliency. The corrected temporal saliency is then updated by propagating information along the time axis. Finally, energy accumulation is used to accumulate information from the corrected and propagated temporal saliency to obtain the final temporal saliency.

[0011] C: Using the spatial saliency obtained in step A and the final temporal saliency obtained in step B, calculate the likelihood entropy of the spatial saliency and the likelihood entropy of the temporal saliency respectively, and obtain the final fused saliency map according to the saliency map fusion model.

[0012] Step A includes the following specific steps:

[0013] A1: Perform superpixel segmentation on each frame of each video segment in the video sequence to obtain the set of superpixels of each frame image {Sup i}, i = 1, ..., N, where N is the total number of superpixels;

[0014] A2: Calculate Sup for each superpixel i The color mean c in the CIELAB color space i and the mean of spatial coordinates p i ;

[0015] A3: Calculate Sup for each superpixel iThe global saliency features include color coordinate saliency features S based on color distance and coordinate distance. co (i) and topological saliency features S based on topological features ots (i);

[0016] A4: Get each superpixel Sup i Local saliency feature S loc (i);

[0017] A5: Based on the obtained global and local saliency features, a Bayesian framework is used for feature fusion to obtain the final spatial saliency.

[0018] In step A3, the color coordinate saliency feature S co (i) is:

[0019]

[0020] Where the subscript co represents color; i and j represent the i-th and j-th superpixels, respectively; c i and c j Let p represent the CIELAB color mean of the i-th and j-th superpixels, respectively; i and p j σ represents the mean spatial coordinates of the i-th and j-th superpixels, respectively; p For spatial weight parameters;

[0021] Topological saliency feature S ots (i) is:

[0022] S ots (i)=f(S tc ·S bias );

[0023] Where the subscript oys indicates that only topological complexity is used; S tc S represents the topological complexity. bias The function f represents the center bias and the function f represents the fractional exponential function.

[0024] In step A4, the local saliency feature S loc (i) is:

[0025]

[0026] In this context, the subscript loc is an abbreviation for local, and U represents superpixel Sup. i In the adjacency matrix of superpixels Sup i The set of the remaining adjacent superpixels.

[0027] Step A5 includes the following specific steps:

[0028] A51: The color coordinate saliency and topological saliency in the global saliency features are fused and used as the prior probability of the Bayesian model: S glo (i)=S co (i)·S ots (i);

[0029] Among them, S glo (i) represents the spatial global saliency feature, where glo is an abbreviation for global; S co (i) represents the saliency of the color coordinates, S ots (i) represents topological saliency;

[0030] A52: Based on the coordinates of the convex hull center and the convex hull boundary, create a mask for the triangular part and use it as the foreground region U0 for observation;

[0031] A53: Utilizing the local saliency feature S loc (i) Calculate the observation likelihood of foreground and background targets;

[0032]

[0033]

[0034] Wherein, p(S) loc (i)|S1) represents the observation likelihood of the foreground target, p(S loc (i)|S0) represents the observation likelihood of the background target; S1 represents the superpixel in the foreground target, and S0 represents the superpixel in the background target. This indicates the number of superpixels belonging to the foreground target within the observed foreground region U0. This indicates the number of superpixels belonging to the background target within the observed foreground region U0; the subscript S0 indicates belonging to the background target, and the subscript S1 indicates belonging to the foreground target; S loc (i) for each superpixel Sup i Local saliency features; (S loc (i) represents the number of superpixels in the foreground object that have similar features to the i-th superpixel in the foreground object. This represents the number of superpixels in the background target that have similar features to the i-th superpixel of the background target.

[0035] A54: Using the obtained prior probability and the observed likelihoods of the foreground and background targets, the posterior probability p(i) is calculated according to Bayes' theorem and used as the spatial saliency.

[0036]

[0037] Step B includes the following specific steps:

[0038] B1: Smooth each frame of each video segment in the video sequence. For the smoothed video frames Γ={F1,...,F...} t ...}, by using point trajectory tracking and spectral clustering, the F values ​​of two adjacent video frames are calculated. t ,F t+1 The optical flow field φ between ) t ;F t This represents the t-th video frame;

[0039] B2: Calculate the F of the t-th video frame t The i-th superpixel Sup i initial time significance

[0040] B3: Based on the obtained optical flow field φ t Obtain the gradient features of superpixels And utilize the initial time significance The original temporal saliency of each superpixel was calculated.

[0041] B4: Based on the obtained optical flow field φ t Determine the motion direction θ of the superpixel t (i), and combined with superpixel Sup i With any adjacent element weight and SuperPixel Sup i Original time significance Obtain the global correction matrix SALx for all superpixels. Mb And the final corrected matrix SAL Mb ';

[0042] B5: Based on information propagation theory, the superpixel Sup at time t... i Corrected time significance Propagate the update to the superpixel Sup at t+1 t+1 (j) Corrected time significance Obtain the superpixel Sup at t+1 t+1 (j) Modified and propagated time significance

[0043] B6: Based on the energy accumulation theory, use the saliency after correction and propagation in step B5. Energy accumulation is performed using an energy accumulation model, and the saliency map after energy accumulation is finally obtained.

[0044] In step B2, the initial time significance for:

[0045]

[0046] Where the superscript M represents motion, t represents the t-th video frame, and mφ t (i) and mφ t (j) represent the mean optical flow of the i-th and j-th superpixels, respectively, and Num and Num(i) represent the mean optical flow of the t-th video frame F. t The total number of pixels and the number of pixels in the i-th superpixel;

[0047] In step B3, the original time significance for:

[0048]

[0049] Among them, gradient features The superscript 'b' in the text indicates the boundary;

[0050] In step B4, the global correction matrix SALx for all superpixels is... Mb And the final corrected matrix SAL Mb 'for:

[0051]

[0052]

[0053]

[0054] SAL Mb =SAL Mb +SALx Mb ;

[0055] Among them, SALx Mb This represents the overall correction matrix, where x represents the correction, and SAL. Mb Represents the original temporal saliency storage matrix, θ t (i) represents the angle of motion, v y and v x Let N represent the y and x components of the optical flow vector, respectively. The superscript Adj indicates adjacency. z This represents the maximum number of adjacent elements. Represents each superpixel Sup i The direction of movement of all adjacent elements.

[0056] In B5, the corrected and propagated temporal saliency for:

[0057]

[0058]

[0059] Where the subscript t+1 represents the (t+1)th frame; α represents the propagation intensity, ψ(Sup) t (i),Sup t+1 (j) represents the superpixel Sup t (i) with superpixel Sup t+1 (j) degree of correlation; ρ(Sup) t (i),Sup t+1 (j) indicates that Sup t (i) Passing through optical flow mφ t Under the influence of (i), it propagates to the next frame F. t+1 Afterwards, the propagated superpixel and the superpixel Sup at t+1 t+1 (j) the proportion of intersection; d lab (Sup t (i),Sup t+1 (j) represents the superpixel Sup t (i) with superpixel Sup t+1 Euclidean distance of the lab colors between (j) and (d); wass (Sup t (i),Sup t+1 (j) represents the superpixel Sup t (i) with superpixel Sup t+1 Wasserstein distance between (j) and (j).

[0060] In step B6, the saliency map after energy accumulation for:

[0061]

[0062] Where MbCh indicates the addition of energy accumulation; the subscript t indicates the t-th frame; and β is the energy accumulation intensity parameter. This represents the maximum achievable significance after correction and propagation, set to 1. This represents the minimum saliency that can be achieved after correction and propagation, and is set to 0. "if"motion is detected in t" means that the motion occurred in frame t.

[0063] The fusion saliency map SalF t for:

[0064]

[0065]

[0066]

[0067] This invention uses superpixel segmentation to reduce computational burden, and utilizes the color, coordinates and novel topological features of superpixels to obtain global saliency; it also uses adjacency matrices to obtain local saliency; and effectively fuses global and local saliency within a Bayesian framework, which can make full use of all features to obtain robust inference results.

[0068] This invention uses optical flow field features to obtain initial temporal saliency; then, it calculates gradient features using optical flow field features, and obtains the original temporal saliency through the gradient features and the initial temporal saliency. Based on the peripheral modulation mechanism of the visual canopy (OT) in the bird's off-canopy pathway, this invention uses a correction matrix based on motion direction features to correct the original temporal saliency, making the saliency distribution more uniform. Furthermore, this invention updates the corrected temporal saliency along the time axis through information propagation, and based on the energy accumulation mechanism of the bird's visual canopy (OT), it uses energy accumulation to accumulate information from the corrected and propagated temporal saliency, obtaining the final temporal saliency, making the final saliency more accurate. Finally, this invention employs an uncertain weighted fusion method based on adaptive entropy, which can effectively fuse spatial and motion cues, avoiding the direct addition or multiplication of temporal and spatial cues, which can lead to poor fusion of spatial and motion cues. Attached Figure Description

[0069] Figure 1 This is a schematic diagram of the process of the present invention. Detailed Implementation

[0070] The present invention will now be described in detail with reference to the accompanying drawings and embodiments:

[0071] A: Perform superpixel segmentation on each frame of each video segment in the video sequence, then calculate the global saliency feature and local saliency feature of each superpixel; finally, based on the obtained global saliency feature and local saliency feature, use a Bayesian framework to perform feature fusion to obtain the final spatial saliency.

[0072] Among them, the global saliency features include color coordinate saliency features and topological saliency features;

[0073] In this invention, step A includes the following specific steps:

[0074] A1: Perform superpixel segmentation on each frame of each video segment in the video sequence to obtain the set of superpixels of each frame image {Supi}, i = 1, ..., N, where N is the total number of superpixels;

[0075] Among them, simple linear iterative clustering is used to construct the superpixel set {Sup i The calculation of} is a well-known technique and will not be elaborated upon here.

[0076] A2: Calculate Sup for each superpixel i The color mean c in the CIELAB color space i and the mean of spatial coordinates p i ;

[0077] A3: Calculate Sup for each superpixel i The global saliency features include color coordinate saliency features based on color distance and coordinate distance, and topological saliency features based on topological features.

[0078] In this invention, arbitrary superpixel Sup is used i And all other SuperPixel Sup j The saliency of color coordinates is defined by the contrast relationship between j and i, and the saliency feature of color coordinates is S. co (i) is calculated as follows:

[0079]

[0080] In this context, the subscript "co" is an abbreviation for "color"; "i" and "j" represent the i-th and j-th superpixels, respectively; c i and c j Let p represent the CIELAB color mean of the i-th and j-th superpixels, respectively; i and p j σ represents the mean spatial coordinates of the i-th and j-th superpixels, respectively; p This is a spatial weight parameter that controls the strength of the spatial weights.

[0081] In existing technologies, most methods utilize the contrast of the convex hull center based on the coordinates of the convex hull center. However, this invention extracts the convex hull region using the coordinates of the convex hull center, i.e., by drawing a mask using the coordinates of the convex hull center and the convex hull boundary. Then, utilizing the highly effective saliency feature of topological features, based on the saliency definition method of topological complexity, the topological saliency feature S is solved. ots (i);

[0082] Since topological complexity defines the structural relationships between objects in space as unit structures, nested structures, parallel structures, and composite structures, regions with higher complexity have higher saliency, thus better reflecting the effectiveness of topological complexity. Therefore, this invention uses the topological saliency feature S. ots(i) As an effective supplement to global saliency features.

[0083] Topological saliency feature S ots (i) is calculated as follows:

[0084] S ots (i)=f(S tc ·S bias );

[0085] Here, the subscript ots is an abbreviation for only topological complexity saliency, indicating that only topological complexity is used; S tc S represents the topological complexity. bias Indicates center bias; function f represents a fractional exponential function;

[0086] A4: Get each superpixel Sup i Local saliency feature S loc (i);

[0087]

[0088] In this context, the subscript loc is an abbreviation for local, and U represents superpixel Sup. i In the adjacency matrix of superpixels Sup i The set of the remaining adjacent superpixels;

[0089] The color coordinate saliency and topological saliency calculated in step A3 are both global concept saliency, while local features are also crucial for the detection of salient targets. In any superpixel Sup i Within a neighborhood range U, if the locally prominent region can be extracted, the difference between the salient region and the background region can be highlighted, thereby extracting the salient region from a local perspective. Therefore, in this invention, the color mean c in the CIELAB color space is utilized. i For any superpixel Sup i Based on the obtained adjacency matrix, the superpixel Sup is then solved. i Local saliency feature S loc (i).

[0090] A5: Based on the obtained global and local saliency features, a Bayesian framework is used for feature fusion to obtain the final spatial saliency.

[0091] Existing feature fusion processes mostly use simple multiplication or addition operations; however, existing fusion methods cannot fully and effectively utilize features, resulting in overly extreme fusion results and information loss. In this invention, a Bayesian framework is used to achieve feature fusion, which can effectively utilize all features and obtain robust inference results.

[0092] Since the Bayesian model is a probabilistic inference model based on prior probability and likelihood, requiring the prior and likelihood to be solved, this invention uses superpixels as the basic elements of probabilistic inference, which greatly reduces the computational burden. Furthermore, it uses global saliency features for fusion and as the prior of the Bayesian model.

[0093] Step A5 includes the following specific steps:

[0094] A51: The color coordinate saliency and topological saliency in the global saliency features are fused and used as the prior probability of the Bayesian model.

[0095] S glo (i)=S co (i)·S ots (i);

[0096] Among them, S glo (i) represents the spatial global saliency feature, where glo is an abbreviation for global; S co (i) represents the saliency of the color coordinates, S ots (i) represents topological saliency;

[0097] A52: Based on the coordinates of the convex hull center and the convex hull boundary, create a mask for the triangular part and use it as the foreground region U0 for observation;

[0098] In the prior art, the convex hull region range based on the enhanced Harris point operator can be solved. The convex hull region range includes the coordinates of the convex hull center and the convex hull boundary. Therefore, based on the coordinates of the center point and the boundary point, we create a mask for the triangular part and use it as the observation foreground region U0. In this invention, both the foreground target and the background target are inside this observation foreground region. The observation foreground region U0 serves as the initial region for the salient target and is used for the subsequent calculation of the real region.

[0099] A53: Utilizing the local saliency feature S loc (i) Calculate the observation likelihood of foreground and background targets;

[0100]

[0101]

[0102] Wherein, p(S) loc (i)|S1) represents the observation likelihood of the foreground target, p(S loc (i)|S0) represents the observation likelihood of the background target; S1 represents the superpixel in the foreground target, and S0 represents the superpixel in the background target. Let p(S1) represent the superpixel in the observed foreground region U0; p(S1) and p(S0) represent the prior probabilities that the superpixel belongs to the foreground target and the background target, respectively. and represents the superpixels where the foreground and background targets intersect with the observed foreground region, respectively; p(v)d(v) represents the integral term;

[0103] If the probability distribution of superpixels located in the same intersection region is uniform, then the above integral formula can be simply understood as a summation, that is, counting the number of superpixels in the intersection. This invention can use... This indicates the number of superpixels belonging to the foreground target within the observed foreground region U0. This represents the number of superpixels belonging to the background target within the observed foreground region U0, while This represents the number of superpixels in the foreground object that have similar features to the i-th superpixel in the foreground object. Similarly, This represents the number of superpixels in the background target that have similar features to the i-th superpixel of the background target. Therefore, the observation likelihood of the foreground target and the background target can be simplified as follows:

[0104]

[0105]

[0106] Where S1 represents a superpixel in the foreground target and S0 represents a superpixel in the background target; This indicates the number of superpixels belonging to the foreground target within the observed foreground region U0. This indicates the number of superpixels belonging to the background target within the observed foreground region U0; the subscript S0 indicates belonging to the background target, and the subscript S1 indicates belonging to the foreground target; S loc (i) for each superpixel Sup i Local saliency features; This represents the number of superpixels in the foreground object that have similar features to the i-th superpixel in the foreground object. This represents the number of superpixels in the background target that have similar features to the i-th superpixel of the background target.

[0107] A54: Using the obtained prior probability and the observed likelihoods of the foreground and background targets, the posterior probability p(i) is calculated according to Bayes' theorem and used as the spatial saliency.

[0108]

[0109] Where p(i) is the posterior probability, which is equal to The subscript 't' indicates that this is frame 't', and the superscript 'spa' is an abbreviation for 'spatial'; S glo (i) represents the global significance feature, p(S) loc (i)|S1) represents the observation likelihood of the foreground target, p(S loc (i)|S0) represents the observation likelihood of the background target.

[0110] B: Each frame of each video segment in the video sequence is smoothed, and the motion changes of adjacent frames are analyzed by optical flow field analysis. The initial temporal saliency is obtained using optical flow field features. Then, the gradient features are calculated using optical flow field features, and the original temporal saliency is obtained using the gradient features and the initial temporal saliency. Next, a correction matrix based on motion direction features is calculated to correct the original temporal saliency. The corrected temporal saliency is then updated by propagating information along the time axis. Finally, energy accumulation is used to accumulate information from the corrected and propagated temporal saliency to obtain the final temporal saliency.

[0111] B1: Smooth each frame of each video segment in the video sequence. For the smoothed video frames Γ={F1,...,F...} t ...}, by using point trajectory tracking and spectral clustering, the F values ​​of two adjacent video frames are calculated. t ,F t+1 The optical flow field φ between ) t ;F t Let t represent the t-th video frame; the calculation method for the optical flow field is an existing algorithm, which will not be elaborated here.

[0112] B2: Calculate the F of the t-th video frame t The i-th superpixel Sup i initial time significance

[0113]

[0114] In this context, the superscript M is an abbreviation for motion, representing movement; t represents the t-th video frame; mφ t (i) and mφ t (j) represent the mean optical flow of the i-th and j-th superpixels, respectively; Num and Num(i) represent the mean optical flow of the t-th video frame F. t The total number of pixels and the number of pixels in the i-th superpixel; the right side of the formula also represents the number of pixels except for the i-th superpixel Sup. iThe global optical flow mean;

[0115] In step B2, the present invention still uses simple linear iterative clustering to calculate the superpixel set {Sup} for each frame. i}, i = 1, ..., N, thus calculating the i-th superpixel Sup of the t-th video frame. i initial time significance Superpixel sets are constructed using simple linear iterative clustering {Sup i The calculation of} is a well-known technique and will not be elaborated upon here.

[0116] B3: Based on the obtained optical flow field φ t Obtain the gradient features of superpixels And utilize the initial time significance The original temporal saliency of each superpixel was calculated.

[0117]

[0118] Among them, gradient features The superscript 'b' in the text indicates a boundary, meaning that the gradient features exist at the boundary of the moving target region; the gradient features of superpixels The calculation method is a well-known technique and will not be elaborated here.

[0119] In step B2, It also indicates that, except for the i-th superpixel Sup i The mean global optical flow. Because the motion of the moving target is large, while the motion of the background is uniform and small, the mean optical flow of the moving target superpixel will have a large contrast with the mean global optical flow, which can be used to describe the saliency of the superpixel.

[0120] On the one hand, since this invention obtains many superpixels by extracting and segmenting each frame, it is not accurate to describe the saliency of each superpixel using only features such as contrast, as contrast is only a feature in terms of amplitude; and on the other hand, this invention calculates the mean optical flow of each superpixel for computational efficiency, but the mean optical flow cannot fully reflect the importance of the saliency of the superpixel.

[0121] On the other hand, since gradient features represent the rate of change of motion of a moving target, and the boundary of a moving target is generally adjacent to the background, there must be a large gradient at the boundary between the moving target and the background.

[0122] Therefore, this invention is based on the already obtained global optical flow field φ t The gradient based on optical flow is calculated. Then for the boundary of each superpixel Then, based on the average of all gradient values ​​on the boundary, the gradient feature of each superpixel is obtained.

[0123] This invention has significant significance in the original time. The formula uses an exponential function, which ensures that the final result is not zero when the gradient is zero, thus allowing the result to be propagated and updated smoothly.

[0124] B4: Based on the obtained optical flow field φ t Determine the motion direction θ of the superpixel t (i), and combined with superpixel Sup i With any adjacent element weight and SuperPixel Sup i Original time significance Obtain the global correction matrix SALx for all superpixels. Mb And the final corrected matrix SAL Mb ';

[0125]

[0126]

[0127]

[0128] Among them, SALx Mb This represents the overall correction matrix. The superscript Mb has the same meaning as the symbol in the original temporal significance above, indicating motion. b comes from the gradient feature and represents the boundary. x represents the correction. θ t (i) represents the motion angle, the subscript t indicates the t-th frame, and v y and v x Let N represent the y and x components of the optical flow vector, respectively. The superscript Adj indicates adjacency. Z This represents the maximum number of adjacent elements. Represents each superpixel Sup i The direction of movement of all adjacent elements;

[0129] In step B3, the original time significance is obtained. Based on the characteristics of the graph itself, this method takes a global perspective. However, when faced with complex scenes, inaccurate optical flow estimation, and uneven motion, the above method is not effective and may result in uneven saliency distribution. Therefore, this invention also considers local features to ensure a more uniform distribution of salient target areas.

[0130] Based on existing electrophysiological experiments on bird vision, we found that the optic tectum (OT) in the avian extraocular pathway not only encodes target motion within the receptive field but is also influenced by visual stimuli outside the receptive field. Quantitatively comparing the modulation effects of different peripheral backgrounds on OT neurons' detection of moving targets, we found that peripheral modulation dynamically changes with the target's motion state and its own attributes. However, compared to motion direction contrast, brightness contrast has a weaker modulatory effect on neurons. For birds, brightness information may pose less of a threat than motion information (such as motion direction) when facing moving objects. Therefore, the local features in this invention adopt motion direction features, which can be determined based on the optical flow value mφ of each superpixel. t (i) Calculate the corresponding motion direction θ t (i);

[0131]

[0132] Because using only the global features of the graph itself leads to an unbalanced distribution of salient regions, this invention utilizes local features to correct the original temporal saliency map, achieving a more uniform distribution of salient regions. However, correcting the original temporal saliency map requires local graph connectivity; therefore, this invention uses an adjacency matrix to describe this graph model. In the adjacency matrix, each superpixel Sup can be clearly identified. i The adjacent elements are then used to solve for each superpixel Sup. i The direction of movement of all adjacent elements In this invention, each superpixel Sup i The adjacent element is defined as N z This represents the maximum number of adjacent elements.

[0133] To achieve a more uniform saliency distribution among superpixels of a moving target by diffusing saliency through local elements, it is necessary to obtain the weighted relationship between each superpixel and its neighboring elements, which can be understood as the degree of correlation. Considering the overall nature of the moving target, most superpixels belonging to the moving target have a consistent direction of motion, which is more obvious at local angles. Therefore, this invention defines a superpixel Sup. i any of its adjacent elements Weights:

[0134]

[0135] The above weight calculation formula represents the difference in motion angle between two superpixels. The smaller the difference, the more likely the two superpixels belong to a single entity. Therefore, an exponential function is used to increase the weight.

[0136] Using the original time significance obtained above and weight Obtain the global correction matrix SALx for all superpixels. Mb This invention utilizes SAL Mb This stores all the original temporal saliencies, representing the original temporal saliency storage matrix, which has dimensions N*1; SALx Mb This represents the overall correction matrix, which also has dimensions N*1.

[0137] The above correction process can be understood as follows: first, sum all neighboring elements of each superpixel according to their corresponding weights; then, sum all superpixels according to this calculation relationship; finally, accumulate them to form the overall correction matrix SALx. Mb The original temporal saliency storage matrix SAL Mb and the overall correction matrix SALx Mb Summing yields the final corrected matrix, so we correct it to SAL. Mb ':

[0138] SAL Mb =SAL Mb +SALx Mb ;

[0139] For Superpixel Sup i Original time significance We corrected it to

[0140] Through the above modifications, for the original time saliency, the present invention diffuses the locally particularly salient regions to the adjacent regions, effectively solving the problem of uneven distribution.

[0141] B5: Based on information propagation theory, the superpixel Sup at time t... i Corrected time significance Propagate the update to the superpixel Sup at t+1 t+1 (j) Corrected time significance Obtain the superpixel Sup at t+1 t+1 (j) Modified and propagated time significance Here, j at t+1 is different from i at time t because we consider the superpixel Sup at time t. t The superpixel Sup at (i) and t+1 t+1 (j) Distinguish between them to avoid the superpixel region from being repeated after propagation, which would lead to unsuccessful propagation.

[0142]

[0143] Wherein, the subscript t+1 represents the (t+1)th frame; the superscript Mb is consistent with the above, indicating motion; α represents the propagation intensity, α = 0.5; ψ(Sup t (i),Sup t+1 (j) represents the superpixel Sup t (i) with superpixel Sup t+1 The degree of relevance of (j);

[0144]

[0145] In the above formula, the exponential function is used to ensure that the result is non-zero; ρ(Sup t (i),Sup t+1 (j) indicates that Sup t (i) Passing through optical flow mφ t Under the influence of (i), it propagates to the next frame F. t+1 Afterwards, the propagated superpixel and the superpixel Sup at t+1 t+1 (j) The proportion of intersection; the larger the proportion of intersection, the greater the similarity. d lab (Sup t (i),Sup t+1 (j) represents the superpixel Sup t (i) with superpixel Sup t+1 The Euclidean distance between the lab colors of (j) and (d) is considered; the smaller the distance, the more similar they are in appearance. wass (Sup t (i),Sup t+1 (j) represents the superpixel Sup t (i) with superpixel Sup t+1 The Wasserstein distance between (j) can measure the similarity between two discrete distribution matrices and provides a scheme for distribution transition. We use the histogram distribution of the lab color distance as its discrete distribution matrix input.

[0146] B6: Based on the energy accumulation theory, use the saliency after correction and propagation in step B5. As Energy accumulation is performed using an energy accumulation model, and the saliency map after energy accumulation is finally obtained.

[0147]

[0148] In this context, the superscript Mb, as described above, indicates motion; MbCh indicates the addition of energy accumulation; the subscript t represents the t-th frame; and β is the energy accumulation intensity parameter, initially set to 0.5. This represents the maximum achievable significance after correction and propagation, set to 1. This represents the minimum saliency that can be achieved after correction and propagation, and is set to 0. "if"motion is detected in t" means that the motion occurred in frame t.

[0149] The present invention uses the above-mentioned propagation scheme to propagate time information in the forward direction along the time axis. Although the above-mentioned propagation scheme effectively propagates significant information in the time direction, uneven propagation will occur. Some areas with large saliency values ​​will propagate larger values ​​to the next frame, while areas that are significant targets but have small saliency values ​​will not stand out compared to areas with large saliency values ​​after propagation to the next frame. Even after information propagation, uneven distribution still occurs.

[0150] To address this issue, this invention, during its design, discovered that in birds, the response of the optic tectum (OT) in the optic tectum pathway to the central location of the same neuron within its receptive field is related to whether the external stimulus is continuously moved to that location or randomly presented there. Furthermore, this response difference is related to the target movement speed, indicating that this neural phenomenon is not solely influenced by the neuron's own historical firing history, suggesting that OT neurons may possess the ability to integrate and accumulate spatiotemporal information. The energy change of the motion observed at time t can be described as follows:

[0151]

[0152] C is called the charge increase. If there is movement at pixel (x,y), the charge will increase until the maximum value. If there is no movement, the charge value will continue to decrease. D is the charge decrease.

[0153] Where Ch[x,y,t] represents the charge value at pixel (x,y) and time t, and Ch[x,y,t-Δt] represents the charge value at pixel (x,y) and time t-Δt. max The maximum charge value is set to 255, Ch min The minimum charge value is set to 0;

[0154] In this invention, the corrected and propagated temporal saliency is used. As input to the energy accumulation model,

[0155]

[0156] Finally, we obtain the saliency map after energy accumulation, which is the final time saliency. It can be distributed evenly.

[0157] C: Utilize the spatial saliency obtained in step A and the final temporal significance obtained in step B Calculate the likelihood entropy of spatial saliency separately. Likelihood entropy and time significance The final fused saliency map (SalF) is obtained based on the saliency map fusion model. t ;

[0158]

[0159]

[0160]

[0161] In this context, the subscript t represents the t-th frame; the superscript spa is an abbreviation for spatial, meaning spatial; the superscript tem is an abbreviation for temporal, meaning temporal; and MbCh indicates that energy accumulation has been added to the motion.

[0162] Existing spatiotemporal clue merging methods mostly involve directly adding or multiplying temporal and spatial clues. This approach leads to the loss of useful information and fails to effectively integrate spatial and motion clues. Therefore, this invention employs an uncertain weighted fusion method based on adaptive entropy, which can effectively and fully integrate spatial and motion clues.

[0163] Meanwhile, since the weights corresponding to significant values ​​with high uncertainty are very small, this invention uses the weights as an inverse ratio to uncertainty to determine the saliency map fusion model as follows:

[0164]

Claims

1. A method for detecting the salience of moving targets in complex backgrounds inspired by bird vision, characterized in that, The steps are as follows: A: Perform superpixel segmentation on each frame of each video segment in the video sequence, then calculate the global saliency feature and local saliency feature of each superpixel; finally, based on the obtained global saliency feature and local saliency feature, use a Bayesian framework to perform feature fusion to obtain the final spatial saliency. Among them, the global saliency features include color coordinate saliency features and topological saliency features; B: Each frame of each video segment in the video sequence is smoothed, and the motion changes of adjacent frames are analyzed by optical flow field analysis. The initial temporal saliency is obtained using optical flow field features. Then, the gradient features are calculated using optical flow field features, and the original temporal saliency is obtained using the gradient features and the initial temporal saliency. Next, a correction matrix based on motion direction features is calculated to correct the original temporal saliency. The corrected temporal saliency is then updated by propagating information along the time axis. Finally, energy accumulation is used to accumulate information from the corrected and propagated temporal saliency to obtain the final temporal saliency. C: Using the spatial saliency obtained in step A and the final temporal saliency obtained in step B, calculate the likelihood entropy of the spatial saliency and the likelihood entropy of the temporal saliency respectively, and obtain the final fused saliency map according to the saliency map fusion model. Step B includes the following specific steps: B1: Smooth each frame of each video segment in the video sequence, and process the smoothed video frames. The method calculates the distance between two adjacent video frames by using point trajectory tracking and spectral clustering. Optical flow field between ; Indicates the first One video frame; B2: Calculate the first video frames The Superpixels initial time significance ; B3: Based on the obtained optical flow field Obtain the gradient features of superpixels And utilize the initial time significance The original temporal saliency of each superpixel was calculated. ; B4: Based on the obtained optical flow field Determine the motion direction of the superpixel And combined with superpixels With any adjacent element weight and superpixels Original time significance Obtain the global correction matrix for all superpixels. and the final corrected matrix ; B5: Based on information dissemination theory, Superpixels of time Corrected time significance Updated to superpixels at the location Corrected time significance ,get superpixels at the location Time significance after correction and propagation ; B6: Based on the energy accumulation theory, use the saliency after correction and propagation in step B5. Energy accumulation is performed using an energy accumulation model, and the saliency map after energy accumulation is finally obtained. .

2. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 1, characterized in that, Step A includes the following specific steps: A1: Perform superpixel segmentation on each frame of each video segment in the video sequence to obtain a set of superpixels for each frame. , , This represents the total number of superpixels. A2: Calculate each superpixel Color mean in CIELAB color space and the mean of spatial coordinates ; A3: Calculate each superpixel The global saliency features include color coordinate saliency features based on color distance and coordinate distance. and topological saliency features based on topological features ; A4: Get each superpixel Local saliency features ; A5: Based on the obtained global and local saliency features, a Bayesian framework is used for feature fusion to obtain the final spatial saliency. .

3. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 2, characterized in that: In step A3, the color coordinate saliency feature for: The subscript "co" indicates color. and They represent the first The and the first One superpixel; and They represent the first The and the first CIELAB color mean of each superpixel; and They represent the first The and the first The average spatial coordinates of each superpixel; For spatial weight parameters; Topological saliency features for: Subscript This indicates that only topological complexity is used; Describe the topological complexity. Indicates center bias, function Represents a fractional exponential function; In step A4, local saliency features for: In this context, the subscript loc is an abbreviation for local, and U represents a superpixel. In the adjacency matrix with superpixels The set of the remaining adjacent superpixels.

4. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 2, characterized in that, Step A5 includes the following specific steps: A51: The color coordinate saliency and topological saliency in the global saliency features are fused and used as the prior probability of the Bayesian model. ; in, Represents the spatial global saliency feature. It is an abbreviation for global; Indicates the saliency of the color coordinates. Indicates topological saliency; A52: Based on the coordinates of the convex hull center and the convex hull boundary, create a mask for the triangular portion and use it as the foreground region for observation. ; A53: Utilizing local saliency features Calculate the observation likelihood of foreground and background targets; in, This represents the observational likelihood of the foreground target. This represents the observational likelihood of the background target; Represents superpixels in the foreground object. Represents superpixels in the background target. Indicates the observation foreground region The number of superpixels belonging to the foreground object within the internal area. Indicates the observation foreground region The number of superpixels that belong to the background object; subscript Indicates a background target, subscript This indicates that it belongs to the prospective goals; For each superpixel Local saliency features; Represents all superpixels in the foreground object and the first superpixel in the foreground object. The number of superpixels with similar features. Represents all superpixels in the background target and the background target's first superpixel. The number of superpixels with similar features; A54: Using the obtained prior probabilities and the observed likelihoods of the foreground and background targets, the posterior probabilities are calculated according to Bayes' theorem. As spatial saliency ; 。 5. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 1, characterized in that, In step B2, the initial time significance for: Among them, superscript Indicates movement, Indicates the first One video frame, and They represent the first The and the first Average optical flow per superpixel and They represent the first video frames The total number of pixels and the number of pixels in the i-th superpixel; In step B3, the original time significance for: Among them, gradient features The superscript 'b' in the text indicates the boundary.

6. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 1, characterized in that, In step B4, the global correction matrix of all superpixels and the final corrected matrix for: in This represents the overall correction matrix, where x represents the correction. This represents the original temporal saliency storage matrix. Indicates the angle of motion. and Let the y and x components of the optical flow vector be represented by superscripts, respectively. Indicates adjacency. This represents the maximum number of adjacent elements. Represents each superpixel The direction of movement of all adjacent elements.

7. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 1, characterized in that, In B5, the corrected and propagated temporal saliency for: Among them, subscript Indicates the first frame; Indicates the intensity of transmission. Superpixels With superpixels The degree of relevance; express After optical flow Propagated to the next frame under the action Afterwards, the propagated superpixel and superpixels at the location The proportion of intersection; Superpixels With superpixels The Euclidean distance between the lab colors; Superpixels With superpixels The Wasserstein distance between them.

8. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 1, characterized in that, In step B6, the saliency map after energy accumulation for: Among them, the upper This indicates that an energy accumulation effect has been added; subscript Indicates the first frame; This is the energy accumulation intensity parameter. This represents the maximum achievable significance after correction and propagation, set to 1. This represents the minimum significance that can be achieved after correction and propagation, and is set to 0. Indicates that the motion occurred in the th... frame.

9. The method for detecting the salience of moving targets in complex backgrounds inspired by bird vision according to claim 1, characterized in that: The fused saliency map : 。