Method, device and medium for identifying disguised persons using a multispectral camera mounted on a drone

Through the combination of multispectral cameras and the Relief algorithm, the problem of identifying camouflaged personnel in traditional technology is solved, the identification accuracy and resolution are improved, and effective casualty search is realized in the battlefield environment.

CN114511781BActive Publication Date: 2024-09-10FOURTH MILITARY MEDICAL UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210104898.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2024-09-10
Estimated Expiration
2042-01-28

AI Technical Summary

Technical Problem

In a battlefield environment, traditional UAVs equipped with RGB high-definition cameras and thermal infrared imagers are difficult to accurately identify camouflaged personnel. Thermal infrared imaging technology has poor resolution and is greatly affected by ambient temperature, resulting in a high false detection rate and inability to effectively search for the wounded. .

Method used

Using the method of carrying a multispectral camera, the remote sensing images collected by the multispectral camera are preprocessed to generate reflectance images, and the Relief algorithm is used to screen feature subsets, train a supervised classifier model, and identify and determine the location of disguised persons.

Benefits of technology

It improves the recognition accuracy and resolution, reduces the dependence on the environment, and achieves effective identification and real-time search of disguised persons in low-contrast environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114511781B
    Figure CN114511781B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device and medium for identifying a disguised person by using a multispectral camera carried by an unmanned aerial vehicle. The method comprises: preprocessing an original image of a DN value collected by a multispectral camera to complete band registration and radiation correction, and obtaining a preprocessed reflectance image corresponding to the original image of the DN value; generating an original feature set based on the preprocessed reflectance image; screening and obtaining an optimal feature subset from the original feature set through cross-validation based on a Relief algorithm; selecting an optimal model from all candidate supervised classifier models based on classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on a preset data set; classifying the preprocessed reflectance image through the optimal model to obtain a predicted binary image; identifying a disguised person target from the predicted binary image, and determining the position of the identified target according to position information in the original image of the DN value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of battlefield search technology, and in particular to a method, device and medium for identifying camouflaged personnel using a multi-spectral camera mounted on an unmanned aerial vehicle. Background Art

[0002] At present, the search and rescue technology for the wounded in battlefield environments usually uses drones equipped with RGB high-definition cameras combined with thermal infrared imagers for low-altitude searches. However, in battlefield environments, combatants are all in camouflage conditions, such as wearing camouflage uniforms. Unlike traditional detection targets, camouflaged targets have no obvious features and edges, so it is difficult to detect the wounded by relying solely on airborne vision. In addition, thermal infrared imaging technology has a small field of view and poor resolution. It is affected by the flight altitude of the drone and has low search efficiency. In addition, the low precision of mixed pixels is greatly affected by the ambient temperature. Usually, there are many heat sources on the battlefield and the ambient temperature is greater than 30°C, which is more likely to cause false detections and cannot accurately detect the thermal signals of the human body. Summary of the invention

[0003] In view of this, the embodiments of the present invention are intended to provide a method, device and medium for identifying disguised persons using multi-spectral technology on an unmanned aerial vehicle, which can improve resolution and recognition accuracy and reduce dependence on the environment.

[0004] The technical solution of the embodiment of the present invention is achieved as follows:

[0005] In a first aspect, an embodiment of the present invention provides a method for identifying a disguised person using a multi-spectral image of an unmanned aerial vehicle, the method comprising:

[0006] Preprocessing the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera to complete band registration and radiation correction, and obtaining a preprocessed reflectance image corresponding to the original image of the DN value;

[0007] Generate an original feature set based on the band reflectance of the preprocessed reflectance image, the selected vegetation index feature, the texture feature based on principal component analysis PCA, and the high-frequency information and low-frequency information features corresponding to each preprocessed reflectance image;

[0008] Based on the Relief algorithm, an optimal feature subset is obtained by cross-validation from the original feature set;

[0009] Based on the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on the preset data set, the optimal model is selected from all the candidate supervised classifier models;

[0010] Classifying the preprocessed reflectance image through the optimal model to obtain a predicted binary image;

[0011] The disguised person target is identified from the predicted binary image, and the position of the identified target is determined based on the position information in the original image of the DN value.

[0012] In a second aspect, an embodiment of the present invention provides a device for identifying disguised persons using multi-spectral images carried by an unmanned aerial vehicle, the device comprising: a preprocessing part, a feature generation part, a feature screening part, a model selection part, a prediction part and an identification part; wherein,

[0013] The preprocessing part is configured to preprocess the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera to complete band registration and radiation correction, and obtain a preprocessed reflectance image corresponding to the original image of the DN value;

[0014] The feature generation part is configured to generate an original feature set based on the band reflectance of the preprocessed reflectance image, the selected vegetation index feature, the texture feature based on principal component analysis PCA, and the high-frequency information and low-frequency information features corresponding to each preprocessed reflectance image;

[0015] The feature screening part is configured to screen and obtain an optimal feature subset from the original feature set through cross-validation based on the Relief algorithm;

[0016] The model selection part is configured to select the best model from all candidate supervised classifier models based on the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on a preset data set;

[0017] The prediction part is configured to classify the preprocessed reflectance image through the optimal model to obtain a predicted binary image;

[0018] The recognition part is configured to recognize the disguised person target from the predicted binary image and determine the position of the recognized target based on the position information in the DN value original image.

[0019] In a third aspect, an embodiment of the present invention provides a system for identifying disguised personnel using multispectral images carried by an unmanned aerial vehicle, the system comprising: a multispectral camera, a memory, and a processor; wherein:

[0020] The multispectral camera is used to collect original images of remote sensing image pixel brightness DN values;

[0021] The memory is used to store a computer program that can be run on the processor;

[0022] The processor is used to execute the method steps of the first aspect for identifying disguised personnel using a multi-spectral drone when running the computer program.

[0023] In a fourth aspect, an embodiment of the present invention provides a computer storage medium, wherein the computer storage medium stores a program for using a drone to carry out multi-spectral identification of disguised persons, and when the program for using a drone to carry out multi-spectral identification of disguised persons is executed by at least one processor, the method steps for using a drone to carry out multi-spectral identification of disguised persons described in the first aspect are implemented.

[0024] The embodiment of the present invention provides a method, device and medium for identifying disguised persons by using a multi-spectral drone; the original images of DN values ​​of multiple characteristic spectra collected by a multi-spectral camera are pre-processed to generate corresponding reflectance images; then the candidate supervised classifier models are trained using the optimal feature subset, and the optimal model is selected according to the classification evaluation results corresponding to each candidate supervised classifier model; finally, the reflectance image is classified and the disguised person target is identified using the optimal model, thereby reducing the amount of data and improving the real-time performance of data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic flow chart of a method for identifying disguised persons using multi-spectral images carried by an unmanned aerial vehicle provided in an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of a preprocessing process provided by an embodiment of the present invention;

[0027] Figure 3 A schematic diagram of forming an original feature set provided by an embodiment of the present invention;

[0028] Figure 4 A schematic diagram of optimal feature subset screening provided by an embodiment of the present invention;

[0029] Figure 5 A schematic diagram of a multi-spectral device for identifying disguised persons carried by an unmanned aerial vehicle provided by an embodiment of the present invention;

[0030] Figure 6 A schematic diagram of the structure of a system for multi-spectral identification of disguised persons carried by an unmanned aerial vehicle provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0032] There will inevitably be a large number of wounded in the battlefield environment, and the search and rescue of the wounded is not only an important manifestation of people-oriented, but also an important guarantee of combat effectiveness during wartime. According to existing research, 76.2% of the deaths of various wounded on land due to failure to be discovered in time account for 76.2% of the total deaths; and quickly finding the wounded can reduce the mortality rate of the wounded by 2 / 3. However, the roads leading to the search and rescue site are usually destroyed, and there are unfavorable conditions such as complex and dangerous environments, large search ranges, uncertain personnel distribution, and unclear personnel characteristics. In addition, the number of rescue personnel is limited, and the traditional search and rescue plan for the wounded can no longer quickly and accurately search for the injured. Therefore, the rapid and effective search for the wounded has not only become the primary problem facing emergency medical rescue, but also the primary factor in reducing missing and mortality rates.

[0033] From the perspective of technical development characteristics and usage methods, the wounded search technology can be divided into two types: constrained solutions and unconstrained solutions. Taking the constrained solution as an example, combatants are required to carry wearable life-saving equipment, but the current wearable life-saving equipment mainly has problems such as increased body load, inconvenient equipment use, and uncertainty caused by electromagnetic compatibility, which reduces the combat effectiveness of combatants. Therefore, the unconstrained solution has become an important development of the wounded search technology, and the use of human life characteristics for search can reduce the burden on the wounded. At present, the relevant unconstrained search technology mainly uses drones equipped with RGB high-definition cameras and thermal infrared imagers for low-altitude search, but in the battlefield environment, combatants are in camouflage conditions, and it is difficult to find the wounded by relying on the photos collected by the RGB high-definition camera and airborne vision; in addition, the resolution of thermal infrared imaging technology is poor and is greatly affected by the ambient temperature. Usually, there are many heat sources on the battlefield and the ambient temperature is easy to be greater than 30°C, which will make the thermal infrared imaging technology unable to detect the human body heat signal. In order to avoid the problems and shortcomings of the current relevant unconstrained search technology, the embodiment of the present invention expects to use the advantages of multi-spectral cameras such as anti-camouflage, anti-interference, and strong real-time performance, and apply them to battlefield wounded search.

[0034] For spectral technology, it expands imaging information from the visible light band to the 300 to 1100 nanometers (nm) band, and uses the difference between the target and background spectral characteristic curves to extract features to identify the target from the background. For spectral imagers, according to different resolutions, they can be divided into hyperspectral and multispectral. Among them, hyperspectral data has a large volume, high redundancy, and contains rich information, but it also requires more detectors, resulting in poor real-time data processing. Multispectral generally selects 4 to 10 characteristic spectra for data processing and target identification, which reduces the amount of data and improves the real-time performance of data processing.

[0035] Based on this, see Figure 1As shown, it shows a method for identifying disguised persons by using a multi-spectral drone provided by an embodiment of the present invention. The method may include:

[0036] S101: preprocessing the original image of the remote sensing image pixel brightness (DN, Digital Number) value collected by the multispectral camera to complete band registration and radiation correction, and obtaining a preprocessed reflectance image corresponding to the original image of the DN value;

[0037] S102: generating an original feature set based on the band reflectance of the preprocessed reflectance image, the selected vegetation index feature, the texture feature based on principal component analysis (PCA), and the high-frequency information and low-frequency information features corresponding to each preprocessed reflectance image;

[0038] S103: Screening and obtaining an optimal feature subset from the original feature set through cross-validation based on the Relief algorithm;

[0039] S104: Based on the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on the preset data set, the optimal model is selected from all the candidate supervised classifier models;

[0040] S105: classifying the preprocessed reflectance image through the optimal model to obtain a predicted binary image;

[0041] S106: Identify the disguised person target from the predicted binary image, and determine the position of the identified target according to the position information in the DN value original image.

[0042] pass Figure 1 The technical solution shown in the figure uses the original images of DN values ​​of multiple characteristic spectra collected by the multispectral camera to generate corresponding reflectance images after preprocessing; then the candidate supervised classifier models are trained using the optimal feature subset, and the optimal model is selected according to the classification evaluation results corresponding to each candidate supervised classifier model; finally, the reflectance image is classified and the disguised person target is identified using the optimal model. Figure 1 The technical solution shown reduces the amount of data and improves the real-time performance of data processing.

[0043] for Figure 1 The technical solution shown in the figure, in some possible implementations of step S101, the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera is preprocessed to complete band registration and radiation correction, and a preprocessed reflectance image corresponding to the original image of the DN value is obtained, including:

[0044] Using the multispectral camera to photograph a gray plate;

[0045] Acquire a gray board area from the captured gray board image;

[0046] Making a mask based on the gray plate area;

[0047] Using the mask to obtain the DN value of the gray plate area in the DN value original image;

[0048] Eliminate the vignetting effect of the DN value in the gray plate area in the original DN value image based on the following formula to obtain the radiance of each pixel and the average radiance in the gray plate area in the original DN value image;

[0049] After the radiance of each group of DN value original images is compensated by the downlight sensor (DLS), the conversion from radiance to reflectance is completed by using the empirical line reflectance correction method.

[0050] After extracting feature points from the converted reflectance image group using a Speeded Up Robust Features (SURF) algorithm, the extracted feature points are matched, and an affine transformation matrix is ​​calculated to complete the image transformation, thereby generating a preprocessed reflectance image corresponding to the original image of the DN value.

[0051] For the above implementation, in some examples, obtaining a gray board area from the captured gray board image includes:

[0052] After binarizing the captured grayscale image, thresholding the binarized image data according to a threshold value determined by a maximum inter-class variance method, so as to minimize the intra-class variance of the black and white pixels after the thresholding;

[0053] A 16×16 square structure element is used to perform a closing operation on the thresholded image data to obtain as few connected areas as possible, and the largest non-zero connected area is selected from all connected areas as the gray plate area.

[0054] For the above implementation and its examples, specifically, in the embodiment of the present invention, the image data collected by the multispectral camera carried by the drone is a DN value image of a group of 6 bands (DN value is between 0 and 65535, that is, 2 to the 16th power, which is a physical quantity quantified as an integer by the sensor, used to record the grayscale value of the ground object, and has no unit). In quantitative remote sensing analysis, in order to improve the accuracy of the analysis results, the embodiment of the present invention preferably preprocesses the original DN value image. It should be noted that a spectral index with good performance depends on high-precision band registration and high-precision radiation correction and calibration results; among them, the high-precision band registration result can eliminate the difference and ratio errors caused by pixel misalignment when calculating the spectral index; the high-precision radiation correction can eliminate the radiation distortion error caused by the sensor and the lens; the high-precision radiation calibration is used to establish the relationship between the sensor working conditions and the reflectivity of the ground object at that time and place.

[0055] At present, the conventional image preprocessing method is to read the camera calibration parameters and GPS information after all data collection is completed, then perform aerial triangulation to automatically rotate points, perform orthophotography and mosaicking based on the generated virtual camera parameters, complete image registration and stitching, and then extract the gray plate image for radiation calibration. This solution requires both heading overlap and lateral overlap to reach more than 80%. Although the accuracy is high, the overlap between images is high, the information is redundant and extremely time-consuming, and real-time processing is impossible.

[0056] The embodiment of the present invention abandons the conventional image stitching solution and adopts a low overlap, single set of image radiometric calibration solution to achieve the purpose of real-time processing. Figure 2 As shown, first, it is necessary to identify the gray plate area from the gray plate image and calculate the average radiance. This process can be carried out before takeoff. The multispectral camera shoots the gray plate, binarizes the gray plate image, and uses the maximum inter-class variance method to find a suitable threshold to minimize the intra-class variance of the black and white pixels after thresholding. A 16×16 square structural element is used for closed operation to reduce the connected area as much as possible, and then the largest non-zero connected area is selected as the gray plate area; then, the average value of the row and column coordinates of the gray plate area is calculated to locate the center of the gray plate, and a square pixel area is taken with the center as the origin to make a mask; the mask is matrix-multiplied with the gray plate image to extract the DN value of the gray plate area; finally, the vignetting effect (that is, the effect of image brightness attenuation when radially deviating from the principal point) is eliminated according to the following formula, and the radiance L of each image point is calculated. i , find the average radiance of the gray plate

[0057]

[0058] Where a represents the laboratory radiation calibration coefficient, which is a 1280×960 matrix; t and g represent the integration time and gain respectively, and each DN value original image corresponds to an integration time and gain; c1 and c2 are the integration time correlation coefficient and gain correlation coefficient respectively; DN dark Characterizing the dark pixel value, a value can be obtained through laboratory radiation calibration and directly read in when used. For a, it can also be a surface fitting coefficient. The a value corresponding to each pixel is shown in the following formula:

[0059]

[0060] in, x and y are the grid coordinates corresponding to the column and row of the pixel respectively; a0 represents the radiation correction calibration value; k1 to k6 represent the vignetting polynomial coefficients respectively; x0 and y0 represent the coordinates of the center point of the vignetting effect respectively; in the specific implementation process, a0, k i , x0, y0, c1, c2, DN dark All of them can be read from the XMP file of the original DN value image. According to the above formula, the radiance L corresponding to each pixel can be obtained i .

[0061] For gray plate calibration, its effectiveness is based on a certain assumption, that is, the ambient light remains unchanged from the time the gray plate is taken to the time the aerial photography is completed; but in reality, due to factors such as cloud cover and the passage of time, the ambient light will definitely change, so it is necessary to use the downlink light sensor DLS for correction. For example, after the drone takes off, the radiance L of each set of images is read and calculated in the same way as above, and DLS is used for real-time irradiance compensation. The specific compensation formula is as follows:

[0062]

[0063] Among them, DLS0 is the irradiance value of the downlink light sensor before takeoff, and DLS i is the real-time irradiance value measured during flight, b1 and b2 are laboratory calibration coefficients (related to the waveband).

[0064] Subsequently, the radiance to reflectance conversion is performed using the empirical line reflectance correction method as shown in the following equation:

[0065]

[0066] in, is the radiance of the gray plate measured before takeoff, that is, the radiance of the reflection reference plate; α is the reflectance value of the gray plate corresponding to each band, usually one value for each spectral channel.

[0067] After completing the conversion from DN value to reflectivity and eliminating the vignetting effect as described above, image registration is required next. The model MS600 multispectral camera adopted in the embodiment of the present invention is composed of a plurality of single-band cameras, each band having an independent optical path and image-bearing film. Since there is an obvious position offset between the cameras of each band, the images cannot be directly merged and need to be registered by the band. Specifically, the corrected image is a reflectivity image in a group of 6. The SURF algorithm is used to extract feature points, match feature points, calculate the affine transformation matrix, and transform the image to finally form a 6-in-1 reflectivity image; specifically, the SURF algorithm is an accelerated version of the Scale Invariant Feature Transform (SIFT) algorithm; the advantage of the SIFT algorithm is that the features are stable, and it remains invariant to rotation, scale transformation, and brightness, and it also has a certain degree of stability to perspective transformation and noise; the disadvantage is that the real-time performance is not high, and the feature point extraction capability for targets with smooth edges is relatively weak. The SURF algorithm improves the feature extraction and description method, and completes the feature extraction and description in a more efficient way. The feature descriptor is a representation of the 2D discrete wavelet transform response of the key point neighborhood, which is a 16×4=64-dimensional vector. After matching the feature descriptor, the RANSAC (RANdom SAmple Consensus) algorithm can be used to eliminate the mismatched points, and then the affine transformation matrix is ​​solved to transform the image to be registered into the coordinate system of the reference image to complete the image registration and obtain the registered image, which means that the preprocessing is completed.

[0068] for Figure 1 In some possible implementations of step S102, as shown in the technical solution, Figure 3 As shown, after the DN value original image in the embodiment of the present invention is preprocessed as described in the above implementation and example, first, reflectivity data of 6 bands can be directly obtained as features;

[0069] Next, according to the applicable scenarios and characteristics of the embodiment of the present invention, 8 vegetation indices are selected as features from 8 categories of 27 vegetation indices with strong practicality in the current conventional scheme. For example, the embodiment of the present invention selects the Normalized Difference Vegetation Index (NDVI), the Normalized Difference Greenness Vegetation Index NDGI, the Normalized Blue-Green Difference Index NGBDI, the Vegetation Attenuation Index PSRI, the Structural Insensitive Pigment Index SIPI, the Improved Red Edge Normalized Vegetation Index mNDVI, the Modified Ratio Vegetation Index MSR and the Enhanced Vegetation Index EVI; the calculation method of each vegetation index is as follows:

[0070] Normalized Difference Vegetation Index

[0071] Normalized difference greenness vegetation index

[0072] Normalized Green-Blue Difference Index

[0073] Modified Ratio Vegetation Index

[0074] Vegetation decay index

[0075] Structure-insensitive pigment index

[0076] Improved Red Edge Normalized Difference Vegetation Index

[0077] Enhanced Vegetation Index

[0078] Secondly, generally speaking, spectral features cannot distinguish the phenomenon of "different objects with the same spectrum" and "same object with different spectrum". Therefore, the embodiment of the present invention also adds texture features to obtain the spatial transformation law of grayscale images and reflect the characteristics of the surface direction and shape of objects. In the embodiment of the present invention, the gray level co-occurrence matrix is ​​used so that each band image can obtain 8 texture features (i.e., mean, variance, synergy, contrast, dissimilarity, information entropy, second-order moment and correlation). The calculation method of these 8 texture features is as follows:

[0079] Contrast

[0080] Information Entropy

[0081] Second moment

[0082] Relevance

[0083] in,

[0084]

[0085] In order to reduce information redundancy, the embodiment of the present invention uses PCA for analysis, extracts the first three principal components, and calculates the grayscale co-occurrence matrix respectively, thereby generating a total of 24 texture features; then performs spatial frequency convolution filtering, and the original image of the DN value of each band passes through the low-pass filter and high-pass filter convolution kernels respectively, and adds low-frequency and high-frequency information as new features.

[0086] Based on the above, the embodiment of the present invention comprises 6 band reflectances + 8 spectral indices + 3 principal components × 8 texture features + 6 DN value original images × 2 high and low frequency information = 50 features, thus constituting the original feature set.

[0087] for Figure 1 In the technical solution shown in the figure, in some possible implementations of step S103, the optimal feature subset is obtained from the original feature set by cross-validation based on the Relief algorithm, including:

[0088] After sorting the features in the original feature set using the Relief algorithm, the first N features are selected to perform cross-validation on the samples, and the average classification accuracy of each group of features is calculated;

[0089] The feature subset with the highest average classification accuracy in the original feature set is selected as the optimal feature subset.

[0090] For the above implementation, it should be noted that there are a large number of original feature sets, and there may be irrelevant or redundant features, and the more features there are, the larger the sample size and the longer the time required for analyzing the feature training model. By performing feature selection in S103, it is possible to eliminate irrelevant, redundant, or features that have no difference characterization ability, thereby reducing the number of features, reducing training or running time, and improving model accuracy. Since the Relief algorithm is simple, efficient, and widely used in feature selection of binary classification problems, the embodiment of the present invention preferably uses the Relief algorithm for feature selection. In detail, the Relief algorithm is a filtering feature weighting algorithm (Feature weighting algorithms), which assigns different weights to features according to the correlation between each feature and category, and features with weights less than a certain threshold will be removed. In other words, the larger the weight corresponding to the feature, the stronger the classification ability of the feature, and vice versa, the weaker the classification ability of the feature. In the specific implementation process, after using the Relief algorithm to sort the features, the first n (1≤n≤50) features are taken to cross-validate the samples, and the average classification accuracy A of each group of features is calculated as the accuracy evaluation standard as shown in the following formula:

[0091]

[0092] Among them, TP is a true positive example, TN is a true negative example, FP is a false positive example, and FN is a false negative example. Figure 4 As shown in the schematic diagram of optimal feature subset screening, the embodiment of the present invention selects the feature subset with the highest accuracy as the optimal feature set.

[0093] for Figure 1In the technical solution shown in the figure, in some possible implementations of step S104, the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on the preset data set, and selecting the optimal model from all candidate supervised classifier models, include:

[0094] After normalizing the preset data set, each candidate supervised classifier model is trained using the optimal feature subset, and the classification results corresponding to each candidate supervised classifier are obtained by a 10-fold cross-validation method;

[0095] The confusion matrix is ​​used to evaluate the classification results corresponding to each candidate supervised classifier and select the optimal classifier model.

[0096] For the above implementation, it should be noted that after the optimal feature subset is screened out, model training can be performed for the optimal feature subset. In the specific implementation process, the data set is normalized before classification, and the model is trained using the 10-fold cross validation method. In detail, 5 candidate supervised classifier models are used, including classification and regression tree (CART, Classification And Regression Trees) decision tree model, K nearest neighbor (KNN, K-NearestNeighbor) model, support vector machine (SVM, Support Vector Machines) model, random forest (RF, RandomForest) model and convolutional neural network (CNN, Convolutional Neural Networks) model for training, and the classification result is calculated by 10 fold cross calculations; Then, the classification result is evaluated using a confusion matrix, and the embodiment of the present invention uses accuracy (A), precision (P), recall (R), F1 value 4 indicators as examples as accuracy evaluation indicators, analyzes the differences between different candidate supervised classifier models, and thus selects the optimal classifier model as the target recognition model.

[0097] The calculation methods of the above four indicators are as follows:

[0098]

[0099] Among them, TP is a true positive example; FN is a false negative example; FP is a false positive example; TN is a true negative example. Then, the average of the precision, recall and F1 value of the above four indicators is calculated according to the following formula:

[0100]

[0101] Among them, P m_avg is the average precision; R m_avg is the average recall rate; F 1m_avgis the average F1 value; n is the number of cross-validation; P i is the accuracy of the i-th verification; R i is the recall rate of the ith validation; and the overall precision Expected accuracy Kappa coefficient

[0102] for Figure 1 In some possible implementations of step S105, the preprocessed reflectance image is classified by the optimal model to obtain a predicted binary image, including:

[0103] Each pixel of the preprocessed reflectance image is regarded as a sample and classified by the optimal model, and a value of 1 is assigned to the pixel that meets the target feature, and a value of 0 is assigned to the pixel otherwise, thereby predicting the binary image.

[0104] For the above implementation, it should be noted that after selecting the optimal model, the optimal model can be used to identify the preprocessed reflectance image. In detail, each pixel in the preprocessed reflectance image is classified as a sample, and the value that meets the target feature is assigned to 1, otherwise it is assigned to 0, thereby forming a predicted binary image.

[0105] for Figure 1 In some possible implementations of step S106, the step of identifying the disguised person target from the predicted binary image and determining the position of the identified target according to the position information in the DN value original image includes:

[0106] After performing a closing operation on the predicted binary image to connect adjacent target regions, a Histogram of Oriented Gradient (HOG) descriptor is used to capture local shape information, and a SVM classifier is used to perform human shape detection;

[0107] After determining that it is a human body, the coordinates of the center point of the human body target are calculated, and a red cross target mark is made at the center coordinates;

[0108] Determine the GPS location information in the DN value original image as the location of the multispectral camera when shooting;

[0109] The position of the human target in the actual ground measurement coordinate system is calculated based on the image plane coordinate system position of the human target in combination with the drone heading and the ground pixel resolution.

[0110] For the above implementation, it should be noted that after obtaining the predicted binary image, the embodiment of the present invention preferably performs a closing operation on the predicted binary image to connect adjacent target areas; then the HOG descriptor is used to capture local shape information, and the SVM classifier is used to detect the human shape, so as to calculate the coordinates of the center point of the human target of the disguised person, and mark the center coordinates with a red cross target. In addition, the GPS position information in the original image is used as the location of the multispectral camera when taking the photo, that is, the center pixel position of the image, and the actual ground measurement coordinate system position of the disguised person as the human target can be calculated according to the image plane coordinate system position of the human target in combination with the heading of the drone and the ground pixel resolution. It can be understood that the target detection pseudo-color image and target position information generated by the above scheme can be transmitted to the remote control display port of the ground station at the rear using the image transmission channel of the drone, thereby completing real-time detection.

[0111] Based on the scheme described above, it is possible to detect disguised persons in low-contrast environments and mark and display target coordinates in real time, providing a long-distance, fast search and identification solution.

[0112] Based on the same inventive concept as the above embodiments, Figure 5 As shown, it shows a device 50 for identifying disguised personnel by using a multi-spectral method carried by an unmanned aerial vehicle provided by an embodiment of the present invention, the device 50 includes: a preprocessing part 501, a feature generation part 502, a feature screening part 503, a model selection part 504, a prediction part 505 and an identification part 506; wherein,

[0113] The preprocessing part 501 is configured to preprocess the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera to complete band registration and radiation correction, and obtain a preprocessed reflectance image corresponding to the original image of the DN value;

[0114] The feature generating part 502 is configured to generate an original feature set based on the band reflectance of the preprocessed reflectance image, the selected vegetation index feature, the texture feature based on principal component analysis PCA, and the high-frequency information and low-frequency information features corresponding to each preprocessed reflectance image;

[0115] The feature screening part 503 is configured to screen and obtain an optimal feature subset from the original feature set through cross-validation based on the Relief algorithm;

[0116] The model selection part 504 is configured to select the best model from all candidate supervised classifier models based on the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on a preset data set;

[0117] The prediction part 505 is configured to classify the preprocessed reflectance image through the optimal model to obtain a predicted binary image;

[0118] The identification part 506 is configured to identify the disguised person target from the predicted binary image and determine the position of the identified target based on the position information in the DN value original image.

[0119] In some examples, the pre-processing portion 501 is configured to:

[0120] Using the multispectral camera to photograph a gray plate;

[0121] Acquire a gray board area from the captured gray board image;

[0122] Making a mask based on the gray plate area;

[0123] Using the mask to obtain the DN value of the gray plate area in the DN value original image;

[0124] Eliminate the vignetting effect of the DN value in the gray plate area in the original DN value image based on the following formula to obtain the radiance of each pixel and the average radiance in the gray plate area in the original DN value image;

[0125] After the radiance of each group of DN value original images is compensated by the downlink light sensor DLS, the empirical line reflectance correction method is used to complete the conversion from radiance to reflectance.

[0126] After extracting feature points from the converted reflectance image group using the Speeded Up Robust Features (SURF) algorithm, the extracted feature points are matched, and an affine transformation matrix is ​​calculated to complete the image transformation, thereby generating a preprocessed reflectance image corresponding to the original DN value image.

[0127] In some examples, the pre-processing portion 501 is configured to:

[0128] After binarizing the captured grayscale image, thresholding the binarized image data according to a threshold value determined by a maximum inter-class variance method, so as to minimize the intra-class variance of the black and white pixels after the thresholding;

[0129] A 16×16 square structure element is used to perform a closing operation on the thresholded image data to obtain as few connected areas as possible, and the largest non-zero connected area is selected from all connected areas as the gray plate area.

[0130] In some examples, the feature screening portion 503 is configured to:

[0131] After sorting the features in the original feature set using the Relief algorithm, the first N features are selected to perform cross-validation on the samples, and the average classification accuracy of each group of features is calculated;

[0132] The feature subset with the highest average classification accuracy in the original feature set is selected as the optimal feature subset.

[0133] In some examples, the model selection portion 504 is configured to:

[0134] After normalizing the preset data set, each candidate supervised classifier model is trained using the optimal feature subset, and the classification results corresponding to each candidate supervised classifier are obtained by a 10-fold cross-validation method;

[0135] The confusion matrix is ​​used to evaluate the classification results corresponding to each candidate supervised classifier and select the optimal classifier model.

[0136] In some examples, the prediction portion 505 is configured to:

[0137] Each pixel of the preprocessed reflectance image is regarded as a sample and classified by the optimal model, and a value of 1 is assigned to the pixel that meets the target feature, and a value of 0 is assigned to the pixel otherwise, thereby predicting the binary image.

[0138] In some examples, the identification portion 506 is configured to:

[0139] After performing a closing operation on the predicted binary image to connect adjacent target regions, a HOG descriptor is used to capture local shape information, and a SVM classifier is used to perform human shape detection;

[0140] After determining that it is a human body, the coordinates of the center point of the human body target are calculated, and a red cross target mark is made at the center coordinates;

[0141] Determine the GPS location information in the DN value original image as the location of the multispectral camera when shooting;

[0142] The position of the human target in the actual ground measurement coordinate system is calculated based on the image plane coordinate system position of the human target in combination with the drone heading and the ground pixel resolution.

[0143] It can be understood that in this embodiment, "part" can be part of a circuit, part of a processor, part of a program or software, etc., and of course it can also be a unit, a module, or a non-modular one.

[0144] In addition, each component in this embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software function modules.

[0145] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0146] Therefore, this embodiment provides a computer storage medium, which stores a program for using a drone to carry out multi-spectral identification of disguised persons. When the program for using a drone to carry out multi-spectral identification of disguised persons is executed by at least one processor, the method steps for using a drone to carry out multi-spectral identification of disguised persons in the above technical solution are implemented.

[0147] According to the above-mentioned drone equipped with a multi-spectral device 50 for identifying disguised personnel and a computer storage medium, see Figure 6 , which shows the specific hardware structure of a system 60 for multi-spectral identification of disguised personnel carried by a drone, which is capable of implementing the above-mentioned device 50 for multi-spectral identification of disguised personnel carried by a drone provided by an embodiment of the present invention. The system 60 can be carried on a drone, and the system 60 includes: a communication interface 601, a memory 602, a processor 603 and a multi-spectral camera 605; each component is coupled together through a bus system 604. It can be understood that the bus system 604 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 604 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 6 In FIG. 6 , various buses are labeled as bus system 604. Among them,

[0148] The communication interface 601 is used to receive and send signals during the process of sending and receiving information with other external network elements;

[0149] The multi-spectral camera 605 is used to collect the original image of the remote sensing image pixel brightness DN value.

[0150] The memory 602 is used to store a computer program that can be run on the processor 603;

[0151] The processor 603 is used to execute the method steps of using a drone equipped with multi-spectral technology to identify disguised persons in the aforementioned technical solution when running the computer program, which will not be described in detail here.

[0152] It can be understood that the memory 602 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 602 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0153] The processor 603 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 603. The above processor 603 may be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor are combined to be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 602, and the processor 603 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.

[0154] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0155] For software implementation, the techniques described herein can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0156] It can be understood that the exemplary technical solutions of the above-mentioned drone-mounted multispectral device 50 and system 60 for identifying disguised persons belong to the same concept as the technical solution of the above-mentioned drone-mounted multispectral method for identifying disguised persons. Therefore, the details not described in detail in the above-mentioned technical solutions of the drone-mounted multispectral device 50 and system 60 for identifying disguised persons can all be referred to the description of the technical solution of the above-mentioned drone-mounted multispectral method for identifying disguised persons. The embodiments of the present invention will not be elaborated on this.

[0157] It should be noted that the technical solutions described in the embodiments of the present invention can be combined arbitrarily without conflict.

[0158] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for identifying disguised personnel using multi-spectral images carried by an unmanned aerial vehicle, characterized in that: The method comprises: Preprocessing the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera to complete band registration and radiation correction, and obtaining a preprocessed reflectance image corresponding to the original image of the DN value; Generate an original feature set based on the band reflectance of the preprocessed reflectance image, the selected vegetation index feature, the texture feature based on principal component analysis PCA, and the high-frequency information and low-frequency information features corresponding to each preprocessed reflectance image; Based on the Relief algorithm, an optimal feature subset is obtained by cross-validation from the original feature set; Based on the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on the preset data set, the optimal model is selected from all the candidate supervised classifier models; Classifying the preprocessed reflectance image through the optimal model to obtain a predicted binary image; Identify the disguised person target from the predicted binary image, and determine the position of the identified target based on the position information in the original image of the DN value; The method of obtaining the optimal feature subset from the original feature set by cross-validation based on the Relief algorithm includes: After sorting the features in the original feature set using the Relief algorithm, the first N features are selected to perform cross-validation on the samples, and the average classification accuracy of each group of features is calculated; The feature subset with the highest average classification accuracy in the original feature set is selected as the optimal feature subset.

2. The method according to claim 1, characterized in that The method of preprocessing the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera to complete band registration and radiation correction, and obtaining a preprocessed reflectance image corresponding to the original image of the DN value, includes: Using the multispectral camera to photograph a gray plate; Acquire a gray board area from the captured gray board image; Making a mask based on the gray plate area; Using the mask to obtain the DN value of the gray plate area in the DN value original image; Eliminate the vignetting effect on the DN value of the gray plate area in the original DN value image to obtain the radiance of each pixel and the average radiance in the gray plate area in the original DN value image; After the radiance of each group of DN value original images is compensated by the downlink light sensor DLS, the empirical line reflectance correction method is used to complete the conversion from radiance to reflectance. After extracting feature points from the converted reflectance image group using the Speeded Up Robust Features (SURF) algorithm, the extracted feature points are matched, and an affine transformation matrix is ​​calculated to complete the image transformation, thereby generating a preprocessed reflectance image corresponding to the original DN value image.

3. The method according to claim 2, characterized in that The step of obtaining a gray board area from the captured gray board image includes: After binarizing the captured grayscale image, thresholding the binarized image data according to a threshold value determined by a maximum inter-class variance method, so as to minimize the intra-class variance of the black and white pixels after the thresholding; A 16×16 square structure element is used to perform a closing operation on the thresholded image data to obtain as few connected areas as possible, and the largest non-zero connected area is selected from all connected areas as the gray plate area.

4. The method according to claim 1, characterized in that: The classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on the preset data set, and selecting the optimal model from all candidate supervised classifier models, include: After normalizing the preset data set, each candidate supervised classifier model is trained using the optimal feature subset, and the classification results corresponding to each candidate supervised classifier model are obtained by a 10-fold cross-validation method; The confusion matrix is ​​used to evaluate the classification results corresponding to each candidate supervised classifier model and select the optimal classifier model.

5. The method according to claim 1, characterized in that The method of classifying the preprocessed reflectance image through the optimal model to obtain a predicted binary image comprises: Each pixel of the preprocessed reflectance image is regarded as a sample and classified by the optimal model, and a value of 1 is assigned to the pixel that meets the target feature, and a value of 0 is assigned to the pixel otherwise, thereby forming the predicted binary image.

6. The method according to claim 1, characterized in that The step of identifying the disguised person target from the predicted binary image and determining the position of the identified target according to the position information in the DN value original image includes: After performing a closing operation on the predicted binary image to connect adjacent target regions, a HOG descriptor is used to capture local shape information, and a SVM classifier is used to perform human shape detection; After determining that it is a human body, the coordinates of the center point of the human body target are calculated, and a red cross target mark is made at the coordinates of the center point; Determine the GPS location information in the DN value original image as the location of the multispectral camera when shooting; The position of the human target in the actual ground measurement coordinate system is calculated based on the image plane coordinate system position of the human target in combination with the drone heading and the ground pixel resolution.

7. A multi-spectral device for identifying disguised personnel carried by an unmanned aerial vehicle, characterized in that: The device comprises: a preprocessing part, a feature generation part, a feature screening part, a model selection part, a prediction part and a recognition part; wherein, The preprocessing part is configured to preprocess the original image of the remote sensing image pixel brightness DN value collected by the multispectral camera to complete band registration and radiation correction, and obtain a preprocessed reflectance image corresponding to the original image of the DN value; The feature generation part is configured to generate an original feature set based on the band reflectance of the preprocessed reflectance image, the selected vegetation index feature, the texture feature based on principal component analysis PCA, and the high-frequency information and low-frequency information features corresponding to each preprocessed reflectance image; The feature screening part is configured to screen and obtain an optimal feature subset from the original feature set through cross-validation based on the Relief algorithm; The model selection part is configured to select the best model from all candidate supervised classifier models based on the classification evaluation results corresponding to each candidate supervised classifier model obtained by training the candidate supervised classifier model based on a preset data set; The prediction part is configured to classify the preprocessed reflectance image through the optimal model to obtain a predicted binary image; The recognition part is configured to recognize a disguised person target from the predicted binary image and determine the position of the recognized target based on the position information in the DN value original image; The feature screening part is configured as follows: After sorting the features in the original feature set using the Relief algorithm, the first N features are selected to perform cross-validation on the samples, and the average classification accuracy of each group of features is calculated; The feature subset with the highest average classification accuracy in the original feature set is selected as the optimal feature subset.

8. A multi-spectral system for identifying disguised personnel carried by an unmanned aerial vehicle, characterized in that: The system comprises: a multispectral camera, a memory and a processor; wherein, The multispectral camera is used to collect original images of remote sensing image pixel brightness DN values; The memory is used to store a computer program that can be run on the processor; The processor is used to execute the method steps of using a multi-spectral drone to identify disguised personnel as described in any one of claims 1 to 6 when running the computer program.

9. A computer storage medium, characterized in that The computer storage medium stores a program for using a drone to carry out multi-spectral identification of disguised persons. When the program for using a drone to carry out multi-spectral identification of disguised persons is executed by at least one processor, the method steps for using a drone to carry out multi-spectral identification of disguised persons as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Recognition and positioning method, device and apparatus for pine-wood color-changing standing trees and storage medium

    CN112183489A

  • Method for estimating aboveground biomass of rice based on multi-spectral images of unmanned aerial vehicle

    US20200141877A1

  • Unmanned aerial vehicle-based data processing method and device

    WO2020000271A1