Spectral band adaptive construction method with local and global consistency
By constructing a local multi-view dataset and an overall objective optimization function, the optimal spectral center wavelength and bandwidth parameters are directly designed, solving the problem that existing technologies cannot provide design guidance for new remote sensing sensors, and improving the detection accuracy and robustness of high-value targets.
Patent Information
- Application Number
- CN202611180268.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-05
- Publication Date
- 2026-11-27
AI Technical Summary
Existing band selection methods cannot provide design guidance for new dedicated remote sensing sensors, and existing global driving models tend to overlook high-value small targets, leading to a decrease in target detection accuracy.
A local multi-view dataset is constructed, a local self-representation model is established, and the overall objective optimization function is iteratively solved to obtain the spectral importance score curve, and the optimal spectral band center wavelength and bandwidth parameters are directly designed.
This provides optoelectronic hardware design guidance for new dedicated remote sensing sensors, improving the detection accuracy and robustness of small-area, high-value targets.
Smart Images

Figure CN123182012A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hyperspectral remote sensing image processing technology, and in particular to an adaptive spectral band construction method with local and global consistency. Background Technology
[0002] Hyperspectral remote sensing captures the complex electromagnetic scattering characteristics of target areas, generating three-dimensional data volumes containing hundreds of continuous spectral channels. In detection missions targeting specific high-value targets such as ships in complex ocean clutter or camouflaged radar stations, the massive amounts of hyperspectral data increase the bandwidth pressure and computational overhead of spaceborne and airborne platforms. Therefore, dimensionality reduction of raw hyperspectral data has become a necessary prerequisite for system lightweighting and mission efficiency.
[0003] Band selection, as an important dimensionality reduction preprocessing technique, can extract a compact and information-rich subset of spectral channels from the original full-spectrum set, significantly reducing subsequent data processing overhead while effectively maintaining target-background discriminability. However, existing band selection methods mainly target post-processing data filtering for existing hyperspectral sensors, outputting discrete band numbers. This only serves retrospective analysis of existing sensor data and cannot provide direct hardware design guidance for the front-end physical spectral band configuration of optoelectronic hardware for novel dedicated remote sensing sensors such as spaceborne multispectral cameras and airborne imaging spectrometers.
[0004] Furthermore, in real-world remote sensing scenarios, complex geographical environments such as vegetation, water bodies, and urban buildings exhibit spatial heterogeneity. Existing global-driven models focused on band selection or hyperspectral image dimensionality reduction often aim only at minimizing the average reconstruction error of the entire scene. This homogenization strategy inevitably introduces statistical biases for background features that dominate large areas, causing target detection algorithms based on hyperspectral images to overemphasize background statistical characteristics and easily overlook the weak discriminative spectral features of sparsely distributed high-value small targets, thus leading to a decrease in target detection accuracy. Summary of the Invention
[0005] Based on this, an adaptive spectral band construction method with local and global consistency is proposed to solve the problem that existing band selection methods cannot provide design guidance for new dedicated remote sensing sensor optoelectronic hardware, and that existing global band selection models easily ignore high-value small targets, leading to a decrease in target detection accuracy.
[0006] This invention provides an adaptive spectral band construction method with local and global consistency, comprising the following steps: Construct a local multi-view dataset of the original hyperspectral image; Establish a local self-representation model for each local view in the local multi-view dataset; Establish an initial global shared coefficient matrix based on all local views in the local multi-view dataset; Based on the local self-representation model of each local view and the initial global shared coefficient matrix, establish the overall objective optimization function that minimizes the self-representation error under local-global consistency; Input all local views in the local multi-view dataset into the overall objective optimization function, set the penalty hyperparameter and maximum number of iterations of the overall objective optimization function, and use the alternating minimization method to iteratively solve the overall objective optimization function to obtain the global shared coefficient matrix of the objective. Construct a spectral importance score curve based on the target global shared coefficient matrix, and obtain the spectral positions of the top K maximum peaks in the spectral importance score curve as the K center wavelengths of the target spectral band, where 1≤K≤9; Calculate the corresponding spectral width based on each center wavelength.
[0007] In one embodiment, constructing a local multi-view dataset of the original hyperspectral image includes the following steps: The entropy rate superpixel segmentation algorithm is used to divide the spatial domain of the original hyperspectral image into multiple spatially non-overlapping homogeneous local regions. Extract the pixel spectrum of each local region to construct a local view of each local region; Combine the local views of all local regions into a local multiview dataset of the original hyperspectral image.
[0008] In one embodiment, the local self-representation model is: In the formula, , indicating the first Data matrix of a local view Indicates the first The number of pixels in each local view. Total number of bands Indicates the first The representation coefficient matrix of each local view F express The Frobenius norm.
[0009] In one embodiment, the overall objective function is: The constraints are and ; In the formula, Represents the initial globally shared coefficient matrix. Indicates the first Adaptive weights for each local view Represents the consistency constraint parameters. This represents the sparse regularization parameter. Here is the entropy regularization parameter. This represents the number of spatially non-overlapping homogeneous local regions divided from the original hyperspectral image.
[0010] In one embodiment, the corresponding spectral width is calculated based on each center wavelength as follows: with the center wavelength as a reference, the wavelength range corresponding to the full width at half maximum (FWHM) on both sides of the peak is calculated, and the invalid range after eliminating noise interference is the spectral width corresponding to the center wavelength.
[0011] The beneficial effects of this invention are: (1) This invention breaks through the existing band selection method that only filters and outputs discrete band numbers for data post-processing. It innovatively proposes a direct adaptive spectral band design method. This method constructs a full-spectrum continuity importance score curve based on the optimized global coefficient matrix. Through adaptive local maximum peak finding and full width at half maximum truncation, it can directly solve for the center wavelength and bandwidth parameters of multiple optimal spectral bands for specific detection tasks, thereby providing optoelectronic hardware design and manufacturing guidance for new special remote sensing sensors for specific detection tasks.
[0012] (2) The overall objective optimization function of the present invention is to minimize the self-representation error under local and global consistency. The local self-representation model is constrained by the global shared coefficient matrix, and the representation coefficient matrix of all local views is forced to be numerically aligned with the global shared coefficient matrix. This can effectively alleviate the generalization problem caused by the spatial heterogeneity of hyperspectral images and improve the detection accuracy and robustness of small-area high-value targets. Attached Figure Description
[0013] Figure 1 This is a flowchart illustrating the adaptive construction method for spectral bands with local and global consistency provided in an embodiment of the present invention. Figure 2 This is a schematic diagram illustrating the construction of a local multi-view dataset provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the overall objective optimization function provided in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the principle of extracting the center wavelength and spectral width based on the spectral importance score curve provided in this embodiment of the invention. Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0015] In one embodiment, such as Figure 1 As shown, the adaptive spectral band construction method with local and global consistency in this embodiment includes the following steps: S10. Construct a local multi-view dataset of the original hyperspectral image.
[0016] Specifically, such as Figure 2 As shown, constructing a local multi-view dataset of the original hyperspectral image includes the following steps: S11. The spatial domain of the original hyperspectral image is divided into multiple spatially non-overlapping homogeneous local regions using an entropy rate superpixel segmentation algorithm. The original hyperspectral image was obtained using other existing hyperspectral sensors.
[0017] Ground features in hyperspectral imagery exhibit significant spatial clustering characteristics. This embodiment employs an entropy rate superpixel segmentation algorithm to construct a spatially constrained multi-view dataset. Let the original hyperspectral image be... ,in This represents the total number of pixels in the original hyperspectral image. This represents the total number of bands in the original hyperspectral image. The image spatial domain is divided into... A non-overlapping homogeneous local region.
[0018] S12. Extract the pixel spectrum within each local region to construct a local view of each region. (Keep the first...) A superpixel is all the pixels within a homogeneous local region. The pixel constitutes the _ ... Each partial view has a data matrix of... .
[0019] S13. Combine the local views of all local regions into a local multiview dataset of the original hyperspectral image.
[0020] S20. Establish a local self-representation model for each local view in the local multi-view dataset.
[0021] Specifically, in this embodiment, the local self-representation model is as follows: In the formula, , indicating the first Data matrix of a local view Indicates the first The number of pixels in each local view. Total number of bands Indicates the first The representation coefficient matrix of each local view F express The Frobenius norm.
[0022] S30. Establish an initial global shared coefficient matrix based on all local views in the local multi-view dataset.
[0023] S40. Based on the local self-representation model of each local view and the initial global shared coefficient matrix, establish the overall objective optimization function that minimizes the self-representation error under local-global consistency. A schematic diagram of the overall objective optimization function framework is shown below. Figure 3 As shown.
[0024] The overall objective function is: The constraints are and ; In the formula, Represents the initial globally shared coefficient matrix. Indicates the first Adaptive weights for each local view Represents the consistency constraint parameters. This represents the sparse regularization parameter. Here is the entropy regularization parameter. This represents the number of spatially non-overlapping homogeneous local regions divided from the original hyperspectral image.
[0025] The overall objective function in this embodiment defines the local reconstruction error as a local self-representation model, and introduces a globally shared coefficient matrix. As a central consistency constraint, it forces the representation coefficient matrices of all local views to be numerically aligned with the globally shared coefficient matrix, effectively overcoming the model generalization bottleneck caused by the spatial heterogeneity of complex geographical environments, and helping to improve the detection accuracy and robustness of small-area high-value targets.
[0026] In addition, an adaptive view weight vector is set in the overall objective optimization function. And initialize it using a uniform distribution, that is, let At the same time, a log-entropy regularization term is introduced. .
[0027] , and The penalty hyperparameter for the overall objective function. Used to control various local coefficient matrices To the global reference matrix The higher the value of the clustering and approach, the heavier the penalty for the local view deviating from the global center. Directly affects the globally shared coefficient matrix of The norm, by imposing sparse constraints, forces the model to eliminate redundant bands, thereby determining the sparsity and compactness of the final band selection. It is a log-entropy regularization parameter used to control the smoothness of the adaptive view weight distribution, avoiding the model from getting trapped in local optima or losing global complementary information due to excessive concentration of weights in a single extremely low-error view.
[0028] S50. Input all local views in the local multi-view dataset into the overall objective optimization function, set the penalty hyperparameter and maximum number of iterations of the overall objective optimization function, and use the alternating minimization method to iteratively solve the overall objective optimization function to obtain the global shared coefficient matrix of the objective.
[0029] During the actual iterative execution of the model, the input parameters include a hyperspectral local multi-view dataset. Penalty hyperparameters , and Maximum number of iterations The output parameters are the globally shared coefficient matrix of the target after optimization and convergence. Self-representation coefficient matrix of each local view and adaptive view weight vector This model automatically assigns higher optimization weights to high-quality views with low reconstruction errors, while suppressing noisy regions. The maximum number of iterations in this embodiment... The range of values is 10≤ ≤30.
[0030] Specifically, solving the overall objective function described above is a multivariate coupled nonconvex optimization problem. An alternating minimization strategy is employed, fixing the remaining variables in each iteration and sequentially updating the objective variable in a closed loop until the convergence condition is met or the target value is reached. The process of solving the overall objective function in each iteration using the alternating minimization method includes the following steps: S51. Fix the global shared coefficient matrix and adaptive weights of the current iteration, and update the local representation coefficient matrix by solving the closed-form solution of the generalized ridge regression problem.
[0031] Fixed matrix With weight The overall objective function is for It satisfies strict convexity. A closed-form solution is obtained through ridge regression by taking partial derivatives and setting them to zero. In the formula, This is the identity matrix. This step can be computed in parallel for all local views.
[0032] S52. Fix the local representation coefficient matrix and the global coefficient matrix, calculate the cumulative representation error of each view, and use the Softmax function to analytically update the adaptive view weights.
[0033] fixed and ,set up For the first The cumulative error of each local view is the sum of the reconstruction error and the consistency error. The Lagrange multiplier method is introduced to solve this problem, leading to an analytical solution in the form of Softmax with entropy regularization. In the formula, The summation index variable in the denominator represents the sequence number of all local views traversed, and its value range is... .
[0034] S53. Fix the local representation coefficient matrix and adaptive view weights, construct a weighted consensus matrix, and update the global coefficient matrix by row shrinking using a generalized soft threshold operator.
[0035] fixed and Construct a globally weighted consistent reference matrix Using the generalized soft thresholding operator, row-wise pairing of the matrix... Perform a shrink update. This operation adaptively compresses the row vectors corresponding to bands with high redundancy and low information content to zero.
[0036] S60. Construct a spectral importance score curve based on the target global shared coefficient matrix, and obtain the spectral positions of the top K maximum peaks in the spectral importance score curve as the K center wavelengths of the target spectral band, where 1≤K≤9.
[0037] The spectral importance score curve is constructed based on the target global shared coefficient matrix, and the calculation matrix is used as the matrix. All industries norm Construct a one-dimensional band importance score vector Using the Gaussian kernel function to... Smoothing is performed to eliminate sawtooth distortion caused by discrete noise, and a continuous spectral response envelope curve is fitted. This refers to the spectral importance score curve.
[0038] For curves Perform zero-finding of the first derivative and determination of the second derivative. Identify the front The first K local maxima are identified. The spectral positions of the first K maximum peaks represent the wavelengths that provide the most information for detecting a specific target, and these are set as the center wavelength of the designed sensor's spectral band. That is, the K center wavelengths of the target spectral band.
[0039] S70. Calculate the corresponding spectral width based on each center wavelength.
[0040] Specifically, the spectral width corresponding to each center wavelength is calculated as follows: taking the center wavelength as the reference, the wavelength range with full width at half maximum (FWHM) on both sides of the peak is calculated, and the invalid range after removing noise interference is the spectral width corresponding to the center wavelength.
[0041] Taking the calculation of spectral width using a center wavelength as an example, such as Figure 4 As shown, with the center wavelength Centered on the wavelength, the search extends outwards until the response value decays to half of its peak value; this span is the full width at half maximum (FWHM). After removing invalid regions affected by severe noise from this FWHM value, the spectral width corresponding to that center wavelength is determined. .
[0042] It should be noted that if a strong atmospheric water vapor absorption band is encountered within this spectral width, a dynamic threshold cutoff mechanism is triggered to adaptively narrow the spectral width to avoid interference, and finally output a complete combination of spectral design parameters including the center wavelength and spectral width.
[0043] This invention departs from the traditional post-processing screening mode that only provides discrete band numbers for band selection. Instead, it directly reconstructs a continuous spectral response energy envelope curve covering the entire spectrum from a globally shared coefficient matrix. Based on this, by employing adaptive peak detection and full width at half maximum (FWHM) truncation, the optimal center wavelength and bandwidth parameters of the spectral band for a specific detection mission can be constructed. These parameters can provide guidance for the optoelectronic hardware design and manufacturing of novel dedicated remote sensing sensors for specific detection missions.
[0044] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims.
Claims
1. A method for adaptively constructing spectral bands with local and global consistency, characterized in that, Includes the following steps: Construct a local multi-view dataset of the original hyperspectral image; Establish a local self-representation model for each local view in the local multi-view dataset; Establish an initial global shared coefficient matrix based on all local views in the local multi-view dataset; Based on the local self-representation model of each local view and the initial global shared coefficient matrix, establish the overall objective optimization function that minimizes the self-representation error under local-global consistency; Input all local views in the local multi-view dataset into the overall objective optimization function, set the penalty hyperparameter and maximum number of iterations of the overall objective optimization function, and use the alternating minimization method to iteratively solve the overall objective optimization function to obtain the global shared coefficient matrix of the objective. A spectral importance score curve is constructed based on the target global shared coefficient matrix. The spectral positions of the top K maximum peaks in the spectral importance score curve are obtained as the K center wavelengths of the target spectral band, where 1≤K≤9. Calculate the corresponding spectral width based on each center wavelength.
2. The adaptive spectral band construction method with local and global consistency according to claim 1, characterized in that, The construction of the local multi-view dataset of the original hyperspectral image includes the following steps: The entropy rate superpixel segmentation algorithm is used to divide the spatial domain of the original hyperspectral image into multiple spatially non-overlapping homogeneous local regions. Extract the pixel spectrum of each local region to construct a local view of each local region; Combine the local views of all local regions into a local multiview dataset of the original hyperspectral image.
3. The adaptive spectral band construction method with local and global consistency according to claim 2, characterized in that, The local self-representation model is as follows: In the formula, , indicating the first Data matrix of a local view Indicates the first The number of pixels in each local view. Total number of bands Indicates the first The representation coefficient matrix of each local view F express The Frobenius norm.
4. The adaptive spectral band construction method with local and global consistency according to claim 3, characterized in that, The overall objective function is: The constraints are and ; In the formula, Represents the initial globally shared coefficient matrix. Indicates the first Adaptive weights for each local view Represents the consistency constraint parameters. This represents the sparse regularization parameter. Here is the entropy regularization parameter. This represents the number of spatially non-overlapping homogeneous local regions divided from the original hyperspectral image.
5. The adaptive spectral band construction method with local and global consistency according to claim 4, characterized in that, The corresponding spectral width is calculated based on each center wavelength as follows: Taking the center wavelength as the reference, calculate the wavelength range with full width at half maximum (FWHM) on both sides of the peak, and remove invalid ranges with noise interference to obtain the spectral width corresponding to the center wavelength.
