Hyperspectral target detection method based on curvature filtering weight double-collaborative representation
By adopting the dual collaborative representation method of curvature filtering weights in hyperspectral target detection and combining global and local collaborative representation, the problem of high background false detection rate is solved and higher detection precision and accuracy are achieved.
Patent Information
- Application Number
- CN202410728917.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-27
AI Technical Summary
Existing hyperspectral target detection methods have a high background false detection rate when distinguishing backgrounds from targets, ignore the spatial information of global targets and backgrounds, and fail to effectively combine the advantages of sparse representation and collaborative representation.
A dual collaborative representation method based on curvature filter weight is used to select the optimal domain by calculating Fourier entropy in the fractional Fourier domain, combine global and local collaborative representation, use curvature filtering to enhance dictionary weights, and build a dual collaborative representation detector to improve detection accuracy.
It effectively reduces the background false detection rate, improves the accuracy and performance of hyperspectral target detection, and significantly improves detection accuracy.
Smart Images

Figure CN118711052A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of hyperspectral remote sensing image processing, and further relates to hyperspectral target detection, specifically a hyperspectral target detection method based on double collaborative representation of curvature filtering weights, which can be used for mineral exploration, offshore ship detection, vegetation detection, etc. Background Art
[0002] Hyperspectral target detection aims to find pixels in a scene that are similar to a known target's prior spectrum. Hyperspectral target detection distinguishes between background and target under the condition that prior knowledge is required. Hyperspectral target detection has unique advantages in the task of finding a specific target spectrum. It is widely used in earth science, environmental monitoring, agriculture, meteorology and other fields.
[0003] In recent years, in the field of hyperspectral anomaly target detection, methods based on collaborative representation have attracted widespread attention from researchers. For example, Li Wei et al. proposed a target detection method combining sparse representation and collaborative representation in the paper "Combined sparse and collaborative representation for hyperspectral target detection". Zhao Chunhui et al. proposed a hyperspectral image spectral-spatial anomaly target detection method based on fractional Fourier transform and saliency weighted collaborative representation in the paper "A Spectral-Spatial Anomaly Target Detection Method Based on Fractional Fourier Transform and Saliency Weighted Collaborative Representation for Hyperspectral Images". In the above methods, although the method combining sparse representation and collaborative representation utilizes the sparse characteristics of targets in hyperspectral images and the spectral difference characteristics between targets and surrounding backgrounds, it ignores the spatial information of global targets and backgrounds. The hyperspectral image spectral-spatial anomaly target detection method based on fractional Fourier transform and saliency weighted collaborative representation utilizes spatial information, but often ignores target prior information. Therefore, how to combine the advantages of both methods to further improve the accuracy of hyperspectral target detection is a problem worth exploring. Summary of the invention
[0004] The purpose of the present invention is to propose a hyperspectral target detection method based on curvature filter weighted dual collaborative representation to address the deficiencies of the above-mentioned prior art, and solve the problem of high background false detection rate in the existing detection scheme. The method of the present invention proposes a dictionary weight method of curvature filtering in the fractional Fourier domain where the degree of distinction between background and target is most obvious to enhance the utilization of the dictionary, and then proposes a dual collaborative representation detector combining global and local. Thereby effectively improving the accuracy of hyperspectral target detection.
[0005] The idea of implementing the present invention is: first: first convert the hyperspectral image X into multiple fractional Fourier domains; then calculate the Fourier entropy in different fractional Fourier domains; select the fractional order of the largest Fourier entropy as the optimal fraction P; select the upper double collaborative representation in the fractional domain of the fractional order P, and apply the proposed curvature filtering to the local collaborative representation detector, and finally obtain the detection result.
[0006] The specific steps of the present invention to achieve the above-mentioned purpose include the following:
[0007] (1) Determine the optimal fractional Fourier domain:
[0008] (1.1) Convert the hyperspectral image X into multiple fractional Fourier domains and calculate the Fourier entropy in different fractional Fourier domains;
[0009] (1.2) The fractional Fourier domain corresponding to the maximum Fourier entropy is taken as the optimal domain P;
[0010] (2) Convert both the original domain hyperspectral image and the prior target spectrum to P;
[0011] (3) Add curvature filter weight to the dictionary of pixels to be tested:
[0012] (3.1) The i-th pixel to be tested x i The double window area is divided into eight sub-areas, and the average vector of each sub-area is calculated;
[0013] (3.2) Calculate the average vector u of the j-th sub-region j With x i The difference d j , j = 1, 2, ..., 8; at the same time, calculate x i The spectral similarity score between the jth sub-region
[0014] (3.3) Select the maximum value among the 8 spectral similarity scores as the score g of the pixel position to be tested i , calculate the score of each pixel position in the hyperspectral image, that is, the curvature filter weight score; construct the spectral atomic weight map according to the score and normalize it;
[0015] (3.4) Apply the spectral atom weight map to the dictionary weight matrix of the local collaborative representation to obtain the improved dictionary weight matrix Γ i ;
[0016] (4) Construct a dual collaborative representation detector D(x) consisting of a global collaborative representation and a local collaborative representation i ):
[0017]
[0018] Among them, r global (x i ) and r local (x i ) represent the pixels to be tested x i The error between the global collaborative representation and the local collaborative representation results, λ1 and λ2 are the local weight parameters and the global weight parameters respectively;
[0019] (5) The pixels to be tested are input into the dual collaborative representation detector, and the output result is compared with the preset threshold to obtain the hyperspectral target detection result.
[0020] Compared with the prior art, the present invention has the following advantages:
[0021] First, from a spatial perspective, the present invention proposes a new dictionary weight method based on curvature filtering in collaborative representation to enhance the utilization of the dictionary, thereby improving the detection performance of collaborative representation;
[0022] Second, since the present invention proposes a dual collaborative representation detector, it avoids ignoring the global information of the target in the collaborative representation, thereby effectively improving the hyperspectral target detection performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 Flow chart for realizing the method of the present invention;
[0024] Figure 2 It is a schematic diagram of the application process of the method of the present invention in a specific example;
[0025] Figure 3 Schematic diagram of the optimal fractional Fourier domain selection process in the method of the present invention;
[0026] Figure 4 Schematic diagram of the curvature filter window sub-volume division in the method of the present invention, wherein (a) is a schematic diagram of four curvature filter window sub-volume division situations; (b) is a schematic diagram of the overall division;
[0027] Figure 5Schematic diagram of the double window structure in the method of the present invention, wherein (a) is a two-dimensional spatial diagram of the double window; (b) is a three-dimensional stereoscopic diagram of the double window;
[0028] Figure 6 A schematic diagram of the background and target distribution in the double window of the method of the present invention;
[0029] Figure 7 Schematic diagram of the data sets used in the present invention; wherein (A) represents the pseudo-color image and its label of the San Diego1 data set; (B) represents the pseudo-color image and its label of the San Diego2 data set; (C) represents the pseudo-color image and its label of the Gulfport data set; (D) represents the pseudo-color image and its label of the Los Angeles data set; (B) represents the pseudo-color image and its label of the HYDICE data set;
[0030] Figure 8 : It is a comparison chart of the detection results of the method of the present invention and the mainstream method on 5 data sets; wherein (A-1) represents the label of the San Diego1 data set; (A-2)~(A-8) represent the detection images of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the San Diego1 data set respectively; (B-1) represents the label of the San Diego2 data set; (B-2)~(B-8) represent the detection images of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the San Diego2 data set respectively; (C-1) represents the label of the Gulfport data set; (C-2)~(C-8) represent the detection images of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the Gulfport data set respectively; (D-1) represents the label of the Los Angeles data set; (D-2)~(D-8) represent the detection images of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the Los Angeles data set respectively. The detection image of Angeles dataset; (E-1) represents the label of HYDICE dataset; (E-2) to (E-8) represent the detection images of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention in HYDICE dataset respectively; DETAILED DESCRIPTION
[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0032] Example 1: Reference Figure 1 and Figure 2 The present invention proposes a hyperspectral target detection method based on curvature filter weight dual collaborative representation, which is implemented in the following steps:
[0033] Step 1. Determine the optimal fractional Fourier domain:
[0034] (1.1) Convert the hyperspectral image X into multiple fractional Fourier domains and calculate the Fourier entropy in different fractional Fourier domains;
[0035] (1.2) The fractional Fourier domain corresponding to the maximum Fourier entropy is taken as the optimal domain P;
[0036] Step 2. Convert both the original domain hyperspectral image and the prior target spectrum to P;
[0037] Step 3. Add curvature filter weight to the dictionary of pixels to be tested:
[0038] (3.1) The i-th pixel to be tested x i The double window area is divided into eight sub-regions, and the average vector of each sub-region is calculated.
[0039] The i-th pixel to be tested x i The double window area is divided into eight sub-areas, specifically x i As the center point, the hollow double window is divided into eight sub-regions by combining the double window model of cooperative representation; the pixel to be tested x i Its hollow double window pixels are represented by four types of double window models, including x i The pixels of both windows are background, x i is the background and the window pixel contains the target component, x i is the target and the window pixels are all background, x i is the target and the window pixels also contain target components.
[0040] Furthermore, the above four types of dual-window models are as follows:
[0041] a) The pixel to be tested and the pixels in the double window are both background: the calculation of the spectral similarity score will not be interfered by abnormal targets and noise;
[0042] b) The pixel to be tested is the background and the double-window pixel has a target component: the spectral similarity score between the sub-region containing the abnormal target pixel and the pixel to be tested is lower than the spectral similarity score between other sub-regions and the pixel to be tested;
[0043] c) The pixel to be tested is the target and the pixels in both windows are background: the calculation of the spectral similarity score is not interfered by abnormal targets and noise;
[0044] d) The pixel to be tested is the target and the double-window pixel also has a target component: the spectral similarity score between the sub-region containing the abnormal target pixel and the pixel to be tested is higher than the spectral similarity score between the sub-region not containing the abnormal target pixel and the pixel to be tested; the atoms in the sub-region containing the abnormal target pixel are eliminated by variance.
[0045] (3.2) Calculate the average vector u of the j-th sub-region j With x i The difference d j , j = 1, 2, ..., 8; at the same time, calculate x i The spectral similarity score between the jth sub-region
[0046] The average vector u of the j-th sub-region j With x i The difference d j , calculated according to the following formula:
[0047]
[0048] Among them, x i (m) represents the value of the mth band of the i-th pixel to be tested, u j (m) represents the value of the mth band of the average spectral vector of the jth sub-region.
[0049] The x i The spectral similarity score between the jth sub-region as follows:
[0050]
[0051] (3.3) Select the maximum value among the 8 spectral similarity scores as the score g of the pixel position to be tested i , calculate the score of each pixel position in the hyperspectral image, that is, the curvature filter weight score; construct the spectral atomic weight map according to the score and normalize it;
[0052] (3.4) Apply the spectral atom weight map to the dictionary weight matrix of the local collaborative representation to obtain the improved dictionary weight matrix Γ i :
[0053]
[0054] Step 4. Construct a dual collaborative representation detector D(x) consisting of a global collaborative representation and a local collaborative representation i ):
[0055]
[0056] Among them, r global (x i ) and r local (x i ) represent the pixels to be tested x iThe error between the global collaborative representation and the local collaborative representation results, λ1 and λ2 are the local weight parameters and the global weight parameters respectively.
[0057] The above global collaborative representation and local collaborative representation are as follows:
[0058] (4.1) The objective function of constructing the global collaborative representation is as follows:
[0059]
[0060] Among them, x i is the pixel to be tested, D global is the global target dictionary, λ is the regularization parameter, ||·||2 represents the l2 norm, and α is the representation coefficient;
[0061] (4.2) Local dictionary D in local collaborative representation detector local The local collaborative representation objective function is constructed by the pixels in the hollow double window of the pixel to be tested as follows:
[0062]
[0063] Among them, D local is the local target dictionary.
[0064] The above error r global (x i ) and r local (x i ), which is calculated as follows:
[0065] Solve the global collaborative representation objective function and obtain the optimal global representation coefficient
[0066]
[0067] Calculate the pixel x to be measured according to the following formula i and The error between global (x i ):
[0068]
[0069] Use the curvature filter dictionary weight to assign the local dictionary D local The weight of the atom on the pixel to be measured is used to solve the local collaborative representation objective function and obtain the optimal local representation coefficient.
[0070]
[0071] Calculate the pixel x to be measured according to the following formula i and The error between local (x i ):
[0072]
[0073] Step 5. Input the pixel to be tested into the dual collaborative representation detector, and compare the output result with the preset threshold to obtain the hyperspectral target detection result.
[0074] Embodiment 2: The overall implementation steps of the hyperspectral target detection method proposed in this embodiment are the same as those in Embodiment 1. Now a specific example is given, combined with the attached Figure 3-6 The implementation process of the present invention is further described in detail:
[0075] Step 1. Optimal Fractional Fourier Transform Selection:
[0076] Reference Figure 3 First, the hyperspectral image X is converted to multiple fractional Fourier domains; then the Fourier entropy in different fractional Fourier domains is calculated; the fraction P with the largest Fourier entropy is selected as the optimal domain; the fractional domain in the fractional order P is selected as the optimal domain. It is believed that the separation degree between the target and the background is optimal in this domain.
[0077] Step 2. Curvature filter weight:
[0078] In the hyperspectral image, the local area of each pixel can be divided into 8 sub-areas, such as Figure 4 As shown in the figure, the pixels in the gray window are divided into eight sub-regions by the sections of four colors, and a double-window sub-region model is proposed in combination with the double-window model of collaborative representation. i The hollow double window is divided into 8 sub-areas, such as Figure 5 As shown in the figure, the center of the red dot is the pixel to be tested, and the surrounding 1 to 8 represent the 8 sub-areas divided by the spatial double window. i The hollow double window is divided into 8 sub-regions. The advantage of this window model is that it combines the characteristics of the curvature filter sub-volume and the collaborative representation of the hollow double window to avoid pixel pollution in the inner window. At the same time, the curvature filter is used to assign spectral weights to the pixels to be tested, which helps to mine the spatial information of the pixels to be tested. i , considering that in the target detection problem, the target should be a very small number; and under the protection of the inner window of the double window, even if the target atom exists, it should only be a very small number and in a sub-region. Therefore, the pixel to be tested and its hollow double window pixel can be represented by four types of double window models, where green represents the background component and orange represents the target component. Figure 6 shown.
[0079] Through four window models, a dictionary spectral weight method is proposed and applied to local collaborative representation. The specific approach is:
[0080] First, calculate the average vector u of each sub-region j , and then get the average vector u of each sub-region j With the pixel x to be tested i The difference d j .
[0081]
[0082] Among them, x i (m) represents the value of the mth band of the i-th pixel to be tested, u j (m) represents the value of the mth band of the average vector of the jth sub-region. Then calculate the spectral similarity score between the pixel to be tested and each sub-region:
[0083]
[0084] Where S i j is the spectral similarity score between the jth sub-region and the i-th pixel to be tested. Finally, the maximum value of the 8 spectral similarity scores is selected as the score of the pixel position to be tested:
[0085]
[0086] Among them, g i is the score at the i-th pixel position in the image. max(·) represents the maximum value operation. Perform the above operation on each pixel in the hyperspectral image to obtain the scores of all pixels as the spectral weight map, and finally normalize it. i , there are 4 situations:
[0087] (1) The pixel to be tested is the background, and all the pixels in the double window are background. At this time, due to the purity of the double window dictionary, the spectral weight score can easily select the sub-region with the highest similarity to the pixel to be tested. In the calculation process, it will not be disturbed by abnormal targets and noise, and the final spectral weight score will be relatively high.
[0088] (2) The pixel to be tested is the background, and there are a small number of targets in the double-window pixels. The spectral weight scores of the sub-region containing the abnormal target pixels and the pixel to be tested are lower than the spectral weight scores of other sub-regions and the pixel to be tested. The final spectral weight score will be relatively high.
[0089] (3) The pixel to be tested is the target, the pixels in the double windows are all background, and the spectra of the atoms in each sub-region are quite different from the spectrum of the pixel to be tested. The final spectral weight score is low.
[0090] (4) The pixel to be tested is the target, and there are a small number of targets in the double window pixels. The spectral weight score of the sub-region containing the abnormal target pixel and the pixel to be tested is higher than the spectral weight score of the sub-region not containing the abnormal target pixel and the pixel to be tested. However, since the abnormal target only occupies a small number of pixels, the atoms in the sub-region can be eliminated by variance. Therefore, background pixels still account for the majority in all sub-regions. In the end, the spectral difference between each sub-region and the pixel to be tested is relatively large, and the spectral weight score obtained is relatively low.
[0091] Finally, the spectral atomic weight map is applied to the dictionary weight matrix of the local collaborative representation, and an improved Γ in the collaborative representation is proposed. i for:
[0092]
[0093] Step 3. Dual synergistic representation detector:
[0094] This paper proposes a global collaborative representation detector to construct a global target spectral dictionary D global , calculate the spectral angle between each pixel in the image and the spectral prior spectrum, select the K pixels with the smallest angle as the dictionary in the collaborative representation, and the optimization problem is expressed as:
[0095]
[0096] Among them, x i is the pixel to be tested, D global is the global target dictionary, λ is the regularization parameter, and ||·||2 represents the l2 norm. By solving the above optimization problem, the optimal representation coefficient can be obtained:
[0097]
[0098] Calculate the pixel x to be tested i and The error between them is:
[0099]
[0100] Local dictionary D local It is composed of the pixels in the hollow double window of the pixel to be tested. The local optimization problem is:
[0101]
[0102] In the local pixel to be tested, the curvature filter dictionary weight is used to assign the local dictionary D local The weight of the atom in the pixel to be tested. Solving this optimization problem yields the optimal solution:
[0103]
[0104] Calculate the pixel x to be tested i and The error between them is:
[0105]
[0106] The final representation of the dual collaborative representation detector is:
[0107]
[0108] Among them, λ1 and λ2 are weight parameters, and the pixel to be tested x i After D(x i ) is compared with the given threshold to achieve the pixel x to be tested. i Detection.
[0109] The effect of the present invention will be further described below in conjunction with experiments.
[0110] 1. Experimental conditions:
[0111] The experiments of the present invention were carried out in a hardware environment with a CPU main frequency of 2.00 GHz, a memory of 16 GB, and a software environment of Windows 10 operating system and Python 3.7.1.
[0112] 2. Experimental content:
[0113] This experiment evaluates the performance of the proposed method on the San Diego1, San Diego2, Gulfport, Los Angeles and HYDICE datasets. On each dataset, the detection effect of the proposed method is compared with that of six mainstream methods from two perspectives: qualitative (detection graph) and quantitative (including five AUC values).
[0114] The mainstream methods mainly include MF [paper: Matched Filter Stochastic BackgroundCharacterization for Hyperspectral Target Detection], SAM [paper: Expert System-based Mineral Mapping in Northern Death Valley, California / Nevada, Using the Airborne Visible / Infrared Imaging Spectrometer (AVIRIS)], CEM [paper: Mapping the Distribution of Mine Tailings in the Coeur d'Alene River Valley, Idaho, Through the Use of AConstrained Energy Minimization Technique], ECEM [Paper: Ensemble-based Cascaded Constrained Energy Minimization for Hyperspectral Target Detection], DSC [Paper: Adual sparsity constrained approach for hyperspectral target detection] and IRN [Paper: Hyperspectral Target Detection Based on Interpretable Representation network].
[0115] 3. Simulation results and analysis:
[0116] Figure 8: It is a comparison chart of the detection results of the method of the present invention and the mainstream method on 5 data sets; wherein (A-1) represents the label of the San Diego1 data set; (A-2)~(A-8) represent the detection results of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the San Diego1 data set respectively; (B-1) represents the label of the San Diego2 data set; (B-2)~(B-8) represent the detection results of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the San Diego2 data set respectively; (C-1) represents the label of the Gulfport data set; (C-2)~(C-8) represent the detection results of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the Gulfport data set respectively; (D-1) represents the label of the Los Angeles data set; (D-2)~(D-8) represent the detection results of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on the Los Angeles data set respectively. The detection results of Angeles dataset; (E-1) represents the label of HYDICE dataset; (E-2) to (E-8) represent the detection results of MF, SAM, CEM, ECEM, DSC, IRN and the method of the present invention on HYDICE dataset respectively;
[0117] By comparing the existing methods, the method of the present invention and the label, it can be seen that the method of the present invention has the best effect and is significantly better than the mainstream methods in the existing six prior arts.
[0118] The following table (Table 1) lists the AUC values of the method of the present invention and six mainstream methods on five data sets (i.e. and ).for The closer its value is to 1, the better the detection effect is. The closer its value is to 1, the lower the detection rate is, that is, the better the target detection is. The closer the value is to 0, the lower the false alarm rate is, that is, the better the performance is.
[0119] AUC values of the method of the present invention and the comparative method on the San Diego1 dataset
[0120]
[0121] AUC values of the method of the present invention and the comparative method on the San Diego2 dataset
[0122]
[0123] AUC values of the proposed method and the comparative method on the Gulfport dataset
[0124]
[0125] AUC values of the proposed method and the comparative method on the Los Angeles dataset
[0126]
[0127]
[0128] AUC values of the proposed method and the comparative method on the HYDICE dataset
[0129]
[0130] It can be seen from the above table that the proposed method has good and It is further shown that the method of the present invention has the highest detection accuracy and the lowest false alarm rate compared with the existing methods, that is, the performance is the best.
[0131] The above experimental results prove the correctness and effectiveness of the method proposed in the present invention.
[0132] Parts of the present invention that are not described in detail belong to common knowledge among those skilled in the art.
[0133] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Obviously, for professionals in this field, after understanding the content and principles of the present invention, they may make various modifications and changes in form and details without departing from the principles and structures of the present invention. However, these modifications and changes based on the ideas of the present invention are still within the scope of protection of the claims of the present invention.
Claims
1. A hyperspectral target detection method based on curvature filter weight dual collaborative representation, characterized in that: The steps are as follows: (1) Determine the optimal fractional Fourier domain: (1.1) Convert the hyperspectral image X into multiple fractional Fourier domains and calculate the Fourier entropy in different fractional Fourier domains; (1.2) The fractional Fourier domain corresponding to the maximum Fourier entropy is taken as the optimal domain P; (2) Convert both the original domain hyperspectral image and the prior target spectrum to P; (3) Add curvature filter weight to the dictionary of pixels to be tested: (3.1) The i-th pixel to be tested x i The double window area is divided into eight sub-areas, and the average vector of each sub-area is calculated; (3.2) Calculate the average vector u of the j-th sub-region j With x i The difference d j , j = 1, 2, ..., 8; at the same time, calculate x i The spectral similarity score between the jth sub-region (3.3) Select the maximum value among the 8 spectral similarity scores as the score g of the pixel position to be tested i , calculate the score of each pixel position in the hyperspectral image, that is, the curvature filter weight score; Construct a spectral atomic weight map based on the scores and perform normalization; (3.4) Apply the spectral atom weight map to the dictionary weight matrix of the local collaborative representation to obtain the improved dictionary weight matrix Γ i ; (4) Construct a dual collaborative representation detector D(x) consisting of a global collaborative representation and a local collaborative representation. i ): Among them, r global (x i ) and r local (x i ) represent the pixels to be tested x i The error between the global collaborative representation and the local collaborative representation results, λ1 and λ2 are the local weight parameters and the global weight parameters respectively; (5) The pixels to be tested are input into the dual collaborative representation detector, and the output result is compared with the preset threshold to obtain the hyperspectral target detection result.
2. The method according to claim 1, characterized in that: In step (3.1), the i-th pixel to be tested x i The double window area is divided into eight sub-areas, specifically x i As the center point, the hollow double window is divided into eight sub-regions by combining the double window model of cooperative representation; the pixel to be tested x i Its hollow double window pixels are represented by four types of double window models, including x i The pixels of both windows are background, x i is the background and the window pixel contains the target component, x i is the target and the window pixels are all background, x i is the target and the window pixels also contain target components.
3. The method according to claim 2, characterized in that: The four types of dual-window models are as follows: a) The pixel to be tested and the pixels in the double window are both background: the calculation of the spectral similarity score will not be interfered by abnormal targets and noise; b) The pixel to be tested is the background and the double-window pixel has a target component: the spectral similarity score between the sub-region containing the abnormal target pixel and the pixel to be tested is lower than the spectral similarity score between other sub-regions and the pixel to be tested; c) The pixel to be tested is the target and the pixels in both windows are background: the calculation of the spectral similarity score is not interfered by abnormal targets and noise; d) The pixel to be tested is the target and the double-window pixel also has a target component: the spectral similarity score between the sub-region containing the abnormal target pixel and the pixel to be tested is higher than the spectral similarity score between the sub-region not containing the abnormal target pixel and the pixel to be tested; the atoms in the sub-region containing the abnormal target pixel are eliminated by variance.
4. The method according to claim 1, characterized in that: The average vector u of the j-th sub-region in step (3.2) is j With x i The difference d j , calculated according to the following formula: Among them, x i (m) represents the value of the mth band of the i-th pixel to be tested, u j (m) represents the value of the mth band of the average spectral vector of the jth sub-region.
5. The method according to claim 4, characterized in that: In step (3.2), x i The spectral similarity score between the jth sub-region as follows:
6. The method according to claim 5, characterized in that: The improved dictionary weight matrix Γ described in step (3.4) i , specifically expressed as follows:
7. The method according to claim 1, characterized in that: The global collaborative representation and local collaborative representation in step (4) are as follows: (4.1) The objective function of constructing the global collaborative representation is as follows: Among them, x i is the pixel to be tested, D global is the global target dictionary, λ is the regularization parameter, ||·||2 represents the l2 norm, and α is the representation coefficient; (4.2) Local dictionary D in local collaborative representation detector local The local collaborative representation objective function is constructed by the pixels in the hollow double window of the pixel to be tested as follows: Among them, D local is the local target dictionary.
8. The method according to claim 7, characterized in that: In step (4), respectively represent the pixel x to be tested i The error between the global collaborative representation and the local collaborative representation results is r global (x i ) and r local (x i ), which is calculated as follows: Solve the global collaborative representation objective function and obtain the optimal global representation coefficient Calculate the pixel x to be measured according to the following formula i and The error between global (x i ): Use the curvature filter dictionary weight to assign the local dictionary D local The weight of the atom on the pixel to be measured is used to solve the local collaborative representation objective function and obtain the optimal local representation coefficient. Calculate the pixel x to be measured according to the following formula i and The error between local (x i ):
