Non-parametric iteration hyperspectral image target detection method and system, and storage medium
Through the non-parametric iterative method, combined with atmospheric correction, linear interpolation and dual-window method, the problem of reduced performance of multi-pixel target detection in hyperspectral images is solved, efficient and robust target detection is achieved, strong adaptability is achieved, and parameter setting is simplified. Certainly.
Patent Information
- Application Number
- CN202410631117.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-06
AI Technical Summary
Existing hyperspectral image target detection methods have the problem of reduced detection performance in multi-pixel target detection. In particular, they have high requirements on background spectrum assumptions, poor robustness, and complex parameter adjustment, making it difficult to adapt to actual application conditions.
It adopts a non-parametric iterative hyperspectral image target detection method, performs atmospheric correction through empirical linear method, linear interpolation dimensionality reduction, dual window method to obtain training units, and combines L2 norm normalization and two-step iteration to estimate the noise/interference covariance matrix. , avoid background model assumptions and automatically adjust parameters.
It improves the computational efficiency and accuracy of multi-pixel target detection, enhances feature selection and recognition capabilities, has strong adaptability, avoids performance degradation caused by mismatching of assumed models, and simplifies the parameter setting process.
Smart Images

Figure CN118608756A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hyperspectral image processing, and in particular to a non-parametric iterative hyperspectral image target detection method, system and storage medium. Background Art
[0002] Hyperspectral images provide nearly continuous spectral curves of the observed objects. The rich spectral information can reflect the subtle spectral differences of the observed objects, making them have outstanding recognition and classification capabilities in remote sensing and other complex observation fields. Today, hyperspectral remote sensing has been widely used in agriculture, resources, environment, deep space exploration and military fields and has achieved remarkable results.
[0003] Target detection is one of the important practical application areas in the field of hyperspectral image processing. Classical hyperspectral target detection algorithms are mainly divided into three categories: hyperspectral target detection methods based on statistical models, hyperspectral target detection methods based on filtering, and hyperspectral target detection methods based on representation. Among them, the target pixel in the model of the hyperspectral target detection method based on statistical models is a linear combination of the known target spectrum and the unknown background spectrum. There are different target detection methods for different background models, and assumptions need to be made on the distribution of the background spectrum; the hyperspectral target detection method based on filtering does not make any assumptions on the statistical distribution of the spectrum, but designs spectral filters to make the output of the hyperspectral image meet certain constraints. However, this method is sensitive to the accuracy of the prior spectrum and has poor robustness; the hyperspectral target detection method based on representation believes that the hyperspectral image contains a large amount of redundant spectral information, which can be represented by an overcomplete dictionary. This method can use the low-dimensional structural characteristics of hyperspectral data for target detection and has a wide range of applications, but it often requires manual adjustment of parameters. In addition, due to the increasing spatial resolution of hyperspectral sensors, when the target size is larger than the sensor spatial resolution, the target will occupy multiple pixels in the hyperspectral image, which is called a multi-pixel target. At this time, the hyperspectral image will contain both spectral information and spatial information. Traditional algorithms only consider a single target pixel and do not utilize the spatial information of the target. There is still room for improvement in multi-pixel target detection.
[0004] Therefore, the existing statistical model-based methods require that the real background spectrum is consistent with or close to the assumed model, the filtering-based methods are sensitive to the accuracy of the prior spectrum, and the detection performance of the representation-based methods is related to the set parameters. These will make it difficult to meet the conditions required by the algorithm in actual application, which will lead to a decrease in detection performance. Summary of the invention
[0005] Based on this, it is necessary to propose a non-parametric iterative hyperspectral image target detection method, system and storage medium to address the above problems. A non-parametric iterative hyperspectral image target detection method, the method comprising:
[0006] Atmospheric correction is performed according to the empirical linear method to obtain a reflectance-calibrated hyperspectral cube.
[0007] Linear interpolation is performed on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction.
[0008] The training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction is obtained according to the double window method.
[0009] A test matrix corresponding to each pixel is obtained according to the spectrum of each pixel and the spectra of four neighboring pixels.
[0010] The spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and normalized according to the L2 norm to obtain a dictionary matrix corresponding to each pixel.
[0011] Based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, the noise / interference covariance matrix and the power spectrum are estimated according to two-step iterations to obtain the final power spectrum estimation value of the elements in the dictionary.
[0012] The pixel to which the target spectrum belongs is determined based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
[0013] The performing of linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction specifically includes:
[0014] Get the original wavelength interval of the hyperspectral cube.
[0015] A plurality of spectral band wavelength values are uniformly selected in the original wavelength interval of the hyperspectral cube according to the dimension value of the reduced dimension.
[0016] A plurality of spectral band wavelength intervals including the plurality of spectral band wavelength values are determined in the original wavelength intervals of the hyperspectral cube.
[0017] According to the reflectivity of the wavelength interval of the spectral band, a hyperspectral cube after dimensionality reduction is determined.
[0018] The step of performing linear interpolation on the hyperspectral cube according to the wavelength values of the plurality of spectral bands to obtain a hyperspectral cube after dimensionality reduction specifically includes:
[0019] according to Perform linear interpolation to obtain the hyperspectral cube after dimensionality reduction, where r k is the reflectance of the hyperspectral cube after dimensionality reduction, λ k is the wavelength value of several selected spectral bands, r wlis the reflectivity of the spectral band wavelength value, (a) is the minimum value of the interval including the spectral band wavelength value in the spectral band wavelength value after dimensionality reduction, and (a+1) is the maximum value of the interval including the spectral band wavelength value in the spectral band wavelength value after dimensionality reduction.
[0020] The step of obtaining the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to the double window method specifically includes:
[0021] Set the inner window length according to the target size and image spatial resolution.
[0022] The outer window length is set according to the number of spectral bands corresponding to the selected wavelength values of the spectral bands.
[0023] According to the inner window length and the outer window length, a double window is determined with the current pixel as the center.
[0024] All the pixels contained in the double window serve as the training unit corresponding to the current pixel.
[0025] The method of estimating the noise / interference covariance matrix and the power spectrum based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel in two steps to obtain the final power spectrum estimation value of the elements in the dictionary specifically includes:
[0026] According to the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, an initial power estimation value of the element in the dictionary is obtained.
[0027] Initializes the initial power estimates for the elements in the dictionary.
[0028] The first iteration is performed according to the dictionary matrix corresponding to each pixel and the initial power estimation value of the elements in the initialized dictionary to determine the estimation value of the noise / interference covariance matrix.
[0029] The power spectrum is iterated in a second step according to the estimated value of the noise / interference covariance matrix to determine the power spectrum estimated values of the elements on the diagonal of the initial power estimated values of the elements in the dictionary after initialization, until a preset maximum iteration value is reached, thereby obtaining the final power spectrum estimated values of the elements in the dictionary.
[0030] The step of obtaining the initial power estimation value of the elements in the dictionary according to the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel specifically includes:
[0031] according to Get the initial power estimate of the elements in the dictionary, where Y is the test matrix, T is the matrix transpose, and a k is the dictionary matrix, and m is the number of the selected test pixel.
[0032] Among them, the power spectrum is iterated in two steps according to the estimated value of the noise / interference covariance matrix, and the power spectrum estimation value of the elements on the diagonal of the initial power estimation value of the elements in the initialized dictionary is determined until a preset maximum iteration value is reached, and the final power spectrum estimation value of the elements in the dictionary is obtained, which specifically includes:
[0033] according to Determine the power spectrum estimate of the diagonal elements of the initial power estimate of the elements in the initialized dictionary, where Y is the test matrix, T is the matrix transpose, and a k is the dictionary matrix, m is the number of the selected test pixel, and R is the estimated value of the noise / interference covariance matrix.
[0034] The step of determining the pixel to which the target spectrum belongs based on the comparison between the final power spectrum estimation value on each pixel and the threshold value specifically includes:
[0035] It is determined that the final power spectrum estimation value on each pixel is greater than or equal to a threshold value, and the corresponding pixel is a pixel to which the target belongs.
[0036] It is determined that if the final power spectrum estimation value on each pixel is less than a threshold value, the corresponding pixel is a non-target pixel.
[0037] A non-parametric iterative hyperspectral image target detection system, the system comprising:
[0038] The hyperspectral cube acquisition module is used to perform atmospheric correction based on the empirical linear method and obtain a hyperspectral cube for reflectance calibration.
[0039] The module for obtaining a hyperspectral cube after dimensionality reduction is used to perform linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction.
[0040] The training unit acquisition module is used to acquire the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to the double window method.
[0041] The test matrix acquisition module is used to acquire the test matrix corresponding to each pixel according to the spectrum of each pixel and the spectra of four neighboring pixels.
[0042] The dictionary matrix acquisition module is used to combine the spectral data in the training unit corresponding to each pixel with the target spectral data, and obtain the dictionary matrix corresponding to each pixel according to L2 norm normalization.
[0043] The final power spectrum estimation value acquisition module is used to obtain the final power spectrum estimation value of the elements in the dictionary based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, according to the iterative estimation value noise / interference covariance matrix and power spectrum.
[0044] The target spectrum pixel determination module is used to determine the pixel to which the target spectrum belongs based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
[0045] A storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method described above.
[0046] The embodiments of the present invention have the following beneficial effects:
[0047] The non-parametric iterative hyperspectral image target detection method provided by the present invention is suitable for detecting multi-pixel targets. Atmospheric correction is performed by an empirical linear method to improve the computational efficiency, accuracy and flexibility of obtaining a hyperspectral cube for reflectance calibration. By linear interpolation, the spectral continuity in the process of obtaining the hyperspectral cube after dimensionality reduction is maintained, the spectral data quality is improved and easy to implement. The double window method is used to obtain the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction, thereby improving the feature selection efficiency and classification and recognition accuracy. Further, the test matrix corresponding to each pixel is obtained according to the spectrum of each pixel and the spectrum of the four neighboring pixels; the spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and normalized according to the L2 norm to obtain the dictionary matrix corresponding to each pixel; based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, the noise / interference covariance matrix and the power spectrum are estimated according to the two-step iteration to obtain the final power spectrum estimation value of the elements in the dictionary, and the noise / interference covariance matrix is used to represent the influence of the background on the spectrum, and no assumptions are made on the background model, thereby preventing the performance degradation caused by the mismatch between the assumed model and the actual in the actual application process. The two-step iteration method is introduced into hyperspectral target detection, which eliminates the need to manually set parameters in advance, avoids the influence of parameters on iteration speed and accuracy, and improves the adaptability to actual conditions. Finally, the pixel to which the target spectrum belongs is determined based on the comparison between the final power spectrum estimation value on each pixel and the threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] in:
[0050] Figure 1 A schematic diagram of a process flow of an embodiment of a non-parametric iterative hyperspectral image target detection method provided by the present invention;
[0051] Figure 2 A schematic diagram of obtaining a training unit corresponding to each pixel by a double-window method in the non-parametric iterative hyperspectral image target detection method provided by the present invention;
[0052] Figure 3 A schematic flow chart of another embodiment of the non-parametric iterative hyperspectral image target detection method provided by the present invention;
[0053] Figure 4 A schematic diagram of a process flow of another embodiment of the non-parametric iterative hyperspectral image target detection method provided by the present invention;
[0054] Figure 5 A schematic diagram of the structure of an embodiment of a non-parametric iterative hyperspectral image target detection system provided by the present invention;
[0055] Figure 6 A schematic diagram of the structure of an embodiment of a storage medium provided by the present invention;
[0056] Figure 7 A pseudo-color image of the D1F12H1 image in Viareggio 2013, which is a validation data set for the non-parametric iterative hyperspectral image target detection method provided by the present invention;
[0057] Figure 8 A pseudo-color image of the D1F12H2 image in Viareggio 2013, which is a validation data set for the non-parametric iterative hyperspectral image target detection method provided by the present invention;
[0058] Fig. 9 This is a pseudo-color image of the D2F22H2 image in Viareggio 2013, a validation dataset for the non-parametric iterative hyperspectral image target detection method provided by the present invention. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0060] Figure 1 A non-parametric iterative hyperspectral image target detection method according to an embodiment of the present invention is shown in FIG. A non-parametric iterative hyperspectral image target detection method according to an embodiment of the present invention comprises:
[0061] S101: Perform atmospheric correction according to the empirical linear method to obtain a hyperspectral cube for reflectance calibration.
[0062] In a specific implementation scenario, atmospheric correction is performed according to the empirical line method. During the correction process, the effects of the atmosphere on remote sensing signals, such as scattering and absorption, are estimated and eliminated. The empirical line method is usually based on known ground reflectance data and corresponding radiometer readings. It uses the known ground reflectance spectrum value and the DN value (Digital Number) of the corresponding pixel on the hyperspectral image to represent the spectral reflectance or radiance of each pixel after some conversion. In a remote sensing image, each pixel contains data from multiple bands, and the DN value is the numerical representation of these band data.
[0063] Furthermore, the relationship between DN value and reflectance is determined by linear regression, and reflectance calibration is performed. The reflectance value obtained after reflectance calibration for each pixel constitutes the hyperspectral cube after atmospheric correction. The hyperspectral cube after atmospheric correction is obtained according to the following formula:
[0064] r=m gain *DN+offset;
[0065] Among them, m gain is the gain, offset is the deviation, DN is the DN value, and r is the reflectivity.
[0066] S102: Perform linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction.
[0067] In one implementation scenario, an original wavelength interval of a hyperspectral cube is obtained; a number of spectral band wavelength values are uniformly selected from the original wavelength interval of the hyperspectral cube according to a dimension value obtained by dimensionality reduction; a spectral band wavelength interval containing a number of spectral band wavelength values in the original wavelength interval of the hyperspectral cube is determined; and a hyperspectral cube after dimensionality reduction is obtained according to the reflectivity of the spectral band wavelength interval.
[0068] Specifically, the original wavelength data of the hyperspectral cube constitutes a vector wl, and the original wavelength interval of the hyperspectral cube is [wl(min), wl(max)]. The hyperspectral cube is reduced to N dimensions, and N spectral band wavelength values are uniformly selected in the original wavelength interval of the hyperspectral cube. Further, for each selected spectral band wavelength value, the spectral band wavelength interval [wl(a), wl(a+1)] containing it in the original wavelength interval of the hyperspectral cube is found, and the hyperspectral cube after dimensionality reduction is obtained according to the reflectivity of each spectral band wavelength value in this interval. The hyperspectral cube after dimensionality reduction is obtained according to the formula shown below:
[0069]
[0070] Among them, r k is the reflectance of the hyperspectral cube after dimensionality reduction, λ k is the wavelength value of several selected spectral bands, r wl is the reflectivity of the spectral band wavelength value, (a) is the minimum value of the interval including the spectral band wavelength value in the spectral band wavelength value after dimensionality reduction, and (a+1) is the maximum value of the interval including the spectral band wavelength value in the spectral band wavelength value after dimensionality reduction.
[0071] S103: Obtaining a training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to the double window method.
[0072] In a specific implementation scenario, such as Figure 2 As shown, Figure 2 A schematic diagram of obtaining a training unit corresponding to each pixel by a double window method in a non-parametric iterative hyperspectral image target detection method provided by the present invention. The inner window length is set according to the target size and the image spatial resolution; the outer window length is set according to the number of spectral bands corresponding to the wavelength values of the selected spectral bands; the double window is determined with the current pixel as the center according to the inner window length and the outer window length; all pixels contained in the double window are used as the training unit corresponding to the current pixel.
[0073] It should be noted that the size of the inner window length should ensure that the training unit corresponding to the target pixel will not be contaminated by other pixels of the same target, and the size of the outer window length should ensure that the number of training units obtained is not less than twice the number of spectral bands.
[0074] S104: Obtain a test matrix corresponding to each pixel according to the spectrum of each pixel and the spectra of four neighboring pixels.
[0075] In a specific implementation scenario, the spectrum of the pixel itself is y, and the spectra of the four-field pixels are y1, y2, y3, and y4, respectively. Then the test matrix corresponding to the pixel is Y=normc[y y1y2y3y4].
[0076] S105: The spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and normalized according to the L2 norm to obtain a dictionary matrix corresponding to each pixel.
[0077] In a specific implementation scenario, the spectrum set of the training unit of all pixels is a two-dimensional matrix M cov , where each column is the spectrum of the training unit corresponding to each pixel, and t is the known target spectrum. The spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and the dictionary matrix corresponding to each pixel is obtained according to the L2 norm normalization. The dictionary matrix is A=normc([t M cov ]). Where A is the dictionary matrix, a k For each column of the dictionary matrix.
[0078] S106: Based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, estimate the noise / interference covariance matrix and the power spectrum according to two-step iterations to obtain the final power spectrum estimation value of the elements in the dictionary.
[0079] In a specific implementation scenario, the initial power estimate of the elements in the dictionary is obtained according to the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel. The initial power estimate of the elements in the dictionary is initialized. The first iteration is performed according to the dictionary matrix corresponding to each pixel and the initial power estimate of the elements in the initialized dictionary to determine the estimate of the noise / interference covariance matrix; the power spectrum is iterated in the second step according to the estimate of the noise / interference covariance matrix to determine the power spectrum estimate of the elements on the diagonal of the initial power estimate of the elements in the initialized dictionary, until the preset maximum iteration value is reached, and the final power spectrum estimate of the elements in the dictionary is obtained.
[0080] S107: Determine the pixel to which the target spectrum belongs based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
[0081] In a specific implementation scenario, if the final power spectrum estimation value on each pixel is greater than or equal to a threshold, the corresponding pixel is a target pixel; if the final power spectrum estimation value on each pixel is less than the threshold, the corresponding pixel is a non-target pixel.
[0082] It can be seen from the above description that the non-parametric iterative hyperspectral image target detection method provided by the present invention is suitable for detecting multi-pixel targets. Atmospheric correction is performed by the empirical linear method to improve the computational efficiency, accuracy and flexibility of obtaining a hyperspectral cube for reflectance calibration. By linear interpolation, the spectral continuity in the process of obtaining the hyperspectral cube after dimensionality reduction is maintained, the quality of spectral data is improved and it is easy to implement. The double window method is used to obtain the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction, thereby improving the efficiency of feature selection and the accuracy of classification and recognition. Further, the test matrix corresponding to each pixel is obtained according to the spectrum of each pixel and the spectrum of the four neighboring pixels; the spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and normalized according to the L2 norm to obtain the dictionary matrix corresponding to each pixel; based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, the noise / interference covariance matrix and the power spectrum are estimated according to the two-step iteration to obtain the final power spectrum estimate of the elements in the dictionary, and the noise / interference covariance matrix is used to represent the influence of the background on the spectrum, and no assumptions are made on the background model, which prevents the performance degradation caused by the mismatch between the assumed model and the actual in the actual application process. The two-step iteration method is introduced into hyperspectral target detection, which eliminates the need to manually set parameters in advance, avoids the influence of parameters on iteration speed and accuracy, and improves the adaptability to actual conditions. Finally, the pixel to which the target spectrum belongs is determined based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
[0083] like Figure 3 As shown, Figure 3 A non-parametric iterative hyperspectral image target detection method is provided in accordance with another embodiment of the present invention. A non-parametric iterative hyperspectral image target detection method comprises:
[0084] S201: Obtaining initial power estimation values of elements in a dictionary according to a test matrix corresponding to each pixel and a dictionary matrix corresponding to each pixel.
[0085] In a specific implementation scenario, the initial power estimate of the elements in the dictionary is determined according to the following formula:
[0086]
[0087] Among them, Y is the test matrix, T is the matrix transpose, a k is the dictionary matrix, m is the number of the selected test pixel, m=1,…,5.
[0088] S202: Initialize initial power estimation values of elements in the dictionary.
[0089] In a specific implementation scenario, the initial power estimation value of the elements in the dictionary is initialized according to the following formula:
[0090] P = diag(P(k));
[0091] in, is the initial power spectrum estimate of the corresponding element in the dictionary, and P is the initial power estimate of the element in the initialized dictionary.
[0092] S203: Perform the first iteration according to the dictionary matrix corresponding to each pixel and the initial power estimation value of the elements in the initialized dictionary to determine the estimation value of the noise / interference covariance matrix.
[0093] In a specific implementation scenario, the maximum number of iterations I is defined max , usually 10 is sufficient. In each two-step iteration, the first iteration is performed based on the dictionary matrix corresponding to each pixel and the initial power estimate of the element in the initialized dictionary, while the initial power estimate of the element in the initialized dictionary remains unchanged, to update the estimate of the noise / interference covariance matrix. The estimate of the noise / interference covariance matrix is determined according to the following formula:
[0094] R=APA T ;
[0095] Where A is the dictionary matrix, P is the initial power estimate of the elements in the initialized dictionary, and T is the matrix transpose.
[0096] S204: Perform a second iteration on the power spectrum according to the estimated value of the noise / interference covariance matrix to determine the power spectrum estimated values of the elements on the diagonal of the initial power estimated values of the elements in the initialized dictionary until a preset maximum iteration value is reached to obtain the final power spectrum estimated values of the elements in the dictionary.
[0097] In a specific implementation scenario, when the estimated value of the noise / interference covariance matrix remains unchanged, the power spectrum is iterated in the second step according to the estimated value of the noise / interference covariance matrix, and the power spectrum estimated value of the diagonal element of the initial power estimated value of the element in the initialized dictionary is updated. Steps S203-S204 are repeated until the maximum number of iterations I is reached. max , and obtain the final power spectrum estimate P. The power spectrum estimate of the initial power estimate of the elements in the initialized dictionary and the power spectrum estimate of the diagonal elements are determined according to the following formula:
[0098]
[0099] Among them, Y is the test matrix, T is the matrix transpose, a k is the dictionary matrix, m is the number of the selected test pixel, m = 1, ..., 5, R is the estimated value of the noise / interference covariance matrix
[0100] like Figure 4 As shown, Figure 4 A non-parametric iterative hyperspectral image target detection method is provided by the present invention. The method comprises:
[0101] S301: Perform atmospheric correction according to the empirical linear method to obtain a reflectance-calibrated hyperspectral cube.
[0102] In one implementation scenario, according to r=m gain *DN+offset obtains the reflectance-calibrated hyperspectral cube, where m gain is the gain, offset is the deviation, DN is the remote sensing image pixel brightness value, and r is the reflectivity.
[0103] Specifically, suppose that some pixels in the known image correspond to the white cloth used for calibration, and the average value of their DN values is measured as y w , the average DN value of the black cloth corresponding to the other part of the pixels is y b The reflectances of white and black cloth measured in the laboratory are r w and r b According to linear regression, the gain m is calculated according to the following formula: gain And the offset:
[0104]
[0105] in, The reflectance-calibrated hyperspectral cube is calculated using the obtained gain and deviation.
[0106] S302: Obtain the original wavelength range of the hyperspectral cube.
[0107] S303: uniformly selecting a number of spectral band wavelength values in the original wavelength interval of the hyperspectral cube according to the dimension value of the reduced dimension.
[0108] S304: Determine a spectral band wavelength interval containing a plurality of spectral band wavelength values in the original wavelength interval of the hyperspectral cube.
[0109] S305: Determine a hyperspectral cube after dimensionality reduction according to the reflectivity of the wavelength interval of the spectral band.
[0110] It should be noted that steps S302-S305 are Figure 1 This has been discussed in detail in the implementation scenario shown and will not be repeated here.
[0111] Among them, many target detection algorithms are currently implemented in the Viareggio 2013 data set, so the present invention uses the Viareggio 2013 data set as a data set for hyperspectral target detection. The background of the Viareggio 2013 data set is the city of Viareggio in the northern Tuscany region of Italy, and the data was collected in May 2013. The data was obtained by the SIM.GA hyperspectral sensor on board an aircraft flying over the Viareggio area at an altitude of 1200m and 450m respectively. The specific selected scenes include a parking lot, several sports facilities and a football field, a grove surrounded by the parking lot, and a suburban residential area adjacent to the woods. The data collection process lasted for two days, and a total of 3 images were collected, including changes in the target and weather during the collection process. The spatial size of the data set is 450x375, the number of spectral bands contained is 511, and the spatial resolution is 0.6m. This data set also provides raw measurement data for researchers to process data according to their own needs. The dataset contains a total of 5 types of cars and 2 types of canvas as targets, and the spectral vector corresponding to each target has also been given.
[0112] Since the spectral dimension of the original wavelength dataset of the hyperspectral cube is 511, which is too computationally intensive for target detection, linear interpolation is used to reduce the dimension to shorten the computation time. The spectral dimension after dimension reduction is 100, which is evenly distributed in the range of 388nm to 994nm.
[0113] S306: Setting the inner window length according to the target size and the image spatial resolution.
[0114] In a specific implementation scenario, for the car target in the Viareggio 2013 dataset, it is known that the length of the car is about 4m, the spatial resolution is 0.6m, and the length of the car occupies about 7 pixels in the image. The inner window length can be set to 9 to ensure that the training unit corresponding to the pixel in the center of the car does not contain other car pixels.
[0115] S307: setting the outer window length according to the number of spectral bands corresponding to the wavelength values of the selected spectral bands.
[0116] In a specific implementation scenario, it is known that the number of spectral bands is 100, the inner window area is 81, and the outer window length can be set to 17 to ensure that the number of pixels covered by the double windows is at least twice the number of spectral bands.
[0117] S308: Determine a double window with the current pixel as the center according to the inner window length and the outer window length.
[0118] S309: All pixels included in the double window are used as training units corresponding to the current pixel.
[0119] S310: Obtain a test matrix corresponding to each pixel according to the spectrum of each pixel and the spectra of four neighboring pixels.
[0120] S311: The spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and normalized according to the L2 norm to obtain a dictionary matrix corresponding to each pixel.
[0121] S312: Based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, estimate the noise / interference covariance matrix and the power spectrum according to two-step iterations to obtain the final power spectrum estimation value of the elements in the dictionary.
[0122] S313: Determine if the final power spectrum estimation value on each pixel is greater than or equal to the threshold, then the corresponding pixel is the pixel to which the target belongs.
[0123] S314: Determine if the final power spectrum estimation value on each pixel is less than the threshold value, then the corresponding pixel is a non-target pixel.
[0124] It should be noted that steps S310-S314 are Figure 1 This has been discussed in detail in the implementation scenario shown and will not be repeated here.
[0125] From the above description, it can be seen that the present application utilizes the spatial information of the target in the hyperspectral image to improve the detection performance. The noise / interference covariance matrix is used to represent the influence of the background on the spectrum, and there is no need to make assumptions about the background model, which prevents the performance degradation caused by the mismatch between the assumed model and the actual during the actual application process. The two-step iteration method is introduced into the hyperspectral target detection, and there is no need to manually set the parameters in advance, which avoids the influence of the parameters on the iteration speed and accuracy, improves the adaptability to the actual situation, and can still maintain good performance and accuracy when facing the uncertainty and errors in the spectral data.
[0126] The non-parametric iterative hyperspectral image target detection method was finally tested on the Viareggio 2013 dataset for instance segmentation results. The AUC (Area Under the Curve) values of V1, V3, V4, and P2 targets on the D1F12H1 image were 0.9954, 0.9911, 0.8044, and 0.8684, respectively, the AUC values of V1, V3, V4, and P2 targets on the D1F12H2 image were 0.9047, 0.7804, 0.9277, and 0.8460, respectively, and the AUC values of V1, V4, V5, and V6 targets on the D2F22H2 image were 0.8821, 0.7678, 0.8556, and 0.9710, respectively. Among them, targets V1, V3, V4, V5, and V6 correspond to vehicle positions, and P2 corresponds to panel positions.
[0127] Furthermore, the validation dataset and evaluation indicators are determined.
[0128] The present invention uses the Viareggio 2013 data set as verification data, and adopts the ROC (Receiver Operating Characteristic) curve and AUC value as evaluation indicators. The ROC curve is a tool for indicating the performance of a detector, with the horizontal axis being the false alarm rate (FA) and the vertical axis being the detection rate (D). The curve describes the performance of the detector under different thresholds. The false alarm rate indicates the proportion of all sample points where no target exists that are identified as targets, and the detection rate indicates the proportion of all sample points where there are targets that are identified as targets. The closer the ROC curve is to the upper left, the larger the area under the curve, indicating that the performance of the detector is better.
[0129] The AUC value refers to the area under the ROC curve. The closer the AUC value is to 1, the better the detector performance is. Conversely, the closer it is to 0, the worse the detector performance is. The AUC value of a perfect detector is 1 because it detects all target points without false alarms. The AUC value of a random classifier is 0.5 because it just randomly classifies sample points as targets and non-targets. In practical applications, the AUC value is usually used to quantitatively evaluate the performance of the detector.
[0130] In order to illustrate the practicality of the present invention, comparative experiments are set up for a total of 12 targets in three images of the Viareggio 2013 dataset. The pseudo-color images of images D1F12H1, D1F12H2, and D2F22H2 are shown in Figure 2. Figure 7 , 8 , as shown in 9, Figure 7 A pseudo-color image of the D1F12H1 image in Viareggio2013, a validation data set for the non-parametric iterative hyperspectral image target detection method provided by the present invention; Figure 8 A pseudo-color image of the D1F12H2 image in Viareggio 2013, which is a validation data set for the non-parametric iterative hyperspectral image target detection method provided by the present invention; Fig. 9The pseudo-color image of D2F22H2 image in Viareggio 2013, which is the validation data set of the non-parametric iterative hyperspectral image target detection method provided by the present invention. Experimental group A uses the AMF (Adaptive Matched Filter) algorithm for detection, experimental group B uses the GLRT (Generalized Likelihood Ratio Test) algorithm for detection, experimental group C uses the ACE (Automatic Coherence Estimator) algorithm for detection, experimental group D uses the ECFTMF (Elliptically-Contoured Finite Target Matched Filter) algorithm for detection, and experimental group E uses the ACUTE (adaptive
[0131] The cell under test estimator (CET) algorithm was used for detection, and the experimental group F was detected using the non-parametric iterative hyperspectral image target detection method provided by the present invention. The AUC values were obtained as shown in Table 1, which is the comparative experimental results:
[0132] Table 1: Comparative test results
[0133]
[0134]
[0135] Comparing the AUC values, the experimental group F achieved the best results in all 12 targets.
[0136] The above results show that experimental group F in Table 1 has higher performance on car-sized targets in most cases, which proves the advantages of the present invention.
[0137] Figure 5 A schematic diagram of the structure of an embodiment of a non-parametric iterative hyperspectral image target detection system provided by the present invention. A non-parametric iterative hyperspectral image target detection system, the system comprising:
[0138] The hyperspectral cube acquisition module 11 is used to perform atmospheric correction according to the empirical linear method to obtain a hyperspectral cube for reflectance calibration.
[0139] The module 12 for obtaining a hyperspectral cube after dimensionality reduction is used to perform linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction.
[0140] The training unit acquisition module 13 is used to acquire the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to the double window method.
[0141] The test matrix acquisition module 14 is used to acquire the test matrix corresponding to each pixel according to the spectrum of each pixel and the spectra of four neighboring pixels.
[0142] The dictionary matrix acquisition module 15 is used to combine the spectral data in the training unit corresponding to each pixel with the target spectral data, and normalize according to the L2 norm to obtain the dictionary matrix corresponding to each pixel.
[0143] The final power spectrum estimation value acquisition module 16 is used to acquire the final power spectrum estimation value of the elements in the dictionary based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, according to the iterative estimation value noise / interference covariance matrix and the power spectrum.
[0144] The target spectrum pixel determination module 17 is used to determine the pixel to which the target spectrum belongs based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
[0145] In a specific implementation scenario, atmospheric correction is performed according to the empirical line method in the hyperspectral cube acquisition module 11, and the influence of the atmosphere on the remote sensing signal is estimated and eliminated during the correction process. The known ground reflectance spectral value and the DN value of the corresponding pixel on the hyperspectral image are used. The relationship between the DN value and the reflectance is determined according to linear regression, and the reflectance calibration is performed. The reflectance value obtained after the reflectance calibration of each pixel constitutes the hyperspectral cube after atmospheric correction. Further, in the hyperspectral cube acquisition module 12 after dimensionality reduction, the hyperspectral cube is linearly interpolated to obtain the hyperspectral cube after dimensionality reduction. Specifically, the original wavelength interval of the hyperspectral cube is obtained; several spectral band wavelength values are uniformly selected in the original wavelength interval of the hyperspectral cube according to the dimension value of dimensionality reduction; several spectral band wavelength intervals containing the selected several spectral band wavelength values in the original wavelength interval of the hyperspectral cube are determined; according to the reflectivity of the spectral band wavelength interval, the hyperspectral cube after dimensionality reduction is obtained. Further, in the training unit acquisition module 13, the inner window length is set according to the target size and the image spatial resolution; the outer window length is set according to the number of spectral bands corresponding to the wavelength values of the selected spectral bands; according to the inner window length and the outer window length, the double window is determined with the current pixel as the center; all the pixels contained in the double window are used as the training unit corresponding to the current pixel. Further, in the test matrix acquisition module 14, the test matrix corresponding to each pixel is obtained according to the spectrum of each pixel and the spectrum of the four neighboring pixels. Further, in the dictionary matrix acquisition module 15, the spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and the dictionary matrix corresponding to each pixel is obtained according to the L2 norm normalization. Further, in the final power spectrum estimation value acquisition module 16, the initial power estimation value of the elements in the dictionary is obtained according to the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel. The initial power estimation value of the elements in the dictionary is initialized. The first iteration is performed according to the dictionary matrix corresponding to each pixel and the initial power estimate of the elements in the initialized dictionary to determine the estimated value of the noise / interference covariance matrix; the second iteration is performed on the power spectrum according to the estimated value of the noise / interference covariance matrix to determine the power spectrum estimate of the elements on the diagonal of the initial power estimate of the elements in the initialized dictionary, until the preset maximum iteration value is reached, and the final power spectrum estimate of the elements in the dictionary is obtained. Finally, in the target spectrum pixel determination module 17, the target spectrum pixel is determined based on the comparison between the final power spectrum estimate on each pixel and the threshold. If the final power spectrum estimate on each pixel is determined to be greater than or equal to the threshold, the corresponding pixel is the target pixel; if the final power spectrum estimate on each pixel is determined to be less than the threshold, the corresponding pixel is a non-target pixel.
[0146] like Figure 6 As shown, Figure 6The storage medium 20 stores at least one computer program 21, which is executed by a processor to implement the following. Figure 1 , Figure 3 and Figure 4 In one embodiment, the storage medium 20 may be a storage chip, a hard disk, a mobile hard disk, a USB flash drive, an optical disk, or other readable and writable storage tools, or a server, etc.
[0147] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0148] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0149] The system, storage medium and method provided in the embodiments of this specification correspond to each other. Therefore, the system and storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding system and storage medium will not be repeated here.
[0150] The systems, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0151] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0152] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0153] These computer program instructions may also be stored in a computer-readable memory (storage medium) that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0155] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0156] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0157] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0158] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0159] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0160] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0161] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A non-parametric iterative hyperspectral image target detection method, characterized in that: The method comprises: Atmospheric correction is performed according to the empirical linear method to obtain a reflectance-calibrated hyperspectral cube; Performing linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction; Obtaining a training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to a double window method; Obtaining a test matrix corresponding to each pixel according to the spectrum of each pixel and the spectra of four neighboring pixels; The spectral data in the training unit corresponding to each pixel is combined with the target spectral data, and normalized according to the L2 norm to obtain a dictionary matrix corresponding to each pixel; Based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, the noise / interference covariance matrix and the power spectrum are estimated according to two-step iterations to obtain a final power spectrum estimation value of the elements in the dictionary; The pixel to which the target spectrum belongs is determined based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
2. The non-parametric iterative hyperspectral image target detection method according to claim 1, characterized in that: The performing linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction specifically includes: Obtaining the original wavelength interval of the hyperspectral cube; Uniformly selecting a number of spectral band wavelength values in the original wavelength interval of the hyperspectral cube according to the dimension value of the reduced dimension; Determining a plurality of spectral band wavelength intervals that contain the plurality of spectral band wavelength values in the original wavelength intervals of the hyperspectral cube; According to the reflectivity of the wavelength interval of the spectral band, a hyperspectral cube after dimensionality reduction is determined.
3. The non-parametric iterative hyperspectral image target detection method according to claim 2, characterized in that: The performing linear interpolation on the hyperspectral cube according to the wavelength values of the plurality of spectral bands to obtain a hyperspectral cube after dimensionality reduction specifically includes: according to Perform linear interpolation to obtain the hyperspectral cube after dimensionality reduction, where r k is the reflectance of the hyperspectral cube after dimensionality reduction, λ k is the wavelength value of several selected spectral bands, r wl is the reflectivity of the spectral band wavelength value, (a) is the minimum value of the interval including the spectral band wavelength value in the spectral band wavelength value after dimensionality reduction, and (a+1) is the maximum value of the interval including the spectral band wavelength value in the spectral band wavelength value after dimensionality reduction.
4. The non-parametric iterative hyperspectral image target detection method according to claim 3, characterized in that: The step of obtaining the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to the double window method specifically includes: Set the internal window length according to the target size and image spatial resolution; Setting the outer window length according to the number of spectral bands corresponding to the selected wavelength values of the plurality of spectral bands; Determine a double window with the current pixel as the center according to the inner window length and the outer window length; All the pixels contained in the double window serve as the training unit corresponding to the current pixel.
5. The non-parametric iterative hyperspectral image target detection method according to claim 4, characterized in that: The method of estimating the noise / interference covariance matrix and the power spectrum based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel in two steps to obtain the final power spectrum estimation value of the elements in the dictionary specifically includes: Obtaining an initial power estimation value of an element in the dictionary according to the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel; Initializing initial power estimates of elements in the dictionary; Performing a first iteration according to the dictionary matrix corresponding to each pixel and the initial power estimation value of the elements in the initialized dictionary to determine the estimation value of the noise / interference covariance matrix; The power spectrum is iterated in a second step according to the estimated value of the noise / interference covariance matrix to determine the power spectrum estimated values of the elements on the diagonal of the initial power estimated values of the elements in the dictionary after initialization, until a preset maximum iteration value is reached, thereby obtaining the final power spectrum estimated values of the elements in the dictionary.
6. The non-parametric iterative hyperspectral image target detection method according to claim 5, characterized in that: The step of obtaining the initial power estimation value of the elements in the dictionary according to the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel specifically includes: according to Get the initial power estimate of the elements in the dictionary, where Y is the test matrix, T is the matrix transpose, and a k is the dictionary matrix, and m is the number of the selected test pixel.
7. The non-parametric iterative hyperspectral image target detection method according to claim 5, characterized in that: The method of performing two-step iteration on the power spectrum according to the estimated value of the noise / interference covariance matrix, determining the power spectrum estimated values of the elements on the diagonal of the initial power estimated values of the elements in the dictionary after the initialization, until a preset maximum iteration value is reached, and obtaining the final power spectrum estimated values of the elements in the dictionary, specifically includes: according to Determine the power spectrum estimate of the diagonal elements of the initial power estimate of the elements in the initialized dictionary, where Y is the test matrix, T is the matrix transpose, and a k is the dictionary matrix, m is the number of the selected test pixel, and R is the estimated value of the noise / interference covariance matrix.
8. The non-parametric iterative hyperspectral image target detection method according to claim 5, characterized in that: The step of determining the pixel to which the target spectrum belongs according to the comparison between the final power spectrum estimation value on each pixel and the threshold value specifically includes: Determine that the final power spectrum estimation value on each pixel is greater than or equal to a threshold, then the corresponding pixel is the pixel to which the target belongs; It is determined that if the final power spectrum estimation value on each pixel is less than a threshold value, the corresponding pixel is a non-target pixel.
9. A non-parametric iterative hyperspectral image target detection system, characterized in that: The system comprises: A hyperspectral cube acquisition module is used to perform atmospheric correction based on the empirical linear method and obtain a hyperspectral cube for reflectance calibration; A module for obtaining a hyperspectral cube after dimensionality reduction, used for performing linear interpolation on the hyperspectral cube to obtain a hyperspectral cube after dimensionality reduction; A training unit acquisition module, used for acquiring the training unit corresponding to each pixel in the hyperspectral cube after dimensionality reduction according to a double window method; A test matrix acquisition module, used for acquiring a test matrix corresponding to each pixel according to the spectrum of each pixel and the spectra of four neighboring pixels; A dictionary matrix acquisition module is used to combine the spectral data in the training unit corresponding to each pixel with the target spectral data, and obtain the dictionary matrix corresponding to each pixel according to L2 norm normalization; A final power spectrum estimation value acquisition module is used to acquire the final power spectrum estimation value of the elements in the dictionary based on the test matrix corresponding to each pixel and the dictionary matrix corresponding to each pixel, according to the iterative estimation value noise / interference covariance matrix and the power spectrum; The target spectrum pixel determination module is used to determine the pixel to which the target spectrum belongs based on the comparison between the final power spectrum estimation value on each pixel and the threshold.
10. A storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 8.
Citation Information
Cited By
Hyperspectral image particle segmentation method and device
CN120747144A
