A method for identifying camouflaged military targets in the field based on optical flow tracking

Through optical flow tracking technology, the RAFT network structure is used to analyze the pixel speed of aerial images taken by drones, and low-frequency signals are identified as camouflaged targets. This solves the problem of identifying camouflaged military targets in complex wild environments and achieves efficient and low-cost identification. Effect.

CN114299108BActive Publication Date: 2024-10-15HUBEI AEROSPACE VEHICLE RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111400051.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2024-10-15
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

It is difficult for existing technology to accurately identify camouflaged military targets in complex wild environments, especially after the development of optical countermeasures technology. Infrared stealth measures make it difficult for traditional infrared detectors to identify, and methods based on artificial intelligence require high costs and long-term data training. support.

Method used

Using a method based on optical flow tracking, high-resolution aerial images are taken by drones, the RAFT network structure is used to calculate the velocity matrix of pixels, the frequency components are analyzed, and the low-frequency components are marked as camouflage targets, which is suitable for complex environments and light changes.

Benefits of technology

It achieves accurate and rapid identification of infrared stealth camouflage targets in the natural environment. It is suitable for complex wild environments, has high identification efficiency and low cost, and is suitable for military and civil reconnaissance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114299108B_ABST
    Figure CN114299108B_ABST
Patent Text Reader

Abstract

The invention relates to a field camouflaged military target recognition method based on optical flow tracking, comprising the following steps: a drone continuously takes high-resolution aerial photos of a target area, and simultaneously records the speed of the drone at each shooting moment; preprocesses an aerial photo group; calculates the speed matrix of all pixel points of each picture by using a RAFT network structure according to the shooting time sequence; intercepts a rectangular area shared by all pictures, and intercepts a speed submatrix of the rectangular area from an original speed matrix; regards the speed of pixels at the same position of each rectangular area picture at each moment as a group of time domain signals, converts the time domain signals into a frequency domain, marks pixels corresponding to signals with more high-frequency components as environmental backgrounds, and marks pixels corresponding to signals composed of low-frequency components as camouflaged targets; regards discrete single pixel points as interference points for filtering; and highlights and marks the camouflaged target pixels obtained after filtering in the picture to obtain a camouflaged target recognition result of the area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of camouflaged target recognition, and in particular to a field camouflaged military target recognition method based on optical flow tracking. Background Art

[0002] Target recognition has a wide range of applications both in life and in the military field. Usually, radar, sonar positioning, infrared detection, face recognition and other equipment are used to analyze the shape, radiation distribution, echo characteristics and other information of the target to determine the type of the target.

[0003] With the rapid development of optical countermeasure technology, the world's military powers have adopted a large number of infrared stealth measures on military targets, such as camouflage nets, infrared decoy bombs, and infrared stealth coatings, which greatly reduce the radiation contrast characteristics between the target and the background, making it impossible for guided weapons and reconnaissance equipment equipped with high-precision infrared detectors to effectively identify camouflaged military targets.

[0004] Methods such as spectral analysis and image processing rely on physical features such as the spectrum and pixel grayscale values ​​of images, and cannot accurately identify highly camouflaged military targets such as tanks in the wild. In recent years, the popular camouflaged target recognition methods based on artificial intelligence and deep learning require a large number of training samples, which have high data collection and training costs, and the calculation and analysis are time-consuming. Therefore, a camouflaged target recognition method that is suitable for complex outdoor environments, has strong adaptability to light changes, and has high recognition efficiency is needed.

[0005] Optical flow tracking can express the motion of an object by extracting fine and dense pixel-level matches, reflecting the unique motion patterns of different targets. It is widely used in action recognition, motion segmentation, assisted driving, navigation and positioning, etc. Combining the advantages of optical flow tracking, a more effective camouflaged target recognition method can be designed. Summary of the invention

[0006] In view of the above problems, the present invention provides a method for identifying camouflaged military targets in the wild based on optical flow tracking, which is suitable for complex environments in the wild, has strong adaptability to light changes, and has high recognition efficiency and low cost. To achieve the above purpose, the technical solution provided by the present invention is as follows:

[0007] A method for identifying camouflaged military targets in the field based on optical flow tracking comprises the following steps:

[0008] S1. According to the requirements of the reconnaissance mission, the UAV continuously takes high-resolution aerial photos of the target area and records the speed of the UAV at each shooting moment;

[0009] S2. Read the captured high-resolution aerial image set and perform preprocessing.

[0010] S3, input two pictures in sequence according to the shooting time, use the RAFT network structure to calculate the speed of each pixel in the previous frame, record the speed matrix of all pixels in each picture, and obtain the speed matrix of all pictures except the last picture;

[0011] S4, intercepting a rectangular area common to all images, and intercepting a speed submatrix of the rectangular area from the original speed matrix;

[0012] S5, treating the speed of the pixels at the same position at each moment in each rectangular area image as a group of time domain signals, converting each group of time domain signals into the frequency domain, and analyzing the frequency components of each signal; marking the pixels corresponding to the signals with more high-frequency components as the environment background, and marking the pixels corresponding to the signals composed of low-frequency components as the camouflage target;

[0013] S6. Among the pixels marked as camouflaged targets, discretely distributed single pixels are regarded as interference points for filtering; the camouflaged target pixels obtained after filtering are highlighted in any frame of the image to obtain the camouflaged target recognition result of the area.

[0014] Furthermore, in step S1, the shooting resolution is H×W, the spatial resolution is not greater than 0.1 meters, and the UAV flight process is a uniform straight-line flight; the pitch angle of the onboard camera is maintained orthogonal to the ground, and the orthophoto of the target area is shot, and the shooting frequency is not less than 20 Hz.

[0015] Furthermore, in step S2, the preprocessing includes histogram equalization, adjustment of the picture format, and unification of the format of the picture sequence number (to ensure that the algorithm program can read the picture smoothly). In order to speed up the calculation rate, the picture resolution can also be adjusted.

[0016] Furthermore, the calculation method of the image velocity matrix in step S3 uses the RAFT network structure in the deep learning model to obtain the optical flow displacement matrix of each pixel.

[0017] Furthermore, the RAFT network structure in step S3 includes a feature encoder, a content encoder and an update module.

[0018] Furthermore, in step S3, after the optical flow of the image is calculated using the RAFT network structure in the deep learning model, the velocity matrix of the image needs to be calculated. The calculation process is as follows: the feature encoder extracts the features of the two images and constructs a multi-scale 4D correlation lookup table. The content encoder extracts the features of the first frame alone and divides it into two parts along the channel dimension. One part is used as the initial hidden state of the GRU and is continuously updated in subsequent iterations. The other part is used to be combined with the optical flow map and the correlation map in any iteration process as the general input of the GRU; the initial optical flow map is set to all 0s, the optical flow is updated through a series of GRUs, and finally an upsampling operation is used to obtain the optical flow map of the original resolution.

[0019] Furthermore, the optical flow is updated by obtaining the features corresponding to the current coordinates from the correlation lookup table.

[0020] The velocity matrix can be obtained by dividing the horizontal and vertical components of the optical flow (pixel displacement) matrix by the sampling time interval at the same time, as follows

[0021]

[0022] where u 1n , v 1n are the horizontal and vertical velocity components of the pixel with coordinates (1, n), respectively.

[0023] Furthermore, the shared rectangular area in step S4 can be captured based on obvious ground features, and the resolution of the rectangular area is H1×W1. After capture, each rectangular area image is a photo corresponding to consecutive time points in the same area, and pixels with the same coordinates in each rectangular area image correspond to the same geographical location.

[0024] The speed of the pixels at the same position in each rectangular area image at each moment is regarded as a group of time domain signals, so there are H1×W1 groups of time domain signals in total. Each group of time domain signals is converted to the frequency domain, and the frequency components of each signal are analyzed. The pixels corresponding to the signals with more high-frequency components are marked as environmental background, and the pixels corresponding to the signals composed of low-frequency components are marked as camouflaged targets.

[0025] Camouflaged military targets in outdoor scenes are usually stationary, while the velocity vectors of objects such as trees and grass in the surrounding environment show high-frequency changes under the influence of unavoidable natural factors such as wind and rain. The camouflaged targets and the background environment have obvious differences in speed characteristics, so low-frequency objects corresponding to stationary objects with small speed changes are judged as camouflaged targets; high-frequency objects corresponding to objects with rapidly changing speed and direction are judged as environmental background.

[0026] Compared with the prior art, the above technical solution conceived by the present invention can achieve the following beneficial effects:

[0027] (1) The present invention can realize accurate and rapid identification of camouflaged targets coated with infrared stealth paint in natural environments, is suitable for complex outdoor environments, has strong adaptability to light changes, and has high recognition efficiency.

[0028] (2) Compared with the existing camouflage target recognition method based on spectral analysis and image processing, the present invention is simpler in theory and has low cost. It only needs to use the optical flow algorithm to calculate the speed of the image information taken by the drone and process the speed.

[0029] (3) The identification method of the present invention is applicable to complex environments such as deep mountains, forests, grasslands, etc. It can be used in military to detect camouflaged military targets, and can also be used in civil to search for specific targets. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart of a preferred embodiment of a method for identifying camouflaged military targets in the field based on optical flow tracking of the present invention;

[0031] Figure 2 It is a schematic diagram of the size of the aerial photo of the present invention;

[0032] Figure 3 It is a schematic diagram of selecting a common rectangular area from a group of aerial photos of the present invention;

[0033] Figure 4 This is a camouflaged target recognition result diagram obtained by filtering the speed signals of each pixel in the common rectangular area of ​​the present invention;

[0034] Figure 5 This is a camouflaged target recognition result diagram obtained based on the method of the present invention.

[0035] Explanation of symbols: 1-first frame photo, 2-second frame photo, 3-third frame photo, 4-fourth frame photo, 5-shared rectangular area, 6-interference point, 7-camouflaged target pixel. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0037] like Figure 1 As shown, the present invention provides a method for identifying camouflaged military targets in the field based on optical flow tracking, comprising the following steps:

[0038] S1. According to the requirements of the reconnaissance mission, the UAV continuously takes high-resolution aerial photos of a certain area and records the speed of the UAV at each shooting moment.

[0039] In step 1, the resolution of the high-resolution aerial images of a certain area continuously taken by the drone is H×W, such as Figure 2 As shown, the spatial resolution is no more than 0.1 meters, and the UAV flies in a straight line at a constant speed; the pitch angle of the onboard camera maintains an orthogonal orientation to the ground, and the orthogonal image of the target area is captured, with a shooting frequency of no less than 20 Hz.

[0040] S2. Read the high-resolution aerial images and perform preprocessing, including histogram equalization, image format adjustment, and image number format unification (to ensure that the algorithm program can read the images smoothly). In order to speed up the calculation rate, the image resolution can also be adjusted.

[0041] The purpose of histogram equalization is to reduce the impact of changes in lighting conditions and improve target recognition accuracy. For grayscale images, histogram equalization is divided into three steps. The first step is to count the number of times each gray level appears in the histogram, the second step is to accumulate the normalized histogram, and the third step is to calculate the new pixel value. For RGB images, the three RGB channels need to be histogram equalized separately, and finally synthesized and output. Histogram equalization is often used to increase the global contrast of many images, especially when the contrast of the useful data of the image is quite close. In this way, the brightness can be better distributed on the histogram.

[0042] S3. Input two images in sequence according to the shooting time sequence, use the RAFT network structure to calculate the speed of each pixel in the previous frame, record the speed matrix of each image pixel (each element in the speed matrix corresponds to the speed of the pixel with the same coordinates in the image), and obtain the speed matrix of all images except the last one.

[0043] The RAFT network structure consists of a feature encoder, a content encoder, and an update module.

[0044] The input of the update module consists of four parts: two content extraction module outputs, the cost volume, and the optical flow output by the previous iterative process. This module uses the GRU module and convolution operation to calculate the residual optical flow relative to the output optical flow of the last iterative process, and then adds it to the output optical flow of the last iterative process for compensation. It should be noted that the module uses convolution operation to learn the upsampling weights (the weights of the 9 pixels around each pixel) so that the optical flow at the current 1 / 8 resolution is upsampled to the same size as the input image. In other words, the value of each pixel in the optical flow result after upsampling is related to the 9 pixels around it. Finally, the full-resolution optical flow result generated by each iterative process is output for loss function calculation and updating of parameters in the model.

[0045] In detail, the RAFT network extracts features through a series of convolutions. The RAFT network extracts two types of features. The first type of feature is the matching feature extracted by the feature encoder. The previous and next pictures share the same weights, and the extracted features are mainly used for matching. The second type of feature is the content feature extracted by the content encoder. The content feature is only extracted from the previous picture and is mainly used to optimize the optical flow results. It is actually a guided filter. The RAFT network calculates the cost between all pixels when constructing the correlation lookup table. The calculation formula is as follows, where gθ is the matching feature, and I1 and I2 are two pictures. In formula 2, h is the dimension of the matching feature, and i, j, k, and l are the traversed indexes.

[0046]

[0047] C ijkl =∑ h g θ (I1) ijh ·g θ (I2) klh (2)

[0048] Cost is the cost of matching, which can describe the correlation between the pixels in the previous and next pictures. Here, the cost of all pixels in the previous picture and the pixels in the next picture are calculated, and the costvolume, which is the correlation lookup table, is constructed. After obtaining the cost, in order to ensure sufficient field of view, the cost is pooled to obtain the cost at different resolutions.

[0049] Among them, cost is the inner product of the feature vector of the first image and the feature vector of the second image. If the feature vector is normalized, the value of cost ranges from 0 to 1. The closer the cost value is to 1, the more similar the two features are.

[0050] In detail, since the RAFT network structure calculates the cost between all pixels, which reduces the computational efficiency, it is improved from two directions:

[0051] 1. Reduce the resolution. Just downsample several times when extracting matching features. In RAFT, the resolution of matching features is one eighth of the original.

[0052] 2. Only calculate the cost of the required matching pairs.

[0053] The RAFT network also uses GRU-conv for matching cost regression. The optical flow is updated through a series of GRUs, and finally an upsampling operation is used to obtain the original resolution optical flow map (the image is downsampled 8 times in the previous feature extraction process).

[0054] In detail, the optical flow is updated by finding the coordinates of the current coordinate feature in the previous image in the correlation lookup table to determine the optical flow (f1, f2) within the sampling time interval, that is, the pixel displacement. Each pixel point (u, v) can be moved to its corresponding position in the next frame (u+f1(u), v+f2(v)) according to the estimated optical flow. The horizontal and vertical components of each optical flow (pixel displacement) matrix are divided by the sampling time interval at the same time to obtain the velocity matrix, as shown in Formula 3, where u 1n , v 1n are the horizontal and vertical velocity components of the pixel with coordinates (1, n), respectively.

[0055]

[0056] S4. Cut out the rectangular area shared by all images, such as Figure 3 As shown, a new velocity sub-matrix of a rectangular area is intercepted from the original velocity matrix.

[0057] The resolution of the rectangular area is H1×W1.

[0058] The shared rectangular area can be captured based on obvious ground features. After capture, each rectangular area image is a photo corresponding to consecutive time points in the same area. Pixels with the same coordinates in each rectangular area image correspond to the same geographical location.

[0059] S5. Consider the speed of the pixels at the same position of each rectangular area image at each moment as a group of time domain signals, then there are H1×W1 groups of time domain signals in total. Convert each group of time domain signals to the frequency domain and analyze the frequency components of each signal. Mark the pixels corresponding to the signal with more high-frequency components as the environmental background, and mark the pixels corresponding to the signal composed of low-frequency components as the camouflage target, such as Figure 4 shown.

[0060] S6. In the pixels marked as camouflaged targets, discretely distributed single pixels are considered as interference points for filtering. The camouflaged target pixels obtained after filtering are highlighted in any frame of the picture. In this embodiment, the pixels are marked in the first frame of the picture to obtain the camouflaged target recognition result of the area, such as Figure 5 shown.

[0061] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for identifying camouflaged military targets in the field based on optical flow tracking, characterized in that: The steps include: S1. According to the requirements of the reconnaissance mission, the UAV continuously takes high-resolution aerial photos of the target area and records the speed of the UAV at each shooting moment; S2, read the high-resolution aerial image group taken and perform preprocessing; S3, input two pictures in sequence according to the shooting time, use the RAFT network structure to calculate the speed of each pixel in the previous frame, record the speed matrix of all pixels in each picture, and obtain the speed matrix of all pictures except the last picture; The calculation method of the image velocity matrix uses the RAFT network structure in the deep learning model to obtain the optical flow displacement matrix of each pixel; The RAFT network structure includes a feature encoder, a content encoder, and an update module; After calculating the optical flow of the image using the RAFT network structure in the deep learning model, it is also necessary to calculate the velocity matrix of the image. The calculation process is: Divide the horizontal and vertical components of the optical flow matrix by the sampling time interval at the same time to obtain the velocity matrix, as follows where u 1n , v 1n are the horizontal and vertical velocity components of the pixel with coordinates (1, n), respectively; S4, intercepting a rectangular area common to all images, and intercepting a speed submatrix of the rectangular area from the original speed matrix; S5, treating the speed of the pixels at the same position of each rectangular area image at each moment as a group of time domain signals, converting each group of time domain signals into the frequency domain, and analyzing the frequency components of each signal; marking the pixels corresponding to the signals composed of high-frequency components as the environment background, and marking the pixels corresponding to the signals composed of low-frequency components as the camouflage target; S6. Among the pixels marked as camouflaged targets, discretely distributed single pixels are regarded as interference points for filtering; the camouflaged target pixels obtained after filtering are highlighted in any frame of the image to obtain the camouflaged target recognition result of the area.

2. The method for identifying camouflaged military targets in the field based on optical flow tracking according to claim 1 is characterized in that: In the step S1, the shooting frequency is not less than 20 Hz.

3. The method for identifying camouflaged military targets in the field based on optical flow tracking according to claim 1 is characterized in that: In step S2, the preprocessing includes histogram equalization, adjustment of the picture format and unification of the format of the picture sequence number.