A method for calculating similarity of target dynamic characteristics of infrared sequence images based on JS divergence
By modeling the multi-dimensional feature changes of infrared sequence images as a probability distribution and using JS divergence measurement, the problem of difficulty in comprehensively measuring the dynamic feature changes of infrared sequence images in existing technologies is solved, and stable, symmetrical evaluation and robust recognition of infrared target change processes are achieved.
Patent Information
- Application Number
- CN202611378271.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-07
AI Technical Summary
Existing methods for calculating the similarity of infrared sequence images are difficult to achieve symmetry, stability, and comprehensive measurement of multi-dimensional dynamic feature changes, and cannot effectively distinguish targets that are similar in appearance but have different dynamic behaviors.
By uniformly modeling the changes in statistics, texture, corner points, and geometric features over time as a probability distribution, and using JS divergence for similarity measurement, a comprehensive dynamic probability distribution is constructed to evaluate the change process of infrared sequence targets.
It achieves objective, stable, and comprehensive evaluation of target changes in infrared sequence images, enhances robustness to occlusion, noise, and scale changes, adapts to different application environments, and improves the accuracy of target recognition and tracking.
Smart Images

Figure CN122906401B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of infrared image processing and target recognition technology, specifically involving a method for calculating the similarity of dynamic features of infrared sequence images based on JS divergence. Background Technology
[0002] Infrared image sequences are widely used in target detection, motion analysis, video surveillance, and target tracking under low-light conditions. In these applications, determining whether two infrared sequences exhibit similar target change processes is crucial for target recognition, behavior analysis, and state assessment. For example, in infrared target tracking, it's necessary to determine whether the target's motion posture, deformation process, and thermal signal changes in infrared videos acquired at different times or from different perspectives originate from the same target. In multi-source infrared detection systems, it's necessary to evaluate whether target sequences acquired by different sensors describe the same behavioral patterns. All these requirements necessitate the effective measurement of the target's dynamic evolution process in infrared image sequences.
[0003] Existing methods for calculating the similarity of infrared sequence images mainly include the following technical approaches.
[0004] The first type of method compares static features from a single frame or a small number of frames. This type of method extracts spatial domain features from infrared images, such as gray-level histograms, peak temperatures, hotspot areas, and gray-level co-occurrence matrices, and uses the distance between feature vectors as a measure of sequence similarity. However, static features only reflect the state of the target at isolated moments and cannot characterize the evolution of target features over continuous time. When targets in two sequences have similar static appearance distributions but different rates of change or deformation trajectories, this type of method struggles to effectively distinguish them.
[0005] The second type of method introduces inter-frame difference or optical flow field to extract dynamic information. Inter-frame difference describes the target's motion region and amplitude by calculating the pixel-level differences between adjacent frames, while optical flow estimates the pixel motion vectors to characterize the target's motion field distribution. The above methods can capture some dynamic information of the target in the time dimension, but they usually only focus on single kinematic attributes such as displacement, velocity, and acceleration, lacking the ability to comprehensively measure the dynamic characteristics of the target in multiple dimensions such as gray-scale distribution evolution, texture structure changes, and geometric deformation.
[0006] The third type of method utilizes information-theoretic metrics to evaluate the similarity of probability distributions. KL divergence is used to measure the difference between two probability distributions and has applications in image matching and template tracking. However, KL divergence is asymmetric, failing to meet the basic requirements of distance metrics; furthermore, it is sensitive to low-probability regions in the probability distribution, and the divergence value tends to infinity when the denominator probability approaches zero, resulting in insufficient stability under low signal-to-noise ratio conditions in infrared images. While traditional distance metrics such as Euclidean distance and Manhattan distance satisfy symmetry, they lack interpretive power in a probabilistic statistical sense and are significantly affected by changes in feature dimensions and numerical scale.
[0007] For the comprehensive utilization of multi-dimensional features, existing technologies typically calculate the similarity of different types of features separately and then perform a simple weighted average, or directly concatenate them to form a high-dimensional feature vector before calculating the overall distance. These methods fail to uniformly transform the changes in statistical features, texture features, geometric features, and other multi-dimensional information over time into probability distributions for joint evaluation, making it difficult to comprehensively measure the consistency of the overall dynamic evolution of two infrared sequences at the system level. Therefore, existing methods for calculating the similarity of infrared sequence images struggle to achieve symmetry, stability, and comprehensive measurement of the changes in multi-dimensional dynamic features. Summary of the Invention
[0008] To address the shortcomings of existing technologies, this application aims to provide a symmetric, bounded method for calculating the similarity of infrared sequence images that is sensitive to the dynamic evolution of multiple features. By uniformly modeling the changes of multi-dimensional features such as statistics, texture, corner points, and geometric shapes on the time axis as a probability distribution, and using JS divergence for similarity measurement, an objective, stable, and comprehensive evaluation of the "target change process" of two infrared sequences can be achieved.
[0009] To achieve the above technical objectives, this application specifically employs the following technical solution: In one aspect of this application, a method for calculating the similarity of dynamic features of targets in infrared sequence images based on JS divergence is provided, comprising the following steps: Step 1: Input infrared sequence image A and infrared sequence image B to be compared. The infrared sequence image consists of consecutive frames. Step 2: Perform target region detection or segmentation on each frame of the infrared sequence image A and the infrared sequence image B to obtain the target region in each frame; Step 3: For the target region in each frame of the image, extract statistical feature vectors, texture feature vectors, corner feature vectors, and geometric feature vectors respectively; calculate the statistical feature changes between adjacent frames based on the statistical feature vectors of each frame to obtain a statistical dynamic feature sequence. Based on the texture feature vectors of each frame, calculate the amount of texture feature change between adjacent frames to obtain the dynamic texture feature sequence. Based on the corner feature vectors of each frame, calculate the change in corner features between adjacent frames to obtain the dynamic feature sequence of corners. ; Calculate the geometric feature changes between adjacent frames based on the geometric feature vectors of each frame to obtain the geometric dynamic feature sequence. ; Step 4: Analyze the statistical dynamic feature sequence. The texture dynamic feature sequence The corner point dynamic feature sequence and the geometric dynamic feature sequence Normalization was performed separately to construct statistical feature probability distributions. Texture feature probability distribution Corner feature probability distribution and geometric feature probability distribution ; Step 5: Calculate the probability distribution of the statistical features. The texture feature probability distribution The corner feature probability distribution and the geometric feature probability distribution Perform weighted fusion to construct a comprehensive dynamic probability distribution ; Step 6: Calculate the comprehensive dynamic probability distribution of the infrared sequence image A. Combined dynamic probability distribution with the infrared sequence image B The JS divergence between them, and the formula for calculating the JS divergence is:
[0010] in, ; Represents probability distribution and JS divergence between them; Represents probability distribution Relative to the average distribution KL divergence, Similarly, the formula for calculating the KL divergence is:
[0011] ; Step 7: Calculate the dynamic feature similarity based on the JS divergence. The calculation formula is: ; The dynamic feature similarity Sim is output as the target dynamic feature similarity result between the infrared sequence image A and the infrared sequence image B.
[0012] In one implementation, the target region detection or segmentation in step 2 is achieved using any of the following methods: threshold segmentation, region growing, connected component analysis, deep learning segmentation network U-Net, or target detection network YOLO.
[0013] In one implementation, the statistical feature vector in step 3 Includes: grayscale mean ,variance skewness kurtosis , second moment of angle histogram Figure 2 Step Moment Information entropy The statistical feature vector Represented as: ; Statistical characteristic change The calculation formula is: ; The statistical dynamic feature sequence is:
[0014] in, Indicates the first The first frame of the statistical feature vector of the image One component; denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
[0015] In one implementation, the texture feature vector in step 3 Includes: HOG features, LBP features, LPQ features; texture feature variation. The calculation formula is: ; The dynamic texture feature sequence is as follows:
[0016] in, denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
[0017] In one implementation, the corner feature vector in step 3 Includes: Harris corner features, ORB features, KAZE features, BRISK features; corner feature variation. The calculation formula is: ; The corner point dynamic feature sequence is as follows:
[0018] in, denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
[0019] In one implementation, the geometric feature vector in step 3 Includes: outline area, perimeter, roundness, centroid location, aspect ratio, Hu invariant moments; geometric feature variations. The calculation formula is: ; The geometric dynamic feature sequence is:
[0020] in, denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
[0021] In one implementation, the statistical feature probability distribution described in step 4 The construction formula is: ; in, Indicates the change in statistical characteristics; The texture feature probability distribution The corner feature probability distribution and the geometric feature probability distribution The construction method and the statistical feature probability distribution same.
[0022] In one implementation, the calculation formula for the weighted fusion in step 5 is:
[0023] in, , , , The statistical feature probability distributions are respectively The texture feature probability distribution The corner feature probability distribution and the geometric feature probability distribution The weighting coefficients satisfy: .
[0024] In one implementation, the weighting coefficient , , , Adaptive adjustment based on application scenario: In scenarios with small targets at long distances, reduce the probability distribution of the texture features. Weighting coefficients and the corner point feature probability distribution Weighting coefficients Improve the probability distribution of the statistical features Weighting coefficients and the geometric feature probability distribution Weighting coefficients In close-range, high-resolution scenes, improve the probability distribution of the texture features. Weighting coefficients .
[0025] In one implementation, the dynamic feature similarity The value range of Sim is 0~1; when Sim approaches 1, it indicates that the dynamic evolution processes of the infrared sequence image A and the infrared sequence image B are highly similar; when When the value approaches 0, it indicates that the dynamic changes of the infrared sequence image A and the infrared sequence image B are significantly different.
[0026] In one embodiment, the method described in this application is applied to an infrared target tracking scenario: by calculating the dynamic feature similarity between different frame-to-frame infrared target sequences. To perform target association and tracking.
[0027] In one embodiment, the method described in this application is applied to an infrared target recognition scenario: by comparing the dynamic feature similarity between a sequence of infrared targets to be identified and a sequence of infrared targets of known categories. It determines whether the infrared target to be identified belongs to a known category.
[0028] In one implementation, the method described in this application is applied to a multi-platform collaborative reconnaissance and target association scenario: calculating the dynamic feature similarity between the infrared target sequences acquired by the first reconnaissance platform and the infrared target sequences acquired by the second reconnaissance platform. Based on the dynamic feature similarity Perform cross-platform target matching and association.
[0029] In one embodiment, the method described in this application is applied to an infrared video retrieval scenario: calculating the dynamic feature similarity between the query infrared video sequence and candidate infrared video sequences. Based on the dynamic feature similarity Perform a similar target search.
[0030] The beneficial effects of this application are as follows: (1) Extend the static feature comparison to the dynamic evolution process comparison. Construct a dynamic feature sequence by the feature change of adjacent frames, which can distinguish infrared target sequences that are similar in appearance but have different dynamic behaviors.
[0031] (2) The probability distribution model is modeled by combining four types of dynamic features: statistics, texture, corner points and geometry. This describes the evolution of the target from multiple dimensions, overcomes the problem of insufficient expression of single dynamic information, and enhances the robustness to occlusion, noise and scale changes.
[0032] (3) JS divergence is used as a similarity measure, which has symmetry, boundedness and low probability region stability, overcoming the defects of KL divergence in asymmetry and easy divergence; at the same time, an adaptive weight fusion mechanism is introduced, which can dynamically adjust feature weights according to the scenario, improving the system's adaptability to different application environments. Attached Figure Description
[0033] Figure 1 This is a flowchart illustrating the target dynamic feature similarity calculation method according to an embodiment of this application; Figure 2 These are two infrared sequence images to be compared, obtained from embodiments of this application. Detailed Implementation
[0034] The technical solution of this application will be clearly and completely described below with reference to specific embodiments. However, those skilled in the art will understand that the embodiments described below are only some embodiments of this application, not all embodiments, and are only used to illustrate this application, and should not be regarded as limiting the scope of this application. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0035] This application addresses the shortcomings of existing infrared sequence similarity calculations, such as the lack of temporal evolution description capabilities in static feature comparison, the asymmetry of KL divergence and its sensitivity to low-probability regions, and the difficulty in unifying the modeling of multi-dimensional features. It proposes constructing dynamic feature sequences by varying the changes in four types of features—statistical, texture, corner, and geometric—between adjacent frames. These sequences are then normalized to probability distributions, and a comprehensive dynamic probability distribution is generated through adaptive weighted fusion. Finally, the consistency between the corresponding distributions of two sequences is measured using JS divergence and mapped to similarity. The entire concept progresses through three layers: "dynamic feature sequence construction—probability distribution modeling—JS divergence similarity evaluation," incorporating the temporal evolution of infrared targets into a unified measurement framework while balancing the comprehensive expression of multi-dimensional features with the symmetry, boundedness, and stability requirements of the measurement index.
[0036] In one specific implementation, this application provides a method for calculating the similarity of dynamic features of targets in infrared sequence images based on JS divergence, referring to... Figure 1As shown, it includes the following steps: Step 1: Input infrared image sequence Input two infrared image sequences to be compared:
[0037]
[0038] in: For the number of frames in the sequence, , For the first Frame infrared image.
[0039] Step 2: Extract the target region For each frame of infrared image, target region detection or segmentation is performed to obtain the target region in each frame. Thresholding segmentation, region growing, connected component analysis, deep learning segmentation networks (such as U-Net), and object detection networks (such as YOLO) can be used to obtain the target region. Used for subsequent dynamic feature extraction.
[0040] Step 3: Extract statistical dynamic features Statistical features are extracted for the target region of each image frame, including: grayscale mean. ,variance skewness kurtosis , second moment of angle histogram Figure 2 Step Moment Information entropy .
[0041] Let the first Statistical feature vectors extracted from frame images for: ; Then, the statistical feature changes between adjacent frames were calculated. :
[0042] in, Indicates the first The first frame of the statistical feature vector of the image One portion, Denotes the Euclidean norm; After traversing the entire sequence, the statistical dynamic feature sequence is obtained. : ; This sequence describes the changes in the target's thermal state and grayscale structure over time.
[0043] Step 4: Extract dynamic texture features Texture features are extracted for the target region, including HOG features, LBP features, and LPQ features.
[0044] Constructing texture feature vectors Calculate the change in texture features between adjacent frames. : ; Obtain the dynamic feature sequence of the texture : ; Used to describe the dynamic evolution of target texture and edge structure.
[0045] Step 5: Extract dynamic features of corner points Corner features are extracted from the target region, including Harris corner features, ORB features, KAZE features, and BRISK features, to form a corner feature vector. Then, the change in corner features is calculated. : ; Obtain the dynamic feature sequence of corner points : ; Used to describe the stability of the target's local structure and the characteristics of changes in viewpoint.
[0046] Step 6: Extract geometric dynamic features Extract geometric dynamic features for the target region, including contour area, perimeter, roundness, centroid position, aspect ratio, and Hu invariant moments.
[0047] Constructing geometric eigenvectors Calculate the change in geometric features : ; Obtain the geometric dynamic feature sequence : ; Used to describe target deformation and attitude changes.
[0048] Step 7: Construct dynamic feature probability distribution The four types of dynamic feature sequences are normalized to construct statistical feature probability distributions. :
[0049] in, Indicates the first The proportion of changes in adjacent frames to the total changes in the entire sequence.
[0050] Similarly, the probability distribution of texture features is obtained. Corner feature probability distribution Geometric feature probability distribution .
[0051] Step 8: Multidimensional Feature Fusion A comprehensive dynamic probability distribution is constructed using a weighted fusion method:
[0052] in, , , , The statistical feature probability distributions are respectively The texture feature probability distribution The corner feature probability distribution and the geometric feature probability distribution The weighting coefficients, and: .
[0053] The weights can be adaptively adjusted for different scenarios.
[0054] Step 9: Calculate JS divergence For infrared image sequence A and infrared image B: Let their combined probability distributions be as follows: .
[0055] Construct a uniform distribution: ; Calculate JS divergence: ; in, Represents probability distribution and JS divergence between them; Represents probability distribution Relative to the average distribution KL divergence, Similarly.
[0056] The general method for calculating the KL divergence is as follows: for any two probability distributions... and : ; in, Iterate through all components of the probability distribution. and The first The probability value of each component. The specific calculation is as follows , The specific calculation is as follows .
[0057] Step 10: Output dynamic feature similarity Convert JS divergence to similarity:
[0058] in: The two sequences exhibit highly similar dynamic evolution processes. The two sequences show significant differences in dynamic changes.
[0059] The final output is the target dynamic feature similarity result.
[0060] This application proposes a method for calculating the dynamic feature similarity of infrared sequential images based on JS divergence. This method can comprehensively model the dynamic changes of infrared targets over time, and therefore can be widely applied in multiple fields such as infrared target detection, recognition, tracking, and behavior analysis. Compared with traditional methods based on single-frame static features, this application focuses more on the evolution of targets between consecutive frames, making it particularly suitable for applications with complex backgrounds, low signal-to-noise ratios, and targets exhibiting deformation, attitude changes, or thermal characteristic fluctuations.
[0061] In the field of infrared target tracking, this application can improve the stability of target association and tracking in complex backgrounds by analyzing the dynamic changes of targets over continuous time. Since this method not only considers the changes in the target's position, but also integrates the dynamic evolution information of texture, corner points, geometry, and statistical features, it still has good robustness for targets that are rotated, scaled, occluded, or have changes in thermal properties, and can be applied to scenarios such as UAV target tracking and infrared search and track systems (IRST).
[0062] In the field of infrared target recognition, this application can determine whether targets belong to the same category or originate from the same target by comparing the dynamic changes between different target sequences. Compared with traditional static image recognition methods, this scheme can further analyze the temporal characteristics of targets during motion, deformation, and thermal radiation changes. Therefore, it is suitable for infrared recognition and classification tasks of targets such as aircraft, vehicles, and ships, and is especially suitable for target recognition scenarios under nighttime, low-light, and complex weather conditions.
[0063] In the field of multi-platform collaborative reconnaissance and target association, this application can be used for target matching and association analysis between infrared videos acquired by different reconnaissance platforms. For example, when target information is acquired simultaneously by satellite platforms, UAV platforms, and ground-based infrared detection platforms, this application can be used to calculate the dynamic similarity between different infrared sequences, thereby achieving cross-platform target confirmation and collaborative tracking, and improving the fusion capability of multi-source heterogeneous infrared data.
[0064] Furthermore, this application can also be applied to fields such as infrared video retrieval, intelligent security monitoring, and low-light surveillance. By establishing a similarity measurement mechanism between the dynamic changes of infrared targets, it is possible to achieve functions such as similar target retrieval in historical infrared videos, abnormal behavior detection, and nighttime surveillance target analysis, which has high engineering application value.
[0065] Compared to traditional infrared target similarity calculation methods, the core improvement of this application lies in extending "static feature comparison" to "dynamic feature evolution process comparison." Traditional methods typically calculate similarity based only on static information such as grayscale, texture, or shape in a single frame image, lacking the ability to describe the temporal changes of the target, thus making it difficult to distinguish targets with similar appearances but different dynamic behaviors. This application constructs feature changes between adjacent frames, transforming the target's change process on the time axis into a dynamic feature sequence, thereby achieving modeling of the target's dynamic behavior. This improvement enables the system not only to describe "what the target looks like" but also "how the target changes," thus effectively enhancing target behavior analysis and dynamic recognition capabilities.
[0066] This application further proposes a multi-dimensional dynamic feature joint modeling mechanism. Existing technologies typically only use simple dynamic information such as optical flow, displacement, or single texture changes for analysis, which cannot comprehensively reflect the complex evolution process of the target in the infrared sequence. This scheme simultaneously introduces information from multiple dimensions, including statistical features, texture features, corner features, and geometric features, and establishes dynamic change sequences for each, describing the changes in the target's thermal state, texture structure, local key point changes, and overall geometric deformation process from different levels. This improvement can significantly enhance the system's ability to represent complex targets and improve its robustness to occlusion, noise, scale changes, and target rotation.
[0067] After modeling the dynamic features, this application does not directly adopt traditional distance metrics. Instead, it further normalizes the dynamic feature sequence into a probability distribution to describe the dynamic change pattern of the target in a statistical sense. Traditional Euclidean distance or Manhattan distance can only reflect numerical differences and lacks probabilistic statistical interpretation capabilities, and is easily affected by changes in dimensions and scale. This application, through probability distribution modeling, uniformly maps the dynamic change patterns of different time series to a probability space, thereby more stably describing the target behavior characteristics and improving the comparability and stability between different target sequences.
[0068] In terms of similarity calculation, this application adopts JS divergence instead of traditional KL divergence as the core similarity metric. Traditional KL divergence suffers from asymmetry, sensitivity to low-probability regions, and a tendency to diverge, making it unsuitable for stable similarity analysis in complex infrared environments. JS divergence, however, is an improvement on KL divergence, exhibiting symmetry, boundedness, and better stability. Since the value range of JS divergence is fixed between 0 and 1, it is more suitable for similarity assessment between infrared dynamic feature probability distributions, effectively improving robustness under complex backgrounds and low signal-to-noise ratio conditions.
[0069] Furthermore, this application introduces a multi-dimensional dynamic feature adaptive weight fusion mechanism. Traditional methods typically fuse different features with fixed weights, while this application can dynamically adjust the weights of statistical features, texture features, corner features, and geometric features according to different application scenarios. For example, in long-distance, small target scenarios, the weights of texture and corner features can be appropriately reduced, while the weights of statistical and geometric features can be increased; conversely, in short-distance, high-resolution scenarios, the weight of texture features can be increased to enhance the ability to describe changes in target details. This improvement gives this application stronger scene adaptability and engineering deployment flexibility.
[0070] In summary, this application achieves a comprehensive characterization of the dynamic changes of infrared targets through several key improvement steps, including dynamic feature modeling, multi-dimensional feature fusion, probability distribution description, and JS divergence stability measurement. It can effectively improve the accuracy, stability, and robustness of infrared target similarity analysis, and has high theoretical research value and practical engineering application value.
[0071] Example The method proposed in this application is verified using a ground vehicle target sequence obtained by an infrared search and tracking system as an example.
[0072] like Figure 2 As shown, two infrared sequences to be compared were obtained respectively:
[0073]
[0074] Both sequences contain the same type of vehicle targets, but due to the effects of shooting time, viewing angle and noise, the grayscale and shape of the targets are somewhat different.
[0075] (1) Target region extraction The target region is obtained by using a threshold segmentation method. For the first frame, the extracted vehicle region is used as the region for subsequent dynamic feature calculation.
[0076] (2) Calculation of statistical dynamic characteristics For sequence A, extract the statistical features of the target region for each frame:
[0077] in: The grayscale mean is... For variance, For skewness, For kurtosis, The second moment of the angle, For histogram Figure 2 Step moment, This refers to information entropy.
[0078] Details are as shown in Table 1: Table 1. Statistical feature extraction results for each frame of Sequence A
[0079] Based on the formula for the change in statistical features between adjacent frames: ; Statistical dynamic features are calculated for frames 1 and 2 of sequence A. Based on the difference in the seven-dimensional statistical feature vectors, the change vector between the two frames is obtained: [-3.8862,-221.4819,0.0633,0.1073,-0.0005,-221.4431,-0.0019].
[0080] Further calculation of their Euclidean distance yields the statistical dynamic change of the first adjacent frame, resulting in: .
[0081] Similarly, calculate the changes in the remaining adjacent frames: ; in, This represents the statistical characteristic changes of sequence A.
[0082] Further normalization yields: ; in, The probability distribution representing the statistical characteristics of sequence A; therefore: .
[0083] (3) Calculation of dynamic texture features Similarly, LBP and HOG are used together to describe texture variations. Assume the calculation yields: ; in, This represents the changes in texture features for sequence A; After normalization, we get:
[0084] in, This represents the probability distribution of texture features for sequence A.
[0085] (4) Calculation of corner dynamic characteristics Using the ORB corner descriptor, the corner changes between adjacent frames are calculated: ; in, This represents the corner feature changes for sequence A.
[0086] Normalization:
[0087] in, This represents the probability distribution of corner features for sequence A.
[0088] (5) Calculation of geometric dynamic characteristics calculate:
[0089] in, This represents the geometric feature changes for sequence A; Normalization: .
[0090] in, This represents the probability distribution of geometric features for sequence A.
[0091] (6) Multidimensional dynamic probability fusion Based on the characteristics of the target scene, the fusion probability is set as follows: ; ; ; .
[0092] satisfy: .
[0093] Therefore, considering the comprehensive dynamic probability distribution: .
[0094] The calculation yielded:
[0095] (7) Calculate another sequence B The same process was used to obtain: .
[0096] (8) Calculation of JS divergence First, calculate the average distribution: ; get: .
[0097] calculate: ; in: ; therefore: .
[0098] (9) Similarity output according to: ; get: .
[0099] A value close to 1 indicates that the dynamic changes of the target in the two infrared sequences are highly consistent.
[0100] Although the embodiments of this application have been described above in conjunction with the accompanying drawings, this application is not limited to the specific embodiments and application fields described above. The specific embodiments described above are merely illustrative and instructive, not restrictive. Those skilled in the art can make many other forms based on the guidance of this specification and without departing from the scope of protection of the claims of this application, and these are all within the scope of protection of this application.
Claims
1. A method for calculating similarity of dynamic characteristics of an object in infrared sequence images based on JS divergence, characterized in that, Includes the following steps: Step 1: Input the infrared image sequence pair to be compared, wherein the infrared image sequence consists of consecutive frames; Step 2: Detect or segment the target region for each frame of the infrared image sequence pair, and obtain the target region in each frame of the image; Step 3: For the target region of each frame image, extract statistical feature vectors, texture feature vectors, corner feature vectors, and geometric feature vectors respectively, and obtain statistical dynamic feature sequences for each. Texture dynamic feature sequence Corner dynamic feature sequence and geometric dynamic feature sequence ; Step 4: Construct probability distributions for statistical features respectively Texture feature probability distribution Corner feature probability distribution and geometric feature probability distribution Then, weighted fusion is performed to construct a comprehensive dynamic probability distribution. ; Step 5: Calculate the JS divergence between the comprehensive dynamic probability distributions of the infrared image sequence pairs respectively. The formula for calculating the JS divergence is: in, ; Represents probability distribution and JS divergence between them; and These are the probability distributions of the infrared image sequence pairs to be compared; the formula for calculating the KL divergence is: ; Step 6: Calculate the dynamic feature similarity based on the JS divergence. The calculation formula is: ; The dynamic feature similarity Sim is output as the target dynamic feature similarity result between the infrared sequence image pairs to be compared.
2. The method according to claim 1, characterized in that, The target region detection or segmentation described in step 2 can be achieved using any of the following methods: threshold segmentation, region growing, connected component analysis, deep learning segmentation network U-Net, or object detection network YOLO.
3. The method according to claim 1, characterized in that, The statistical feature vector mentioned in step 3 Includes: grayscale mean ,variance skewness kurtosis , second moment of angle Second moment of histogram Information entropy The statistical feature vector Represented as: ; Statistical characteristic change The calculation formula is: ; The statistical dynamic feature sequence is: in, Indicates the first The first frame of the statistical feature vector of the image One component; denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
4. The method according to claim 1, characterized in that, The texture feature vector mentioned in step 3 Includes: HOG features, LBP features, LPQ features; texture feature variation. The calculation formula is: ; The dynamic texture feature sequence is as follows: in, denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
5. The method according to claim 1, characterized in that, The corner feature vector mentioned in step 3 Includes: Harris corner features, ORB features, KAZE features, BRISK features; corner feature variation. The calculation formula is: ; The corner point dynamic feature sequence is as follows: in, denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
6. The method according to claim 1, characterized in that, The geometric feature vector in step 3 Includes: outline area, perimeter, roundness, centroid location, aspect ratio, Hu invariant moments; geometric feature variations. The calculation formula is: ; The geometric dynamic feature sequence is: in, denoted by Euclidean norm; n is the number of frames in the infrared sequence image.
7. The method according to claim 1, characterized in that, The statistical feature probability distribution described in step 4 The construction formula is: ; in, Indicates the change in statistical characteristics; The texture feature probability distribution The corner point feature probability distribution and the geometric feature probability distribution The construction method and the statistical feature probability distribution same.
8. The method according to claim 1, characterized in that, The calculation formula for the weighted fusion mentioned in step 4 is as follows: in, , , , The statistical feature probability distributions are respectively The texture feature probability distribution The corner point feature probability distribution and the geometric feature probability distribution The weighting coefficients satisfy: 。 9. The method according to claim 8, characterized in that, The weighting coefficient , , , Adaptive adjustment based on application scenario: In scenarios with small targets at long distances, reduce the probability distribution of the texture features. Weighting coefficients and the corner point feature probability distribution Weighting coefficients Improve the probability distribution of the statistical features Weighting coefficients and the geometric feature probability distribution Weighting coefficients In close-range, high-resolution scenes, improve the probability distribution of the texture features. Weighting coefficients .
10. The method according to claim 1, characterized in that, The dynamic feature similarity The value of Sim ranges from 0 to 1; when Sim approaches 1, it indicates that the dynamic evolution processes of the infrared sequence image pairs are highly similar; when... When the value approaches 0, it indicates that the dynamic changes of the infrared sequence image pair are significantly different.
Citation Information
Patent Citations
Infrared target identification multi-dimensional complexity characterization method in complex ground scene
CN121213898A
Multi-dimensional fusion-based material mirror splitting method and device, medium and product
CN122530894A
