CN113902973A - Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling - Google Patents

Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling Download PDF

Info

Publication number
CN113902973A
CN113902973A CN202111122594.XA CN202111122594A CN113902973A CN 113902973 A CN113902973 A CN 113902973A CN 202111122594 A CN202111122594 A CN 202111122594A CN 113902973 A CN113902973 A CN 113902973A
Authority
CN
China
Prior art keywords
encoder
image
self
hyperspectral image
hyperspectral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111122594.XA
Other languages
Chinese (zh)
Inventor
李欢
唐骏
周慧鑫
姚博
阳文涛
向培
宋尚真
杜娟
滕翔
张鑫
李幸
梅峻溪
王财顺
秦翰林
王炳健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xidian University filed Critical Xidian University
Priority to CN202111122594.XA priority Critical patent/CN113902973A/en
Publication of CN113902973A publication Critical patent/CN113902973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computational Linguistics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Evolutionary Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a self-encoder and a hyperspectral anomaly detection method of low-dimensional manifold modeling.A stack type self-encoder is trained through an original hyperspectral image to obtain a trained stack type self-encoder; performing main feature extraction on the original hyperspectral image through the trained stacked self-encoder to finish data dimension reduction and obtain a dimension-reduced hyperspectral image Y; carrying out L times of random sampling on the dimensionality-reduced hyperspectral image Y to obtain a sampled image
Figure DDA0003277795500000011
1,2, …, L; each of the resulting sampled images is modeled by a low-dimensional manifold
Figure DDA0003277795500000015
Reconstructing to obtain each characteristic sampling image
Figure DDA0003277795500000016
Reconstructed background sub-image X ofl(ii) a Reconstructing the background sub-image XlCalculating the average value
Figure DDA0003277795500000012
Reconstructed background image as original hyperspectral image
Figure DDA0003277795500000013
(ii) a By a 12Norm determination of original hyperspectral image and reconstructed background image
Figure DDA0003277795500000014
And taking the residual r as the final abnormal detection result. The invention effectively reduces redundant calculation, improves the overall performance of the algorithm and accelerates the algorithm speed.

Description

Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling
Technical Field
The invention belongs to the field of remote sensing image processing technology, and particularly relates to a hyperspectral anomaly detection method based on a self-encoder and low-dimensional manifold modeling.
Background
The hyperspectral image is added with a spectrum dimension on the basis of the traditional remote sensing image and is a three-dimensional data structure containing target space characteristics and spectrum information. The hyperspectral image detection technology can be generally divided into target detection and anomaly detection. The characteristic that the abnormal target can be detected without knowing the spectral information of the target object in advance is adopted, so that the hyperspectral abnormality detection is widely applied to various fields such as agriculture, meteorology, military and the like. The study of hyperspectral anomaly detection becomes increasingly important.
The hyperspectral image anomaly detection mainly comprises two steps of background modeling and anomaly detection. The background modeling establishes a background measurement standard by searching an evaluation mode of a background signal in a hyperspectral image, and if the abnormal image is detected, whether each pixel belongs to the background is evaluated according to the background measurement standard, and if the pixel does not belong to the background, the pixel is the abnormal pixel. The quality of background modeling directly affects the final anomaly detection result. Meanwhile, the hyperspectral image has spectrum information of hundreds of wave bands, so that the information redundancy of the hyperspectral image is caused, and the construction of the background is greatly influenced. Therefore, how to remove redundant information in original data, reduce data dimension and reduce processing complexity of anomaly detection is a key point in the field of hyperspectral anomaly detection.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a hyper-spectral anomaly detection method based on an encoder and low-dimensional manifold modeling.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a hyperspectral anomaly detection method based on a self-encoder and low-dimensional manifold modeling, which is characterized by comprising the following steps:
training the stacked self-encoder through the original hyperspectral image to obtain a trained stacked self-encoder;
performing main feature extraction on the original hyperspectral image through the trained stacked self-encoder to finish data dimension reduction and obtain a dimension-reduced hyperspectral image Y;
carrying out L times of random sampling on the dimensionality-reduced hyperspectral image Y to obtain a sampled image
Figure BDA0003277795480000023
l=1,2,…,L;
Each of the resulting sampled images is modeled by a low-dimensional manifold
Figure BDA0003277795480000021
Reconstructing to obtain each characteristic sampling image
Figure BDA0003277795480000026
Reconstructed background sub-image X ofl(ii) a Reconstructing the background sub-image XlCalculating the average value
Figure BDA0003277795480000022
Reconstructed background image as original hyperspectral image
Figure BDA0003277795480000024
By a 12Norm determination of original hyperspectral image and reconstructed background image
Figure BDA0003277795480000025
And taking the residual r as the final abnormal detection result.
In the above scheme, the stacked self-encoder is trained through the original hyperspectral image, and the trained stacked self-encoder is obtained, specifically:
1.1, the size of an original hyperspectral image is MxNxB, wherein M represents the number of rows contained in the hyperspectral image, N represents the number of columns contained in the hyperspectral image, and B is the number of wavebands;
step 1.2, reducing the dimension of the hyperspectral image by adopting a stacked self-encoder, and using a mean square error as a loss function and a ReLU function as an activation function during training;
step 1.3, training a first single-layer self-encoder, fixing the number of coding units of the first encoder, namely the neuron number of a first Hidden layer, to 100, so that the reconstruction of the original input is completed, freezing parameters obtained in the training process of the first single-layer self-encoder, and taking output Hidden 1 of the Hidden layer of the first single-layer self-encoder as the input of a second single-layer self-encoder;
step 1.4, training a second single-layer self-encoder to complete reconstruction of Hidden 1, wherein the number of encoding units of the second encoder, namely the number of neurons of a second Hidden layer, is fixed to 50;
and step 1.5, integrating the two trained self-encoders, training the whole self-encoders, setting the number of encoding units of a third encoder of the self-encoders, namely the number of neurons of a third hidden layer to be 25, finely adjusting parameters of each layer to obtain a stacked self-encoder, and finely adjusting the parameters of each layer to obtain the trained stacked self-encoder.
In the scheme, the trained stacked self-encoder is used for extracting the main features of the original hyperspectral image to finish data dimension reduction and obtain a dimension-reduced hyperspectral image Y, and specifically, the original hyperspectral image Y belongs to RM×N×BAs input, the main characteristics of the original hyperspectral image are extracted through a trained stacked self-encoder to finish dataReducing the dimension to obtain a dimension-reduced hyperspectral image Y epsilon RM×N×nN is the dimensionality of the reduced feature, and n is equal to 25.
In the above scheme, each obtained sampling image is subjected to low-dimensional manifold modeling
Figure BDA0003277795480000035
Reconstructing to obtain each characteristic sampling image
Figure BDA0003277795480000036
Reconstructed background sub-image X oflThe method specifically comprises the following steps:
step 4.1, initializing reconstructed background sub-image X(0)
Step 4.2, from X(k)Mid-decimation three-dimensional block set PX(k),PX(k)Is defined as X(k)Medium size is d1×d2Set of local three-dimensional blocks of x B, where k denotes the number of iterations, d1And d2Representing the spatial dimension of the block, d1And d2To 2, the similarity matrix in the spatial domain is calculated as follows:
Figure BDA0003277795480000031
where σ (u) is a regularization factor representing the distance between the local three-dimensional block u and its z-th nearest local three-dimensional block, z being 10;
step 4.3, assembling new similarity matrix
Figure BDA0003277795480000032
In which the symbol q{j}Representing the jth component (in the spatial domain), d, in a three-dimensional block qs=d1×d2For the spatial dimension, the similarity calculation is truncated into 20 nearest neighbors, namely only 20 corresponding elements with the minimum adjacent distance are reserved in the similarity matrix;
step 4.4, at each spectral band t, updating (X) using the generalized minimum residual method according to the following formulat)(k+1):
Figure BDA0003277795480000033
Where μ 1/r-1, r is the sampling rate 0.05 and λ is the regularization parameter 107
Figure BDA0003277795480000034
A set of hyperspectral image space blocks is represented,
Figure BDA0003277795480000041
is that
Figure BDA0003277795480000042
In case of Xt(q) projection operator with projection 0, where ΩtFrom hyperspectral image any wave band t ∈ [ B ]]The subset obtained by random sampling;
step 4.5, the iteration number k is k +1, so that X is X(k+1),X(k)=X(k+1)And step 4.2-step 4.4 are circulated, and the circulation is stopped until X converges to obtain a reconstructed background sub-image Xl
Compared with the prior art, the method comprises the steps of firstly, performing data dimension reduction processing on an original hyperspectral image by adopting a stacked self-encoder, and then performing anomaly detection on the dimension-reduced hyperspectral image by utilizing a low-dimensional manifold modeling anomaly detector; according to the anomaly detection method for the hyperspectral image, provided by the invention, aiming at the problem that a large amount of redundant calculation exists in the low-dimensional manifold modeling process of the hyperspectral image, a self-encoder dimension reduction method based on deep learning is adopted, so that the redundant calculation in the hyperspectral image anomaly detection algorithm based on the low-dimensional manifold modeling is effectively reduced, the overall performance of the algorithm is improved, and the algorithm speed is accelerated.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a diagram of a self-encoder network architecture;
FIG. 2 is a diagram of a stacked self-encoder training process;
FIG. 3 is a diagram of a stacked self-encoder;
FIG. 4 is a flow chart of background reconstruction with multiple random samples according to an embodiment of the present invention;
FIG. 5 is a schematic representation of a hyperspectral image object in an example of the invention;
FIG. 6 is a graph showing the results of anomaly detection in the example of the present invention;
fig. 7 is a block flow diagram in an example of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, article, or apparatus that comprises the element.
The embodiment of the invention provides a hyperspectral anomaly detection method based on a self-encoder and low-dimensional manifold modeling, which is realized by the following steps:
step 1, training a stacked self-encoder through an original hyperspectral image to obtain a trained stacked self-encoder;
step 2, extracting main features of the original hyperspectral image through the trained stacked self-encoder to finish data dimension reduction and obtain a dimension-reduced hyperspectral image Y;
step 3, carrying out random sampling on the hyperspectral image Y after dimension reduction for L times to obtain a sampled image
Figure BDA0003277795480000051
l=1,2,…,L;
Step 4, each obtained sampling image is subjected to low-dimensional manifold modeling
Figure BDA0003277795480000052
Reconstructing to obtain each characteristic sampling image
Figure BDA0003277795480000053
Reconstructed background sub-image X ofl(ii) a Reconstructing the background sub-image XlCalculating the average value
Figure BDA0003277795480000054
Reconstructed background image as original hyperspectral image
Figure BDA0003277795480000055
Step 5, passing through2Norm determination of original hyperspectral image and reconstructed background image
Figure BDA0003277795480000056
And taking the residual r as the final abnormal detection result.
Wherein, the step 1 specifically comprises the following steps:
1.1, the size of an original hyperspectral image is MxNxB, wherein M represents the number of rows contained in the hyperspectral image, N represents the number of columns contained in the hyperspectral image, and B is the number of wavebands;
step 1.2, reducing the dimension of the hyperspectral image by adopting a stacked self-encoder, and using a mean square error as a loss function and a ReLU function as an activation function during training;
step 1.3, training a first single-layer self-encoder, fixing the number of coding units of the first encoder, namely the neuron number of a first Hidden layer, to 100, so that the reconstruction of the original input is completed, freezing parameters obtained in the training process of the first single-layer self-encoder, and taking output Hidden 1 of the Hidden layer of the first single-layer self-encoder as the input of a second single-layer self-encoder;
step 1.4, training a second single-layer self-encoder to complete reconstruction of Hidden 1, wherein the number of encoding units of the second encoder, namely the number of neurons of a second Hidden layer, is fixed to 50;
and step 1.5, integrating the two trained self-encoders, training the whole self-encoders, setting the number of encoding units of a third encoder of the self-encoders, namely the number of neurons of a third hidden layer to be 25, finely adjusting parameters of each layer to obtain a stacked self-encoder, and finely adjusting the parameters of each layer to obtain the trained stacked self-encoder.
Wherein the step 2 is to specifically determine that the original hyperspectral image Y belongs to RM×N×BAs input, performing main feature extraction on the original hyperspectral image through a trained stacked self-encoder to finish data dimension reduction, and obtaining the dimension-reduced hyperspectral image Y belonging to RM×N×nN is the dimensionality of the reduced feature, and n is equal to 25.
Wherein, the step 4 specifically comprises the following steps:
step 4.1, initializing reconstructed background sub-image X(0)
Step 4.2, from X(k)Mid-decimation three-dimensional block set PX(k),PX(k)Is defined as X(k)Medium size is d1×d2Set of local three-dimensional blocks of x B, where k denotes the number of iterations, d1And d2Representing the spatial dimension of the block, d1And d2To 2, the similarity matrix in the spatial domain is calculated as follows:
Figure BDA0003277795480000061
where σ (u) is a regularization factor representing the distance between the local three-dimensional block u and its z-th nearest local three-dimensional block, z being 10;
step 4.3, assembling new similarity matrix
Figure BDA0003277795480000062
In which the symbol q{j}Representing the jth component (in the spatial domain), d, in a three-dimensional block qs=d1×d2For the spatial dimension, the similarity calculation is truncated into 20 nearest neighbors, namely only 20 corresponding elements with the minimum adjacent distance are reserved in the similarity matrix;
step 4.4, at each spectral band t, updating (X) using the generalized minimum residual method according to the following formulat)(k+1):
Figure BDA0003277795480000071
Where μ is 1/r-1, r is the sampling rate taken to be 0.05, λ is the regularization parameter equal to 10,
Figure BDA0003277795480000072
a set of hyperspectral image space blocks is represented,
Figure BDA0003277795480000073
is that
Figure BDA0003277795480000074
In case of Xt(q) projection operator with projection 0, where ΩtFrom hyperspectral image any wave band t ∈ [ B ]]The subset obtained by random sampling;
step 4.5, the iteration number k is k +1, so that X is X(k+1),X(k)=X(k+1)And step 4.2-step 4.4 are circulated, and the circulation is stopped until X converges to obtain a reconstructed background sub-image Xl
Step 4.6, sampling each characteristic sample image
Figure BDA0003277795480000075
Reconstructed background sub-image X oflCalculating the average value
Figure BDA0003277795480000076
As a sourceStarting a reconstructed background image of the hyperspectral image.
To demonstrate the effectiveness of the method of the invention, the anomaly detection was performed using real hyperspectral images. In the experiment, sub-images of 90 × 90 in size and 186 in wave band number in a scene image of san diego (san diego) of an airport, which is acquired by an onboard visible/infrared imaging spectrometer (AVIRIS) sensor, were used for abnormality detection, and three airplanes in the sub-images were used as abnormality targets.
As shown in fig. 7, the basic flow of anomaly detection for the sandiog image data is as follows:
step 101, an original hyperspectral image is a 90 × 90 × 186 three-dimensional matrix, and the total number of the spatial pixel points is 90 × 90, the spectral pixel points include spectral data of a ground target in 186 wave bands, and a one-dimensional vector corresponding to each spatial pixel and having the size of 1 × 1 × 186 represents corresponding spectral information.
In step 102, the self-encoder is a data preprocessing neural network, which can implement the dimensionality reduction of data by constraining the number of encoding units to be less than the dimensionality of input data, and comprises an input layer, a hidden layer and an output layer.
In FIG. 1, the conversion process from the input layer to the hidden layer can be regarded as an encoding process, and the relationship between the hidden layer vector h and the input vector x is shown as the following formula, where W ishWeight matrix representing input layer to hidden layer, bhRepresenting the bias vector in the hidden layer, s representing the activation function;
h=s(Whx+bh)
the hidden layer to output layer can be considered as a decoding process, and the relationship between the hidden layer vector h and the output vector y is shown as the following formula. In the formula, WyWeight matrix representing input layer to hidden layer, byRepresenting the bias vector in the hidden layer, s representing the activation function;
y=s(Wyh+by)
step 103, similar to the idea of increasing the depth of the neural network to obtain a feature representation of a higher abstraction level of the data, stacking with multiple autoencoders can result in a stacked autoencoder with a deeper network hierarchy, as shown in fig. 3, so the present invention enablesThe dimension reduction of the original hyperspectral image is completed by using a stacked self-encoder, and the training process is shown in FIG. 2. The mean square error is used as a loss function and the ReLU function is used as an activation function in training. In addition, the batch size, the learning rate and the epoch number are parameters in the stack type self-encoder, and the batch size is set to be 200 and the learning rate is set to be 10 respectively in the invention-3The number of epochs for each of the autocoders is 150.
Step 1.4, training the first single-layer self-encoder, fixing the number of coding units (namely the number of neurons in the first Hidden layer) of the first encoder to 100, so that the reconstruction of the original input is completed, freezing parameters obtained in the training process in the first single-layer self-encoder, and taking the output Hidden 1 of the Hidden layer of the first single-layer self-encoder as the input of the second single-layer self-encoder.
And step 104, training the second single-layer self-encoder to complete the reconstruction of Hidden 1, wherein the number of coding units (namely the number of second Hidden layer neurons) of the second encoder is fixed to 50.
Step 105, integrating the two trained self-encoders, training the whole self-encoders, setting the number of encoding units of a third encoder of the self-encoder, namely the number of neurons of a third hidden layer to be 25, and finely adjusting parameters of each layer to obtain a stacked self-encoder;
106, enabling the original hyperspectral image Y to be in the range of RM×N×BAs input, extracting effective characteristics of the original hyperspectral image by using the trained stacked self-encoder obtained in the step 1 to obtain the dimension-reduced hyperspectral image Y belonging to RM×N×nN is the characteristic dimension after dimensionality reduction, and n is equal to 25;
step 107, in order to reduce the influence of the abnormal point on the background reconstruction, the method utilizes the characteristics of sparse distribution and low sampling probability of the abnormal point in the scene, and adopts a multiple random sampling strategy to reduce the influence of the abnormal point on the background reconstruction as shown in fig. 4. For the hyperspectral image Y after dimensionality reduction to be in the middle of RM×N×nPerforming random sampling for L times to obtain a sampled image
Figure BDA0003277795480000081
l=1,2,…,L;
Step 108, initializing the reconstructed background sub-image X(0)
Step 109, from X(k)Mid-decimation three-dimensional block set PX(k),PX(k)Is defined as X(k)Medium size is d1×d2Set of local three-dimensional blocks of x B, where k denotes the number of iterations, d1And d2Representing the spatial dimension of the block, d is set in the present invention1And d2To 2, the similarity matrix in the spatial domain is calculated as follows.
Figure BDA0003277795480000091
Where σ (u) is a regularization factor, representing the distance between the local three-dimensional block u and its z-th nearest neighbor, and z is set to 10 in the present invention.
Step 110, assembling a new similarity matrix
Figure BDA0003277795480000092
In which the symbol q{j}Representing the jth component (in the spatial domain), d, in a three-dimensional block qs=d1×d2Is the spatial dimension. At the same time, the similarity matrix
Figure BDA0003277795480000093
The similarity matrix is an asymmetric matrix, and in order to reduce the computational complexity, the similarity calculation is truncated into 20 nearest neighbors, namely, only 20 corresponding elements with the minimum adjacent distance are reserved in the similarity matrix.
Step 111, at each spectral band t, updating (X) using the generalized minimum residual method according to the following formulat)(k+1)
Figure BDA0003277795480000094
Where μ is 1/r-1, r is the sampling rate taken to be 0.05, λ is the regularization parameter equal to 10,
Figure BDA0003277795480000095
a set of hyperspectral image space blocks is represented,
Figure BDA0003277795480000096
is that
Figure BDA0003277795480000097
In case of Xt(q) projection operator with projection 0, where ΩtFrom hyperspectral image any wave band t ∈ [ B ]]To randomly sample the resulting subset.
Step 112, the iteration number k is k +1, so that X is X(k+1),X(k)=X(k+1)And step 109-step 111 are circulated, and the circulation is stopped until X converges to obtain a reconstructed background image Xl
Step 113, sampling each feature into an image
Figure BDA0003277795480000098
Reconstructed background sub-image X oflCalculating the average value
Figure BDA0003277795480000099
As a reconstructed background image of the original hyperspectral image.
Step 114, use l2Norm calculation of original hyperspectral image and reconstructed background image
Figure BDA00032777954800000910
And taking the residual error r as the final abnormal detection result.
FIG. 6 shows the GRX method, the RPCA-RX method and the abnormal detection results of the method of the present invention, it can be seen that the presence of the detection target is difficult to see in the detection results of the GRX method and the RPCA-RX method, the target in the detection results of the method of the present invention is most obvious, and the method of the present invention can better detect the abnormal target information in the hyperspectral image.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (4)

1. A hyperspectral anomaly detection method based on a self-encoder and low-dimensional manifold modeling is characterized by comprising the following steps:
training the stacked self-encoder through the original hyperspectral image to obtain a trained stacked self-encoder;
performing main feature extraction on the original hyperspectral image through the trained stacked self-encoder to finish data dimension reduction and obtain a dimension-reduced hyperspectral image Y;
carrying out L times of random sampling on the dimensionality reduced hyperspectral image Y to obtain a sampled image O l ,l=1,2,…,L;
Each of the resulting sampled images O is modeled by a low-dimensional manifold l Reconstructing to obtain each characteristic sampling image O l Reconstructed background sub-image X ofl(ii) a Reconstructing the background sub-image XlCalculating the average value
Figure FDA0003277795470000011
Reconstructed background image as original hyperspectral image
Figure FDA0003277795470000012
By a 12Norm determination of original hyperspectral image and reconstructed background image
Figure FDA0003277795470000013
And taking the residual r as the final abnormal detection result.
2. The self-encoder and low-dimensional manifold modeling hyperspectral anomaly detection method according to claim 1, wherein the stacked self-encoder is trained through an original hyperspectral image to obtain a trained stacked self-encoder, specifically:
1.1, the size of an original hyperspectral image is MxNxB, wherein M represents the number of rows contained in the hyperspectral image, N represents the number of columns contained in the hyperspectral image, and B is the number of wavebands;
step 1.2, reducing the dimension of the hyperspectral image by adopting a stacked self-encoder, and using a mean square error as a loss function and a ReLU function as an activation function during training;
step 1.3, training a first single-layer self-encoder, fixing the number of coding units of the first encoder, namely the neuron number of a first Hidden layer, to 100, so that the reconstruction of the original input is completed, freezing parameters obtained in the training process of the first single-layer self-encoder, and taking output Hidden 1 of the Hidden layer of the first single-layer self-encoder as the input of a second single-layer self-encoder;
step 1.4, training a second single-layer self-encoder to complete reconstruction of Hidden 1, wherein the number of encoding units of the second encoder, namely the number of neurons of a second Hidden layer, is fixed to 50;
and step 1.5, integrating the two trained self-encoders, training the whole self-encoders, setting the number of encoding units of a third encoder of the self-encoders, namely the number of neurons of a third hidden layer to be 25, finely adjusting parameters of each layer to obtain a stacked self-encoder, and finely adjusting the parameters of each layer to obtain the trained stacked self-encoder.
3. The hyperspectral anomaly detection method by the self-encoder and the low-dimensional manifold modeling according to claim 1 or 2, characterized in that the trained stacked self-encoder performs main feature extraction on an original hyperspectral image to complete data dimension reduction and obtain a dimension-reduced hyperspectral image Y, specifically, the original hyperspectral image Y belongs to RM×N×BAs input, performing main feature extraction on the original hyperspectral image through a trained stacked self-encoder to finish data dimension reduction, and obtaining the dimension-reduced hyperspectral image Y belonging to RM×N×nN is the dimensionality of the reduced feature, and n is equal to 25.
4. The self-encoder and low-dimensional manifold-modeled hyperspectral anomaly detection method according to claim 3, wherein the low-dimensional manifold modeling is used for each sample obtainedImage O l Reconstructing to obtain each characteristic sampling image O l Reconstructed background sub-image X oflThe method specifically comprises the following steps:
step 4.1, initializing reconstructed background sub-image X(0)
Step 4.2, from X(k)Mid-decimation three-dimensional block set PX(k),PX(k)Is defined as X(k)Medium size is d1×d2Set of local three-dimensional blocks of x B, where k denotes the number of iterations, d1And d2Representing the spatial dimension of the block, d1And d2To 2, the similarity matrix in the spatial domain is calculated as follows:
Figure FDA0003277795470000021
where σ (u) is a regularization factor representing the distance between the local three-dimensional block u and its z-th nearest local three-dimensional block, z being 10;
step 4.3, assembling new similarity matrix
Figure FDA0003277795470000022
In which the symbol q{j}Representing the jth component (in the spatial domain), d, in a three-dimensional block qs=d1×d2For the spatial dimension, the similarity calculation is truncated into 20 nearest neighbors, namely only 20 corresponding elements with the minimum adjacent distance are reserved in the similarity matrix;
step 4.4, at each spectral band t, updating using the generalized minimum residual method according to the following formula
Figure FDA0003277795470000031
Where μ 1/r-1, r is the sampling rate 0.05 and λ is the regularization parameter 107
Figure FDA0003277795470000032
Representing a block of hyperspectral image spaceIn the collection of the images, the image data is collected,
Figure FDA0003277795470000033
is that
Figure FDA0003277795470000034
In case of Xt(q) projection operator with projection 0, where ΩtFrom hyperspectral image any wave band t ∈ [ B ]]The subset obtained by random sampling;
step 4.5, the iteration number k is k +1, so that X is X(k+1),X(k)=X(k+1)And step 4.2-step 4.4 are circulated, and the circulation is stopped until X converges to obtain a reconstructed background sub-image Xl
CN202111122594.XA 2021-09-24 2021-09-24 Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling Pending CN113902973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111122594.XA CN113902973A (en) 2021-09-24 2021-09-24 Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111122594.XA CN113902973A (en) 2021-09-24 2021-09-24 Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling

Publications (1)

Publication Number Publication Date
CN113902973A true CN113902973A (en) 2022-01-07

Family

ID=79029472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111122594.XA Pending CN113902973A (en) 2021-09-24 2021-09-24 Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling

Country Status (1)

Country Link
CN (1) CN113902973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115169499A (en) * 2022-08-03 2022-10-11 中国电子科技集团公司信息科学研究院 Asset data dimension reduction method and device, electronic equipment and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115169499A (en) * 2022-08-03 2022-10-11 中国电子科技集团公司信息科学研究院 Asset data dimension reduction method and device, electronic equipment and computer storage medium
CN115169499B (en) * 2022-08-03 2024-04-05 中国电子科技集团公司信息科学研究院 Asset data dimension reduction method, device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
Xu et al. Joint reconstruction and anomaly detection from compressive hyperspectral images using Mahalanobis distance-regularized tensor RPCA
CN110321963B (en) Hyperspectral image classification method based on fusion of multi-scale and multi-dimensional space spectrum features
Hosseiny et al. WetNet: A spatial–temporal ensemble deep learning model for wetland classification using Sentinel-1 and Sentinel-2
Venugopal Automatic semantic segmentation with DeepLab dilated learning network for change detection in remote sensing images
Ou et al. A CNN framework with slow-fast band selection and feature fusion grouping for hyperspectral image change detection
CN110717354A (en) Superpixel classification method based on semi-supervised K-SVD and multi-scale sparse representation
CN103544507B (en) A kind of based on the high-spectral data dimension reduction method retraining discriminant analysis-non-negative sparse divergence in pairs
CN110751087B (en) EOF-based unmanned aerial vehicle signal identification system and method
CN112580480B (en) Hyperspectral remote sensing image classification method and device
CN105989597B (en) Hyperspectral image abnormal target detection method based on pixel selection process
CN112381144B (en) Heterogeneous deep network method for non-European and Euclidean domain space spectrum feature learning
Gandhimathi Alias Usha et al. Improved segmentation and change detection of multi-spectral satellite imagery using graph cut based clustering and multiclass SVM
CN110717485A (en) Hyperspectral image sparse representation classification method based on local preserving projection
Yuan et al. ROBUST PCANet for hyperspectral image change detection
CN112633202A (en) Hyperspectral image classification algorithm based on dual denoising combined multi-scale superpixel dimension reduction
CN114048810A (en) Hyperspectral image classification method based on multilevel feature extraction network
Haq et al. 3D-CNNHSR: A 3-Dimensional Convolutional Neural Network for Hyperspectral Super-Resolution.
Mantripragada et al. The effects of spectral dimensionality reduction on hyperspectral pixel classification: A case study
CN115376010A (en) Hyperspectral remote sensing image classification method
CN113902973A (en) Hyperspectral anomaly detection method based on self-encoder and low-dimensional manifold modeling
CN105760857A (en) High spectral remote sensing image object detection method
CN113421198A (en) Hyperspectral image denoising method based on subspace non-local low-rank tensor decomposition
Singh et al. A Pre-processing framework for spectral classification of hyperspectral images
CN117115675A (en) Cross-time-phase light-weight spatial spectrum feature fusion hyperspectral change detection method, system, equipment and medium
Rafi et al. Attention-based domain adaptation for hyperspectral image classification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination